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

<<11121314151617181920>>

/openbsd-current/games/phantasia/
H A Dgamesupport.c74 time_t now; /* time now */ local
118 time(&now);
119 today = localtime(&now)->tm_yday;
/openbsd-current/usr.sbin/zdump/
H A Dzdump.c112 time_t now, t, newt; local
159 time(&now);
189 show(argv[i], now, FALSE);
/openbsd-current/usr.bin/mail/
H A Dnames.c208 time_t now; local
217 (void)time(&now);
218 date = ctime(&now);
326 * the list; now for sake of header expansion
H A Dsend.c575 time_t now; local
585 (void)time(&now);
586 fprintf(fo, "From %s %s", myname, ctime(&now));
/openbsd-current/sbin/isakmpd/
H A Dutil.c559 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 DGuess.pm231 # 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 Dacpisbs.c385 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 Dsched_policy.c345 ktime_t now; local
350 now = ktime_get();
351 vgpu_data->pri_time = ktime_add(now,
/openbsd-current/usr.sbin/ripd/
H A Drde.c395 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 Dgen.c327 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 DLog.cpp315 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 Dsmu_v13_0_6_ppt.c788 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 Drelayctl.c325 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 Dgmtime.pm59 $now = gmctime();
H A Dlocaltime.pm54 $now = ctime();
/openbsd-current/usr.sbin/unbound/edns-subnet/
H A Daddrtree.c363 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 DJP.pm77 is now different from
/openbsd-current/usr.sbin/arp/
H A Darp.c527 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 Dapmd.c608 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 Dgenerate_formatted_state.py84 today = datetime.now().strftime("%B %d, %Y %H:%M:%S")
/openbsd-current/gnu/llvm/llvm/lib/Support/Unix/
H A DProcess.inc128 elapsed = std::chrono::system_clock::now();
449 const auto Now = std::chrono::high_resolution_clock::now();
/openbsd-current/usr.sbin/snmpd/
H A Dusm.c275 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 DFuzzerFork.cpp116 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 Dsavecore.c106 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 Dclientloop.c290 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...]

Completed in 169 milliseconds

<<11121314151617181920>>