/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 950628-1.c | 9 T now; local 11 now.hours = 1; 12 now.day = 2; 13 now.month = 3; 14 now.year = 4; 15 return now;
|
/openbsd-current/usr.bin/openssl/ |
H A D | apps_posix.c | 130 struct timespec elapsed, now; local 132 clock_gettime(CLOCK_MONOTONIC, &now); 134 timespecsub(&now, &start, &elapsed); 137 start = now; 146 struct rusage now; local 148 getrusage(RUSAGE_SELF, &now); 150 timersub(&now.ru_utime, &start, &elapsed); 153 start = now.ru_utime;
|
/openbsd-current/gnu/llvm/lldb/tools/debugserver/source/ |
H A D | DNBTimer.h | 51 // Reset the time value to now 68 // Return the number of microseconds elapsed between now and the 72 struct timeval now; local 73 gettimeofday(&now, NULL); 75 (uint64_t)(now.tv_sec) * 1000000ull + (uint64_t)now.tv_usec; 81 m_timeval = now; 86 struct timeval now; local 87 gettimeofday(&now, NULL); 89 (uint64_t)(now 99 struct timeval now; local 114 struct timespec now; local [all...] |
/openbsd-current/gnu/llvm/llvm/utils/git/ |
H A D | arcfilter.sh | 7 git commit --amend --date=now -F -
|
/openbsd-current/sbin/isakmpd/ |
H A D | timer.c | 52 struct timespec now; local 55 clock_gettime(CLOCK_MONOTONIC, &now); 56 if (timespeccmp(&now, &TAILQ_FIRST(&events)->expiration, >=)) 59 timespecsub(&TAILQ_FIRST(&events)->expiration, &now, local 68 struct timespec now; local 71 clock_gettime(CLOCK_MONOTONIC, &now); 73 n && timespeccmp(&now, &n->expiration, >=); 90 struct timespec now; local 97 clock_gettime(CLOCK_MONOTONIC, &now); 107 (long long)(expiration->tv_sec - now 131 struct timespec now; local [all...] |
/openbsd-current/usr.sbin/sasyncd/ |
H A D | timer.c | 72 struct timespec now; local 76 clock_gettime(CLOCK_MONOTONIC, &now); 77 if (timespeccmp(&now, &e->expire, >=)) 80 timespecsub(&e->expire, &now, ts); 94 struct timespec now; local 97 clock_gettime(CLOCK_MONOTONIC, &now); 98 for (e = TAILQ_FIRST(&events); e && timespeccmp(&now, &e->expire, >=); 114 struct timespec now, tmp; local 129 clock_gettime(CLOCK_MONOTONIC, &now); 130 timespecadd(&now, [all...] |
/openbsd-current/gnu/gcc/gcc/ |
H A D | timevar.c | 190 get_time (struct timevar_time_def *now) argument 192 now->user = 0; 193 now->sys = 0; 194 now->wall = 0; 195 now->ggc_mem = timevar_ggc_mem_total; 203 now->wall = times (&tms) * ticks_to_msec; 204 now->user = tms.tms_utime * ticks_to_msec; 205 now->sys = tms.tms_stime * ticks_to_msec; 210 now->user = rusage.ru_utime.tv_sec + rusage.ru_utime.tv_usec * 1e-6; 211 now 268 struct timevar_time_def now; local 313 struct timevar_time_def now; local 367 struct timevar_time_def now; local 390 struct timevar_time_def now; local [all...] |
/openbsd-current/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/ |
H A D | cp.t | 27 my $now = time; 28 cmp_ok( abs($mtime - $now), '<=', 1, 'cp updated mtime' );
|
/openbsd-current/gnu/usr.bin/gcc/gcc/ |
H A D | timevar.c | 183 get_time (now) 184 struct timevar_time_def *now; 186 now->user = 0; 187 now->sys = 0; 188 now->wall = 0; 196 now->wall = times (&tms) * ticks_to_msec; 197 now->user = tms.tms_utime * ticks_to_msec; 198 now->sys = tms.tms_stime * ticks_to_msec; 203 now->user = rusage.ru_utime.tv_sec + rusage.ru_utime.tv_usec * 1e-6; 204 now 263 struct timevar_time_def now; local 314 struct timevar_time_def now; local 379 struct timevar_time_def now; local 401 struct timevar_time_def now; local 431 struct timevar_time_def now; local [all...] |
/openbsd-current/usr.bin/w/ |
H A D | pr_time.c | 45 pr_attime(time_t *started, time_t *now) argument 53 today = localtime(now)->tm_yday; 55 diff = *now - *started;
|
/openbsd-current/gnu/usr.bin/perl/dist/Devel-PPPort/devel/ |
H A D | update_release_date.pl | 11 my $now = time(); 14 my $today = $now - $now % $a_day;
|
/openbsd-current/usr.sbin/amd/amd/ |
H A D | clock.c | 163 reschedule_timeouts(time_t now, time_t then) argument 168 if (cp->c_time >= now && cp->c_time <= then) { 172 cp->c_id, cp->c_time - now); 174 next_softclock = cp->c_time = now; 185 time_t now; local 192 now = clocktime(); 197 while ((cp = callouts.c_next) && cp->c_time <= now) { 226 return cp->c_time - now;
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/abi/ |
H A D | empty4.C | 13 long now = 0; variable 21 NonPod &operator= (NonPod const &src) {now = m; m = src.m; return *this;} 53 if (was != now) 71 if (was != now)
|
/openbsd-current/usr.bin/find/ |
H A D | ls.c | 84 static time_t now; local 88 now = time(NULL); 96 (ftime + SIXMONTHS <= now || ftime > now) ? "%b %e %Y" :
|
/openbsd-current/lib/librthread/ |
H A D | synch.h | 31 struct timespec now, rel; local 44 if (!timespecisvalid(abs) || clock_gettime(clockid, &now)) 47 if (timespeccmp(abs, &now, <=)) 49 timespecsub(abs, &now, &rel);
|
/openbsd-current/lib/libc/thread/ |
H A D | synch.h | 31 struct timespec now, rel; local 44 if (!timespecisvalid(abs) || WRAP(clock_gettime)(clockid, &now)) 47 if (timespeccmp(abs, &now, <=)) 49 timespecsub(abs, &now, &rel);
|
/openbsd-current/gnu/usr.bin/perl/cpan/Encode/lib/Encode/CN/ |
H A D | HZ.pm | 87 my $now; 90 $now = $1; 93 $now = '~'; 108 $now = $GB->decode( $1, $chk ); 119 next if !defined $now; 121 $ret .= $now; 123 if ( $now eq $trm ) {
|
/openbsd-current/usr.sbin/unbound/services/cache/ |
H A D | dns.c | 61 * @param now: current time. 72 * earlier than the time in now. The time is used to determine if RRsets 78 store_rrsets(struct module_env* env, struct reply_info* rep, time_t now, argument 91 LDNS_RR_TYPE_NS && !pside)?qstarttime:now + leeway))) { 102 rep->ref[i].key, region, now); 163 reply_info_set_ttls(rep, *env->now); 164 store_rrsets(env, rep, *env->now, leeway, pside, qrep, region, 199 uint16_t searchtype, uint16_t qclass, time_t now, uint8_t* expiretop, 218 if(now > data->ttl) { 239 uint16_t qclass, time_t now, uint16_ 198 rrset_expired_above(struct module_env* env, uint8_t** qname, size_t* qnamelen, uint16_t searchtype, uint16_t qclass, time_t now, uint8_t* expiretop, size_t expiretoplen) argument 238 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, int noexpiredabove, uint8_t* expiretop, size_t expiretoplen) argument 300 addr_to_additional(struct ub_packed_rrset_key* rrset, struct regional* region, struct dns_msg* msg, time_t now) argument 312 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 337 find_add_addrs(struct module_env* env, uint16_t qclass, struct regional* region, struct delegpt* dp, time_t now, struct dns_msg** msg) argument 397 time_t now = *env->now; local 450 find_add_ds(struct module_env* env, struct regional* region, struct dns_msg* msg, struct delegpt* dp, time_t now) argument 516 dns_msg_authadd(struct dns_msg* msg, struct regional* region, struct ub_packed_rrset_key* rrset, time_t now) argument 527 dns_msg_ansadd(struct dns_msg* msg, struct regional* region, struct ub_packed_rrset_key* rrset, time_t now) argument 538 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, int noexpiredabove, uint8_t* expiretop, size_t expiretoplen) argument 617 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 727 rrset_msg(struct ub_packed_rrset_key* rrset, struct regional* region, time_t now, struct query_info* q) argument 758 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 856 time_t now = *env->now; local 925 time_t now = *env->now; local [all...] |
/openbsd-current/sbin/unwind/libunbound/services/cache/ |
H A D | dns.c | 61 * @param now: current time. 72 * earlier than the time in now. The time is used to determine if RRsets 78 store_rrsets(struct module_env* env, struct reply_info* rep, time_t now, argument 91 LDNS_RR_TYPE_NS && !pside)?qstarttime:now + leeway))) { 102 rep->ref[i].key, region, now); 163 reply_info_set_ttls(rep, *env->now); 164 store_rrsets(env, rep, *env->now, leeway, pside, qrep, region, 199 uint16_t searchtype, uint16_t qclass, time_t now, uint8_t* expiretop, 218 if(now > data->ttl) { 239 uint16_t qclass, time_t now, uint16_ 198 rrset_expired_above(struct module_env* env, uint8_t** qname, size_t* qnamelen, uint16_t searchtype, uint16_t qclass, time_t now, uint8_t* expiretop, size_t expiretoplen) argument 238 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, int noexpiredabove, uint8_t* expiretop, size_t expiretoplen) argument 300 addr_to_additional(struct ub_packed_rrset_key* rrset, struct regional* region, struct dns_msg* msg, time_t now) argument 312 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 337 find_add_addrs(struct module_env* env, uint16_t qclass, struct regional* region, struct delegpt* dp, time_t now, struct dns_msg** msg) argument 397 time_t now = *env->now; local 450 find_add_ds(struct module_env* env, struct regional* region, struct dns_msg* msg, struct delegpt* dp, time_t now) argument 516 dns_msg_authadd(struct dns_msg* msg, struct regional* region, struct ub_packed_rrset_key* rrset, time_t now) argument 527 dns_msg_ansadd(struct dns_msg* msg, struct regional* region, struct ub_packed_rrset_key* rrset, time_t now) argument 538 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, int noexpiredabove, uint8_t* expiretop, size_t expiretoplen) argument 617 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 727 rrset_msg(struct ub_packed_rrset_key* rrset, struct regional* region, time_t now, struct query_info* q) argument 758 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 856 time_t now = *env->now; local 925 time_t now = *env->now; local [all...] |
/openbsd-current/regress/sys/kern/kqueue/ |
H A D | kqueue-timer.c | 39 struct timespec ts, start, end, now; local 107 clock_gettime(CLOCK_REALTIME, &now); 115 ev.data = now.tv_sec + 1; 118 ev.data = now.tv_sec * 1000 + now.tv_nsec / 1000000 122 ev.data = now.tv_sec * 1000000 + now.tv_nsec / 1000 126 ev.data = now.tv_sec * 1000000000 + now.tv_nsec 155 clock_gettime(CLOCK_REALTIME, &now); [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/ |
H A D | 980619-1.x | 2 # It works now, but some people think that's a fluke, so I'm
|
/openbsd-current/usr.bin/finger/ |
H A D | extern.h | 34 extern time_t now; /* Current time. */
|
/openbsd-current/gnu/llvm/libcxx/include/__thread/ |
H A D | poll_with_backoff.h | 40 auto const __start = chrono::high_resolution_clock::now(); 48 chrono::nanoseconds const __elapsed = chrono::high_resolution_clock::now() - __start;
|
/openbsd-current/usr.bin/skey/ |
H A D | skeyprune.pl | 44 $now = time(); 98 if (($now - $then) / (60 * 60 * 24) - 1 > $days_old) {
|
/openbsd-current/gnu/llvm/libcxx/include/__chrono/ |
H A D | steady_clock.h | 36 static time_point now() _NOEXCEPT;
|