Home
last modified time | relevance | path

Searched refs:now (Results 76 – 100 of 620) sorted by relevance

12345678910>>...25

/dragonfly/games/tetris/
H A Dscores.c71 static time_t now; variable
155 time(&now); in savescore()
172 sp->hs_time = now; /* and time */ in savescore()
177 sp->hs_time = now; /* renew it */ in savescore()
186 sp->hs_time = now; in savescore()
309 sp->hs_time + EXPIRATION >= now) || in checkscores()
/dragonfly/bin/pax/
H A Dar_subs.c75 time_t now; in list() local
89 now = time(NULL); in list()
116 ls_list(arcn, now, stdout); in list()
152 time_t now; in extract() local
171 now = time(NULL); in extract()
261 ls_list(arcn, now, listf); in extract()
358 time_t now; in wr_archive() local
386 now = time(NULL); in wr_archive()
458 ls_list(arcn, now, listf); in wr_archive()
/dragonfly/contrib/libarchive/
H A DNEWS151 Feb 05, 2012: libarchive development now hosted at GitHub.
199 Jun 09, 2010: archive_read_disk now supports traversals
262 All tests now pass.
294 read core. Also, the decompression bid now makes multiple
408 several more cosmetic issues in bsdcpio, all now fixed.
460 libarchive_test now exercises entries from 2GB up to 1TB.
568 'struct stat' is now only used in archive_entry and in
572 Libarchive now compiles and passes all tests on Interix.
588 Apr 13, 2007: libarchive now enforces trailing '/' on dirs
617 Mar 10, 2007: libarchive now returns ARCHIVE_FAILED when
[all …]
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_write_set_format_warc.c56 time_t now; member
141 w->now = time(NULL); in archive_write_set_format_warc()
145 w->rng = (unsigned int)w->now; in archive_write_set_format_warc()
200 wi.rtime = w->now; in _warc_header()
201 wi.mtime = w->now; in _warc_header()
241 rh.rtime = w->now; in _warc_header()
/dragonfly/sbin/routed/
H A Dif.c69 && last_ifinit.tv_usec == now.tv_usec \
70 && timercmp(&ifinit_timer, &now, >))
556 ifp->int_data.ts = now.tv_sec; in if_bad()
673 last_ifinit = now; in ifinit()
726 ifs0.int_act_time = now.tv_sec; in ifinit()
727 ifs0.int_data.ts = now.tv_sec; in ifinit()
941 } else if (now.tv_sec>(ifp->int_data.ts in ifinit()
946 now.tv_sec-ifp->int_data.ts); in ifinit()
980 now.tv_sec+CHECK_BAD_INTERVAL); in ifinit()
1017 ifp->int_act_time = now.tv_sec; in ifinit()
[all …]
/dragonfly/contrib/tnftp/src/
H A Dssl.c104 struct timeval now, timeout, delta; in fetch_writev() local
120 gettimeofday(&now, NULL); in fetch_writev()
121 delta.tv_sec = timeout.tv_sec - now.tv_sec; in fetch_writev()
122 delta.tv_usec = timeout.tv_usec - now.tv_usec; in fetch_writev()
371 struct timeval now, delta; in fetch_wait() local
379 gettimeofday(&now, NULL); in fetch_wait()
380 if (!timercmp(timeout, &now, >)) { in fetch_wait()
388 timersub(timeout, &now, &delta); in fetch_wait()
/dragonfly/contrib/wpa_supplicant/src/wps/
H A Dwps_upnp.c471 struct os_reltime now; in upnp_wps_device_send_event() local
478 if (os_get_reltime(&now) == 0) { in upnp_wps_device_send_event()
479 if (now.sec != sm->last_event_sec) { in upnp_wps_device_send_event()
480 sm->last_event_sec = now.sec; in upnp_wps_device_send_event()
553 static void subscription_list_age(struct upnp_wps_device_sm *sm, time_t now) in subscription_list_age() argument
558 if (s->timeout_time > now) in subscription_list_age()
696 time_t now = time(NULL); in subscription_start() local
697 time_t expire = now + UPNP_SUBSCRIBE_SEC; in subscription_start()
701 subscription_list_age(sm, now); in subscription_start()
761 time_t now = time(NULL); in subscription_renew() local
[all …]
/dragonfly/contrib/tcp_wrappers/
H A DCHANGES31 - SCO 5 now has vsyslog() (Bill Golden).
73 - Support for Unicos 8.x (Bruce Kelly). The program now closes the
90 - The programs now log a warning when they detect that a non-existent
253 - Improved support for Dynix/PTX. The wrapper should now be able to
256 - The try command now uses the hostname that gethostbyaddr() would
312 Selective username lookups are now the default (was: no username
346 is run, each option function now explains what it would do.
389 - Still more documentation. The README file now provides tutorial
396 localhost != localhost.domain. The host name checking code now
400 cannot be opened (e.g. due to lack of privileges). Until now, the
[all …]
/dragonfly/contrib/binutils-2.34/bfd/
H A Dihex.c807 size_t now; in ihex_write_object_contents() local
810 now = count; in ihex_write_object_contents()
812 now = CHUNK; in ihex_write_object_contents()
868 if (rec_addr + now > 0xffff) in ihex_write_object_contents()
869 now = 0x10000 - rec_addr; in ihex_write_object_contents()
871 if (! ihex_write_record (abfd, now, rec_addr, 0, p)) in ihex_write_object_contents()
874 where += now; in ihex_write_object_contents()
875 p += now; in ihex_write_object_contents()
876 count -= now; in ihex_write_object_contents()
/dragonfly/contrib/binutils-2.27/bfd/
H A Dihex.c778 size_t now; in ihex_write_object_contents() local
781 now = count; in ihex_write_object_contents()
783 now = CHUNK; in ihex_write_object_contents()
840 if (rec_addr + now > 0xffff) in ihex_write_object_contents()
841 now = 0x10000 - rec_addr; in ihex_write_object_contents()
843 if (! ihex_write_record (abfd, now, rec_addr, 0, p)) in ihex_write_object_contents()
846 where += now; in ihex_write_object_contents()
847 p += now; in ihex_write_object_contents()
848 count -= now; in ihex_write_object_contents()
/dragonfly/contrib/gdb-7/bfd/
H A Dihex.c779 size_t now; in ihex_write_object_contents() local
782 now = count; in ihex_write_object_contents()
784 now = CHUNK; in ihex_write_object_contents()
841 if (rec_addr + now > 0xffff) in ihex_write_object_contents()
842 now = 0x10000 - rec_addr; in ihex_write_object_contents()
844 if (! ihex_write_record (abfd, now, rec_addr, 0, p)) in ihex_write_object_contents()
847 where += now; in ihex_write_object_contents()
848 p += now; in ihex_write_object_contents()
849 count -= now; in ihex_write_object_contents()
/dragonfly/usr.sbin/rtsold/
H A Drtsold.c471 struct timeval now, rtsol_timer; in rtsol_check_timer() local
475 gettimeofday(&now, NULL); in rtsol_check_timer()
480 if (TIMEVAL_LEQ(ifinfo->expire, now)) { in rtsol_check_timer()
558 else if (TIMEVAL_LT(rtsol_timer, now)) in rtsol_check_timer()
562 TIMEVAL_SUB(&rtsol_timer, &now, &returnval); in rtsol_check_timer()
577 struct timeval now; in rtsol_timer_update() local
636 gettimeofday(&now, NULL); in rtsol_timer_update()
637 TIMEVAL_ADD(&now, &ifinfo->timer, &ifinfo->expire); in rtsol_timer_update()
/dragonfly/contrib/ldns/
H A Dutil.c296 ldns_serial_arithmetics_time(int32_t time, time_t now) in ldns_serial_arithmetics_time() argument
299 int32_t offset = (int32_t) ((uint32_t) time - (uint32_t) now); in ldns_serial_arithmetics_time()
300 return (int64_t) now + offset; in ldns_serial_arithmetics_time()
304 ldns_serial_arithmetics_gmtime_r(int32_t time, time_t now, struct tm *result) in ldns_serial_arithmetics_gmtime_r() argument
307 int64_t secs_since_epoch = ldns_serial_arithmetics_time(time, now); in ldns_serial_arithmetics_gmtime_r()
310 time_t secs_since_epoch = ldns_serial_arithmetics_time(time, now); in ldns_serial_arithmetics_gmtime_r()
320 ldns_serial_arithmitics_gmtime_r(int32_t time, time_t now, struct tm *result) in ldns_serial_arithmitics_gmtime_r() argument
322 return ldns_serial_arithmetics_gmtime_r(time, now, result); in ldns_serial_arithmitics_gmtime_r()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/std/
H A Dcondition_variable108 const typename _Clock::time_point __c_entry = _Clock::now();
109 const __clock_t::time_point __s_entry = __clock_t::now();
132 { return wait_until(__lock, __clock_t::now() + __rtime); }
139 { return wait_until(__lock, __clock_t::now() + __rtime, std::move(__p)); }
166 return (_Clock::now() < __atime
271 { return wait_until(__lock, __clock_t::now() + __rtime); }
278 { return wait_until(__lock, __clock_t::now() + __rtime, std::move(__p)); }
/dragonfly/usr.bin/rwall/
H A Drwall.c130 time_t now; in makemsg() local
148 time(&now); in makemsg()
149 lt = localtime(&now); in makemsg()
/dragonfly/sys/netbt/
H A Dhci_misc.c116 struct timeval now; in hci_memo_find() local
118 microtime(&now); in hci_memo_find()
124 if (now.tv_sec > memo->time.tv_sec + hci_memo_expiry) { in hci_memo_find()
/dragonfly/sbin/ping/
H A Dping.c739 struct timeval now, timeout; in main() local
748 gettimeofday(&now, NULL); in main()
783 memcpy(&now, CMSG_DATA(cmsg), sizeof(now)); in main()
784 tv = &now; in main()
788 gettimeofday(&now, NULL); in main()
789 tv = &now; in main()
865 struct timeval now; in pinger() local
883 gettimeofday(&now, NULL); in pinger()
885 tv32.tv32_sec = htonl(now.tv_sec); in pinger()
886 tv32.tv32_usec = htonl(now.tv_usec); in pinger()
[all …]
/dragonfly/contrib/wpa_supplicant/src/utils/
H A Dos_win32.c54 struct os_time now; in os_get_reltime() local
55 int res = os_get_time(&now); in os_get_reltime()
56 t->sec = now.sec; in os_get_reltime()
57 t->usec = now.usec; in os_get_reltime()
H A Dos.h92 struct os_reltime now; in os_reltime_age() local
94 os_get_reltime(&now); in os_reltime_age()
95 os_reltime_sub(&now, start, age); in os_reltime_age()
99 static inline int os_reltime_expired(struct os_reltime *now, in os_reltime_expired() argument
105 os_reltime_sub(now, ts, &age); in os_reltime_expired()
/dragonfly/usr.sbin/rtadvctl/
H A Drtadvctl.c419 struct timespec now, ts0, ts; in action_show() local
468 clock_gettime(CLOCK_REALTIME_FAST, &now); in action_show()
470 TS_SUB(&now, &ts, &ts0); in action_show()
749 struct timespec now; in action_show_prefix() local
751 clock_gettime(CLOCK_MONOTONIC_FAST, &now); in action_show_prefix()
776 ((long)pfx->pfx_vltimeexpire > now.tv_sec) ? in action_show_prefix()
777 sec2str(pfx->pfx_vltimeexpire - now.tv_sec, ssbuf) : in action_show_prefix()
788 ((long)pfx->pfx_pltimeexpire > now.tv_sec) ? in action_show_prefix()
789 sec2str(pfx->pfx_pltimeexpire - now.tv_sec, ssbuf) : in action_show_prefix()
/dragonfly/tools/tools/net80211/stumbler/
H A Dstumbler.c867 unsigned long elapsed_ms(struct timeval* now, struct timeval* prev) { in elapsed_ms() argument
870 if (now->tv_sec > prev->tv_sec) in elapsed_ms()
872 now->tv_usec; in elapsed_ms()
874 assert(now->tv_sec == prev->tv_sec); in elapsed_ms()
875 elapsed = now->tv_usec - prev->tv_usec; in elapsed_ms()
879 elapsed += (now->tv_sec - prev->tv_sec)*1000; in elapsed_ms()
917 struct timeval now; in check_seen() local
927 if (gettimeofday(&now, NULL) == -1) in check_seen()
932 elapsed = elapsed_ms(&now, &node->seen); in check_seen()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/std/
H A Dcondition_variable114 const typename _Clock::time_point __c_entry = _Clock::now();
115 const __clock_t::time_point __s_entry = __clock_t::now();
143 return wait_until(__lock, __clock_t::now() + __reltime);
156 return wait_until(__lock, __clock_t::now() + __reltime, std::move(__p));
181 return (__clock_t::now() < __atime
305 { return wait_until(__lock, __clock_t::now() + __rtime); }
312 { return wait_until(__lock, __clock_t::now() + __rtime, std::move(__p)); }
/dragonfly/libexec/talkd/
H A Dannounce.c90 struct timeval now; in print_mesg() local
102 gettimeofday(&now, NULL); in print_mesg()
103 clock_sec = now.tv_sec; in print_mesg()
/dragonfly/usr.sbin/repquota/
H A Drepquota.c357 static time_t now; in timeprt() local
359 if (now == 0) in timeprt()
360 time(&now); in timeprt()
361 if (now > seconds) { in timeprt()
365 seconds -= now; in timeprt()
/dragonfly/libexec/rpc.rusersd/
H A Drusers_proc.c111 time_t now; in getidle() local
140 time(&now); in getidle()
142 printf("%s: now=%d atime=%d\n", ttyname, now, in getidle()
145 idle = now - st.st_atime; in getidle()

12345678910>>...25