Searched refs:now (Results 126 - 150 of 814) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/bsd/top/dist/
H A Ddisplay.h64 void i_message(struct timeval *now);
65 void u_message(struct timeval *now);
/netbsd-6-1-5-RELEASE/external/mit/lua/dist/test/
H A Dfactorial.lua25 -- now test it
/netbsd-6-1-5-RELEASE/sys/arch/ia64/stand/common/
H A Dbcache.c266 time_t now; local
270 time(&now);
287 DEBUG("insert blk %d -> %d @ %d # %d", blkno, cand, now, bcache_bcount);
290 bcache_ctl[cand].bc_stamp = now;
302 time_t now; local
305 time(&now);
309 if ((bcache_ctl[i].bc_blkno == blkno) && ((bcache_ctl[i].bc_stamp + BCACHE_TIMEOUT) >= now)) {
311 DEBUG("hit blk %d <- %d (now %d then %d)", blkno, i, now, bcache_ctl[i].bc_stamp);
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
H A Dia64-sigill.c53 struct timespec start, now; local
65 i = clock_gettime (CLOCK_MONOTONIC, &now);
67 assert (now.tv_sec >= start.tv_sec);
69 while (now.tv_sec - start.tv_sec < TIMEOUT);
195 struct timespec start, now; local
226 i = clock_gettime (CLOCK_MONOTONIC, &now);
228 assert (now.tv_sec >= start.tv_sec);
230 while (now.tv_sec - start.tv_sec < TIMEOUT);
232 fprintf (stderr, "Timed out waiting for PID %lu \"%s\" (now it is \"%s\")!\n",
310 /* Threads are now waitin
[all...]
H A Dwatchthreads-reorder.c62 struct timespec start, now; local
74 i = clock_gettime (CLOCK_MONOTONIC, &now);
76 assert (now.tv_sec >= start.tv_sec);
78 while (now.tv_sec - start.tv_sec < TIMEOUT);
202 struct timespec start, now; local
233 i = clock_gettime (CLOCK_MONOTONIC, &now);
235 assert (now.tv_sec >= start.tv_sec);
237 while (now.tv_sec - start.tv_sec < TIMEOUT);
239 fprintf (stderr, "Timed out waiting for PID %lu \"%s\" (now it is \"%s\")!\n",
317 /* Threads are now waitin
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/amiga/stand/bootblock/boot/
H A Dalloc.s42 movl #0x50001,%d1 | MEMF_CLEAR|MEMF_REVERSE|MEMF_PUBLIC for now.
/netbsd-6-1-5-RELEASE/usr.sbin/isdn/isdnd/
H A Dexec.c140 /* this is the child now */
297 time_t s, l, now; local
302 now = time(NULL);
319 ret = fprintf(fp, "%ld %ld 1", (long)now, (long)now);
342 s = l = now;
355 /* get day of month for just now */
356 stmp = localtime(&now);
383 s = now;
396 ret = fprintf(fp, "%ld %ld %-3d", (long)s, (long)now,
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/rsn_supp/
H A Dpmksa_cache.c61 struct os_time now; local
63 os_get_time(&now);
64 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) {
88 struct os_time now; local
94 os_get_time(&now);
95 sec = pmksa->pmksa->expiration - now.sec;
103 sec = pmksa->pmksa->reauth_time - now.sec;
133 struct os_time now; local
145 os_get_time(&now);
146 entry->expiration = now
420 struct os_time now; local
[all...]
/netbsd-6-1-5-RELEASE/bin/ksh/
H A Dmail.c49 time_t now; local
53 now = time((time_t *) 0);
55 mlastchkd = now;
56 if (now - mlastchkd >= mailcheck_interval) {
57 mlastchkd = now;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/MacOS/
H A DRandomizer.cpp297 unsigned long now; // Time in seconds since local
299 GetDateTime (&now);
300 now -= TickCount() / 60; // Time in ticks since machine
302 AddBytes (&now, sizeof (now), kSysStartupEntropy);
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/zkt/
H A Dsoaserial.c251 ulong now; local
257 now = time (NULL);
258 now = serialtime (now);
259 printf ("now = %lu\n", now);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/
H A Dcaljulian.c46 time_t now; /* current system time */ local
63 now = time(NULL);
64 tmplo = (u_int32)now;
66 tmphi = (int32)(now >> 16 >> 16);
70 * (now >> 32) may not work correctly on every 32 bit
73 tmphi = (int32)(now >> 31);
127 ntp_day %= DAYSPERYEAR; /* now zero-based day-of-year */
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/wpa_supplicant/
H A Dbgscan_simple.c52 * every now and then) to reduce effect on the data connection.
182 struct os_time now; local
194 os_get_time(&now);
195 if (now.sec > data->last_bgscan.sec + 1)
209 os_get_time(&now);
210 if (now.sec > data->last_bgscan.sec + 10)
/netbsd-6-1-5-RELEASE/games/pom/
H A Dpom.c97 time_t tmpt, now; local
101 if (time(&now) == (time_t)-1)
109 tmpt = now;
113 if (tmpt < now)
115 else if (tmpt == now)
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/
H A Dtimer.c203 schedule(isc__timer_t *timer, isc_time_t *now, isc_boolean_t signal_ok) { argument
237 result = isc_time_add(now, &timer->interval, &due);
312 isc_time_compare(&then, now) < 0) {
404 isc_time_t now; local
431 TIME_NOW(&now);
435 * complaining about "now" possibly being used without being
438 isc_time_settoepoch(&now);
450 result = isc_time_add(&now, interval, &timer->idle);
495 result = schedule(timer, &now, ISC_TRUE);
523 isc_time_t now; local
611 isc_time_t now; local
683 dispatch(isc__timermgr_t *manager, isc_time_t *now) argument
808 isc_time_t now; local
826 manager->due, now); local
1056 isc_time_t now; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/
H A Dtimer.c113 schedule(isc_timer_t *timer, isc_time_t *now, isc_boolean_t signal_ok) { argument
147 result = isc_time_add(now, &timer->interval, &due);
222 isc_time_compare(&then, now) < 0) {
308 isc_time_t now; local
335 TIME_NOW(&now);
339 * complaining about "now" possibly being used without being
342 isc_time_settoepoch(&now);
354 result = isc_time_add(&now, interval, &timer->idle);
397 result = schedule(timer, &now, ISC_TRUE);
423 isc_time_t now; local
510 isc_time_t now; local
580 dispatch(isc_timermgr_t *manager, isc_time_t *now) argument
705 isc_time_t now; local
723 manager->due, now); local
929 isc_time_t now; local
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/rpc.statd/
H A Dstatd.c164 /* Initialisation now complete - start operating */
188 time_t now; local
194 now = time(NULL);
196 (void) walk_db(notify_one, &now);
198 if (walk_db(check_work, &now) == 0) {
394 * meaningless now. These pointers are zeroed and the fact
465 time_t now = *(time_t *) ptr; local
469 if (hi->notifyReqd == 0 || hi->notifyReqd > now)
563 time_t now = time(NULL); local
564 walk_db(reset_host, &now);
582 time_t now = time(NULL); local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_dumbclock.c114 time_t now; local
149 time(&now);
151 tm_time_p = localtime(&now);
153 tm_time_p = gmtime(&now);
251 time_t now; local
272 time(&now);
276 reality_delta = asserted_time - now;
/netbsd-6-1-5-RELEASE/usr.bin/who/
H A Dwho.c231 time_t now; local
253 (void)time(&now);
257 print(pw ? pw->pw_name : "?", p, now, "", getpid(), 0, 0, 0, 0);
284 static time_t now = 0; local
299 if (now == 0)
300 time(&now);
304 idle = now - sb.st_atime;
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/unix/
H A Dtime.c397 time_t now; local
402 now = (time_t) t->seconds;
403 flen = strftime(buf, len, "%d-%b-%Y %X", localtime(&now));
414 time_t now; local
419 now = (time_t)t->seconds;
420 flen = strftime(buf, len, "%a, %d %b %Y %H:%M:%S GMT", gmtime(&now));
426 time_t now; local
431 now = (time_t)t->seconds;
432 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%SZ", gmtime(&now));
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/unix/
H A Dtime.c403 time_t now; local
408 now = (time_t) t->seconds;
409 flen = strftime(buf, len, "%d-%b-%Y %X", localtime(&now));
420 time_t now; local
425 now = (time_t)t->seconds;
426 flen = strftime(buf, len, "%a, %d %b %Y %H:%M:%S GMT", gmtime(&now));
432 time_t now; local
437 now = (time_t)t->seconds;
438 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%SZ", gmtime(&now));
/netbsd-6-1-5-RELEASE/usr.bin/ftp/
H A Dprogressbar.c125 struct timeval now, wait; local
162 (void)gettimeofday(&now, NULL);
164 timersub(&now, &lastupdate, &wait);
166 lastupdate = now;
241 timersub(&now, &start, &td);
303 struct timeval now, td, wait; local
314 (void)gettimeofday(&now, NULL);
315 timersub(&now, &start, &td);
362 timersub(&now, &lastupdate, &wait);
465 * Right now, thi
[all...]
/netbsd-6-1-5-RELEASE/dist/ipf/lib/
H A Dprintactivenat.c19 void printactivenat(nat, opts, alive, now)
22 u_long now;
47 nat->nat_age - now, nat->nat_use,
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/
H A Dwindow-clock.c97 struct tm now, then; local
101 gmtime_r(&t, &now);
103 if (now.tm_min == then.tm_min)
/netbsd-6-1-5-RELEASE/regress/sys/kern/kqueue/vnode/
H A Dvnode.c48 struct timeval then, now, diff; local
98 if (gettimeofday(&now, NULL) == -1)
99 err(1, "gettimeofday now");
100 timersub(&now, &then, &diff);

Completed in 293 milliseconds

1234567891011>>