/macosx-10.10/libarchive-30/libarchive/tar/test/ |
H A D | test_getdate.c | 38 time_t now = time(NULL); local 40 assertEqualInt(get_date(now, "Jan 1, 1970 UTC"), 0); 41 assertEqualInt(get_date(now, "7:12:18-0530 4 May 1983"), 420900138); 42 assertEqualInt(get_date(now, "2004/01/29 513 mest"), 1075345980); 43 assertEqualInt(get_date(now, "99/02/17 7pm utc"), 919278000); 44 assertEqualInt(get_date(now, "02/17/99 7:11am est"), 919253460); 46 assertEqualInt(get_date(now, "Sun Feb 22 17:38:26 PST 2009"), 54 assertEqualInt(get_date(0, "now + 1 hour"), 60 * 60); 55 assertEqualInt(get_date(0, "now + 1 hour + 1 minute"), 60 * 60 + 60); 57 now [all...] |
/macosx-10.10/postfix-255/postfix/src/util/ |
H A D | timecmp.c | 73 time_t now = time((time_t *) 0); local 76 assert(timecmp(now + 10, now) > 0); 77 assert(timecmp(now, now) == 0); 78 assert(timecmp(now - 10, now) < 0); 82 now = (time_t) -1; 84 now = __MAXINT__(time_t); 86 assert(timecmp(now [all...] |
H A D | sane_time.c | 63 time_t now; local 70 now = time((time_t *) 0); 72 if ((delta = now - last_time) < 0 && last_time != 0) { 73 if ((delta = now - last_real) < 0) { 87 last_time = now; 89 last_real = now; 109 time_t now; local 119 now = time((time_t *) 0); 120 vstream_printf("real: %s", ctime(&now)); 121 now [all...] |
/macosx-10.10/curl-83.1.2/curl/lib/ |
H A D | timeval.c | 34 struct timeval now; local 36 now.tv_sec = milliseconds / 1000; 37 now.tv_usec = (milliseconds % 1000) * 1000; 38 return now; 52 struct timeval now; local 55 now.tv_sec = tsnow.tv_sec; 56 now.tv_usec = tsnow.tv_nsec / 1000; 65 (void)gettimeofday(&now, NULL); 68 now.tv_sec = (long)time(NULL); 69 now 84 struct timeval now; local 96 struct timeval now; local [all...] |
H A D | speedcheck.h | 31 struct timeval now);
|
/macosx-10.10/curl-83.1.2/curl/src/ |
H A D | tool_util.c | 37 struct timeval now; local 39 now.tv_sec = milliseconds / 1000; 40 now.tv_usec = (milliseconds % 1000) * 1000; 41 return now; 55 struct timeval now; local 58 now.tv_sec = tsnow.tv_sec; 59 now.tv_usec = tsnow.tv_nsec / 1000; 68 (void)gettimeofday(&now, NULL); 71 now.tv_sec = (long)time(NULL); 72 now 87 struct timeval now; local 99 struct timeval now; local [all...] |
/macosx-10.10/curl-83.1.2/curl/tests/libtest/ |
H A D | testutil.c | 36 struct timeval now; local 38 now.tv_sec = milliseconds / 1000; 39 now.tv_usec = (milliseconds % 1000) * 1000; 40 return now; 54 struct timeval now; local 57 now.tv_sec = tsnow.tv_sec; 58 now.tv_usec = tsnow.tv_nsec / 1000; 67 (void)gettimeofday(&now, NULL); 70 now.tv_sec = (long)time(NULL); 71 now 86 struct timeval now; local 98 struct timeval now; local [all...] |
/macosx-10.10/dtrace-147/test/tst/common/vars/ |
H A D | tst.walltimestamp.d | 31 uint64_t now; 35 now = 18252813184; /* Jan 1, 2004 00:00:00 */ 46 /walltimestamp < now/ 48 printf("%d (%Y) is before %Y", walltimestamp, walltimestamp, now);
|
/macosx-10.10/CPANInternal-159.1/Time-HiRes-Value-0.07/examples/ |
H A D | time.pl | 5 my $start = Time::HiRes::Value->now(); 9 my $duration = Time::HiRes::Value->now() - $start;
|
/macosx-10.10/llvmCore-3425.0.34/unittests/Support/ |
H A D | TimeValue.cpp | 18 sys::TimeValue now = sys::TimeValue::now(); local 20 EXPECT_TRUE(abs(static_cast<long>(now_t - now.toEpochTime())) < 2);
|
/macosx-10.10/ruby-106/ruby/sample/ |
H A D | observ.rb | 12 now = Time.now 14 notify_observers(now.hour, now.min, now.sec)
|
H A D | time.rb | 3 b = Time.now 5 e = Time.now
|
/macosx-10.10/WebCore-7600.1.25/platform/ |
H A D | ClockGeneric.cpp | 38 m_startTime = m_lastTime = now(); 43 m_startTime = m_lastTime = now(); 50 m_lastTime = now(); 57 m_lastTime = m_startTime = now(); 66 m_lastTime = m_startTime = now(); 76 m_lastTime = m_startTime = now(); 80 double ClockGeneric::now() const function in class:ClockGeneric
|
/macosx-10.10/ruby-106/ruby/test/rake/ |
H A D | test_rake_early_time.rb | 6 assert early <= Time.now 7 assert early < Time.now 8 assert early != Time.now 9 assert Time.now > early 10 assert Time.now >= early 11 assert Time.now != early 21 t2 = Time.now
|
/macosx-10.10/ruby-106/ruby/test/openssl/ |
H A D | test_x509cert.rb | 25 cert = issue_cert(@ca, @rsa2048, s, Time.now, Time.now+3600, [], 46 cert = issue_cert(@ca, pk, 1, Time.now, Time.now+3600, exts, 57 now = Time.now until now && now.usec != 0 58 cert = issue_cert(@ca, @rsa2048, 1, now, now [all...] |
H A D | test_x509crl.rb | 28 now = Time.at(Time.now.to_i) 30 cert = issue_cert(@ca, @rsa2048, 1, now, now+3600, [], 32 crl = issue_crl([], 1, now, now+1600, [], 36 assert_equal(now, crl.last_update) 37 assert_equal(now+1600, crl.next_update) 42 assert_equal(now, crl.last_update) 43 assert_equal(now [all...] |
/macosx-10.10/CPANInternal-159.1/Time-HiRes-Value-0.07/t/ |
H A D | 02timing.t | 8 my $start = Time::HiRes::Value->now(); 12 my $end = Time::HiRes::Value->now();
|
/macosx-10.10/dcerpc-61/dcerpc/libdcethread/ |
H A D | dcethread_get_expiration.c | 120 struct timeval now; 127 gettimeofday(&now, NULL); 129 abstime->tv_nsec = delta->tv_nsec + (now.tv_usec * 1000); 130 abstime->tv_sec = delta->tv_sec + now.tv_sec;
|
/macosx-10.10/CPANInternal-159.1/DateTime-Format-W3CDTF-0.06/examples/ |
H A D | now.pl | 7 my $dt = DateTime->now;
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/tm/ |
H A D | tmxduration.c | 38 Time_t now; local 45 now = TMX_NOW; 49 ns = tmxdate(s, &last, now) - now; 57 ts = tmxdate(t, &x, now); 61 ns = ts - now; 67 ts = tmxdate(t, &x, now); 71 ns = ts - now;
|
/macosx-10.10/ruby-106/ruby/test/psych/ |
H A D | test_date_time.rb | 7 dt = DateTime.now 13 dt = DateTime.now
|
/macosx-10.10/BerkeleyDB-21/db/common/ |
H A D | util_log.c | 26 time_t now; local 32 (void)time(&now); 36 "%s: %lu %s", progname, (u_long)pid, __os_ctime(&now, time_buf));
|
/macosx-10.10/ruby-106/ruby/ext/tk/sample/tcltklib/ |
H A D | lines2.rb | 6 print Time.now, "\n" 21 print Time.now, "\n" 36 print Time.now, "\n"
|
H A D | lines3.rb | 6 print Time.now, "\n" 21 print Time.now, "\n" 36 print Time.now, "\n"
|
H A D | lines4.rb | 6 print Time.now, "\n" 21 print Time.now, "\n" 36 print Time.now, "\n"
|