Searched refs:now (Results 1 - 25 of 1517) sorted by relevance

1234567891011>>

/macosx-10.10/libarchive-30/libarchive/tar/test/
H A Dtest_getdate.c38 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 Dtimecmp.c73 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 Dsane_time.c63 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 Dtimeval.c34 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 Dspeedcheck.h31 struct timeval now);
/macosx-10.10/curl-83.1.2/curl/src/
H A Dtool_util.c37 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 Dtestutil.c36 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 Dtst.walltimestamp.d31 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 Dtime.pl5 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 DTimeValue.cpp18 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 Dobserv.rb12 now = Time.now
14 notify_observers(now.hour, now.min, now.sec)
H A Dtime.rb3 b = Time.now
5 e = Time.now
/macosx-10.10/WebCore-7600.1.25/platform/
H A DClockGeneric.cpp38 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 Dtest_rake_early_time.rb6 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 Dtest_x509cert.rb25 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 Dtest_x509crl.rb28 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 D02timing.t8 my $start = Time::HiRes::Value->now();
12 my $end = Time::HiRes::Value->now();
/macosx-10.10/dcerpc-61/dcerpc/libdcethread/
H A Ddcethread_get_expiration.c120 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 Dnow.pl7 my $dt = DateTime->now;
/macosx-10.10/ksh-23/ksh/src/lib/libast/tm/
H A Dtmxduration.c38 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 Dtest_date_time.rb7 dt = DateTime.now
13 dt = DateTime.now
/macosx-10.10/BerkeleyDB-21/db/common/
H A Dutil_log.c26 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 Dlines2.rb6 print Time.now, "\n"
21 print Time.now, "\n"
36 print Time.now, "\n"
H A Dlines3.rb6 print Time.now, "\n"
21 print Time.now, "\n"
36 print Time.now, "\n"
H A Dlines4.rb6 print Time.now, "\n"
21 print Time.now, "\n"
36 print Time.now, "\n"

Completed in 291 milliseconds

1234567891011>>