Searched refs:now (Results 251 - 275 of 672) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/crypto/openssh/
H A Dssh-keyscan.c605 struct timeval seltime, now; local
610 gettimeofday(&now, NULL);
613 if (c && (c->c_tv.tv_sec > now.tv_sec ||
614 (c->c_tv.tv_sec == now.tv_sec && c->c_tv.tv_usec > now.tv_usec))) {
616 seltime.tv_sec -= now.tv_sec;
617 seltime.tv_usec -= now.tv_usec;
645 while (c && (c->c_tv.tv_sec < now.tv_sec ||
646 (c->c_tv.tv_sec == now.tv_sec && c->c_tv.tv_usec < now
[all...]
/freebsd-11-stable/contrib/unbound/validator/
H A Dval_utils.c352 rrset_check_sec_status(env->rrset_cache, rrset, *env->now);
386 rrset_update_sec_status(env->rrset_cache, rrset, *env->now);
469 /* find favorite algo, for now, highest number supported */
572 downprot?sigalg:NULL, *env->now);
577 rrset_get_ttl(ds_rrset), *env->now);
581 BOGUS_KEY_TTL, *env->now);
711 downprot?sigalg:NULL, *env->now);
716 rrset_get_ttl(dnskey_rrset), *env->now);
720 BOGUS_KEY_TTL, *env->now);
1025 rrset_update_sec_status(r, rep->rrsets[i], *env->now);
[all...]
/freebsd-11-stable/contrib/unbound/iterator/
H A Diter_utils.c187 * @param now: current time
227 uint8_t* name, size_t namelen, uint16_t qtype, time_t now,
247 &rtt, now)) {
284 uint8_t* name, size_t namelen, uint16_t qtype, time_t now,
296 name, namelen, qtype, now, a);
363 uint8_t* name, size_t namelen, uint16_t qtype, time_t now,
372 got_num = iter_fill_rtt(iter_env, env, name, namelen, qtype, now, dp,
559 *env->now, dp, &selrtt, open_target, blacklist, prefetch);
825 dp->name, dp->namelen, dclass, env->scratch, *env->now);
1071 rrset = packed_rrset_copy_alloc(rrset, env->alloc, *env->now);
226 iter_filter_unsuitable(struct iter_env* iter_env, struct module_env* env, uint8_t* name, size_t namelen, uint16_t qtype, time_t now, struct delegpt_addr* a) argument
283 iter_fill_rtt(struct iter_env* iter_env, struct module_env* env, uint8_t* name, size_t namelen, uint16_t qtype, time_t now, struct delegpt* dp, int* best_rtt, struct sock_list* blacklist, size_t* num_suitable_results) argument
362 iter_filter_order(struct iter_env* iter_env, struct module_env* env, uint8_t* name, size_t namelen, uint16_t qtype, time_t now, struct delegpt* dp, int* selected_rtt, int open_target, struct sock_list* blacklist, time_t prefetch) argument
[all...]
/freebsd-11-stable/contrib/ipfilter/l4check/
H A Dl4check.c278 time_t now, now1; local
284 now = time(NULL);
290 if ((l4->l4_last + frequency < now) && (l4->l4_fd == -1)) {
291 l4->l4_last = now;
338 if (now - l4->l4_last > rtimeout) {
354 (now - l4->l4_last > ctimeout)) {
/freebsd-11-stable/contrib/ldns/
H A Dutil.c296 ldns_serial_arithmitics_time(int32_t time, time_t now) argument
298 int32_t offset = time - (int32_t) now;
299 return (int64_t) now + offset;
304 ldns_serial_arithmitics_gmtime_r(int32_t time, time_t now, struct tm *result) argument
307 int64_t secs_since_epoch = ldns_serial_arithmitics_time(time, now);
310 time_t secs_since_epoch = ldns_serial_arithmitics_time(time, now);
/freebsd-11-stable/usr.bin/find/
H A Dgetdate.y104 ** yacc had the %union construct.) Maybe someday; right now we only use
398 { "now", tMINUTE_UNIT, 0 },
638 time_t now;
640 now = Start;
641 tm = localtime(&now);
642 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
643 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
644 return DSTcorrect(Start, now);
867 that comment now applies to *gmt_ptr, but I am too
/freebsd-11-stable/usr.sbin/fifolog/lib/
H A Dgetdate.y66 ** yacc had the %union construct.) Maybe someday; right now we only use
378 { "now", tMINUTE_UNIT, 0 },
627 time_t now;
629 now = Start;
630 tm = localtime(&now);
631 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
632 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
633 return DSTcorrect(Start, now);
834 that comment now applies to *gmt_ptr, but I am too
H A Dfifolog_reader.c54 time_t now; member in struct:fifolog_reader
224 fr->now = be32dec(p + 4);
239 func(priv, fr->now, u, p + w, v);
/freebsd-11-stable/contrib/amd/libamu/
H A Dxutil.c1054 static struct timeval now; /* keep last time, as default */ local
1056 if (gettimeofday(&now, NULL) < 0) {
1059 now.tv_sec++;
1063 nt->nt_seconds = (u_int) now.tv_sec;
1064 nt->nt_useconds = (u_int) now.tv_usec;
1066 return (time_t) now.tv_sec;
/freebsd-11-stable/sys/net/altq/
H A Daltq_rio.c342 struct timeval now; local
352 now.tv_sec = 0;
358 if (now.tv_sec == 0)
359 microtime(&now);
360 t = (now.tv_sec - prec->last.tv_sec);
365 (now.tv_usec - prec->last.tv_usec);
/freebsd-11-stable/usr.sbin/inetd/
H A Dbuiltins.c202 time_t now; local
206 now = time((time_t *) 0);
216 (void) sprintf(buffer, "%.24s\r\n", ctime(&now));
227 time_t now; local
229 now = time((time_t *) 0);
231 (void) sprintf(buffer, "%.24s\r\n", ctime(&now));
/freebsd-11-stable/contrib/unbound/sldns/
H A Dparseutil.c168 sldns_serial_arithmetics_time(int32_t time, time_t now) argument
170 int32_t offset = (int32_t)((uint32_t) time - (uint32_t) now);
171 return (int64_t) now + offset;
175 sldns_serial_arithmetics_gmtime_r(int32_t time, time_t now, struct tm *result) argument
178 int64_t secs_since_epoch = sldns_serial_arithmetics_time(time, now);
181 time_t secs_since_epoch = sldns_serial_arithmetics_time(time, now);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_wwvb.c459 l_fp now; local
478 get_systime(&now);
480 printf("%c poll at %s\n", pollchar, prettydate(&now));
/freebsd-11-stable/contrib/dma/
H A Dspool.c404 struct timeval now; local
415 if (gettimeofday(&now, 0) != 0)
419 if (st.st_mtim.tv_sec + (int)period >= now.tv_sec)
/freebsd-11-stable/contrib/opie/
H A Dopiesu.c218 time_t now; local
228 now = time(NULL);
229 tm = localtime(&now);
382 fprintf(stderr, "are using telnet, xterm, or a dial-in, type ^C now or exit with no password.\n");
/freebsd-11-stable/crypto/heimdal/lib/hx509/
H A Drevoke.c668 * @param now
682 time_t now,
709 ret = verify_ocsp(context, ocsp, now, certs, parent_cert);
756 now + context->ocsp_time_diff)
761 if (*ocsp->ocsp.tbsResponseData.responses.val[j].nextUpdate < now)
797 ret = verify_crl(context, ctx, &crl->crl, now, certs, parent_cert);
829 if (t > now)
1173 * @param now the time right now, if 0, use the current time.
1188 time_t now,
679 hx509_revoke_verify(hx509_context context, hx509_revoke_ctx ctx, hx509_certs certs, time_t now, hx509_cert cert, hx509_cert parent_cert) argument
1187 hx509_ocsp_verify(hx509_context context, time_t now, hx509_cert cert, int flags, const void *data, size_t length, time_t *expiration) argument
[all...]
/freebsd-11-stable/tools/tools/vhba/rptluns/
H A Dvhba_rptluns.c57 struct timeval now; local
65 getmicrotime(&now);
66 if (now.tv_usec & 0x1) {
/freebsd-11-stable/usr.sbin/rtadvd/
H A Dconfig.c570 struct timespec now; local
572 clock_gettime(CLOCK_MONOTONIC_FAST, &now);
574 now.tv_sec + pfx->pfx_validlifetime;
591 struct timespec now; local
593 clock_gettime(CLOCK_MONOTONIC_FAST, &now);
595 now.tv_sec + pfx->pfx_preflifetime;
1429 struct timespec now; local
1446 clock_gettime(CLOCK_MONOTONIC_FAST, &now);
1450 vltime = ((time_t)pfx->pfx_vltimeexpire > now.tv_sec) ?
1451 pfx->pfx_vltimeexpire - now
[all...]
/freebsd-11-stable/usr.sbin/timed/timedc/
H A Dcmds.c84 struct timeval tout, now; local
132 (void)gettimeofday(&now, NULL);
133 return (sec - now.tv_sec);
/freebsd-11-stable/usr.bin/at/
H A Dparsetime.c90 { "now", NOW,0 }, /* opt prefix for PLUS */
219 /* eat whitespace now - if we walk off the end of the argument,
327 * plus() parses a now + time
443 time_t now; local
445 time(&now);
446 lt = localtime(&now);
618 /* now is optional prefix for PLUS tree */
/freebsd-11-stable/release/picobsd/tinyware/simple_httpd/
H A Dsimple_httpd.c493 time_t now; local
495 time(&now);
496 t = localtime(&now);
/freebsd-11-stable/usr.sbin/yppush/
H A Dyppush_main.c158 yppush_exit(int now) argument
164 while (!now && still_pending) {
187 now = 1;
/freebsd-11-stable/sys/netgraph/bluetooth/hci/
H A Dng_hci_misc.c244 struct timeval now; local
246 getmicrotime(&now);
248 return (now.tv_sec - n->updated.tv_sec > bluetooth_hci_max_neighbor_age());
/freebsd-11-stable/contrib/sendmail/mailstats/
H A Dmailstats.c63 time_t now; local
279 (void) time(&now);
281 (long) stats.stat_itime, (long) now);
/freebsd-11-stable/contrib/apr/time/unix/
H A Dtime.c325 struct timeval now; local
329 gettimeofday(&now, NULL);
330 t1 = now.tv_sec;

Completed in 222 milliseconds

<<11121314151617181920>>