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

1234567891011>>

/netbsd-current/external/bsd/libarchive/dist/libarchive/test/
H A Dtest_archive_getdate.c41 time_t now = time(NULL); local
43 assertEqualInt(get_date(now, "Jan 1, 1970 UTC"), 0);
44 assertEqualInt(get_date(now, "7:12:18-0530 4 May 1983"), 420900138);
45 assertEqualInt(get_date(now, "2004/01/29 513 mest"), 1075345980);
46 assertEqualInt(get_date(now, "99/02/17 7pm utc"), 919278000);
47 assertEqualInt(get_date(now, "02/17/99 7:11am est"), 919253460);
48 assertEqualInt(get_date(now, "now - 2 hours"),
49 get_date(now, "2 hours ago"));
50 assertEqualInt(get_date(now, "
[all...]
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dtimecmp.c75 time_t now = time((time_t *) 0); local
78 assert(timecmp(now + 10, now) > 0);
79 assert(timecmp(now, now) == 0);
80 assert(timecmp(now - 10, now) < 0);
84 now = (time_t) -1;
86 now = __MAXINT__(time_t);
88 assert(timecmp(now
[all...]
H A Dsane_time.c65 time_t now; local
71 now = time((time_t *) 0);
73 if ((delta = now - last_time) < 0 && last_time != 0) {
74 if ((delta = now - last_real) < 0) {
88 last_time = now;
90 last_real = now;
110 time_t now; local
120 now = time((time_t *) 0);
121 vstream_printf("real: %s", ctime(&now));
122 now
[all...]
/netbsd-current/sys/arch/emips/stand/common/
H A Dclock.c44 uint64_t now; local
53 now = Tc->FreeRunning;
56 now = now / 10*1000*1000;
59 now = now >> 23;
61 return (long) now;
/netbsd-current/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-current/external/gpl3/binutils.old/dist/gold/
H A Dtimer.cc93 Timer::get_time(TimeStats *now) argument
97 now->wall = (times(&t) * 1000) / ticks_per_sec;
98 now->user = (t.tms_utime * 1000) / ticks_per_sec;
99 now->sys = (t.tms_stime * 1000) / ticks_per_sec;
101 now->wall = get_run_time() / 1000;
102 now->user = 0;
103 now->sys = 0;
111 TimeStats now; local
112 this->get_time(&now);
114 delta.wall = now
[all...]
/netbsd-current/external/gpl3/binutils/dist/gold/
H A Dtimer.cc93 Timer::get_time(TimeStats *now) argument
97 now->wall = (times(&t) * 1000) / ticks_per_sec;
98 now->user = (t.tms_utime * 1000) / ticks_per_sec;
99 now->sys = (t.tms_stime * 1000) / ticks_per_sec;
101 now->wall = get_run_time() / 1000;
102 now->user = 0;
103 now->sys = 0;
111 TimeStats now; local
112 this->get_time(&now);
114 delta.wall = now
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gold/
H A Dtimer.cc93 Timer::get_time(TimeStats *now) argument
97 now->wall = (times(&t) * 1000) / ticks_per_sec;
98 now->user = (t.tms_utime * 1000) / ticks_per_sec;
99 now->sys = (t.tms_stime * 1000) / ticks_per_sec;
101 now->wall = get_run_time() / 1000;
102 now->user = 0;
103 now->sys = 0;
111 TimeStats now; local
112 this->get_time(&now);
114 delta.wall = now
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/utils/benchmark/cmake/
H A Dsteady_clock.cpp5 Clock::time_point tp = Clock::now();
/netbsd-current/external/apache2/llvm/dist/libcxx/utils/google-benchmark/cmake/
H A Dsteady_clock.cpp5 Clock::time_point tp = Clock::now();
/netbsd-current/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-current/external/apache2/llvm/dist/llvm/utils/git/
H A Darcfilter.sh7 git commit --amend --date=now -F -
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/mach-o/
H A Dsymbols-6-64.s0 # now look at what happens when we append some indirects to the normal
H A Dsymbols-6.s0 # now look at what happens when we append some indirects to the normal
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-i386/
H A Dtlsdesc2.d3 #ld: -melf_i386 -shared -z now
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-vxworks/
H A Dtls-3.d2 # ld: -shared -z now
/netbsd-current/external/gpl3/gdb.old/dist/ld/testsuite/ld-x86-64/
H A Dtlsdesc2.d3 #ld: -melf_x86_64 -shared -z now
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/
H A Dsigstep-threads.exp41 # 1 as we are now stopped at the `step-1' label.
52 set now $expect_out(1,string)
53 if {$step_at == 2 && $now == 1} {
55 } elseif {$step_at == 1 && $now == 2} {
60 set now 1
65 set step_at $now
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
H A Dsigstep-threads.exp41 # 1 as we are now stopped at the `step-1' label.
52 set now $expect_out(1,string)
53 if {$step_at == 2 && $now == 1} {
55 } elseif {$step_at == 1 && $now == 2} {
60 set now 1
65 set step_at $now
/netbsd-current/usr.sbin/rtadvd/
H A Dtimer.c102 struct timespec now; local
105 prog_clock_gettime(CLOCK_MONOTONIC, &now);
106 timespecadd(&now, tm, &timer->tm);
125 struct timespec now; local
128 prog_clock_gettime(CLOCK_MONOTONIC, &now);
134 if (timespeccmp(&tm->tm, &now, <=)) {
139 timespecadd(&tm->tm, &now, &tm->tm);
147 if (timespeccmp(&tm_max, &now, <)) {
151 timespecsub(&tm_max, &now, &returnval);
159 struct timespec now; local
[all...]
/netbsd-current/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-current/external/bsd/libarchive/dist/libarchive/
H A Darchive_getdate.h37 time_t __archive_get_date(time_t now, const char *);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
H A Dcontext_time.c44 krb5_timestamp now; local
52 kret = krb5_timeofday(context, &now);
59 if (endtime < now)
62 *lifetime_rec = endtime - now;

Completed in 204 milliseconds

1234567891011>>