Home
last modified time | relevance | path

Searched refs:now (Results 26 – 50 of 620) sorted by relevance

12345678910>>...25

/dragonfly/usr.bin/top/
H A Dtop.c496 time_mark(&(gstate->now)); in do_display()
554 i_message(&(gstate->now)); in do_display()
579 u_message(&(gstate->now)); in do_display()
615 struct timeval now; in do_command() local
620 gstate->refresh = gstate->now; in do_command()
622 time_get(&now); in do_command()
630 wait.tv_usec -= now.tv_usec; in do_command()
636 wait.tv_sec -= now.tv_sec; in do_command()
679 time_get(&now); in do_command()
695 time_mark(&(gstate->now)); in do_minidisplay()
[all …]
/dragonfly/sys/dev/drm/
H A Ddrm_vblank.c806 u64 seq, ktime_t now) in send_vblank_event() argument
813 tv = ktime_to_timespec64(now); in send_vblank_event()
902 ktime_t now; in drm_crtc_send_vblank_event() local
909 now = ktime_get(); in drm_crtc_send_vblank_event()
1111 ktime_t now; in drm_crtc_vblank_off() local
1333 ktime_t now; in drm_queue_vblank_event() local
1434 ktime_t now; in drm_wait_vblank_reply() local
1443 ts = ktime_to_timespec64(now); in drm_wait_vblank_reply()
1573 ktime_t now; in drm_handle_vblank_events() local
1693 ktime_t now; in drm_crtc_get_sequence_ioctl() local
[all …]
/dragonfly/usr.sbin/rtadvd/
H A Dtimer_subr.c46 static struct timespec returnval, now; in rtadvd_timer_rest() local
48 clock_gettime(CLOCK_MONOTONIC_FAST, &now); in rtadvd_timer_rest()
49 if (TS_CMP(&rat->rat_tm, &now, <=)) { in rtadvd_timer_rest()
56 TS_SUB(&rat->rat_tm, &now, &returnval); in rtadvd_timer_rest()
H A Ddump.c109 struct timeval now; in if_dump() local
111 gettimeofday(&now, NULL); /* XXX: unused in most cases */ in if_dump()
203 pfx->vltimeexpire > now.tv_sec ? in if_dump()
204 pfx->vltimeexpire - now.tv_sec : 0); in if_dump()
214 pfx->pltimeexpire > now.tv_sec ? in if_dump()
215 pfx->pltimeexpire - now.tv_sec : 0); in if_dump()
/dragonfly/contrib/cvs-1.12/src/
H A Dlock.c596 time_t now; in lock_exists() local
597 (void)time (&now); in lock_exists()
863 time_t now; in lock_wait() local
867 (void) time (&now); in lock_wait()
868 tm_p = gmtime (&now); in lock_wait()
888 time_t now; in lock_obtained() local
892 (void) time (&now); in lock_obtained()
893 tm_p = gmtime (&now); in lock_obtained()
1019 time_t now; in set_lock() local
1082 (void) time (&now); in set_lock()
[all …]
/dragonfly/stand/boot/common/
H A Dbcache.c262 time_t now; in bcache_insert() local
266 time(&now); in bcache_insert()
283 DEBUG("insert blk %d -> %d @ %d # %d", blkno, cand, now, bcache_bcount); in bcache_insert()
286 bcache_ctl[cand].bc_stamp = now; in bcache_insert()
298 time_t now; in bcache_lookup() local
301 time(&now); in bcache_lookup()
305 if ((bcache_ctl[i].bc_blkno == blkno) && ((bcache_ctl[i].bc_stamp + BCACHE_TIMEOUT) >= now)) { in bcache_lookup()
307 DEBUG("hit blk %d <- %d (now %d then %d)", blkno, i, now, bcache_ctl[i].bc_stamp); in bcache_lookup()
/dragonfly/usr.bin/ruptime/
H A Druptime.c53 #define LEFTEARTH(h) (now - (h) > 4*24*60*60)
54 #define ISDOWN(h) (now - (h)->hs_wd->wd_recvtime > 11 * 60)
59 static time_t now; variable
154 (void)time(&now); in main()
160 interval(now - hsp->hs_wd->wd_recvtime, "down")); in main()
251 (ISDOWN(HS(a2)) ? HS(a2)->hs_wd->wd_recvtime - now in tcmp()
254 (ISDOWN(HS(a1)) ? HS(a1)->hs_wd->wd_recvtime - now in tcmp()
/dragonfly/sbin/natd/
H A DHISTORY7 - Alias address can now be set by giving interface name with
21 - -a option now understands a hostname also.
37 - SIGTERM is now catched to allow kernel to close
39 - SIGHUP is now catched to allow natd to refresh aliasing
71 - Directory tree reorganized, alias package is now a library.
111 fixed. Natd now waits with select(2) for buffer space
117 - Ignored incoming packets are now dropped when
124 - Port numbers are now unsigned as they should always have been.
136 - permanent_link is now obsolete, use redirect_port instead.
/dragonfly/usr.bin/calendar/
H A Dcalendar.c475 time_t now; in get_time_of_now() local
478 now = time(NULL); in get_time_of_now()
480 localtime_r(&now, &tm); in get_time_of_now()
488 time_t now; in get_fixed_of_today() local
492 now = time(NULL); in get_fixed_of_today()
494 localtime_r(&now, &tm); in get_fixed_of_today()
503 time_t now; in get_utc_offset() local
506 now = time(NULL); in get_utc_offset()
508 localtime_r(&now, &tm); in get_utc_offset()
/dragonfly/contrib/xz/src/common/
H A Dmythread.h301 struct timespec now; in mythread_condtime_set() local
302 int ret = clock_gettime(cond->clk_id, &now); in mythread_condtime_set()
306 condtime->tv_sec += now.tv_sec; in mythread_condtime_set()
307 condtime->tv_nsec += now.tv_nsec; in mythread_condtime_set()
311 struct timeval now; in mythread_condtime_set() local
312 gettimeofday(&now, NULL); in mythread_condtime_set()
314 condtime->tv_sec += now.tv_sec; in mythread_condtime_set()
315 condtime->tv_nsec += now.tv_usec * 1000L; in mythread_condtime_set()
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_getdate.c801 time_t t, now; in RelativeDate() local
823 now = Start; in RelativeDate()
828 return now - Start; in RelativeDate()
1011 tmptime = now; in __archive_get_date()
1019 tm = localtime(&now); in __archive_get_date()
1032 tmptime = now; in __archive_get_date()
1040 gmt_ptr = gmtime(&now); in __archive_get_date()
1078 now -= gds->Timezone; in __archive_get_date()
1082 tmptime = now; in __archive_get_date()
1093 now += gds->Timezone; in __archive_get_date()
[all …]
/dragonfly/usr.bin/who/
H A Dwho.c232 time_t now; in who_am_i() local
254 (void)time(&now); in who_am_i()
258 print(pw ? pw->pw_name : "?", p, now, "", getpid(), 0, 0, 0, 0); in who_am_i()
285 static time_t now = 0; in print() local
300 if (now == 0) in print()
301 time(&now); in print()
305 idle = now - sb.st_atime; in print()
/dragonfly/games/grdc/
H A Dgrdc.c57 struct timespec now, scroll_ts; in main() local
154 clock_gettime(CLOCK_REALTIME_FAST, &now); in main()
156 timespecadd(&now, &scroll_ts, &now); in main()
157 tm = localtime(&now.tv_sec); in main()
208 clock_gettime(CLOCK_REALTIME_FAST, &now); in main()
209 delay_msecs = 1000 - now.tv_nsec / 1000000; in main()
/dragonfly/share/zoneinfo/
H A DNEWS7 zdump -v now outputs better failure indications.
815 tz-link.html now cites tzdata-meta
1678 since Johnston is now uninhabited.
1751 The 'Theory' file now documents UT.
1753 iso3166.tab now accents "Curaçao", and commentary now mentions
2311 simultaneity are now documented.
2644 now gives porting advice about.
3118 tz-link.htm now mentions GNOME.
3588 .gitignore now ignores 'date'.
3924 for now anyway, for the future).
[all …]
/dragonfly/contrib/wpa_supplicant/src/utils/
H A Deloop.c855 struct os_reltime now; in eloop_cancel_timeout_one() local
857 os_get_reltime(&now); in eloop_cancel_timeout_one()
905 os_get_reltime(&now); in eloop_deplete_timeout()
937 os_get_reltime(&now); in eloop_replenish_timeout()
1078 struct os_reltime tv, now; in eloop_run() local
1109 os_get_reltime(&now); in eloop_run()
1189 os_get_reltime(&now); in eloop_run()
1255 struct os_reltime now; in eloop_destroy() local
1257 os_get_reltime(&now); in eloop_destroy()
1261 sec = timeout->time.sec - now.sec; in eloop_destroy()
[all …]
/dragonfly/contrib/wpa_supplicant/src/ap/
H A Dtkip_countermeasures.c71 struct os_reltime now; in michael_mic_failure() local
97 os_get_reltime(&now); in michael_mic_failure()
98 if (os_reltime_expired(&now, &hapd->michael_mic_failure, 60)) { in michael_mic_failure()
107 hapd->michael_mic_failure = now; in michael_mic_failure()
H A Dairtime_policy.c58 struct os_reltime *now) in set_new_backlog_time() argument
60 sta->backlogged_until = *now; in set_new_backlog_time()
75 struct os_reltime now; in count_backlogged_sta() local
77 os_get_reltime(&now); in count_backlogged_sta()
84 set_new_backlog_time(hapd, sta, &now); in count_backlogged_sta()
85 if (os_reltime_before(&now, &sta->backlogged_until)) in count_backlogged_sta()
H A Dieee802_11_auth.c97 struct os_reltime now; in hostapd_acl_cache_get() local
99 os_get_reltime(&now); in hostapd_acl_cache_get()
105 if (os_reltime_expired(&now, &entry->timestamp, in hostapd_acl_cache_get()
364 struct os_reltime *now) in hostapd_acl_expire_cache() argument
372 if (os_reltime_expired(now, &entry->timestamp, in hostapd_acl_expire_cache()
394 struct os_reltime *now) in hostapd_acl_expire_queries() argument
402 if (os_reltime_expired(now, &entry->timestamp, in hostapd_acl_expire_queries()
429 struct os_reltime now; in hostapd_acl_expire() local
431 os_get_reltime(&now); in hostapd_acl_expire()
432 hostapd_acl_expire_cache(hapd, &now); in hostapd_acl_expire()
[all …]
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
H A Dbgscan_simple.c206 struct os_reltime now; in bgscan_simple_notify_signal_change() local
220 os_get_reltime(&now); in bgscan_simple_notify_signal_change()
221 if (now.sec > data->last_bgscan.sec + 1 && in bgscan_simple_notify_signal_change()
231 now.sec + data->scan_interval) { in bgscan_simple_notify_signal_change()
254 os_get_reltime(&now); in bgscan_simple_notify_signal_change()
255 if (now.sec > data->last_bgscan.sec + 10) in bgscan_simple_notify_signal_change()
/dragonfly/contrib/wpa_supplicant/src/radius/
H A Dradius_client.c367 os_time_t now) in radius_client_retransmit() argument
493 struct os_reltime now; in radius_client_timer() local
504 os_get_reltime(&now); in radius_client_timer()
564 if (first < now.sec) in radius_client_timer()
565 first = now.sec; in radius_client_timer()
638 struct os_reltime now; in radius_client_update_timeout() local
654 os_get_reltime(&now); in radius_client_update_timeout()
655 if (first < now.sec) in radius_client_update_timeout()
656 first = now.sec; in radius_client_update_timeout()
825 struct os_reltime now; in radius_client_receive() local
[all …]
/dragonfly/libexec/bootpd/
H A Dtzone.c39 time_t now; in tzone_init()
41 (void)time(&now); in tzone_init()
42 if ((tm = localtime(&now)) == NULL) { in tzone_init()
/dragonfly/usr.sbin/rtsold/
H A Ddump.c63 struct timeval now; in dump_interface_status() local
65 gettimeofday(&now, NULL); in dump_interface_status()
92 (ifinfo->expire.tv_sec < now.tv_sec) ? "expired" in dump_interface_status()
93 : sec2str(ifinfo->expire.tv_sec - now.tv_sec)); in dump_interface_status()
/dragonfly/contrib/less/
H A DNEWS328 * Status column (enabled via -J) now shows mark letters.
571 * Color escape sequences are now supported in WIN32 build.
573 * Makefile now uses EXEEXT feature of autoconf.
718 Large file support is now set up by the configure script.
737 Default buffer space is now 64K as documented.
766 * Status column (enabled with -J) now shows search results.
770 * Default LESSCHARSET for MS-DOS versions is now "dos".
847 * The UTF-8 character set is now supported.
942 * On Windows, now restores the console screen on exit.
1138 now have line editing functions.
[all …]
/dragonfly/sbin/routed/
H A Drdisc.c266 LIM_SEC(rdisc_timer, now.tv_sec+MIN_WAITTIME); in set_supplier()
323 sec = (now.tv_sec - drp->dr_life in rdisc_age()
459 if (drp->dr_ts + drp->dr_life <= now.tv_sec) { in rdisc_sort()
506 new.rts_time = now.tv_sec - GARBAGE_TIME; in rdisc_sort()
534 new.rts_time = now.tv_sec; in rdisc_sort()
641 new_drp->dr_ts = now.tv_sec; in parse_ad()
815 rdisc_timer.tv_sec = now.tv_sec + NEVER; in rdisc_adv()
821 if (!timercmp(&ifp->int_rdisc_timer, &now, >) in rdisc_adv()
836 timevaladd(&ifp->int_rdisc_timer, &now); in rdisc_adv()
857 rdisc_timer.tv_sec = now.tv_sec + NEVER; in rdisc_sol()
[all …]
/dragonfly/contrib/nvi2/regex/
H A DWHATSNEW13 is an alphabetic. Stuff used for pre-ANSI systems is now in a subdir,
24 (the development base is now a BSDI system using GCC instead of an ancient
31 now handled gracefully. "uchar" is no longer used as an internal type
41 free the main internal structure (how embarrassing). It is now possible
46 There are now primitives to match beginnings and ends of words, although
59 The regression test will now compile (and run) without REDEBUG. The
60 BRE \$ bug is fixed. Most uses of "uchar" are gone; it's all chars now.
61 Char/uchar parameters are now written int/unsigned, to avoid possible
67 thing is that regex.h is now generated, using mkh, rather than being
70 have been fixed (and the regression test now checks for them), as has a

12345678910>>...25