Lines Matching defs:CHECK
43 #define CHECK(x) do { \
450 CHECK(dns_rdata_tostruct(&rdata, &nsec3, NULL));
521 CHECK(dns_rdata_tostruct(&rdata, nsec3, NULL));
592 CHECK(dns_nsec3_hashname(&fixed, nexthash, &next_length,
600 CHECK(dns_db_findnsec3node(db, hashname, ISC_TRUE, &newnode));
605 CHECK(dns_db_createiterator(db, DNS_DB_NSEC3ONLY, &dbit));
606 CHECK(dns_dbiterator_seek(dbit, hashname));
607 CHECK(dns_dbiterator_pause(dbit));
649 CHECK(dns_dbiterator_last(dbit));
651 CHECK(dns_dbiterator_current(dbit, &node, prev));
652 CHECK(dns_dbiterator_pause(dbit));
706 CHECK(delete(db, version, prev, nsec3param, diff));
714 CHECK(dns_rdata_fromstruct(&rdata, rdataset.rdclass,
717 CHECK(dns_difftuple_create(diff->mctx, DNS_DIFFOP_ADD, prev,
719 CHECK(do_one_tuple(&tuple, db, version, diff));
733 CHECK(dns_db_findnode(db, name, ISC_FALSE, &node));
734 CHECK(dns_nsec3_buildrdata(db, version, node, hash, flags, iterations,
742 CHECK(delete(db, version, hashname, nsec3param, diff));
746 CHECK(dns_difftuple_create(diff->mctx, DNS_DIFFOP_ADD,
748 CHECK(do_one_tuple(&tuple, db, version, diff));
763 CHECK(name_exists(db, version, &empty, &exists));
766 CHECK(dns_nsec3_hashname(&fixed, nexthash, &next_length,
775 CHECK(dns_db_findnsec3node(db, hashname, ISC_TRUE, &newnode));
794 CHECK(dns_dbiterator_seek(dbit, hashname));
800 CHECK(dns_dbiterator_last(dbit));
802 CHECK(dns_dbiterator_current(dbit, &node, prev));
803 CHECK(dns_dbiterator_pause(dbit));
825 CHECK(delete(db, version, prev, nsec3param, diff));
834 CHECK(dns_rdata_fromstruct(&rdata, rdataset.rdclass,
837 CHECK(dns_difftuple_create(diff->mctx, DNS_DIFFOP_ADD,
840 CHECK(do_one_tuple(&tuple, db, version, diff));
855 CHECK(dns_nsec3_buildrdata(db, version, NULL, hash, flags,
862 CHECK(delete(db, version, hashname, nsec3param, diff));
867 CHECK(dns_difftuple_create(diff->mctx, DNS_DIFFOP_ADD,
869 CHECK(do_one_tuple(&tuple, db, version, diff));
946 CHECK(dns_nsec3_addnsec3(db, version, name, &nsec3param,
1048 CHECK(dns_nsec3_hashname(&fixed, nexthash, &next_length,
1052 CHECK(dns_db_createiterator(db, DNS_DB_NSEC3ONLY, &dbit));
1060 CHECK(dns_dbiterator_current(dbit, &node, NULL));
1061 CHECK(dns_dbiterator_pause(dbit));
1094 CHECK(dns_dbiterator_last(dbit));
1096 CHECK(dns_dbiterator_current(dbit, &node, prev));
1097 CHECK(dns_dbiterator_pause(dbit));
1116 CHECK(delete(db, version, prev, nsec3param, diff));
1124 CHECK(dns_rdata_fromstruct(&rdata, rdataset.rdclass,
1127 CHECK(dns_difftuple_create(diff->mctx, DNS_DIFFOP_ADD, prev,
1129 CHECK(do_one_tuple(&tuple, db, version, diff));
1138 CHECK(delete(db, version, hashname, nsec3param, diff));
1150 CHECK(deleteit(db, version, &empty, &yesno));
1154 CHECK(dns_nsec3_hashname(&fixed, nexthash, &next_length,
1163 CHECK(dns_dbiterator_current(dbit, &node, NULL));
1164 CHECK(dns_dbiterator_pause(dbit));
1192 CHECK(dns_dbiterator_last(dbit));
1194 CHECK(dns_dbiterator_current(dbit, &node, prev));
1195 CHECK(dns_dbiterator_pause(dbit));
1214 CHECK(delete(db, version, prev, nsec3param, diff));
1223 CHECK(dns_rdata_fromstruct(&rdata, rdataset.rdclass,
1226 CHECK(dns_difftuple_create(diff->mctx, DNS_DIFFOP_ADD,
1229 CHECK(do_one_tuple(&tuple, db, version, diff));
1240 CHECK(delete(db, version, hashname, nsec3param, diff));
1307 CHECK(dns_nsec3_delnsec3(db, version, name, &nsec3param, diff));
1406 CHECK(dst_key_fromdns(dns_db_origin(db), rdataset.rdclass,