Searched refs:now (Results 1 - 25 of 112) sorted by relevance

12345

/bind-9.11.3/bin/tests/net/
H A Ddriver.c33 static char now[512]; local
42 strftime(now, sizeof(now) - 1, "%A %d %B %H:%M:%S %Y",
45 strftime(now, sizeof(now) - 1, "%A %d %B %H:%M:%S %Y", localtime(&t));
48 return (now);
/bind-9.11.3/contrib/scripts/
H A Dcheck-secure-delegation.pl.in25 # Get "now" in a RRSIG datestamp format.
26 $now = strftime "%Y%m%d%H%M%S", gmtime;
41 next if ($words[8] >= $now && $words[9] <= $now);
71 if ($words[8] >= $now && $words[9] <= $now) {
/bind-9.11.3/bin/tests/system/keymgr/
H A Dsetup.sh124 k1=`$KEYGEN -K $dir -q3fk -P now+1mo -A now+1mo example.com`
125 z1=`$KEYGEN -K $dir -q3 -P now+1mo -A now+1mo example.com`
126 z2=`$KEYGEN -K $dir -q3 -P now+1mo -A now+1mo example.com`
127 z3=`$KEYGEN -K $dir -q3 -P now+1mo -A now+1mo example.com`
128 z4=`$KEYGEN -K $dir -q3 -P now+1mo -A now
[all...]
/bind-9.11.3/lib/dns/tests/
H A Dzonemgr_test.c155 isc_time_t now; local
159 TIME_NOW(&now);
182 ATF_CHECK(! dns_zonemgr_unreachable(myzonemgr, &addr1, &addr2, &now));
187 dns_zonemgr_unreachableadd(myzonemgr, &addr1, &addr2, &now);
188 ATF_CHECK(! dns_zonemgr_unreachable(myzonemgr, &addr1, &addr2, &now));
189 dns_zonemgr_unreachableadd(myzonemgr, &addr1, &addr2, &now);
190 ATF_CHECK(dns_zonemgr_unreachable(myzonemgr, &addr1, &addr2, &now));
194 ATF_CHECK(! dns_zonemgr_unreachable(myzonemgr, &addr1, &addr2, &now));
199 dns_zonemgr_unreachableadd(myzonemgr, &addr1, &addr2, &now);
200 dns_zonemgr_unreachableadd(myzonemgr, &addr1, &addr2, &now);
[all...]
/bind-9.11.3/bin/tests/system/autosign/ns1/
H A Dkeygen.sh22 zskdel=`$KEYGEN -3 -q -r $RANDFILE -D now $zone`
23 zskinact=`$KEYGEN -3 -q -r $RANDFILE -I now $zone`
26 zskactnowpub1d=`$KEYGEN -3 -q -r $RANDFILE -A now -P +1d $zone`
30 ksksby=`$KEYGEN -3 -q -r $RANDFILE -P now -A now+15s -fk $zone`
31 kskrev=`$KEYGEN -3 -q -r $RANDFILE -R now+15s -fk $zone`
64 echo $zskactnowpub1d > ../activate-now-publish-1day.key
/bind-9.11.3/bin/tests/system/metadata/
H A Dsetup.sh34 inact=`$KEYGEN -q -r $RANDFILE -P now-24h -A now-24h -I now $czone`
43 $SETTIME -A now+15s $rolling > /dev/null
/bind-9.11.3/lib/isccc/include/isccc/
H A Dcc.h71 isc_uint32_t serial, isccc_time_t now,
89 isccc_cc_createresponse(isccc_sexpr_t *message, isccc_time_t now,
115 isccc_cc_cleansymtab(isccc_symtab_t *symtab, isccc_time_t now);
120 isccc_time_t now);
/bind-9.11.3/bin/tests/virtual-time/
H A Dvtwrapper.c125 struct timeval now, tv; local
127 (void) gettimeofday(&now, NULL);
129 absolute_deflate(&now, &tv);
140 rt->tv_sec -= now.tv_sec;
141 rt->tv_usec -= now.tv_usec;
151 struct timeval now, tv; local
159 (void) gettimeofday(&now, NULL);
161 tv.tv_sec = now.tv_sec + rt->tv_sec;
162 tv.tv_usec = now.tv_usec + rt->tv_usec;
168 absolute_deflate(&now,
187 struct timeval now; local
[all...]
/bind-9.11.3/bin/tests/system/dnssec/ns7/
H A Dsign.sh23 $SIGNER -P -3 - -A -r $RANDFILE -o $zone -O full -f $zonefile.unsplit -e now-3600 -s now-7200 $zonefile > /dev/null 2>&1
/bind-9.11.3/lib/dns/
H A Dbadcache.c56 badcache_resize(dns_badcache_t *bc, isc_time_t *now, isc_boolean_t grow);
116 badcache_resize(dns_badcache_t *bc, isc_time_t *now, isc_boolean_t grow) { argument
133 if (isc_time_compare(&bad->expire, now) < 0) {
160 isc_time_t now; local
168 result = isc_time_now(&now);
170 isc_time_settoepoch(&now);
184 if (isc_time_compare(&bad->expire, &now) < 0) {
212 badcache_resize(bc, &now, ISC_TRUE);
214 badcache_resize(bc, &now, ISC_FALSE);
225 isc_time_t *now)
223 dns_badcache_find(dns_badcache_t *bc, dns_name_t *name, dns_rdatatype_t type, isc_uint32_t *flagp, isc_time_t *now) argument
317 isc_time_t now; local
355 isc_time_t now; local
395 isc_time_t now; local
[all...]
H A Dtime.c99 isc_stdtime_t now; local
109 isc_stdtime_get(&now);
110 start = (isc_int64_t) now;
111 if (isc_serial_gt(value, now))
112 t = start + (value - now);
114 t = start - (now - value);
H A Drrl.c107 delta_rrl_time(isc_stdtime_t ts, isc_stdtime_t now) { argument
110 delta = now - ts;
127 get_age(const dns_rrl_t *rrl, const dns_rrl_entry_t *e, isc_stdtime_t now) { argument
130 return (delta_rrl_time(e->ts + rrl->ts_bases[e->ts_gen], now));
134 set_age(dns_rrl_t *rrl, dns_rrl_entry_t *e, isc_stdtime_t now) { argument
140 ts = now - rrl->ts_bases[ts_gen];
174 i, now, rrl->ts_bases[ts_gen],
182 rrl->ts_bases[ts_gen] = now;
277 expand_rrl_hash(dns_rrl_t *rrl, isc_stdtime_t now) { argument
323 rrl->old_hash->check_time = now;
330 ref_entry(dns_rrl_t *rrl, dns_rrl_entry_t *e, int probes, isc_stdtime_t now) argument
487 get_entry(dns_rrl_t *rrl, const isc_sockaddr_t *client_addr, dns_rdataclass_t qclass, dns_rdatatype_t qtype, dns_name_t *qname, dns_rrl_rtype_t rtype, isc_stdtime_t now, isc_boolean_t create, char *log_buf, unsigned int log_buf_len) argument
605 debit_rrl_entry(dns_rrl_t *rrl, dns_rrl_entry_t *e, double qps, double scale, const isc_sockaddr_t *client_addr, isc_stdtime_t now, char *log_buf, unsigned int log_buf_len) argument
962 log_stops(dns_rrl_t *rrl, isc_stdtime_t now, int limit, char *log_buf, unsigned int log_buf_len) argument
1001 dns_rrl(dns_view_t *view, const isc_sockaddr_t *client_addr, isc_boolean_t is_tcp, dns_rdataclass_t qclass, dns_rdatatype_t qtype, dns_name_t *qname, isc_result_t resp_result, isc_stdtime_t now, isc_boolean_t wouldlog, char *log_buf, unsigned int log_buf_len) argument
[all...]
/bind-9.11.3/lib/isc/unix/
H A Dtime.c378 time_t now; local
389 now = (time_t) t->seconds;
391 flen = strftime(buf, len, "%d-%b-%Y %X", localtime_r(&now, &tm));
393 flen = strftime(buf, len, "%d-%b-%Y %X", localtime(&now));
406 time_t now; local
420 now = (time_t)t->seconds;
423 gmtime_r(&now, &tm));
425 flen = strftime(buf, len, "%a, %d %b %Y %H:%M:%S GMT", gmtime(&now));
451 time_t now; local
462 now
473 time_t now; local
[all...]
/bind-9.11.3/bin/dnssec/
H A Ddnssec-keyfromlabel.c160 isc_stdtime_t now; local
189 isc_stdtime_get(&now);
267 now, now, &setsyncadd);
277 now, now, &setpub);
285 now, now, &setact);
293 now, now,
[all...]
H A Ddnssec-settime.c150 isc_stdtime_t now; local
187 isc_stdtime_get(&now);
283 now, now, &setsyncadd);
293 now, now, &setpub);
302 now, now, &setact);
311 now, now,
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dncache.h55 dns_rdatatype_t covers, isc_stdtime_t now, dns_ttl_t maxttl,
60 isc_stdtime_t now, dns_ttl_t maxttl,
86 * 'now', and 'addedrdataset'.
H A Dnta.h115 isc_boolean_t force, isc_stdtime_t now,
119 * which will expire at time 'now' + 'lifetime'. If 'force' is ISC_FALSE,
160 dns_ntatable_covered(dns_ntatable_t *ntatable, isc_stdtime_t now,
H A Drriterator.h58 isc_stdtime_t now; member in struct:dns_rriterator
71 dns_dbversion_t *ver, isc_stdtime_t now);
H A Drdatasetiter.h94 isc_stdtime_t now; member in struct:dns_rdatasetiter
H A Dbadcache.h88 isc_time_t *now);
91 * 'name' and 'type', with an expiration date later than 'now'.
99 * \li now != NULL
H A Ddnssec.h179 const char *directory, isc_stdtime_t now,
190 dns_dnssec_keyactive(dst_key_t *key, isc_stdtime_t now);
194 * in 'now' (i.e., if the activation date has passed, inactivation or
295 isc_stdtime_t now, isc_mem_t *mctx,
371 isc_stdtime_t now, dns_ttl_t hint_ttl, dns_diff_t *diff,
/bind-9.11.3/bin/tests/system/dnssec/ns5/
H A Dsign.sh29 $SETTIME -R now ${keyname}.key > /dev/null
/bind-9.11.3/lib/isc/
H A Dtimer.c178 schedule(isc__timer_t *timer, isc_time_t *now, isc_boolean_t signal_ok) { argument
212 result = isc_time_add(now, &timer->interval, &due);
287 isc_time_compare(&then, now) < 0) {
379 isc_time_t now; local
406 TIME_NOW(&now);
410 * complaining about "now" possibly being used without being
413 isc_time_settoepoch(&now);
425 result = isc_time_add(&now, interval, &timer->idle);
470 result = schedule(timer, &now, ISC_TRUE);
498 isc_time_t now; local
586 isc_time_t now; local
658 dispatch(isc__timermgr_t *manager, isc_time_t *now) argument
783 isc_time_t now; local
801 manager->due, now); local
1032 isc_time_t now; local
[all...]
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Ddnsperf.c210 time_t now; local
226 now = time(NULL);
227 printf("[Status] Started at: %s", ctime(&now));
570 isc_uint64_t now, run_time, req_time; local
591 now = get_time();
592 while (!interrupted && now < times->stop_time) {
601 now = get_time();
606 run_time = now - times->start_time;
611 now = get_time();
623 now
693 process_timeouts(threadinfo_t *tinfo, isc_uint64_t now) argument
746 isc_uint64_t now; local
803 isc_uint64_t now, latency; local
943 isc_uint64_t now; local
[all...]
/bind-9.11.3/bin/tests/system/smartsign/
H A Dtests.sh31 czsk4=`$KEYGEN -q -r $RANDFILE -P now-24h -A now-24h -I now $czone`
34 czsk5=`$KEYGEN -q -r $RANDFILE -P now+12h -A now+12h -I now+24h $czone`
57 # using now+30s to fix RT 24561
58 $SETTIME -A now+30s $cksk2 > /dev/null
61 czoneout=`$SIGNER -Sg -e now+1d -X now
[all...]

Completed in 32 milliseconds

12345