/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | argv.c | 399 are now in the main ARGV. */ 406 /* We're all done with the file now. */
|
/freebsd-11-stable/libexec/atrun/ |
H A D | atrun.c | 455 time_t now, run_time; local 529 now = time(NULL); 548 if ((S_IXUSR & buf.st_mode) && (run_time <=now)) { 563 if ((run_time < now) && !(S_IXUSR & buf.st_mode) && (S_IRUSR & buf.st_mode))
|
/freebsd-11-stable/tools/tools/net80211/stumbler/ |
H A D | stumbler.c | 867 unsigned long elapsed_ms(struct timeval* now, struct timeval* prev) { argument 870 if (now->tv_sec > prev->tv_sec) 872 now->tv_usec; 874 assert(now->tv_sec == prev->tv_sec); 875 elapsed = now->tv_usec - prev->tv_usec; 879 elapsed += (now->tv_sec - prev->tv_sec)*1000; 917 struct timeval now; local 927 if (gettimeofday(&now, NULL) == -1) 932 elapsed = elapsed_ms(&now, &node->seen);
|
/freebsd-11-stable/usr.bin/find/ |
H A D | extern.h | 122 extern time_t now;
|
/freebsd-11-stable/contrib/amd/amd/ |
H A D | info_ldap.c | 309 time_t now = clocktime(NULL); local 315 if ((a->timestamp - now) > AMD_LDAP_TTL) { 318 a->timestamp = now; 359 a->timestamp = now;
|
/freebsd-11-stable/sys/dev/acpica/ |
H A D | acpi_hpet.c | 209 uint32_t fdiv, now; local 226 now = bus_read_4(sc->mem_res, HPET_MAIN_COUNTER); 228 t->next = now + fdiv; 244 now = bus_read_4(sc->mem_res, HPET_MAIN_COUNTER); 245 if ((int32_t)(now - t->next + HPET_MIN_CYCLES) >= 0) { 272 uint32_t now; local 301 now = bus_read_4(sc->mem_res, HPET_MAIN_COUNTER); 302 if ((int32_t)((now + t->div / 2) - t->next) > 0) 303 t->next = now + t->div / 2;
|
/freebsd-11-stable/sys/dev/drm/ |
H A D | drm_irq.c | 465 struct timeval now; local 467 microtime(&now); 468 vblwait->reply.tval_sec = now.tv_sec; 469 vblwait->reply.tval_usec = now.tv_usec;
|
/freebsd-11-stable/usr.sbin/ac/ |
H A D | ac.c | 330 * now lose it 410 struct timeval prev_secs, ut_timecopy, secs, clock_shift, now; local 478 (void)gettimeofday(&now, NULL); 482 usht.ut_tv = now; 500 * anyone still logged in gets time up to now 505 show_today(now);
|
/freebsd-11-stable/usr.sbin/rtadvctl/ |
H A D | rtadvctl.c | 421 struct timespec now, ts0, ts; local 470 clock_gettime(CLOCK_REALTIME_FAST, &now); 472 TS_SUB(&now, &ts, &ts0); 765 struct timespec now; local 767 clock_gettime(CLOCK_MONOTONIC_FAST, &now); 792 ((long)pfx->pfx_vltimeexpire > now.tv_sec) ? 793 sec2str(pfx->pfx_vltimeexpire - now.tv_sec, ssbuf) : 804 ((long)pfx->pfx_pltimeexpire > now.tv_sec) ? 805 sec2str(pfx->pfx_pltimeexpire - now.tv_sec, ssbuf) :
|
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hast/ |
H A D | hast_snmp.c | 277 static uint64_t now; local 282 now = get_ticks(); 283 if (now - last_resources_update < UPDATE_INTERVAL) 286 last_resources_update = now;
|
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | accounting.c | 44 struct os_time now; local 145 os_get_time(&now); 146 if (now.sec > 1000000000 && 148 now.sec)) {
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerFork.cpp | 113 std::chrono::system_clock::now() - ProcessStartTime) 138 auto Time1 = std::chrono::system_clock::now(); 144 auto Time2 = std::chrono::system_clock::now(); 293 Env.ProcessStartTime = std::chrono::system_clock::now();
|
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_stats_timing.h | 74 static tsc_tick_count now() { function in class:tsc_tick_count
|
H A D | z_Linux_util.cpp | 692 struct timespec now; local 701 TIMEVAL_TO_TIMESPEC(&tval, &now); 703 now.tv_sec += interval.tv_sec; 704 now.tv_nsec += interval.tv_nsec; 706 if (now.tv_nsec >= KMP_NSEC_PER_SEC) { 707 now.tv_sec += 1; 708 now.tv_nsec -= KMP_NSEC_PER_SEC; 716 &__kmp_wait_mx.m_mutex, &now); 744 /* now we need to terminate the worker threads */ 821 /* Set stack size for this thread now 1515 struct timespec now; local 1983 kmp_uint64 now, nsec2, diff; local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | Timer.cpp | 121 sys::TimePoint<> now; local 126 sys::Process::GetTimeUsage(now, user, sys); 128 sys::Process::GetTimeUsage(now, user, sys); 132 Result.WallTime = Seconds(now.time_since_epoch()).count();
|
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | hs20_supplicant.c | 564 struct os_reltime now, tmp; local 567 os_get_reltime(&now); 568 os_reltime_sub(&now, &wpa_s->osu_icon_fetch_start, &tmp); 1292 /* TODO: For now, disable full ESS since some drivers may not 1295 struct os_reltime now; local 1296 os_get_reltime(&now); 1297 if (now.sec + reauth_delay <= 1303 now.sec + reauth_delay; 1308 struct os_reltime now; local 1309 os_get_reltime(&now); [all...] |
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | pci_e82545.c | 668 // XXX clear interrupts if all ICR bits now masked 922 /* XXX signal no checksum for now */ 991 int now, odd; local 1004 now = MIN(len, iov->iov_len - off); 1005 s = e82545_buf_checksum(iov->iov_base + off, now); 1007 odd ^= (now & 1); 1008 len -= now; 1083 int mss, paylen, seg, tiovcnt, left, now, nleft, nnow, pv, pvoff; local 1297 left -= now, hdrp += now) { [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | db_iterator.c | 152 time_t now = time((time_t *) 0); local 154 if (now > my_time) {
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/os/ |
H A D | fm.c | 211 * used for cache dumps right now, so we suppress them so as not to overwhelm 418 hrtime_t now; local 425 now = panic_hrtime; 428 now = gethrtime_waitfree(); 437 fm_msgid, tod.tv_sec, tod.tv_nsec, (u_longlong_t)now); 471 hrtime_t now; local 477 now = panic_hrtime; 482 now = gethrtime_waitfree(); 501 ed.ed_hrt_base = now;
|
/freebsd-11-stable/contrib/pam_modules/pam_passwdqc/ |
H A D | pam_passwdqc.spec | 58 - 0.3: portability fixes (this might build on non-Linux-PAM now).
|
/freebsd-11-stable/crypto/openssl/util/ |
H A D | mkstack.pl | 65 if (m|^/\* End of util/mkstack.pl block, you may now edit :-\) \*/|) { 179 $new_stackfile .= "/* End of util/mkstack.pl block, you may now edit :-) */\n";
|
/freebsd-11-stable/usr.bin/finger/ |
H A D | finger.c | 89 time_t now; variable 199 (void)time(&now);
|
/freebsd-11-stable/bin/pax/ |
H A D | gen_subs.c | 75 ls_list(ARCHD *arcn, time_t now, FILE *fp) argument 102 if ((sbp->st_mtime + SIXMONTHS) <= now)
|
/freebsd-11-stable/sys/dev/sfxge/ |
H A D | sfxge_port.c | 62 clock_t now; local 76 now = ticks; 77 if ((unsigned int)(now - port->mac_stats.update_time) < min_ticks) { 82 port->mac_stats.update_time = now; 573 clock_t now; local 584 now = ticks; 585 if ((unsigned int)(now - port->phy_stats.update_time) < (unsigned int)hz) { 590 port->phy_stats.update_time = now; 827 /* Don't know the module type, but assume SR for now. */ 831 /* Don't know the module type, but assume SR for now [all...] |
/freebsd-11-stable/lib/libfetch/ |
H A D | common.c | 1043 struct timeval now, timeout, delta; local 1092 gettimeofday(&now, NULL); 1093 if (!timercmp(&timeout, &now, >)) { 1098 timersub(&timeout, &now, &delta); 1184 struct timeval now, timeout, delta; local 1200 gettimeofday(&now, NULL); 1201 if (!timercmp(&timeout, &now, >)) { 1206 timersub(&timeout, &now, &delta);
|