Searched defs:when (Results 1 - 23 of 23) sorted by relevance

/bind-9.11.3/lib/dns/tests/
H A Dtime_test.c39 isc_uint32_t when; local
51 result = dns_time32_fromtext(test_text, &when);
53 ATF_REQUIRE_EQ(when, test_time);
67 isc_uint32_t when; local
79 result = dns_time32_fromtext(test_text, &when);
81 ATF_REQUIRE_EQ(when, test_time);
95 isc_uint32_t when; local
107 result = dns_time32_fromtext(test_text, &when);
109 ATF_REQUIRE_EQ(when, test_time);
123 isc_uint32_t when; local
151 isc_uint32_t when; local
179 isc_uint32_t when; local
[all...]
/bind-9.11.3/lib/dns/rdata/generic/
H A Drrsig_46.c151 unsigned long when; local
217 when = uint32_fromregion(&sr);
219 RETERR(dns_time32_totext(when, target));
H A Dsig_24.c125 unsigned long when; local
193 when = uint32_fromregion(&sr);
195 RETERR(dns_time32_totext(when, target));
/bind-9.11.3/lib/isc/unix/
H A Dtime.c216 * note that even if both values == INT_MAX, then when added
258 * note that even if both values == INT_MAX, then when added
433 time_t when; local
442 when = isc_tm_timegm(&t_tm);
443 if (when == -1)
445 isc_time_set(t, when, 0);
H A Dapp.c444 isc_time_t when, now; local
470 result = isc__timermgr_nextevent(ctx->timermgr, &when);
477 us = isc_time_microdiff(&when, &now);
491 * We call isc__timermgr_dispatch() only when
637 * simply be made pending and we will get it when we call
H A Dfile.c171 isc_file_settime(const char *file, isc_time_t *when) { argument
174 REQUIRE(file != NULL && when != NULL);
180 * loses when either:
186 times[0].tv_sec = times[1].tv_sec = (long)isc_time_seconds(when);
202 (isc_int32_t)(isc_time_nanoseconds(when) / 1000);
/bind-9.11.3/lib/isc/win32/
H A Dtime.c322 time_t when; local
331 when = isc_tm_timegm(&t_tm);
332 if (when == -1)
334 isc_time_set(t, (unsigned int)when, 0);
/bind-9.11.3/lib/dns/
H A Ddst_parse.c470 isc_stdtime_t when; local
602 ret = dns_time32_fromtext(DST_AS_STR(token), &when);
606 dst_key_settime(key, tag, when);
682 isc_stdtime_t when; local
837 result = dst_key_gettime(key, i, &when);
842 result = dns_time32_totext(when, &b);
H A Ddiff.c204 isc_int64_t when; local
212 when = 0;
214 when = dns_time64_from32(sig.timeexpire);
224 if (when == 0 || dns_time64_from32(sig.timeexpire) < when)
225 when = dns_time64_from32(sig.timeexpire);
231 return ((isc_stdtime_t)when);
398 * This will not happen when executing a
401 * It may happen when receiving an IXFR
H A Dmaster.c45 * by these sizes when we need to.
2127 * read when incrementally filling the buffer.
2382 * it might cause a hazardous result when "totallen"
2385 * data step by step, and commit partial data when
3064 isc_uint32_t when; local
3070 when = lctx->now;
3072 when = sig.timeexpire - lctx->resign;
3078 when = lctx->now;
3079 else if (sig.timeexpire - lctx->resign < when)
3080 when
[all...]
H A Dupdate.c1492 * since they are all invalid when the signed
2035 epoch_to_yyyymmdd(time_t when) { argument
2040 tm = localtime_r(&when, &tm0);
2042 tm = localtime(&when);
H A Ddnssec.c667 isc_stdtime_t when; local
682 result = dst_key_gettime(key, DST_TIME_SYNCPUBLISH, &when);
686 result = dst_key_gettime(key, DST_TIME_SYNCDELETE, &when);
689 if (when <= now)
703 isc_stdtime_t when; local
718 result = dst_key_gettime(key, DST_TIME_SYNCDELETE, &when);
721 if (when <= now)
H A Ddst_api.c1065 dst_key_settime(dst_key_t *key, int type, isc_stdtime_t when) { argument
1068 key->times[type] = when;
1682 isc_stdtime_t when; local
1688 result = dst_key_gettime(key, type, &when);
1693 t = when;
1707 result = dns_time32_totext(when, &b);
H A Dzone.c642 * Hold state for when we are signing a zone with a new
4384 * information when it has finished loading.
6066 set_key_expiry_warning(dns_zone_t *zone, isc_stdtime_t when, isc_stdtime_t now) argument
6071 zone->key_expiry = when;
6072 if (when <= now) {
6076 } else if (when < now + 7 * 24 * 3600) {
6078 isc_time_set(&t, when, 0);
6083 delta = when - now;
6087 isc_time_set(&zone->keywarntime, when - delta, 0);
6089 isc_time_set(&zone->keywarntime, when
11663 isc_time_t when; local
[all...]
/bind-9.11.3/bin/dnssec/
H A Ddnssec-keyfromlabel.c485 isc_stdtime_t when; local
533 ret = dst_key_gettime(prevkey, DST_TIME_ACTIVATE, &when);
555 ret = dst_key_gettime(prevkey, DST_TIME_DELETE, &when);
H A Ddnssec-settime.c108 isc_stdtime_t when; local
113 result = dst_key_gettime(key, type, &when);
117 fprintf(stream, "%d\n", (int) when);
119 time_t timet = when;
H A Ddnssec-keygen.c673 isc_stdtime_t when; local
719 ret = dst_key_gettime(prevkey, DST_TIME_ACTIVATE, &when);
741 ret = dst_key_gettime(prevkey, DST_TIME_DELETE, &when);
/bind-9.11.3/lib/isc/
H A Dtimer.c274 * return when the time expires, so here, we check to see if
384 * will be posted to 'task' and when dispatched 'action' will be
1016 isc__timermgr_nextevent(isc_timermgr_t *manager0, isc_time_t *when) { argument
1025 *when = manager->due;
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Dresperf.c147 /* The largest acceptable query loss when reporting max throughput */
202 /* The time when the sustain/wait phase began */
361 /* Find the ramp_bucket for queries sent at time "when" */
364 find_bucket(isc_uint64_t when) { argument
365 isc_uint64_t sent_at = when - time_of_program_start;
H A Ddnsperf.c732 isc_uint64_t when; member in struct:__anon60
762 recvd->when = now;
887 latency = recvd[i].when - recvd[i].sent;
911 tinfo->last_recv = recvd[nrecvd - 1].when;
/bind-9.11.3/bin/named/
H A Dstatschannel.c1391 * Which statistics to include when rendering to XML
2104 * Which statistics to include when rendering to JSON
2986 isc_time_t when; local
2992 result = isc_time_parsehttptimestamp(p, &when);
2996 result = isc_time_secondsastimet(&when, &t1);
3494 * Avoid dumping redundant statistics when the cache is shared.
3517 * Avoid dumping redundant statistics when the cache is
H A Dclient.c247 static void compute_cookie(ns_client_t *client, isc_uint32_t when,
314 * We need to detach from the view early when shutting down
771 * sever the connection when result != ISC_R_SUCCESS.
819 * We only want to fail with ISC_R_NOSPACE when called from
820 * ns_client_sendraw() and not when called from ns_client_send(),
821 * tcpbuffer is NULL when called from ns_client_sendraw() and
822 * length != 0. tcpbuffer != NULL when called from ns_client_send()
1714 * are updated when the appropriate task has exclusivity.
1775 compute_cookie(ns_client_t *client, isc_uint32_t when, isc_uint32_t nonce, argument
1791 isc_buffer_putuint32(buf, when);
1906 isc_uint32_t when; local
[all...]
H A Dserver.c207 * a cache. Only effective when a finite max-cache-size is specified.
1288 * explicit entry for "." when the name is "*".
1729 * Callback from DLZ configure when the driver sets up a writeable zone
3475 * care of it when we process the zone statement.
3726 * XXX Determining when it is safe to reuse or share a cache is tricky.
3893 * MAX_ADB_SIZE_FOR_CACHESHARE when the cache is shared.
4009 * Set the maximum UDP when a COOKIE is not provided.
4294 * can inherit from each other when only some of them set at
4369 * Ignore case when compressing responses to the specified
5971 * Even when w
13503 isc_stdtime_t now, when; local
[all...]

Completed in 133 milliseconds