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

123

/bind-9.6-ESV-R11/bin/tests/net/
H A Ddriver.c43 static char now[512]; local
48 strftime(now, sizeof(now) - 1,
52 return (now);
/bind-9.6-ESV-R11/lib/isccc/include/isccc/
H A Dcc.h69 isc_uint32_t serial, isccc_time_t now,
87 isccc_cc_createresponse(isccc_sexpr_t *message, isccc_time_t now,
113 isccc_cc_cleansymtab(isccc_symtab_t *symtab, isccc_time_t now);
118 isccc_time_t now);
/bind-9.6-ESV-R11/lib/dns/tests/
H A Dzonemgr_test.c158 isc_time_t now; local
162 TIME_NOW(&now);
185 ATF_CHECK(! dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now));
190 dns_zonemgr_unreachableadd(zonemgr, &addr1, &addr2, &now);
191 ATF_CHECK(! dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now));
192 dns_zonemgr_unreachableadd(zonemgr, &addr1, &addr2, &now);
193 ATF_CHECK(dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now));
197 ATF_CHECK(! dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now));
202 dns_zonemgr_unreachableadd(zonemgr, &addr1, &addr2, &now);
203 dns_zonemgr_unreachableadd(zonemgr, &addr1, &addr2, &now);
[all...]
/bind-9.6-ESV-R11/lib/dns/
H A Dtime.c108 isc_stdtime_t now; local
118 isc_stdtime_get(&now);
119 start = (isc_int64_t) now;
120 if (isc_serial_gt(value, now))
121 t = start + (value - now);
123 t = start - (now - value);
H A Dadb.c288 isc_stdtime_t now);
360 * are now equal to FETCH_V4 and FETCH_V6, respectively.
389 #define EXPIRE_OK(exp, now) ((exp == INT_MAX) || (exp < now))
493 isc_stdtime_t now)
550 now);
604 adbname->expire_v4, now + rdataset->ttl);
606 now + rdataset->ttl);
609 adbname->expire_v6, now + rdataset->ttl);
611 now
492 import_rdataset(dns_adbname_t *adbname, dns_rdataset_t *rdataset, isc_stdtime_t now) argument
693 check_expire_namehooks(dns_adbname_t *name, isc_stdtime_t now) argument
1639 find_entry_and_lock(dns_adb_t *adb, isc_sockaddr_t *addr, int *bucketp, isc_stdtime_t now) argument
1677 entry_is_lame(dns_adb_t *adb, dns_adbentry_t *entry, dns_name_t *qname, dns_rdatatype_t qtype, isc_stdtime_t now) argument
1716 copy_namehook_lists(dns_adb_t *adb, dns_adbfind_t *find, dns_name_t *qname, dns_rdatatype_t qtype, dns_adbname_t *name, isc_stdtime_t now) argument
1816 check_expire_name(dns_adbname_t **namep, isc_stdtime_t now) argument
1859 check_stale_name(dns_adb_t *adb, int bucket, isc_stdtime_t now) argument
1906 check_expire_entry(dns_adb_t *adb, dns_adbentry_t **entryp, isc_stdtime_t now) argument
1937 cleanup_names(dns_adb_t *adb, int bucket, isc_stdtime_t now) argument
1967 cleanup_entries(dns_adb_t *adb, int bucket, isc_stdtime_t now) argument
2279 dns_adb_createfind(dns_adb_t *adb, isc_task_t *task, isc_taskaction_t action, void *arg, dns_name_t *name, dns_name_t *qname, dns_rdatatype_t qtype, unsigned int options, isc_stdtime_t now, dns_name_t *target, in_port_t port, dns_adbfind_t **findp) argument
2739 isc_stdtime_t now; local
2764 dump_ttl(FILE *f, const char *legend, isc_stdtime_t value, isc_stdtime_t now) argument
2771 dump_adb(dns_adb_t *adb, FILE *f, isc_boolean_t debug, isc_stdtime_t now) argument
2853 dump_entry(FILE *f, dns_adbentry_t *entry, isc_boolean_t debug, isc_stdtime_t now) argument
2946 print_namehook_list(FILE *f, const char *legend, dns_adbnamehooklist_t *list, isc_boolean_t debug, isc_stdtime_t now) argument
2987 dbfind_name(dns_adbname_t *adbname, isc_stdtime_t now, dns_rdatatype_t rdtype) argument
3128 isc_stdtime_t now; local
3418 isc_stdtime_t now; local
3449 isc_stdtime_t now; local
3473 dns_adb_findaddrinfo(dns_adb_t *adb, isc_sockaddr_t *sa, dns_adbaddrinfo_t **addrp, isc_stdtime_t now) argument
3530 isc_stdtime_t now; local
[all...]
H A Drootns.c152 isc_stdtime_t now; local
157 isc_stdtime_get(&now);
164 now, NULL, name, &rootns, NULL);
173 result = dns_db_allrdatasets(db, node, NULL, now, &rdsiter);
323 dns_name_t *name, isc_stdtime_t now)
337 now, NULL, foundname, &hintrrset, NULL);
339 DNS_DBFIND_GLUEOK, now, NULL, foundname,
379 now, NULL, foundname, &hintrrset, NULL);
381 DNS_DBFIND_GLUEOK, now, NULL, foundname,
428 isc_stdtime_t now; local
322 check_address_records(dns_view_t *view, dns_db_t *hints, dns_db_t *db, dns_name_t *name, isc_stdtime_t now) argument
[all...]
H A Drbtdb.c478 isc_stdtime_t now; member in struct:__anon127
486 isc_stdtime_t now; member in struct:__anon128
513 isc_stdtime_t now);
528 isc_stdtime_t now);
530 isc_stdtime_t now);
534 isc_stdtime_t now, isc_boolean_t tree_locked);
1416 * We've now eliminated all IGNORE datasets with the possible
1417 * exception of current, which we now check.
1448 * We now try to find the first down node less than the
1721 * We can now delet
2709 bind_rdataset(dns_rbtdb_t *rbtdb, dns_rbtnode_t *node, rdatasetheader_t *header, isc_stdtime_t now, dns_rdataset_t *rdataset) argument
3439 zone_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version, dns_rdatatype_t type, unsigned int options, isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
3948 zone_findzonecut(dns_db_t *db, dns_name_t *name, unsigned int options, isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
4258 find_coveringnsec(rbtdb_search_t *search, dns_dbnode_t **nodep, isc_stdtime_t now, dns_name_t *foundname, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
4377 cache_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version, dns_rdatatype_t type, unsigned int options, isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
4723 cache_findzonecut(dns_db_t *db, dns_name_t *name, unsigned int options, isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
4965 expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) argument
5151 zone_findrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdatatype_t type, dns_rdatatype_t covers, isc_stdtime_t now, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
5238 cache_findrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdatatype_t type, dns_rdatatype_t covers, isc_stdtime_t now, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
5332 allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdatasetiter_t **iteratorp) argument
5477 add(dns_rbtdb_t *rbtdb, dns_rbtnode_t *rbtnode, rbtdb_version_t *rbtversion, rdatasetheader_t *newheader, unsigned int options, isc_boolean_t loading, dns_rdataset_t *addedrdataset, isc_stdtime_t now) argument
6031 addrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdataset_t *rdataset, unsigned int options, dns_rdataset_t *addedrdataset) argument
7618 isc_stdtime_t now; local
7675 isc_stdtime_t now; local
8278 rdataset_getadditional(dns_rdataset_t *rdataset, dns_rdatasetadditional_t type, dns_rdatatype_t qtype, dns_acache_t *acache, dns_zone_t **zonep, dns_db_t **dbp, dns_dbversion_t **versionp, dns_dbnode_t **nodep, dns_name_t *fname, dns_message_t *msg, isc_stdtime_t now) argument
8647 need_headerupdate(rdatasetheader_t *header, isc_stdtime_t now) argument
8682 update_header(dns_rbtdb_t *rbtdb, rdatasetheader_t *header, isc_stdtime_t now) argument
8706 overmem_purge(dns_rbtdb_t *rbtdb, unsigned int locknum_start, isc_stdtime_t now, isc_boolean_t tree_locked) argument
[all...]
H A Ddb.c484 dns_rdatatype_t type, unsigned int options, isc_stdtime_t now,
505 return ((db->methods->find)(db, name, version, type, options, now,
511 unsigned int options, isc_stdtime_t now,
527 return ((db->methods->findzonecut)(db, name, options, now, nodep,
585 dns_db_expirenode(dns_db_t *db, dns_dbnode_t *node, isc_stdtime_t now) { argument
588 * Mark as stale all records at 'node' which expire at or before 'now'.
595 return ((db->methods->expirenode)(db, node, now));
636 isc_stdtime_t now, dns_rdataset_t *rdataset,
655 now, rdataset, sigrdataset));
660 isc_stdtime_t now, dns_rdatasetiter_
483 dns_db_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version, dns_rdatatype_t type, unsigned int options, isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
510 dns_db_findzonecut(dns_db_t *db, dns_name_t *name, unsigned int options, isc_stdtime_t now, dns_dbnode_t **nodep, dns_name_t *foundname, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
634 dns_db_findrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, dns_rdatatype_t type, dns_rdatatype_t covers, isc_stdtime_t now, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset) argument
659 dns_db_allrdatasets(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdatasetiter_t **iteratorp) argument
675 dns_db_addrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, isc_stdtime_t now, dns_rdataset_t *rdataset, unsigned int options, dns_rdataset_t *addedrdataset) argument
[all...]
/bind-9.6-ESV-R11/lib/dns/include/dns/
H A Dncache.h64 dns_rdatatype_t covers, isc_stdtime_t now, dns_ttl_t maxttl,
69 isc_stdtime_t now, dns_ttl_t maxttl,
95 * 'now', and 'addedrdataset'.
H A Ddb.h95 isc_stdtime_t now,
100 unsigned int options, isc_stdtime_t now,
111 isc_stdtime_t now);
120 isc_stdtime_t now,
125 isc_stdtime_t now,
129 isc_stdtime_t now,
683 dns_rdatatype_t type, unsigned int options, isc_stdtime_t now,
727 * \li The 'now' field is ignored if 'db' is a zone database. If 'db' is a
729 * 'now'. Any ANY query will not match unless at least one rdataset at
730 * the node expires after 'now'
[all...]
H A Drdatasetiter.h103 isc_stdtime_t now; member in struct:dns_rdatasetiter
H A Dadb.h335 isc_stdtime_t now, dns_name_t *target,
364 * The "now" parameter is used only for determining which entries that
496 * expire 10 minutes in the future, it should set it to (now + 10 * 60).
570 dns_adbaddrinfo_t **addrp, isc_stdtime_t now);
H A Dacache.h326 dns_message_t *msg, isc_stdtime_t now);
H A Dcache.h228 dns_cache_clean(dns_cache_t *cache, isc_stdtime_t now);
231 * whose TTL has expired as of 'now' and that have no pending
H A Dview.h414 isc_stdtime_t now, unsigned int options, isc_boolean_t use_hints,
427 *\li If 'now' is zero, then the current time will be used.
478 isc_stdtime_t now, unsigned int options,
495 *\li If 'now' is zero, then the current time will be used.
540 isc_stdtime_t now, unsigned int options,
546 isc_stdtime_t now, unsigned int options,
557 *\li If 'now' is zero, then the current time will be used.
665 *\li #ISC_R_SUCCESS A key was found and '*keyp' now points to it.
681 *\li #ISC_R_SUCCESS A key was found and '*keyp' now points to it.
/bind-9.6-ESV-R11/contrib/zkt/
H A Dsoaserial.c249 ulong now; local
255 now = time (NULL);
256 now = serialtime (now);
257 printf ("now = %lu\n", now);
/bind-9.6-ESV-R11/lib/isc/
H A Dtimer.c111 schedule(isc_timer_t *timer, isc_time_t *now, isc_boolean_t signal_ok) { argument
145 result = isc_time_add(now, &timer->interval, &due);
220 isc_time_compare(&then, now) < 0) {
310 isc_time_t now; local
337 TIME_NOW(&now);
341 * complaining about "now" possibly being used without being
344 isc_time_settoepoch(&now);
356 result = isc_time_add(&now, interval, &timer->idle);
399 result = schedule(timer, &now, ISC_TRUE);
425 isc_time_t now; local
511 isc_time_t now; local
581 dispatch(isc_timermgr_t *manager, isc_time_t *now) argument
706 isc_time_t now; local
724 manager->due, now); local
930 isc_time_t now; local
[all...]
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dtime.c383 time_t now; local
388 now = (time_t) t->seconds;
389 flen = strftime(buf, len, "%d-%b-%Y %X", localtime(&now));
400 time_t now; local
405 now = (time_t)t->seconds;
406 flen = strftime(buf, len, "%a, %d %b %Y %H:%M:%S GMT", gmtime(&now));
412 time_t now; local
417 now = (time_t)t->seconds;
418 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%SZ", gmtime(&now));
/bind-9.6-ESV-R11/bin/named/
H A Dtsigconf.c51 isc_stdtime_t now; local
115 isc_stdtime_get(&now);
117 ISC_FALSE, NULL, now, now,
/bind-9.6-ESV-R11/contrib/sdb/time/
H A Dtimedb.c60 time_t now = time(NULL); local
68 n = snprintf(buf, sizeof(buf), "\"%s", ctime(&now));
/bind-9.6-ESV-R11/bin/tests/timers/
H A Dt_timers.c99 isc_time_t now; local
120 isc_result = isc_time_now(&now);
157 if (isc_time_compare(&llim, &now) > 0) {
160 (unsigned long)isc_time_microdiff(&base, &now));
162 } else if (isc_time_compare(&ulim, &now) < 0) {
165 (unsigned long)isc_time_microdiff(&now, &base));
168 Tx_lasttime = now;
448 isc_time_t now; local
458 isc_result = isc_time_now(&now);
497 if (isc_time_compare(&llim, &now) >
579 isc_time_t now; local
[all...]
/bind-9.6-ESV-R11/bin/tests/
H A Dtimer_test.c102 isc_time_t expires, now; local
137 TIME_NOW(&now);
150 RUNTIME_CHECK(isc_time_add(&now, &interval, &expires) ==
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dcondition.c244 isc_time_t now; local
246 if (isc_time_now(&now) != ISC_R_SUCCESS) {
251 microseconds = isc_time_microdiff(t, &now);
/bind-9.6-ESV-R11/bin/dnssec/
H A Ddnssectool.h72 strtotime(const char *str, isc_int64_t now, isc_int64_t base);
/bind-9.6-ESV-R11/lib/isccc/
H A Dcc.c468 isc_uint32_t serial, isccc_time_t now,
503 isccc_cc_defineuint32(_ctrl, "_tim", now) == NULL ||
526 isc_uint32_t serial, isccc_time_t now,
529 return (createmessage(version, from, to, serial, now, expires,
612 isccc_cc_createresponse(isccc_sexpr_t *message, isccc_time_t now, argument
639 result = isccc_cc_createmessage(1, _to, _frm, serial, now, expires,
758 isccc_time_t *now; local
763 now = arg;
765 if (*now < value.as_uinteger)
767 if ((*now
467 createmessage(isc_uint32_t version, const char *from, const char *to, isc_uint32_t serial, isccc_time_t now, isccc_time_t expires, isccc_sexpr_t **alistp, isc_boolean_t want_expires) argument
525 isccc_cc_createmessage(isc_uint32_t version, const char *from, const char *to, isc_uint32_t serial, isccc_time_t now, isccc_time_t expires, isccc_sexpr_t **alistp) argument
780 isccc_cc_cleansymtab(isccc_symtab_t *symtab, isccc_time_t now) argument
800 isccc_cc_checkdup(isccc_symtab_t *symtab, isccc_sexpr_t *message, isccc_time_t now) argument
[all...]

Completed in 6116 milliseconds

123