/openbsd-current/games/phantasia/ |
H A D | gamesupport.c | 74 time_t now; /* time now */ local 118 time(&now); 119 today = localtime(&now)->tm_yday;
|
/openbsd-current/usr.sbin/zdump/ |
H A D | zdump.c | 112 time_t now, t, newt; local 159 time(&now); 189 show(argv[i], now, FALSE);
|
/openbsd-current/usr.bin/mail/ |
H A D | names.c | 208 time_t now; local 217 (void)time(&now); 218 date = ctime(&now); 326 * the list; now for sake of header expansion
|
H A D | send.c | 575 time_t now; local 585 (void)time(&now); 586 fprintf(fo, "From %s %s", myname, ctime(&now));
|
/openbsd-current/sbin/isakmpd/ |
H A D | util.c | 559 struct timespec now, result; local 561 if (clock_gettime(CLOCK_MONOTONIC, &now) == -1) 563 timespecsub(timeout, &now, &result);
|
/openbsd-current/gnu/usr.bin/perl/cpan/Encode/lib/Encode/ |
H A D | Guess.pm | 231 # now the suspects are euc-jp,shiftjis,7bit-jis, AND 237 When you are content with suspects list, you can now 262 L<Encode::Encoding>. So you can now do this; 266 On failure, $decoder now contains an error message so the whole thing
|
/openbsd-current/sys/dev/acpi/ |
H A D | acpisbs.c | 385 struct timeval diff, now; local 389 getmicrouptime(&now); 399 timersub(&now, &sc->sc_lastpoll, &diff);
|
/openbsd-current/sys/dev/pci/drm/i915/gvt/ |
H A D | sched_policy.c | 345 ktime_t now; local 350 now = ktime_get(); 351 vgpu_data->pri_time = ktime_add(now,
|
/openbsd-current/usr.sbin/ripd/ |
H A D | rde.c | 395 struct timeval tv, now; local 447 gettimeofday(&now, NULL); 449 if (tv.tv_sec - now.tv_sec < ROUTE_TIMEOUT / 2) {
|
/openbsd-current/usr.bin/dig/lib/dns/ |
H A D | gen.c | 327 time_t now; local 429 if (time(&now) != -1) { 430 if ((tm = localtime(&now)) != NULL && tm->tm_year > 104) {
|
/openbsd-current/gnu/llvm/lldb/source/Utility/ |
H A D | Log.cpp | 315 auto now = std::chrono::duration<double>( local 316 std::chrono::system_clock::now().time_since_epoch()); 317 OS << llvm::formatv("{0:f9} ", now.count());
|
/openbsd-current/sys/dev/pci/drm/amd/pm/swsmu/smu13/ |
H A D | smu_v13_0_6_ppt.c | 788 int i, now, size = 0; local 812 &now); 822 if (!smu_v13_0_6_freqs_in_same_level(now, min_clk) && 823 !smu_v13_0_6_freqs_in_same_level(now, max_clk)) { 827 now); 833 smu_v13_0_6_freqs_in_same_level(now, min_clk) ? "*" : ""); 836 smu_v13_0_6_freqs_in_same_level(now, max_clk) ? "*" : ""); 846 &now); 870 now) ? 877 &now); [all...] |
/openbsd-current/usr.sbin/relayctl/ |
H A D | relayctl.c | 325 time_t now; local 329 now = time(NULL); 334 printf("\ttimestamp: %lld, %s", (long long)now, ctime(&now));
|
/openbsd-current/gnu/usr.bin/perl/lib/Time/ |
H A D | gmtime.pm | 59 $now = gmctime();
|
H A D | localtime.pm | 54 $now = ctime();
|
/openbsd-current/usr.sbin/unbound/edns-subnet/ |
H A D | addrtree.c | 363 time_t now, int only_match_scope_zero) 397 if (!edge->node->elem || edge->node->ttl >= now) 479 addrlen_t sourcemask, time_t now) 490 if (node->elem && node->ttl >= now && 361 addrtree_insert(struct addrtree *tree, const addrkey_t *addr, addrlen_t sourcemask, addrlen_t scope, void *elem, time_t ttl, time_t now, int only_match_scope_zero) argument 478 addrtree_find(struct addrtree *tree, const addrkey_t *addr, addrlen_t sourcemask, time_t now) argument
|
/openbsd-current/gnu/usr.bin/perl/cpan/Encode/JP/ |
H A D | JP.pm | 77 is now different from
|
/openbsd-current/usr.sbin/arp/ |
H A D | arp.c | 527 time_t now; local 529 now = time(NULL); 559 else if (rtm->rtm_rmx.rmx_expire > now) 561 sec2str(rtm->rtm_rmx.rmx_expire - now));
|
/openbsd-current/usr.sbin/apmd/ |
H A D | apmd.c | 608 struct timespec graceperiod, now; local 612 clock_gettime(CLOCK_MONOTONIC, &now); 619 timespeccmp(&now, &graceperiod, >) ? 624 timespeccmp(&now, &graceperiod, >)) {
|
/openbsd-current/gnu/llvm/clang/docs/tools/ |
H A D | generate_formatted_state.py | 84 today = datetime.now().strftime("%B %d, %Y %H:%M:%S")
|
/openbsd-current/gnu/llvm/llvm/lib/Support/Unix/ |
H A D | Process.inc | 128 elapsed = std::chrono::system_clock::now(); 449 const auto Now = std::chrono::high_resolution_clock::now();
|
/openbsd-current/usr.sbin/snmpd/ |
H A D | usm.c | 275 u_long now; local 376 now = snmpd_engine_time(); 378 engine_time < (long long)(now - SNMP_MAX_TIMEWINDOW) || 379 engine_time > (long long)(now + SNMP_MAX_TIMEWINDOW)) {
|
/openbsd-current/gnu/llvm/compiler-rt/lib/fuzzer/ |
H A D | FuzzerFork.cpp | 116 std::chrono::system_clock::now() - ProcessStartTime) 141 auto Time1 = std::chrono::system_clock::now(); 161 auto Time2 = std::chrono::system_clock::now(); 322 Env.ProcessStartTime = std::chrono::system_clock::now();
|
/openbsd-current/sbin/savecore/ |
H A D | savecore.c | 106 time_t now; /* current date */ variable 169 (void)time(&now); 405 * now, because we may fail later and don't want to overwrite anything. 627 if (dumptime < now - LEEWAY || dumptime > now + LEEWAY) {
|
/openbsd-current/usr.bin/ssh/ |
H A D | clientloop.c | 290 u_int now, x11_timeout_real; local 370 now = monotime() + 1; 371 if (SSH_TIME_T_MAX - timeout < now) 374 x11_refuse_time = now + timeout; 527 set_next_interval(const struct timespec *now, struct timespec *next_interval, argument 559 timespecadd(now, &tmp, next_interval); 572 struct timespec now, tmp; local 578 monotime_ts(&now); 598 if (timespeccmp(&now, &chaff_until, >=)) { 601 } else if (timespeccmp(&now, [all...] |