/bind-9.6-ESV-R11/unit/atf-src/atf-report/ |
H A D | misc_helpers.cpp | 38 ATF_TEST_CASE(diff); variable 39 ATF_TEST_CASE_HEAD(diff) 43 ATF_TEST_CASE_BODY(diff) 48 std::cout << " This test is meant to simulate a diff.\n"; 67 ATF_ADD_TEST_CASE(tcs, diff);
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | diff.c | 33 #include <dns/diff.h> 122 dns_diff_init(isc_mem_t *mctx, dns_diff_t *diff) { argument 123 diff->mctx = mctx; 124 diff->resign = 0; 125 ISC_LIST_INIT(diff->tuples); 126 diff->magic = DNS_DIFF_MAGIC; 130 dns_diff_clear(dns_diff_t *diff) { argument 132 REQUIRE(DNS_DIFF_VALID(diff)); 133 while ((t = ISC_LIST_HEAD(diff->tuples)) != NULL) { 134 ISC_LIST_UNLINK(diff 141 dns_diff_append(dns_diff_t *diff, dns_difftuple_t **tuplep) argument 150 dns_diff_appendminimal(dns_diff_t *diff, dns_difftuple_t **tuplep) argument 232 diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver, isc_boolean_t warn) argument 415 dns_diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver) argument 420 dns_diff_applysilently(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver) argument 427 dns_diff_load(dns_diff_t *diff, dns_addrdatasetfunc_t addfunc, void *add_private) argument 498 dns_diff_sort(dns_diff_t *diff, dns_diff_compare_func *compare) argument 556 dns_diff_print(dns_diff_t *diff, FILE *file) argument [all...] |
H A D | nsec3.c | 33 #include <dns/diff.h> 322 * update in 'diff'. 326 * ownership has been transferred to the diff. 330 dns_diff_t *diff) 336 * Create a singleton diff. 338 dns_diff_init(diff->mctx, &temp_diff); 354 dns_diff_appendminimal(diff, tuple); 415 * change in "diff". 419 const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff) 455 result = dns_difftuple_create(diff 329 do_one_tuple(dns_difftuple_t **tuple, dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff) argument 418 delete(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff) argument 531 dns_nsec3_addnsec3(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, const dns_rdata_nsec3param_t *nsec3param, dns_ttl_t nsecttl, isc_boolean_t unsecure, dns_diff_t *diff) argument 895 dns_nsec3_addnsec3s(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, dns_ttl_t nsecttl, isc_boolean_t unsecure, dns_diff_t *diff) argument 998 dns_nsec3_delnsec3(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, const dns_rdata_nsec3param_t *nsec3param, dns_diff_t *diff) argument 1257 dns_nsec3_delnsec3s(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, dns_diff_t *diff) argument [all...] |
H A D | xfrin.c | 33 #include <dns/diff.h> 138 dns_diff_t diff; /*%< Pending database changes */ member in struct:dns_xfrin_ctx 290 CHECK(dns_difftuple_create(xfr->diff.mctx, op, 292 dns_diff_append(&xfr->diff, &tuple); 307 CHECK(dns_diff_load(&xfr->diff, 310 dns_diff_clear(&xfr->diff); 378 CHECK(dns_difftuple_create(xfr->diff.mctx, op, 380 dns_diff_append(&xfr->diff, &tuple); 400 CHECK(dns_diff_apply(&xfr->diff, xfr->db, xfr->ver)); 402 result = dns_journal_writediff(xfr->ixfr.journal, &xfr->diff); [all...] |
H A D | journal.c | 35 #include <dns/diff.h> 988 dns_journal_writediff(dns_journal_t *j, dns_diff_t *diff) { argument 996 REQUIRE(DNS_DIFF_VALID(diff)); 1000 (void)dns_diff_print(diff, NULL); 1007 for (t = ISC_LIST_HEAD(diff->tuples); t != NULL; 1031 for (t = ISC_LIST_HEAD(diff->tuples); t != NULL; 1181 dns_journal_write_transaction(dns_journal_t *j, dns_diff_t *diff) { argument 1183 CHECK(dns_diff_sort(diff, ixfr_order)); 1185 CHECK(dns_journal_writediff(j, diff)); 1235 dns_diff_t diff; local 1405 dns_diff_t diff; local 1736 get_name_diff(dns_db_t *db, dns_dbversion_t *ver, isc_stdtime_t now, dns_dbiterator_t *dbit, dns_name_t *name, dns_diffop_t op, dns_diff_t *diff) argument 1816 dns_diff_subtract(dns_diff_t diff[2], dns_diff_t *r) argument 1881 dns_diff_t diff[2]; local [all...] |
H A D | zone.c | 318 dns_diff_t *diff; member in struct:__anon147 325 (_z)->diff = (d); \ 352 #define DNS_ZONEFLG_DIFFONRELOAD 0x00000800U /*%< generate a journal diff on 3652 dns_diff_t *diff) 3658 * Create a singleton diff. 3660 dns_diff_init(diff->mctx, &temp_diff); 3676 dns_diff_appendminimal(diff, tuple); 3686 dns_diff_t *diff, isc_mem_t *mctx) 3705 CHECK(do_one_tuple(&deltuple, db, ver, diff)); 3706 CHECK(do_one_tuple(&addtuple, db, ver, diff)); 3651 do_one_tuple(dns_difftuple_t **tuple, dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff) argument 3685 increment_soa_serial(dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff, isc_mem_t *mctx) argument 3718 update_one_rr(dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff, dns_diffop_t op, dns_name_t *name, dns_ttl_t ttl, dns_rdata_t *rdata) argument 3964 add_sigs(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, dns_rdatatype_t type, dns_diff_t *diff, dst_key_t **keys, unsigned int nkeys, isc_mem_t *mctx, isc_stdtime_t inception, isc_stdtime_t expire, isc_boolean_t check_ksk) argument 4323 add_nsec(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, dns_dbnode_t *node, dns_ttl_t ttl, isc_boolean_t bottom, dns_diff_t *diff) argument 4361 sign_a_node(dns_db_t *db, dns_name_t *name, dns_dbnode_t *node, dns_dbversion_t *version, isc_boolean_t build_nsec3, isc_boolean_t build_nsec, dst_key_t *key, isc_stdtime_t inception, isc_stdtime_t expire, unsigned int minimum, isc_boolean_t is_ksk, isc_boolean_t *delegation, dns_diff_t *diff, isc_int32_t *signatures, isc_mem_t *mctx) argument 4473 updatesecure(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, dns_ttl_t minimum, isc_boolean_t *secureupdated, dns_diff_t *diff) argument 4526 updatesignwithkey(dns_signing_t *signing, dns_dbversion_t *version, dns_name_t *name, dns_rdatatype_t privatetype, dns_diff_t *diff) argument 4594 fixup_nsec3param(dns_db_t *db, dns_dbversion_t *ver, dns_nsec3chain_t *chain, isc_boolean_t active, dns_diff_t *diff) argument 4678 delete_nsec(dns_db_t *db, dns_dbversion_t *ver, dns_dbnode_t *node, dns_name_t *name, dns_diff_t *diff) argument 4709 deletematchingnsec3(dns_db_t *db, dns_dbversion_t *ver, dns_dbnode_t *node, dns_name_t *name, const dns_rdata_nsec3param_t *param, dns_diff_t *diff) argument 5576 del_sig(dns_db_t *db, dns_dbversion_t *version, dns_name_t *name, dns_dbnode_t *node, unsigned int nkeys, dns_secalg_t algorithm, isc_uint16_t keyid, dns_diff_t *diff) argument [all...] |
/bind-9.6-ESV-R11/bin/dig/ |
H A D | host.c | 181 int diff; local 187 diff = (int) isc_time_microdiff(&now, &query->time_sent); 189 bytes, fromtext, diff/1000);
|
H A D | dig.c | 239 isc_uint64_t diff; local 251 diff = isc_time_microdiff(&now, &query->time_sent); 252 printf(";; Query time: %ld msec\n", (long int)diff/1000); 277 diff = isc_time_microdiff(&now, &query->time_sent); 283 (int)diff/1000); 304 isc_uint64_t diff; local 320 diff = isc_time_microdiff(&now, &query->time_sent); 323 snprintf(store, 19, " in %d ms.", (int)diff/1000);
|
/bind-9.6-ESV-R11/bin/dnssec/ |
H A D | dnssec-signzone.c | 65 #include <dns/diff.h> 821 dns_diff_t diff; local 847 dns_diff_init(mctx, &diff); 863 dns_diff_append(&diff, &tuple); 873 dns_diff_append(&diff, &tuple); 875 result = dns_diff_apply(&diff, db, ver); 877 dns_diff_clear(&diff); 2796 dns_diff_t diff; local 2831 dns_diff_init(mctx, &diff); 2886 dns_diff_append(&diff, [all...] |
/bind-9.6-ESV-R11/bin/named/ |
H A D | update.c | 32 #include <dns/diff.h> 341 * update in 'diff'. 345 * ownership has been transferred to the diff. 349 dns_diff_t *diff) 355 * Create a singleton diff. 357 dns_diff_init(diff->mctx, &temp_diff); 373 dns_diff_appendminimal(diff, tuple); 383 * update in 'diff'. 390 dns_diff_t *diff) 396 CHECK(do_one_tuple(&t, db, ver, diff)); 348 do_one_tuple(dns_difftuple_t **tuple, dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff) argument 389 do_diff(dns_diff_t *updates, dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff) argument 406 update_one_rr(dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff, dns_diffop_t op, dns_name_t *name, dns_ttl_t ttl, dns_rdata_t *rdata) argument 864 temp_append(dns_diff_t *diff, dns_name_t *name, dns_rdata_t *rdata) argument 1083 dns_diff_t *diff; member in struct:__anon16 1247 delete_if(rr_predicate *predicate, dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, dns_rdatatype_t type, dns_rdatatype_t covers, dns_rdata_t *update_rr, dns_diff_t *diff) argument 1275 dns_diff_t *diff; member in struct:__anon17 1381 increment_soa_serial(dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff, isc_mem_t *mctx) argument 1751 add_nsec(ns_client_t *client, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, dns_ttl_t nsecttl, dns_diff_t *diff) argument 1820 add_placeholder_nsec(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, dns_diff_t *diff) argument 1898 add_sigs(ns_client_t *client, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, dns_rdatatype_t type, dns_diff_t *diff, dst_key_t **keys, unsigned int nkeys, isc_stdtime_t inception, isc_stdtime_t expire, isc_boolean_t check_ksk) argument 1968 del_keysigs(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, dns_diff_t *diff, dst_key_t **keys, unsigned int nkeys) argument 2040 add_exposed_sigs(ns_client_t *client, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name, isc_boolean_t cut, dns_diff_t *diff, dst_key_t **keys, unsigned int nkeys, isc_stdtime_t inception, isc_stdtime_t expire, isc_boolean_t check_ksk) argument 2118 update_signatures(ns_client_t *client, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *oldver, dns_dbversion_t *newver, dns_diff_t *diff, isc_uint32_t sigvalidityinterval, isc_boolean_t *deleted_zsk) argument 2774 remove_orphaned_ds(dns_db_t *db, dns_dbversion_t *newver, dns_diff_t *diff) argument 2814 check_mx(ns_client_t *client, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *newver, dns_diff_t *diff) argument 3009 check_dnssec(ns_client_t *client, dns_zone_t *zone, dns_db_t *db, dns_dbversion_t *ver, dns_diff_t *diff) argument 3073 add_nsec3param_records(ns_client_t *client, dns_zone_t *zone, dns_db_t *db, dns_name_t *name, dns_dbversion_t *ver, dns_diff_t *diff) argument 3251 add_signing_records(dns_db_t *db, dns_name_t *name, dns_dbversion_t *ver, dns_rdatatype_t privatetype, dns_diff_t *diff) argument 3389 delete_chains(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *origin, dns_diff_t *diff) argument 3471 dns_diff_t diff; /* Pending updates. */ local [all...] |
/bind-9.6-ESV-R11/contrib/queryperf/ |
H A D | queryperf.c | 1042 double diff; local 1047 diff = (double)diff_sec + ((double)diff_usec / 1000000.0); 1049 return (diff); 1988 double mean, diff; local 1992 diff = rtt_average - (mean / 1000000.0); 1993 sum += (diff * diff) * rarray[i];
|