Home
last modified time | relevance | path

Searched refs:now (Results 126 – 150 of 620) sorted by relevance

12345678910>>...25

/dragonfly/usr.bin/top/
H A Ddisplay.c1471 i_message(struct timeval *now) in i_message() argument
1477 dprintf("i_message(%08x)\n", now); in i_message()
1480 if (now == NULL) in i_message()
1483 now = &my_now; in i_message()
1490 now->tv_sec, message_time.tv_sec); in i_message()
1495 if (timercmp(now, &message_time, > )) in i_message()
1521 message_time = *now; in i_message()
1545 u_message(struct timeval *now) in u_message() argument
1548 i_message(now); in u_message()
/dragonfly/lib/libtelnet/
H A Drsaencpwd.c193 time_t now; local
246 time(&now);
247 if ((now % 2) == 0) {
248 sprintf(challenge, "%x", now);
/dragonfly/usr.sbin/inetd/
H A Dbuiltins.c196 time_t now; in daytime_dg() local
200 now = time(NULL); in daytime_dg()
210 sprintf(buffer, "%.24s\r\n", ctime(&now)); in daytime_dg()
219 time_t now; in daytime_stream() local
221 now = time(NULL); in daytime_stream()
223 sprintf(buffer, "%.24s\r\n", ctime(&now)); in daytime_stream()
/dragonfly/contrib/dhcpcd/src/
H A Dauth.c115 time_t now; in dhcp_auth_validate() local
309 if (time(&now) == -1) in dhcp_auth_validate()
311 if (t->expire < now) { in dhcp_auth_validate()
528 time_t now; in dhcp_auth_encode() local
545 if (time(&now) == -1) in dhcp_auth_encode()
547 if (t->expire < now) { in dhcp_auth_encode()
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
H A Dhs20_supplicant.c564 struct os_reltime now, tmp; in hs20_osu_icon_fetch_result() local
567 os_get_reltime(&now); in hs20_osu_icon_fetch_result()
568 os_reltime_sub(&now, &wpa_s->osu_icon_fetch_start, &tmp); in hs20_osu_icon_fetch_result()
1295 struct os_reltime now; in hs20_rx_deauth_imminent_notice() local
1296 os_get_reltime(&now); in hs20_rx_deauth_imminent_notice()
1297 if (now.sec + reauth_delay <= in hs20_rx_deauth_imminent_notice()
1303 now.sec + reauth_delay; in hs20_rx_deauth_imminent_notice()
1308 struct os_reltime now; in hs20_rx_deauth_imminent_notice() local
1309 os_get_reltime(&now); in hs20_rx_deauth_imminent_notice()
1310 if (now.sec + reauth_delay <= in hs20_rx_deauth_imminent_notice()
[all …]
H A Dbgscan_learn.c565 struct os_reltime now; in bgscan_learn_notify_signal_change() local
579 os_get_reltime(&now); in bgscan_learn_notify_signal_change()
580 if (now.sec > data->last_bgscan.sec + 1) in bgscan_learn_notify_signal_change()
594 os_get_reltime(&now); in bgscan_learn_notify_signal_change()
595 if (now.sec > data->last_bgscan.sec + 10) in bgscan_learn_notify_signal_change()
/dragonfly/contrib/wpa_supplicant/src/ap/
H A Dwpa_auth_ft.c1031 struct os_reltime now; in wpa_ft_rrb_seq_chk() local
1136 struct os_reltime now; in wpa_ft_new_seq() local
1230 struct os_reltime now; in wpa_ft_expire_pmk_r0() local
1234 os_get_reltime(&now); in wpa_ft_expire_pmk_r0()
1331 struct os_reltime now; in wpa_ft_store_pmk_r0() local
1334 os_get_reltime(&now); in wpa_ft_store_pmk_r0()
1392 os_get_reltime(&now); in wpa_ft_fetch_pmk_r0()
1422 os_get_reltime(&now); in wpa_ft_store_pmk_r1()
1486 os_get_reltime(&now); in wpa_ft_fetch_pmk_r1()
1510 now.sec; in wpa_ft_fetch_pmk_r1()
[all …]
H A Daccounting.c44 struct os_time now; in accounting_msg() local
145 os_get_time(&now); in accounting_msg()
146 if (now.sec > 1000000000 && in accounting_msg()
148 now.sec)) { in accounting_msg()
/dragonfly/bin/ls/
H A Dprint.c350 static time_t now; in printtime() local
358 if (now == 0) in printtime()
359 now = time(NULL); in printtime()
386 if ((stt.tv_sec > now) || (stt.tv_sec < now - SIXMONTHS)) in printtime()
/dragonfly/usr.sbin/rtadvd/
H A Dconfig.c564 struct timespec now; in getconfig() local
566 clock_gettime(CLOCK_MONOTONIC_FAST, &now); in getconfig()
568 now.tv_sec + pfx->pfx_validlifetime; in getconfig()
585 struct timespec now; in getconfig() local
587 clock_gettime(CLOCK_MONOTONIC_FAST, &now); in getconfig()
589 now.tv_sec + pfx->pfx_preflifetime; in getconfig()
1417 struct timespec now; in make_packet() local
1434 clock_gettime(CLOCK_MONOTONIC_FAST, &now); in make_packet()
1438 vltime = ((time_t)pfx->pfx_vltimeexpire > now.tv_sec) ? in make_packet()
1439 pfx->pfx_vltimeexpire - now.tv_sec : 0; in make_packet()
[all …]
/dragonfly/sys/dev/sound/midi/
H A Dsequencer.c325 struct timeval now; in timer_continue() local
330 getmicrotime(&now); in timer_continue()
332 timevaladd(&t->timersub, &now); in timer_continue()
352 struct timeval now, when; in timer_wait() local
380 getmicrotime(&now); in timer_wait()
382 timevalsub(&when, &now); in timer_wait()
410 struct timeval now; in timer_now() local
415 now = t->timerstop; in timer_now()
417 getmicrotime(&now); in timer_now()
421 i = now.tv_sec * 1000000ull; in timer_now()
[all …]
/dragonfly/libexec/atrun/
H A Datrun.c442 time_t now, run_time; in main() local
496 now = time(NULL); in main()
515 if ((S_IXUSR & buf.st_mode) && (run_time <=now)) { in main()
530 if ((run_time < now) && !(S_IXUSR & buf.st_mode) && (S_IRUSR & buf.st_mode)) in main()
/dragonfly/usr.sbin/ac/
H A Dac.c409 struct timeval prev_secs, ut_timecopy, secs, clock_shift, now; in ac() local
477 gettimeofday(&now, NULL); in ac()
481 usht.ut_tv = now; in ac()
504 show_today(now); in ac()
/dragonfly/sys/net/altq/
H A Daltq_red.c275 struct timeval now; in red_addq() local
279 microtime(&now); in red_addq()
280 t = (now.tv_sec - rp->red_last.tv_sec); in red_addq()
288 t = t * 1000000 + (now.tv_usec - rp->red_last.tv_usec); in red_addq()
/dragonfly/crypto/libressl/tls/
H A Dtls_server.c144 time_t now; in tls_server_ticket_key() local
147 now = time(NULL); in tls_server_ticket_key()
149 if (now - 3 * (config->session_lifetime / 4) > in tls_server_ticket_key()
157 if (now - config->session_lifetime > tk->time) in tls_server_ticket_key()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/bits/
H A Datomic_futex.h172 __clock_t::now() + __rtime); in _GLIBCXX_VISIBILITY()
182 const typename _Clock::time_point __c_entry = _Clock::now(); in _GLIBCXX_VISIBILITY()
183 const __clock_t::time_point __s_entry = __clock_t::now(); in _GLIBCXX_VISIBILITY()
/dragonfly/contrib/wpa_supplicant/src/common/
H A Dwpa_helpers.c107 time_t start, now; in get_wpa_cli_event2() local
147 time(&now); in get_wpa_cli_event2()
148 if ((int) (now - start) > default_timeout) { in get_wpa_cli_event2()
/dragonfly/games/fortune/datfiles/
H A Ddragonfly-funny38 <Diannora> the compactor had a go, the memory now is low, Theres a hole in
60 < GeekGod> speak now or forever hold your commit
122 -!- cpressey is now known as marykay
162 <eirik> and now nobody can get an ip
168 15:28 <@dillon> but now it is allllll over
/dragonfly/contrib/wpa_supplicant/src/radius/
H A Dradius_das.c401 struct os_time now; in radius_das_receive() local
441 os_get_time(&now); in radius_das_receive()
446 if ((unsigned int) abs((int) (now.sec - timestamp)) > in radius_das_receive()
451 timestamp, (unsigned int) now.sec, in radius_das_receive()
481 now.sec)) { in radius_das_receive()
/dragonfly/usr.bin/w/
H A Dw.c78 static time_t now; /* the current time of day */ variable
198 (void)time(&now); in main()
252 pr_header(&now, nusers); in main()
431 pr_attime(&then, &now); in main()
587 if ((ep->idle = now - touched) < 0) in process()
/dragonfly/sys/net/ip_mroute/
H A Dip_mroute.c1498 struct timeval now; in ip_mdq() local
1515 GET_TIME(now); in ip_mdq()
1530 rt->mfc_last_assert = now; in ip_mdq()
1585 struct timeval now; in ip_mdq() local
1587 GET_TIME(now); in ip_mdq()
2260 struct timeval now; local
2308 GET_TIME(now);
2309 x->bm_start_time = now;
2323 schedule_bw_meter(x, &now);
2693 GET_TIME(now);
[all …]
/dragonfly/libexec/dma/
H A Dutil.c334 time_t now; in rfc822date() local
336 now = time(NULL); in rfc822date()
338 localtime(&now)); in rfc822date()
/dragonfly/usr.sbin/autofs/
H A Dautounmountd.c184 time_t now; in expire_automounted() local
188 now = time(NULL); in expire_automounted()
193 mounted_for = difftime(now, af->af_mount_time); in expire_automounted()
/dragonfly/contrib/less/
H A Dforwback.c56 time_type now = get_time(); in eof_bell() local
57 if (now == last_eof_bell) /* max once per second */ in eof_bell()
59 last_eof_bell = now; in eof_bell()
/dragonfly/usr.bin/finger/
H A Dsprint.c123 if (now - w->loginat < SECSPERDAY * (DAYSPERWEEK - 1)) { in sflag_print()
130 if (now - w->loginat >= SECSPERDAY * DAYSPERNYEAR / 2) { in sflag_print()

12345678910>>...25