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

1234567891011>>

/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/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...]
/netbsd-6-1-5-RELEASE/sys/arch/emips/stand/common/
H A Dclock.c43 uint64_t now; local
52 now = Tc->FreeRunning;
55 now = now / 10*1000*1000;
58 now = now >> 23;
60 return (long) now;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/
H A D950628-1.c9 T now; local
11 now.hours = 1;
12 now.day = 2;
13 now.month = 3;
14 now.year = 4;
15 return now;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/
H A D950628-1.c9 T now; local
11 now.hours = 1;
12 now.day = 2;
13 now.month = 3;
14 now.year = 4;
15 return now;
/netbsd-6-1-5-RELEASE/etc/powerd/scripts/
H A Dpower_button15 /sbin/shutdown -p now "power button pressed"
H A Dreset_button14 /sbin/shutdown -r now "reset button pressed"
H A Dsensor_temperature18 /sbin/shutdown -p now "${0}: CRITICAL TEMPERATURE! SHUTTING DOWN."
27 /sbin/shutdown -p now "${0}: CRITICAL TEMPERATURE! SHUTTING DOWN."
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gold/
H A Dtimer.cc82 Timer::get_time(TimeStats *now) argument
86 now->wall = (times(&t) * 1000) / ticks_per_sec;
87 now->user = (t.tms_utime * 1000) / ticks_per_sec;
88 now->sys = (t.tms_stime * 1000) / ticks_per_sec;
90 now->wall = get_run_time() / 1000;
91 now->user = 0;
92 now->sys = 0;
100 TimeStats now; local
101 this->get_time(&now);
103 delta.wall = now
[all...]
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dsane_time.c65 time_t now; local
72 now = time((time_t *) 0);
74 if ((delta = now - last_time) < 0 && last_time != 0) {
75 if ((delta = now - last_real) < 0) {
89 last_time = now;
91 last_real = now;
111 time_t now; local
121 now = time((time_t *) 0);
122 vstream_printf("real: %s", ctime(&now));
123 now
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/compile/
H A Dbcopy-1.c12 struct timeval past, now, then; local
/netbsd-6-1-5-RELEASE/sys/sys/
H A Dsyscall_stats.h73 uint32_t now = SYSCALL_TIME(); \
74 SYSCALL_TIME_UPDATE_PROC(l, u, elapsed = now - (l)->l_syscall_time); \
76 (l)->l_syscall_time = now; \
81 uint32_t now = SYSCALL_TIME(); \
82 uint32_t elapsed = now - (l)->l_syscall_time; \
83 (l)->l_syscall_time = now; \
94 uint32_t now = SYSCALL_TIME(); \
95 uint32_t elapsed = now - (l)->l_syscall_time; \
96 (l)->l_syscall_time = now; \
105 uint32_t now
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/ld/testsuite/ld-vxworks/
H A Dtls-3.d2 # ld: -shared -z now
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/util/performance/time/
H A Delapsed_timer.cc61 const clock_t now = ::clock(); local
63 return (((double)now - m_start) / CLOCKS_PER_SEC);
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/
H A Dthrottle.c62 struct timeval now, penalty; local
72 sched_get_monotonic_time(&now);
75 timeradd(&now, &penalty, &te->penalty_ends);
89 struct timeval now, res; local
95 sched_get_monotonic_time(&now);
101 if (timercmp(&te->penalty_ends, &now, <)) {
134 timersub(&te->penalty_ends, &now, &remaining);
142 timeradd(&now, &res, &te->penalty_ends);
146 timersub(&te->penalty_ends, &now, &res);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/30_threads/this_thread/
H A D4.cc38 chr::system_clock::time_point begin = chr::system_clock::now();
41 std::this_thread::sleep_until(chr::system_clock::now() + ms);
43 VERIFY( (chr::system_clock::now() - begin) >= ms );
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/
H A Dtimevar.c189 get_time (struct timevar_time_def *now) argument
191 now->user = 0;
192 now->sys = 0;
193 now->wall = 0;
194 now->ggc_mem = timevar_ggc_mem_total;
202 now->wall = times (&tms) * ticks_to_msec;
203 now->user = tms.tms_utime * ticks_to_msec;
204 now->sys = tms.tms_stime * ticks_to_msec;
209 now->user = rusage.ru_utime.tv_sec + rusage.ru_utime.tv_usec * 1e-6;
210 now
267 struct timevar_time_def now; local
312 struct timevar_time_def now; local
366 struct timevar_time_def now; local
389 struct timevar_time_def now; local
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/
H A Dtimevar.c190 get_time (struct timevar_time_def *now) argument
192 now->user = 0;
193 now->sys = 0;
194 now->wall = 0;
195 now->ggc_mem = timevar_ggc_mem_total;
203 now->wall = times (&tms) * ticks_to_msec;
204 now->user = tms.tms_utime * ticks_to_msec;
205 now->sys = tms.tms_stime * ticks_to_msec;
210 now->user = rusage.ru_utime.tv_sec + rusage.ru_utime.tv_usec * 1e-6;
211 now
268 struct timevar_time_def now; local
313 struct timevar_time_def now; local
367 struct timevar_time_def now; local
390 struct timevar_time_def now; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/30_threads/shared_future/members/
H A Dwait_until.cc33 return std::chrono::system_clock::now() + std::chrono::milliseconds(i);
46 VERIFY( std::chrono::system_clock::now() >= when );
50 VERIFY( std::chrono::system_clock::now() >= when );
57 VERIFY( std::chrono::system_clock::now() < when );
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/ld/testsuite/ld-d10v/
H A Dreloc-007.d4 # now that we treat addresses as wrapping, it isn't possible to fail
H A Dreloc-008.d4 # now that we treat addresses as wrapping, it isn't possible to fail
H A Dreloc-015.d4 # now that we treat addresses as wrapping, it isn't possible to fail
H A Dreloc-016.d4 # now that we treat addresses as wrapping, it isn't possible to fail
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Dntp_util.c460 l_fp now; local
478 get_systime(&now);
483 filegen_setup(&peerstats, now.l_ui);
489 filegen_setup(&loopstats, now.l_ui);
495 filegen_setup(&clockstats, now.l_ui);
501 filegen_setup(&rawstats, now.l_ui);
507 filegen_setup(&sysstats, now.l_ui);
513 filegen_setup(&protostats, now.l_ui);
520 filegen_setup(&cryptostats, now.l_ui);
528 filegen_setup(&timingstats, now
602 l_fp now; local
643 l_fp now; local
677 l_fp now; local
715 l_fp now; local
756 l_fp now; local
793 l_fp now; local
827 l_fp now; local
865 l_fp now; local
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/
H A Dtal-notreent.c59 unsigned long now; local
65 now = current_total_allocation + size;
66 if (now > max_total_allocation)
70 now = (now * 3 / 2 + __TMP_ALIGN - 1) & -__TMP_ALIGN;
71 chunk_size = now - current_total_allocation + HSIZ;
72 current_total_allocation = now;
/netbsd-6-1-5-RELEASE/usr.sbin/rtadvd/
H A Dtimer.c104 struct timeval now; local
107 gettimeofday(&now, NULL);
109 TIMEVAL_ADD(&now, tm, &timer->tm);
127 struct timeval now; local
130 gettimeofday(&now, NULL);
134 if (TIMEVAL_LEQ(tm->tm, now)) {
139 TIMEVAL_ADD(&tm->tm, &now, &tm->tm);
149 } else if (TIMEVAL_LT(tm_max, now)) {
153 TIMEVAL_SUB(&tm_max, &now, &returnval);
160 static struct timeval returnval, now; local
[all...]

Completed in 267 milliseconds

1234567891011>>