Home
last modified time | relevance | path

Searched refs:expires (Results 1 – 25 of 95) sorted by relevance

1234

/netbsd-src/external/mpl/bind/dist/tests/isc/
H A Dtimer_test.c99 setup_test(isc_timertype_t timertype,isc_time_t * expires,isc_interval_t * interval,void (* action)(isc_task_t *,isc_event_t *)) setup_test() argument
257 isc_time_t expires; ISC_RUN_TEST_IMPL() local
275 isc_time_t expires; ISC_RUN_TEST_IMPL() local
343 isc_time_t expires; ISC_RUN_TEST_IMPL() local
369 isc_time_t expires; test_reset() local
433 isc_time_t expires; ISC_RUN_TEST_IMPL() local
463 isc_time_t expires; tick_event() local
533 isc_time_t expires; ISC_RUN_TEST_IMPL() local
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Dtimer.c70 isc_time_t expires; global() member
244 isc_timer_create(isc_timermgr_t * manager,isc_timertype_t type,const isc_time_t * expires,const isc_interval_t * interval,isc_task_t * task,isc_taskaction_t action,void * arg,isc_timer_t ** timerp) isc_timer_create() argument
359 isc_timer_reset(isc_timer_t * timer,isc_timertype_t type,const isc_time_t * expires,const isc_interval_t * interval,bool purge) isc_timer_reset() argument
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dtimer.c72 isc_time_t expires; member
126 isc_time_compare(&timer->expires, &due) < 0) in schedule()
128 due = timer->expires; in schedule()
132 due = timer->expires; in schedule()
133 } else if (isc_time_isepoch(&timer->expires)) { in schedule()
135 } else if (isc_time_compare(&timer->idle, &timer->expires) < 0) in schedule()
139 due = timer->expires; in schedule()
247 const isc_time_t *expires, const isc_interval_t *interval, in isc_timer_create() argument
265 if (expires == NULL) { in isc_timer_create()
266 expires = isc_time_epoch; in isc_timer_create()
[all …]
/netbsd-src/external/mpl/bind/dist/bin/tests/system/statschannel/
H A Dgeneric.py37 def check_expires(expires, min_time, max_time): argument
38 assert expires >= min_time
39 assert expires <= max_time
53 def check_zone_timers(loaded, expires, refresh, loaded_exp): argument
56 if expires is not None:
57 check_expires(expires, now, now + max_expires)
90 (name, loaded, expires, refresh) = load_timers(zone, True)
92 check_zone_timers(loaded, expires, refresh, mtime)
106 (name, loaded, expires, refresh) = load_timers(zone, False)
111 check_zone_timers(loaded, expires, refres
[all...]
H A Dtests_json.py77 assert "expires" not in zone
79 expires = None
82 assert "expires" in zone
84 expires = datetime.strptime(zone["expires"], generic.fmt)
87 return (name, loaded, expires, refresh)
H A Dtests_xml.py103 expires_el = zone.find("expires")
108 expires = None
113 expires = datetime.strptime(expires_el.text, generic.fmt)
116 return (name, loaded, expires, refresh)
/netbsd-src/sys/external/bsd/drm2/linux/
H A Dlinux_hrtimer.c86 hrtimer_set_expires(struct hrtimer *hrt, ktime_t expires) in hrtimer_set_expires() argument
89 hrt->hrt_expires = expires; in hrtimer_set_expires()
100 hrtimer_start(struct hrtimer *hrt, ktime_t expires, enum hrtimer_mode mode) in hrtimer_start() argument
103 hrtimer_start_range_ns(hrt, expires, 0, mode); in hrtimer_start()
107 hrtimer_start_range_ns(struct hrtimer *hrt, ktime_t expires, uint64_t range_ns, in hrtimer_start_range_ns() argument
111 hrt->hrt_expires = expires; in hrtimer_start_range_ns()
/netbsd-src/external/public-domain/tz/dist/
H A Dleapseconds.awk106 if (expires) {
107 sstamp_to_ymdhMs(expires, ss_NTP)
137 if (expires) {
138 sstamp_to_ymdhMs(expires, ss_NTP)
140 expires - epoch_minus_NTP, \
H A Dleapseconds68 # UTC timestamp when this leap second list expires.
76 #expires 1751068800 (2025-06-28 00:00:00 UTC)
79 # File expires on 28 June 2025
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dtimer.c39 isc_time_t expires; in dns_timer_setidle() local
43 CHECK(isc_time_nowplusinterval(&expires, &maxinterval)); in dns_timer_setidle()
52 CHECK(isc_timer_reset(timer, isc_timertype_once, &expires, in dns_timer_setidle()
H A Dadb.c268 isc_stdtime_t expires; member
1346 if (entry->refcnt == 0 && entry->expires != 0) { in shutdown_entries()
1702 (adb->entry_sd[bucket] || entry->expires == 0 || overmem || in dec_entry_refcnt()
1886 e->expires = 0; in new_adbentry()
2147 (entry->expires == 0 || entry->expires > now) && in find_entry_and_lock()
2446 if (entry->expires == 0 || entry->expires > now) { in check_expire_entry()
3584 if (entry->expires != 0) { in dump_entry()
3585 fprintf(f, " [ttl %d]", (int)(entry->expires - now)); in dump_entry()
4199 if (addr->entry->expires == 0 || factor == DNS_ADB_RTTADJAGE) { in dns_adb_adjustsrtt()
4245 if (addr->entry->expires == 0) { in adjustsrtt()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/selftests/
H A Dlib_sw_fence.c68 void timed_fence_init(struct timed_fence *tf, unsigned long expires) in timed_fence_init() argument
74 if (time_after(expires, jiffies)) in timed_fence_init()
75 mod_timer(&tf->timer, expires); in timed_fence_init()
/netbsd-src/sys/external/bsd/vchiq/dist/interface/compat/
H A Dvchi_bsd.c76 t->expires = 0; in init_timer()
92 mod_timer(struct timer_list *t, unsigned long expires) in mod_timer() argument
95 callout_reset(&t->callout, expires - jiffies, run_timer, t); in mod_timer()
102 mod_timer(t, t->expires); in add_timer()
H A Dvchi_bsd.h132 unsigned long expires; member
139 void mod_timer(struct timer_list *t, unsigned long expires);
/netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/
H A Dtimer.h90 * specified by 'expires' and 'interval'. Events will be posted on the isc
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
H A Dtimer.h116 const isc_time_t *expires, const isc_interval_t *interval,
176 const isc_time_t *expires, const isc_interval_t *interval,
/netbsd-src/external/mpl/dhcp/dist/common/
H A Ddispatch.c218 isc_time_t expires; local
355 status = isc_time_nowplusinterval(&expires, &interval);
367 isc_timertype_once, &expires,
373 isc_timertype_once, &expires,
/netbsd-src/external/mpl/bind/dist/lib/isccc/include/isccc/
H A Dcc.h85 uint32_t serial, isccc_time_t now, isccc_time_t expires,
103 isccc_time_t expires, isccc_sexpr_t **alistp);
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_utils.c109 if (!READ_ONCE(t->expires)) in cancel_timer()
115 WRITE_ONCE(t->expires, 0); in cancel_timer()
/netbsd-src/external/mpl/bind/dist/lib/isccc/
H A Dcc.c660 uint32_t serial, isccc_time_t now, isccc_time_t expires, in createmessage()
699 isccc_cc_defineuint32(_ctrl, "_exp", expires) == NULL)) in createmessage()
723 uint32_t serial, isccc_time_t now, isccc_time_t expires, in isccc_cc_createmessage()
725 return createmessage(version, from, to, serial, now, expires, alistp, in isccc_cc_createmessage()
812 isccc_time_t expires, isccc_sexpr_t **alistp) { in isccc_cc_createresponse()
839 result = isccc_cc_createmessage(1, _to, _frm, serial, now, expires, in isccc_cc_createresponse()
661 createmessage(uint32_t version,const char * from,const char * to,uint32_t serial,isccc_time_t now,isccc_time_t expires,isccc_sexpr_t ** alistp,bool want_expires) createmessage() argument
724 isccc_cc_createmessage(uint32_t version,const char * from,const char * to,uint32_t serial,isccc_time_t now,isccc_time_t expires,isccc_sexpr_t ** alistp) isccc_cc_createmessage() argument
813 isccc_cc_createresponse(isccc_sexpr_t * message,isccc_time_t now,isccc_time_t expires,isccc_sexpr_t ** alistp) isccc_cc_createresponse() argument
/netbsd-src/external/bsd/unbound/dist/testdata/fwd_ttlexpire.tdir/
H A Dfwd_ttlexpire.dsc3 Description: forward UDP and TTL expires in the cache
/netbsd-src/usr.bin/netstat/
H A Dinet.c136 const struct timeval *expires) in protopr0() argument
169 if (Vflag && expires != NULL) { in protopr0()
170 if (expires->tv_sec == 0 && expires->tv_usec == -1) in protopr0()
175 timersub(expires, &now, &delta); in protopr0()
H A Dinet6.c193 short t_state, const char *name, const struct timeval *expires) in ip6protopr0() argument
225 if (Vflag && expires != NULL) { in ip6protopr0()
226 if (expires->tv_sec == 0 && expires->tv_usec == -1) in ip6protopr0()
231 timersub(expires, &now, &delta); in ip6protopr0()
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Dadb.c241 isc_stdtime_t expires;
244 * A nonzero 'expires' field indicates that the entry should
1066 .expires = now + ADB_ENTRY_WINDOW, in kill_name()
1584 if (!EXPIRE_OK(adbentry->expires, now)) { in clean_finds_at_name()
1604 * Examine the tail entry of the LRU list to see if it expires or is stale in check_exit()
1709 * Examine the tail entry of the LRU list to see if it expires or is stale in dec_entry_refcnt()
2480 fprintf(f, " [ttl %d]", entry->expires - now); in cleanup_names()
262 isc_stdtime_t expires; global() member
/netbsd-src/external/ibm-public/postfix/dist/src/tls/
H A Dtls_dane.c293 dane->expires = 0; in tls_dane_alloc()
573 dane->expires = 1 + event_time() + rrs->ttl; in dane_lookup()
591 dane->expires = 1 + event_time() + TLS_DANE_CACHE_TTL_MIN; in dane_lookup()
616 if (timecmp(event_time(), dane->expires) > 0) in resolve_host()

1234