| /freebsd-13-stable/contrib/apr-util/crypto/ |
| HD | getuuid.c | 122 apr_uint64_t time_now; in true_random() local 134 time_now = apr_time_now(); in true_random() 135 srand((unsigned int)(((time_now >> 32) ^ time_now) & 0xffffffff)); in true_random() 150 apr_uint64_t time_now; in get_current_time() local 154 get_system_time(&time_now); in get_current_time() 157 if (time_last != time_now) { in get_current_time() 161 if (time_last + fudge > time_now) in get_current_time() 162 fudge = time_last + fudge - time_now + 1; in get_current_time() 165 time_last = time_now; in get_current_time() 172 *timestamp = time_now + fudge; in get_current_time()
|
| /freebsd-13-stable/contrib/ntp/libntp/ |
| HD | ntp_intres.c | 317 time_t time_now; in blocking_getaddrinfo() local 373 time_now = time(NULL); in blocking_getaddrinfo() 374 worker_ctx->ignore_scheduled_before = time_now; in blocking_getaddrinfo() 376 humantime(time_now))); in blocking_getaddrinfo() 484 time_t time_now; in getaddrinfo_sometime_complete() local 507 time_now = time(NULL); in getaddrinfo_sometime_complete() 508 child_ctx->next_dns_timeslot = time_now; in getaddrinfo_sometime_complete() 510 gai_req->dns_idx, humantime(time_now))); in getaddrinfo_sometime_complete() 647 time_t time_now; in getnameinfo_sometime() local 659 time_now = time(NULL); in getnameinfo_sometime() [all …]
|
| /freebsd-13-stable/crypto/openssh/ |
| HD | moduli.c | 157 time_t time_now; in qfileout() local 160 time(&time_now); in qfileout() 161 gtm = gmtime(&time_now); in qfileout() 538 time_t time_now, elapsed; in print_progress() local 543 time_now = monotime(); in print_progress() 545 time_start = time_prev = time_now; in print_progress() 549 if (time_now - time_prev < 5 * 60) in print_progress() 551 time_prev = time_now; in print_progress() 552 elapsed = time_now - time_start; in print_progress() 558 time(&time_now); in print_progress() [all …]
|
| /freebsd-13-stable/secure/caroot/ |
| HD | MAca-bundle.pl | 162 my $time_now = time; 165 if ($time_now >= $distrust_after + 398 * 24 * 60 * 60) { $distrust = 1; } 168 strftime("%FT%TZ", gmtime($distrust_after)), strftime("%FT%TZ", gmtime($time_now));
|
| /freebsd-13-stable/contrib/subversion/subversion/svn/ |
| HD | shelf2-cmd.c | 158 apr_time_t time_now, in friendly_age_str() argument 161 int minutes = (int)((time_now - mtime) / 1000000 / 60); in friendly_age_str() 218 apr_time_t time_now, in stats() argument 232 age_str = friendly_age_str(shelf_version->mtime, time_now, scratch_pool); in stats() 275 apr_time_t time_now = apr_time_now(); in shelves_list() local 299 SVN_ERR(stats(shelf, shelf->max_version, shelf_version, time_now, in shelves_list() 315 apr_time_t time_now = apr_time_now(); in shelf_log() local 329 SVN_ERR(stats(shelf, i + 1, shelf_version, time_now, in shelf_log() 641 apr_time_t time_now = apr_time_now(); in shelf_restore() local 668 SVN_ERR(stats(shelf, version, shelf_version, time_now, in shelf_restore()
|
| HD | shelf-cmd.c | 158 apr_time_t time_now, in friendly_age_str() argument 161 int minutes = (int)((time_now - mtime) / 1000000 / 60); in friendly_age_str() 218 apr_time_t time_now, in stats() argument 232 age_str = friendly_age_str(shelf_version->mtime, time_now, scratch_pool); in stats() 275 apr_time_t time_now = apr_time_now(); in shelves_list() local 299 SVN_ERR(stats(shelf, shelf->max_version, shelf_version, time_now, in shelves_list() 315 apr_time_t time_now = apr_time_now(); in shelf_log() local 329 SVN_ERR(stats(shelf, i + 1, shelf_version, time_now, in shelf_log() 641 apr_time_t time_now = apr_time_now(); in shelf_restore() local 668 SVN_ERR(stats(shelf, version, shelf_version, time_now, in shelf_restore()
|
| /freebsd-13-stable/sbin/dhclient/ |
| HD | dispatch.c | 175 clock_gettime(CLOCK_MONOTONIC, &time_now); in dispatch() 193 if (timespeccmp(&timeouts->when, &time_now, <=)) { in dispatch() 208 timespecsub(&timeouts->when, &time_now, &howlong); in dispatch() 238 clock_gettime(CLOCK_MONOTONIC, &time_now); in dispatch() 246 clock_gettime(CLOCK_MONOTONIC, &time_now); in dispatch()
|
| HD | dhcpd.h | 364 extern struct timespec time_now; /* CLOCK_MONOTONIC */
|
| HD | dhclient.c | 94 struct timespec time_now; /* CLOCK_MONOTONIC. */ variable 452 clock_gettime(CLOCK_MONOTONIC, &time_now); in main() 1038 clock_gettime(CLOCK_MONOTONIC, &time_now); in dhcpoffer() 1117 timespecadd(&time_now, &arp_timeout_needed, &interm_struct); in dhcpoffer() 1144 timespecadd(&time_now, &arp_timeout_needed, &stop_time); in dhcpoffer() 1146 timespecadd(&time_now, &time_left, &stop_time); in dhcpoffer()
|
| /freebsd-13-stable/sys/contrib/openzfs/cmd/zed/zed.d/ |
| HD | zed-functions.sh | 573 && [ "$((time_now - time_prev))" -lt "${interval}" ]; then 580 echo "${time_now};${tag}" >> "${statefile}.$$"
|
| /freebsd-13-stable/crypto/heimdal/lib/hx509/ |
| HD | cert.c | 62 time_t time_now; member 489 ctx->time_now = t; in hx509_verify_set_time() 495 return ctx->time_now; in _hx509_verify_get_time() 1051 time_t time_now, in find_parent() argument 1094 q.timenow = time_now; in find_parent() 1237 time_t time_now, in _hx509_calculate_path() argument 1258 ret = find_parent(context, time_now, anchors, path, in _hx509_calculate_path() 1996 ctx->time_now = time(NULL); in hx509_verify_path() 2015 ret = _hx509_calculate_path(context, 0, ctx->time_now, in hx509_verify_path() 2222 if (t > ctx->time_now) { in hx509_verify_path() [all …]
|
| HD | cms.c | 262 time_t time_now, in find_CMSIdentifier() argument 295 if (time_now) in find_CMSIdentifier() 296 q.timenow = time_now; in find_CMSIdentifier() 353 time_t time_now, in hx509_cms_unenvelope() argument 417 time_now, &cert, in hx509_cms_unenvelope()
|
| HD | revoke.c | 172 time_t time_now, in verify_ocsp() argument 458 time_t time_now, in verify_crl() argument 468 if (t > time_now) { in verify_crl() 481 if (t < time_now) { in verify_crl() 544 time_now, in verify_crl()
|
| HD | ChangeLog | 7 * ks_p12.c: pass in time_now to unevelope 9 * cms.c: Pass in time_now to unevelope, us verify context time in
|
| /freebsd-13-stable/usr.sbin/rpc.lockd/ |
| HD | lock_proc.c | 192 struct timeval retry_time, time_now; in get_client() local 200 gettimeofday(&time_now, NULL); in get_client() 209 < time_now.tv_sec)) { in get_client() 302 clnt_cache_time[clnt_cache_next_to_use] = time_now.tv_sec; in get_client()
|
| /freebsd-13-stable/usr.sbin/rpcbind/ |
| HD | rpcb_svc_com.c | 923 time_t min_time, time_now; in forward_register() local 928 time_now = time((time_t *)0); in forward_register() 931 lastxid = time_now * NFORWARD; in forward_register() 949 if ((time_now - FINFO[i].time) > MAXTIME_OFF) in forward_register() 975 FINFO[j].time = time_now; in forward_register()
|
| /freebsd-13-stable/usr.bin/chat/ |
| HD | chat.c | 1235 time_t time_now = time ((time_t*) NULL); in get_string() local 1236 struct tm* tm_now = localtime (&time_now); in get_string()
|
| /freebsd-13-stable/contrib/wpa/src/p2p/ |
| HD | p2p.c | 736 struct os_reltime time_now; in p2p_add_device() local 770 os_get_reltime(&time_now); in p2p_add_device() 771 rx_time = &time_now; in p2p_add_device()
|