/freebsd-11-stable/sys/amd64/vmm/io/ |
H A D | vpmtmr.c | 87 sbintime_t now, delta; local 98 now = sbinuptime(); 99 delta = now - vpmtmr->baseuptime; 101 "%#lx to %#lx", vpmtmr->baseuptime, now));
|
/freebsd-11-stable/usr.bin/resizewin/ |
H A D | resizewin.c | 64 struct timeval then, now; local 118 gettimeofday(&now, NULL); 119 timersub(&now, &then, &now); 120 if (now.tv_sec >= 2) {
|
/freebsd-11-stable/usr.sbin/rtadvd/ |
H A D | timer.c | 158 struct timespec now; local 161 clock_gettime(CLOCK_MONOTONIC_FAST, &now); 164 if (TS_CMP(&rat->rat_tm, &now, <=)) { 169 TS_ADD(&rat->rat_tm, &now, &rat->rat_tm); 177 } else if (TS_CMP(&tm_max, &now, <)) { 181 TS_SUB(&tm_max, &now, &returnval); 188 struct timespec now; local 191 clock_gettime(CLOCK_MONOTONIC_FAST, &now); 192 TS_ADD(&now, tm, &rat->rat_tm);
|
/freebsd-11-stable/contrib/unbound/services/cache/ |
H A D | dns.c | 61 * @param now: current time. 73 store_rrsets(struct module_env* env, struct reply_info* rep, time_t now, argument 84 env->alloc, now + ((ntohs(rep->ref[i].key->rk.type)== 96 rep->ref[i].key, region, now); 172 reply_info_set_ttls(rep, *env->now); 173 store_rrsets(env, rep, *env->now, leeway, pside, qrep, region); 200 uint16_t qclass, time_t now, uint16_t searchtype, int stripfront) 215 qnamelen, searchtype, qclass, 0, now, 0))) 229 struct dns_msg* msg, time_t now) 232 packed_rrset_copy_region(rrset, region, now))) { 199 find_closest_of_type(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qclass, time_t now, uint16_t searchtype, int stripfront) argument 228 addr_to_additional(struct ub_packed_rrset_key* rrset, struct regional* region, struct dns_msg* msg, time_t now) argument 240 msg_cache_lookup(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, uint16_t flags, time_t now, int wr) argument 265 find_add_addrs(struct module_env* env, uint16_t qclass, struct regional* region, struct delegpt* dp, time_t now, struct dns_msg** msg) argument 325 time_t now = *env->now; local 375 find_add_ds(struct module_env* env, struct regional* region, struct dns_msg* msg, struct delegpt* dp, time_t now) argument 440 dns_msg_authadd(struct dns_msg* msg, struct regional* region, struct ub_packed_rrset_key* rrset, time_t now) argument 451 dns_msg_ansadd(struct dns_msg* msg, struct regional* region, struct ub_packed_rrset_key* rrset, time_t now) argument 462 dns_cache_find_delegation(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region, struct dns_msg** msg, time_t now) argument 538 tomsg(struct module_env* env, struct query_info* q, struct reply_info* r, struct regional* region, time_t now, int allow_expired, struct regional* scratch) argument 613 rrset_msg(struct ub_packed_rrset_key* rrset, struct regional* region, time_t now, struct query_info* q) argument 643 synth_dname_msg(struct ub_packed_rrset_key* rrset, struct regional* region, time_t now, struct query_info* q, enum sec_status* sec_status) argument 740 time_t now = *env->now; local 809 time_t now = *env->now; local [all...] |
/freebsd-11-stable/sys/x86/x86/ |
H A D | pvclock.c | 173 uint64_t now, last; local 176 pvclock_read_time_info(ti, &now, &flags); 179 return (now); 188 if (last > now) 190 } while (!atomic_cmpset_64(&pvclock_last_cycles, last, now)); 192 return (now);
|
/freebsd-11-stable/contrib/libpcap/msdos/ |
H A D | bin2c.c | 19 time_t now = time (NULL); local 31 argv[1], ctime(&now));
|
/freebsd-11-stable/contrib/libarchive/cpio/test/ |
H A D | test_option_c.c | 70 time_t t, now; local 95 now = time(NULL); /* They were all created w/in last two seconds. */ 142 assert(t <= now); /* File wasn't created in future. */ 143 assert(t >= now - 2); /* File was created w/in last 2 secs. */ 168 assert(t <= now); /* File wasn't created in future. */ 169 assert(t >= now - 2); /* File was created w/in last 2 secs. */ 204 assert(t <= now); /* File wasn't created in future. */ 205 assert(t >= now - 2); /* File was created w/in last 2 secs. */
|
/freebsd-11-stable/lib/libc/resolv/ |
H A D | res_state.c | 69 struct timespec now; local 82 if (clock_gettime(CLOCK_MONOTONIC_FAST, &now) != 0 || 83 (now.tv_sec - ext->conf_stat) < ext->reload_period) { 87 ext->conf_stat = now.tv_sec;
|
/freebsd-11-stable/lib/libc/sys/ |
H A D | futimens.c | 43 struct timeval now, tv[2], *tvp; local 91 if (gettimeofday(&now, NULL) == -1) 94 tv[0] = now; 96 tv[1] = now;
|
/freebsd-11-stable/tools/build/ |
H A D | futimens.c | 44 struct timeval now, tv[2], *tvp; local 87 if (gettimeofday(&now, NULL) == -1) 90 tv[0] = now; 92 tv[1] = now;
|
H A D | utimensat.c | 44 struct timeval now, tv[2], *tvp; local 91 if (gettimeofday(&now, NULL) == -1) 94 tv[0] = now; 96 tv[1] = now;
|
/freebsd-11-stable/usr.bin/calendar/ |
H A D | day.c | 49 settimes(time_t now, int before, int after, int friday, struct tm *tp1, struct tm *tp2) argument 54 localtime_r(&now, &tp); 60 time1 = now - SECSPERDAY * before; 63 time2 = now + SECSPERDAY * after;
|
/freebsd-11-stable/usr.bin/finger/ |
H A D | extern.h | 43 extern time_t now;
|
/freebsd-11-stable/sbin/camcontrol/ |
H A D | progress.h | 50 time_t now; /* time now */ member in struct:progress_t
|
/freebsd-11-stable/contrib/openpam/lib/libpam/ |
H A D | openpam_ttyconv.c | 89 struct timeval now, target, remaining; local 129 (void)gettimeofday(&now, NULL); 132 timeradd(&now, &remaining, &target); 135 now.tv_sec = now.tv_usec = 0; 149 gettimeofday(&now, NULL); 150 if (timercmp(&now, &target, >)) 152 timersub(&target, &now, &remaining); 218 struct timeval now, target, remaining; local 229 (void)gettimeofday(&now, NUL [all...] |
/freebsd-11-stable/contrib/wpa/src/ap/ |
H A D | tkip_countermeasures.c | 71 struct os_reltime now; local 97 os_get_reltime(&now); 98 if (os_reltime_expired(&now, &hapd->michael_mic_failure, 60)) { 107 hapd->michael_mic_failure = now;
|
/freebsd-11-stable/contrib/subversion/subversion/include/ |
H A D | svn_time.h | 73 * @a now as the current time and storing the result in @a result. 84 apr_time_t now,
|
/freebsd-11-stable/contrib/opie/libopie/ |
H A D | newseed.c | 71 time_t now; local 73 time(&now); 74 srand(now);
|
H A D | writerec.c | 45 time_t now; local 50 time(&now); 51 if (strftime(buf2, sizeof(buf2), " %b %d,%Y %T", localtime(&now)) < 1)
|
/freebsd-11-stable/contrib/unbound/validator/ |
H A D | val_kentry.h | 168 * @param now: current time (added to ttl). 173 time_t now); 183 * @param now: current time (added to ttl of rrset) 188 struct ub_packed_rrset_key* rrset, uint8_t* sigalg, time_t now); 197 * @param now: current time (added to ttl). 202 time_t now);
|
/freebsd-11-stable/usr.bin/w/ |
H A D | pr_time.c | 53 pr_attime(time_t *started, time_t *now) argument 62 tm = *localtime(now); 63 diff = *now - *started; 74 /* else if (*now / 86400 != *started / 86400) { */
|
/freebsd-11-stable/usr.sbin/ctm/ctm_rmail/ |
H A D | error.c | 69 time_t now; local 83 time(&now); 84 tm = localtime(&now);
|
/freebsd-11-stable/usr.sbin/fifolog/lib/ |
H A D | fifolog_write.h | 72 int fifolog_write_record(struct fifolog_writer *f, uint32_t id, time_t now, const void *ptr, ssize_t len); 73 int fifolog_write_poll(struct fifolog_writer *f, time_t now); 74 int fifolog_write_record_poll(struct fifolog_writer *f, uint32_t id, time_t now, const void *ptr, ssize_t len);
|
/freebsd-11-stable/usr.sbin/pw/ |
H A D | pw_log.c | 48 time_t now; local 105 now = time(NULL); 106 t = localtime(&now);
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | ratectrl.c | 83 time_t now; local 87 now = time(NULL); 93 totalrate = total_rate(now, e == NULL); 99 clientrate = client_rate(now, hostaddr, e == NULL ? SM_CLFL_UPDATE : SM_CLFL_NONE); 243 ** now - current time in secs 259 conn_limits(e, now, saddr, clflags, hashary, ratelimit, conclimit) 261 time_t now; 285 ticks = now / ChtGran; 323 if (coll && (now - chBest->ch_LTime < CollTime)) 372 chBest->ch_LTime = now; [all...] |