Searched refs:now (Results 101 - 125 of 677) sorted by relevance

1234567891011>>

/openbsd-current/libexec/spamd/
H A Dgrey.c329 hints.ai_family = AF_INET; /*for now*/
381 hints.ai_family = AF_INET; /*for now*/
530 time_t now = time(NULL); local
558 if (gd.expire <= now && gd.pcount != -2) {
567 } else if (gd.pcount >= 0 && gd.pass <= now) {
595 gd.expire = now + whiteexp;
672 time_t now, expire; local
675 now = time(NULL);
677 expire = strtonum(expires, now,
704 gd.first = now;
767 time_t now, expire; local
[all...]
/openbsd-current/gnu/usr.bin/cvs/lib/
H A Dgetdate.y120 ** yacc had the %union construct.) Maybe someday; right now we only use
414 { "now", tMINUTE_UNIT, 0 },
673 time_t now;
675 now = Start;
676 tm = localtime(&now);
677 now += SECSPERDAY * ((DayNumber - tm->tm_wday + 7) % 7);
678 now += 7 * SECSPERDAY * (DayOrdinal <= 0 ? DayOrdinal : DayOrdinal - 1);
679 return DSTcorrect(Start, now);
895 time_t now;
899 (void)time (&now);
[all...]
/openbsd-current/gnu/usr.bin/cvs/src/
H A Dlock.c147 that only if the actual operation fails. But for now we'll keep
573 /* we now own a writer - make sure there are no readers */
642 time_t now; local
643 (void) time (&now);
656 if (now >= (sb.st_ctime + CVSLCKAGE) && CVS_UNLINK (line) != -1)
726 time_t now; local
786 (void) time (&now);
787 if (now >= (sb.st_ctime + CVSLCKAGE))
827 time_t now; local
830 (void) time (&now);
849 time_t now; local
[all...]
/openbsd-current/regress/lib/libpthread/cancel/
H A Dcancel.c91 struct timespec now; local
103 CHECKe(clock_gettime(CLOCK_REALTIME, &now));
104 if (timespeccmp(&now, &end, >=))
/openbsd-current/usr.sbin/amd/amd/
H A Drpc_fwd.c89 time_t now = clocktime(); local
99 if (p2->rf_ttl <= now) {
130 p->rf_ttl = now + 43;
/openbsd-current/usr.bin/dig/lib/isc/unix/
H A Dapp.c146 struct timespec when, now, diff, zero ={0, 0}; local
163 clock_gettime(CLOCK_MONOTONIC, &now);
164 timespecsub(&when, &now, &diff);
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Formatter/Console/
H A DSession.pm135 my $now = CORE::time;
139 # $last_status_printed starting with the value 0, which $now
141 if ( $last_status_printed != $now ) {
143 $last_status_printed = $now;
/openbsd-current/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerInternal.h44 return duration_cast<seconds>(system_clock::now() - ProcessStartTime)
132 system_clock::time_point LastAllocatorPurgeAttemptTime = system_clock::now();
140 system_clock::time_point ProcessStartTime = system_clock::now();
/openbsd-current/sys/kern/
H A Dkern_clockintr.c512 uint64_t exp, now; local
518 now = nsecuptime();
519 if (now < exp)
520 intrclock_rearm(&cq->cq_intrclock, exp - now);
538 * Advance *next in increments of period until it exceeds now.
545 nsec_advance(uint64_t *next, uint64_t period, uint64_t now) argument
549 if (now < *next)
552 if (now < *next + period) {
557 elapsed = (now - *next) / period + 1;
618 struct timespec now; local
[all...]
/openbsd-current/bin/date/
H A Ddate.c145 time_t now; local
238 if ((now = time(NULL)) == -1)
240 tv.tv_sec = tval - now;
/openbsd-current/usr.sbin/dhcp6leasectl/
H A Ddhcp6leasectl.c190 struct timespec now, diff; local
209 clock_gettime(CLOCK_MONOTONIC, &now);
210 timespecsub(&now, &cei->request_time, &diff);
/openbsd-current/gnu/usr.bin/perl/vms/
H A Dtest.com5 $! The most significant difference is that we now run the external t/TEST
/openbsd-current/usr.bin/finger/
H A Dsprint.c104 if (now - w->loginat < SECSPERDAY * 6)
108 if (now - w->loginat >= SIXMONTHS)
/openbsd-current/gnu/usr.bin/perl/t/op/
H A Dhash-rt85026.t60 Will now iterato to key '$first_key' then delete '$first_key' and '$second_key'.
/openbsd-current/libexec/spamlogd/
H A Dspamlogd.c293 time_t now; local
297 now = time(NULL);
324 gd.first = now;
326 gd.pass = now;
327 gd.expire = now + whiteexp;
347 gd.expire = now + whiteexp;
363 sync_white(now, now + whiteexp, ip);
/openbsd-current/usr.sbin/unbound/validator/
H A Dval_kcache.c124 uint16_t key_class, struct regional* region, time_t now)
134 if(now <= d->ttl) {
123 key_cache_obtain(struct key_cache* kcache, uint8_t* name, size_t namelen, uint16_t key_class, struct regional* region, time_t now) argument
H A Dval_neg.c259 /* check if the zone is now unused */
728 * now, because we are walking the tree still ... */
731 /* now delete the original element, this may trigger
1055 * @param now: to check ttl against
1062 time_t now)
1065 qname, qname_len, qtype, qclass, flags, now, 0);
1069 if(d->ttl < now) {
1089 r = packed_rrset_copy_region(k, region, now);
1103 * @param now: to check ttl against
1109 uint16_t qclass, struct rrset_cache* rrset_cache, time_t now,
1059 grab_nsec(struct rrset_cache* rrset_cache, uint8_t* qname, size_t qname_len, uint16_t qtype, uint16_t qclass, uint32_t flags, struct regional* region, int checkbit, uint16_t checktype, time_t now) argument
1108 neg_find_nsec(struct val_neg_cache* neg_cache, uint8_t* qname, size_t qname_len, uint16_t qclass, struct rrset_cache* rrset_cache, time_t now, struct regional* region) argument
1214 neg_nsec3_getnc(struct val_neg_zone* zone, uint8_t* hashnc, size_t nclen, struct rrset_cache* rrset_cache, struct regional* region, time_t now, uint8_t* b32, size_t maxb32) argument
1247 neg_nsec3_proof_ds(struct val_neg_zone* zone, uint8_t* qname, size_t qname_len, int qlabs, sldns_buffer* buf, struct rrset_cache* rrset_cache, struct regional* region, time_t now, uint8_t* topname) argument
1347 add_soa(struct rrset_cache* rrset_cache, time_t now, struct regional* region, struct dns_msg* msg, struct val_neg_zone* zone) argument
1377 val_neg_getmsg(struct val_neg_cache* neg, struct query_info* qinfo, struct regional* region, struct rrset_cache* rrset_cache, sldns_buffer* buf, time_t now, int addsoa, uint8_t* topname, struct config_file* cfg) argument
[all...]
/openbsd-current/sbin/unwind/libunbound/validator/
H A Dval_kcache.c124 uint16_t key_class, struct regional* region, time_t now)
134 if(now <= d->ttl) {
123 key_cache_obtain(struct key_cache* kcache, uint8_t* name, size_t namelen, uint16_t key_class, struct regional* region, time_t now) argument
H A Dval_neg.c259 /* check if the zone is now unused */
728 * now, because we are walking the tree still ... */
731 /* now delete the original element, this may trigger
1055 * @param now: to check ttl against
1062 time_t now)
1065 qname, qname_len, qtype, qclass, flags, now, 0);
1069 if(d->ttl < now) {
1089 r = packed_rrset_copy_region(k, region, now);
1103 * @param now: to check ttl against
1109 uint16_t qclass, struct rrset_cache* rrset_cache, time_t now,
1059 grab_nsec(struct rrset_cache* rrset_cache, uint8_t* qname, size_t qname_len, uint16_t qtype, uint16_t qclass, uint32_t flags, struct regional* region, int checkbit, uint16_t checktype, time_t now) argument
1108 neg_find_nsec(struct val_neg_cache* neg_cache, uint8_t* qname, size_t qname_len, uint16_t qclass, struct rrset_cache* rrset_cache, time_t now, struct regional* region) argument
1214 neg_nsec3_getnc(struct val_neg_zone* zone, uint8_t* hashnc, size_t nclen, struct rrset_cache* rrset_cache, struct regional* region, time_t now, uint8_t* b32, size_t maxb32) argument
1247 neg_nsec3_proof_ds(struct val_neg_zone* zone, uint8_t* qname, size_t qname_len, int qlabs, sldns_buffer* buf, struct rrset_cache* rrset_cache, struct regional* region, time_t now, uint8_t* topname) argument
1347 add_soa(struct rrset_cache* rrset_cache, time_t now, struct regional* region, struct dns_msg* msg, struct val_neg_zone* zone) argument
1377 val_neg_getmsg(struct val_neg_cache* neg, struct query_info* qinfo, struct regional* region, struct rrset_cache* rrset_cache, sldns_buffer* buf, time_t now, int addsoa, uint8_t* topname, struct config_file* cfg) argument
[all...]
/openbsd-current/usr.sbin/rpki-client/
H A Doutput-bird.c87 time_t now = get_current_time(); local
95 (long long)now, bird_tablename, bird_tablename,
/openbsd-current/usr.sbin/ntpd/
H A Dcontrol.c345 time_t now; local
347 now = getmonotime();
415 cp->next = p->next - now < 0 ? 0 : p->next - now;
422 time_t now; local
426 now = getmonotime();
448 cs->next = s->next - now < 0 ? 0 : s->next - now;
/openbsd-current/sbin/unwind/libunbound/util/
H A Dwinsock_event.c163 static void handle_timeouts(struct event_base* base, struct timeval* now, argument
175 if(p->ev_timeout.tv_sec > now->tv_sec ||
176 (p->ev_timeout.tv_sec==now->tv_sec &&
177 p->ev_timeout.tv_usec > now->tv_usec)) {
179 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec;
180 if(now->tv_usec > p->ev_timeout.tv_usec) {
182 wait->tv_usec = 1000000 - (now->tv_usec -
186 - now->tv_usec;
558 struct timeval *now = ev->ev_base->time_tv; local
559 ev->ev_timeout.tv_sec = tv->tv_sec + now
[all...]
/openbsd-current/usr.sbin/unbound/util/
H A Dwinsock_event.c163 static void handle_timeouts(struct event_base* base, struct timeval* now, argument
175 if(p->ev_timeout.tv_sec > now->tv_sec ||
176 (p->ev_timeout.tv_sec==now->tv_sec &&
177 p->ev_timeout.tv_usec > now->tv_usec)) {
179 wait->tv_sec = p->ev_timeout.tv_sec - now->tv_sec;
180 if(now->tv_usec > p->ev_timeout.tv_usec) {
182 wait->tv_usec = 1000000 - (now->tv_usec -
186 - now->tv_usec;
558 struct timeval *now = ev->ev_base->time_tv; local
559 ev->ev_timeout.tv_sec = tv->tv_sec + now
[all...]
/openbsd-current/usr.sbin/nsd/
H A Drrl.c383 uint16_t flags, int32_t now, uint32_t lm)
409 b->stamp = now;
416 if(now - b->stamp == 1) {
423 b->stamp = now;
424 } else if(now - b->stamp > 0) {
427 rrl_attenuate_bucket(b, now - b->stamp);
431 b->stamp = now;
432 } else if(now != b->stamp) {
438 b->stamp = now;
461 int32_t now local
382 rrl_update(query_type* query, uint32_t hash, uint64_t source, uint16_t flags, int32_t now, uint32_t lm) argument
[all...]
/openbsd-current/libexec/talkd/
H A Dprocess.c196 time_t idle, now; local
198 time(&now);
221 } else if (now - statb.st_atime < idle) {
222 idle = now - statb.st_atime;

Completed in 406 milliseconds

1234567891011>>