Searched refs:now (Results 276 - 300 of 672) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dargv.c399 are now in the main ARGV. */
406 /* We're all done with the file now. */
/freebsd-11-stable/libexec/atrun/
H A Datrun.c455 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 Dstumbler.c867 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 Dextern.h122 extern time_t now;
/freebsd-11-stable/contrib/amd/amd/
H A Dinfo_ldap.c309 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 Dacpi_hpet.c209 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 Ddrm_irq.c465 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 Dac.c330 * 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 Drtadvctl.c421 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 Dhast_snmp.c277 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 Daccounting.c44 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 DFuzzerFork.cpp113 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 Dkmp_stats_timing.h74 static tsc_tick_count now() { function in class:tsc_tick_count
H A Dz_Linux_util.cpp692 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 DTimer.cpp121 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 Dhs20_supplicant.c564 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 Dpci_e82545.c668 // 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 Ddb_iterator.c152 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 Dfm.c211 * 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 Dpam_passwdqc.spec58 - 0.3: portability fixes (this might build on non-Linux-PAM now).
/freebsd-11-stable/crypto/openssl/util/
H A Dmkstack.pl65 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 Dfinger.c89 time_t now; variable
199 (void)time(&now);
/freebsd-11-stable/bin/pax/
H A Dgen_subs.c75 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 Dsfxge_port.c62 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 Dcommon.c1043 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);

Completed in 532 milliseconds

<<11121314151617181920>>