/openbsd/usr.bin/dig/lib/isc/ |
H A D | sha2.c | 81 REQUIRE(context != (isc_sha224_t *)0); in isc_sha224_update() 83 REQUIRE(data != (uint8_t*)0); in isc_sha224_update() 92 REQUIRE(context != (isc_sha224_t *)0); in isc_sha224_final() 123 REQUIRE(context != (isc_sha256_t *)0); in isc_sha256_update() 125 REQUIRE(data != (uint8_t*)0); in isc_sha256_update() 134 REQUIRE(context != (isc_sha256_t *)0); in isc_sha256_final() 164 REQUIRE(context != (isc_sha512_t *)0); in isc_sha512_update() 166 REQUIRE(data != (uint8_t*)0); in isc_sha512_update() 174 REQUIRE(context != (isc_sha512_t *)0); in isc_sha512_final() 205 REQUIRE(context != (isc_sha512_t *)0); in isc_sha384_update() [all …]
|
H A D | buffer.c | 35 REQUIRE(b != NULL); in isc__buffer_init() 57 REQUIRE(r != NULL); in isc__buffer_usedregion() 68 REQUIRE(r != NULL); in isc__buffer_availableregion() 90 REQUIRE(b->used >= n); in isc__buffer_subtract() 110 REQUIRE(r != NULL); in isc__buffer_remainingregion() 121 REQUIRE(r != NULL); in isc__buffer_activeregion() 288 REQUIRE(source != NULL); in isc__buffer_putstr() 307 REQUIRE(r != NULL); in isc_buffer_copyregion() 328 REQUIRE(dynbuffer != NULL); in isc_buffer_allocate() 329 REQUIRE(*dynbuffer == NULL); in isc_buffer_allocate() [all …]
|
H A D | event.c | 44 REQUIRE(size >= sizeof(struct isc_event)); in isc_event_allocate() 45 REQUIRE(action != NULL); in isc_event_allocate() 61 REQUIRE(eventp != NULL); in isc_event_free() 63 REQUIRE(event != NULL); in isc_event_free() 65 REQUIRE(!ISC_LINK_LINKED(event, ev_link)); in isc_event_free() 66 REQUIRE(!ISC_LINK_LINKED(event, ev_ratelink)); in isc_event_free()
|
/openbsd/usr.bin/dig/lib/dns/ |
H A D | dst_api.c | 91 REQUIRE(!dst_initialized); in dst_lib_init() 122 REQUIRE(dst_initialized); in dst_algorithm_supported() 137 REQUIRE(dst_initialized); in dst_context_create3() 165 REQUIRE(dctxp != NULL); in dst_context_destroy() 177 REQUIRE(data != NULL); in dst_context_adddata() 185 REQUIRE(sig != NULL); in dst_context_sign() 195 REQUIRE(sig != NULL); in dst_context_verify() 205 REQUIRE(target != NULL); in dst_key_todns() 265 REQUIRE(keyp != NULL); in dst_key_free() 282 REQUIRE(n != NULL); in dst_key_sigsize() [all …]
|
H A D | rdata.c | 274 REQUIRE(rdata != NULL); in dns_rdata_init() 288 REQUIRE(rdata != NULL); in dns_rdata_reset() 307 REQUIRE(src != NULL); in dns_rdata_clone() 331 REQUIRE(rdata != NULL); in dns_rdata_fromregion() 333 REQUIRE(r != NULL); in dns_rdata_fromregion() 348 REQUIRE(r != NULL); in dns_rdata_toregion() 369 REQUIRE(dctx != NULL); in dns_rdata_fromwire() 599 REQUIRE(soa != NULL); in dns_rdata_fromstruct_soa() 696 REQUIRE(ns != NULL); in dns_rdata_freestruct_ns() 703 REQUIRE(soa != NULL); in dns_rdata_freestruct_soa() [all …]
|
H A D | rdatalist.c | 43 REQUIRE(rdatalist != NULL); in dns_rdatalist_init() 65 REQUIRE(rdatalist != NULL); in dns_rdatalist_tordataset() 66 REQUIRE(! dns_rdataset_isassociated(rdataset)); in dns_rdatalist_tordataset() 83 REQUIRE(rdatalist != NULL && rdataset != NULL); in dns_rdatalist_fromrdataset() 111 REQUIRE(rdataset != NULL); in isc__rdatalist_next() 129 REQUIRE(rdataset != NULL); in isc__rdatalist_current() 140 REQUIRE(source != NULL); in isc__rdatalist_clone() 141 REQUIRE(target != NULL); in isc__rdatalist_clone() 157 REQUIRE(rdataset != NULL); in isc__rdatalist_count()
|
/openbsd/usr.bin/dig/lib/dns/rdata/in_1/ |
H A D | https_65.c | 26 REQUIRE(rdata->type == dns_rdatatype_https); in totext_in_https() 27 REQUIRE(rdata->rdclass == dns_rdataclass_in); in totext_in_https() 28 REQUIRE(rdata->length != 0); in totext_in_https() 35 REQUIRE(type == dns_rdatatype_https); in fromwire_in_https() 36 REQUIRE(rdclass == dns_rdataclass_in); in fromwire_in_https() 43 REQUIRE(rdata->type == dns_rdatatype_https); in towire_in_https() 44 REQUIRE(rdata->length != 0); in towire_in_https()
|
H A D | nsap_22.c | 31 REQUIRE(rdata->type == dns_rdatatype_nsap); in totext_in_nsap() 32 REQUIRE(rdata->rdclass == dns_rdataclass_in); in totext_in_nsap() 33 REQUIRE(rdata->length != 0); in totext_in_nsap() 51 REQUIRE(type == dns_rdatatype_nsap); in fromwire_in_nsap() 52 REQUIRE(rdclass == dns_rdataclass_in); in fromwire_in_nsap() 70 REQUIRE(rdata->type == dns_rdatatype_nsap); in towire_in_nsap() 71 REQUIRE(rdata->rdclass == dns_rdataclass_in); in towire_in_nsap() 72 REQUIRE(rdata->length != 0); in towire_in_nsap()
|
H A D | aaaa_28.c | 32 REQUIRE(rdata->type == dns_rdatatype_aaaa); in totext_in_aaaa() 33 REQUIRE(rdata->rdclass == dns_rdataclass_in); in totext_in_aaaa() 34 REQUIRE(rdata->length == 16); in totext_in_aaaa() 45 REQUIRE(type == dns_rdatatype_aaaa); in fromwire_in_aaaa() 46 REQUIRE(rdclass == dns_rdataclass_in); in fromwire_in_aaaa() 72 REQUIRE(rdata->type == dns_rdatatype_aaaa); in towire_in_aaaa() 73 REQUIRE(rdata->rdclass == dns_rdataclass_in); in towire_in_aaaa() 74 REQUIRE(rdata->length == 16); in towire_in_aaaa()
|
H A D | a_1.c | 31 REQUIRE(rdata->type == dns_rdatatype_a); in totext_in_a() 32 REQUIRE(rdata->rdclass == dns_rdataclass_in); in totext_in_a() 33 REQUIRE(rdata->length == 4); in totext_in_a() 46 REQUIRE(type == dns_rdatatype_a); in fromwire_in_a() 47 REQUIRE(rdclass == dns_rdataclass_in); in fromwire_in_a() 71 REQUIRE(rdata->type == dns_rdatatype_a); in towire_in_a() 72 REQUIRE(rdata->rdclass == dns_rdataclass_in); in towire_in_a() 73 REQUIRE(rdata->length == 4); in towire_in_a()
|
H A D | nsap-ptr_23.c | 33 REQUIRE(rdata->type == dns_rdatatype_nsap_ptr); in totext_in_nsap_ptr() 34 REQUIRE(rdata->rdclass == dns_rdataclass_in); in totext_in_nsap_ptr() 35 REQUIRE(rdata->length != 0); in totext_in_nsap_ptr() 52 REQUIRE(type == dns_rdatatype_nsap_ptr); in fromwire_in_nsap_ptr() 53 REQUIRE(rdclass == dns_rdataclass_in); in fromwire_in_nsap_ptr() 70 REQUIRE(rdata->type == dns_rdatatype_nsap_ptr); in towire_in_nsap_ptr() 71 REQUIRE(rdata->rdclass == dns_rdataclass_in); in towire_in_nsap_ptr() 72 REQUIRE(rdata->length != 0); in towire_in_nsap_ptr()
|
H A D | dhcid_49.c | 30 REQUIRE(rdata->type == dns_rdatatype_dhcid); in totext_in_dhcid() 31 REQUIRE(rdata->rdclass == dns_rdataclass_in); in totext_in_dhcid() 32 REQUIRE(rdata->length != 0); in totext_in_dhcid() 61 REQUIRE(type == dns_rdatatype_dhcid); in fromwire_in_dhcid() 62 REQUIRE(rdclass == dns_rdataclass_in); in fromwire_in_dhcid() 81 REQUIRE(rdata->type == dns_rdatatype_dhcid); in towire_in_dhcid() 82 REQUIRE(rdata->rdclass == dns_rdataclass_in); in towire_in_dhcid() 83 REQUIRE(rdata->length != 0); in towire_in_dhcid()
|
H A D | kx_36.c | 35 REQUIRE(rdata->type == dns_rdatatype_kx); in totext_in_kx() 36 REQUIRE(rdata->rdclass == dns_rdataclass_in); in totext_in_kx() 37 REQUIRE(rdata->length != 0); in totext_in_kx() 60 REQUIRE(type == dns_rdatatype_kx); in fromwire_in_kx() 61 REQUIRE(rdclass == dns_rdataclass_in); in fromwire_in_kx() 84 REQUIRE(rdata->type == dns_rdatatype_kx); in towire_in_kx() 85 REQUIRE(rdata->rdclass == dns_rdataclass_in); in towire_in_kx() 86 REQUIRE(rdata->length != 0); in towire_in_kx()
|
H A D | wks_11.c | 37 REQUIRE(rdata->type == dns_rdatatype_wks); in totext_in_wks() 38 REQUIRE(rdata->rdclass == dns_rdataclass_in); in totext_in_wks() 39 REQUIRE(rdata->length >= 5); in totext_in_wks() 71 REQUIRE(type == dns_rdatatype_wks); in fromwire_in_wks() 72 REQUIRE(rdclass == dns_rdataclass_in); in fromwire_in_wks() 102 REQUIRE(rdata->type == dns_rdatatype_wks); in towire_in_wks() 103 REQUIRE(rdata->rdclass == dns_rdataclass_in); in towire_in_wks() 104 REQUIRE(rdata->length != 0); in towire_in_wks()
|
H A D | px_26.c | 35 REQUIRE(rdata->type == dns_rdatatype_px); in totext_in_px() 36 REQUIRE(rdata->rdclass == dns_rdataclass_in); in totext_in_px() 37 REQUIRE(rdata->length != 0); in totext_in_px() 74 REQUIRE(type == dns_rdatatype_px); in fromwire_in_px() 75 REQUIRE(rdclass == dns_rdataclass_in); in fromwire_in_px() 110 REQUIRE(rdata->type == dns_rdatatype_px); in towire_in_px() 111 REQUIRE(rdata->rdclass == dns_rdataclass_in); in towire_in_px() 112 REQUIRE(rdata->length != 0); in towire_in_px()
|
/openbsd/usr.bin/dig/lib/dns/rdata/any_255/ |
H A D | tsig_250.c | 38 REQUIRE(rdata->length != 0); in totext_any_tsig() 91 REQUIRE(n <= sr.length); in totext_any_tsig() 146 REQUIRE(type == dns_rdatatype_tsig); in fromwire_any_tsig() 147 REQUIRE(rdclass == dns_rdataclass_any); in fromwire_any_tsig() 211 REQUIRE(rdata->length != 0); in towire_any_tsig() 227 REQUIRE(type == dns_rdatatype_tsig); in fromstruct_any_tsig() 228 REQUIRE(rdclass == dns_rdataclass_any); in fromstruct_any_tsig() 229 REQUIRE(source != NULL); in fromstruct_any_tsig() 231 REQUIRE(tsig->common.rdtype == type); in fromstruct_any_tsig() 301 REQUIRE(rdata->length != 0); in tostruct_any_tsig() [all …]
|
/openbsd/usr.bin/dig/lib/dns/rdata/hs_4/ |
H A D | a_1.c | 28 REQUIRE(rdata->type == dns_rdatatype_a); in totext_hs_a() 29 REQUIRE(rdata->rdclass == dns_rdataclass_hs); in totext_hs_a() 30 REQUIRE(rdata->length == 4); in totext_hs_a() 43 REQUIRE(type == dns_rdatatype_a); in fromwire_hs_a() 44 REQUIRE(rdclass == dns_rdataclass_hs); in fromwire_hs_a() 68 REQUIRE(rdata->type == dns_rdatatype_a); in towire_hs_a() 69 REQUIRE(rdata->rdclass == dns_rdataclass_hs); in towire_hs_a() 70 REQUIRE(rdata->length == 4); in towire_hs_a()
|
/openbsd/usr.bin/dig/lib/dns/rdata/generic/ |
H A D | ns_2.c | 31 REQUIRE(rdata->type == dns_rdatatype_ns); in totext_ns() 32 REQUIRE(rdata->length != 0); in totext_ns() 49 REQUIRE(type == dns_rdatatype_ns); in fromwire_ns() 66 REQUIRE(rdata->type == dns_rdatatype_ns); in towire_ns() 67 REQUIRE(rdata->length != 0); in towire_ns() 84 REQUIRE(rdata->type == dns_rdatatype_ns); in tostruct_ns() 85 REQUIRE(target != NULL); in tostruct_ns() 86 REQUIRE(rdata->length != 0); in tostruct_ns() 104 REQUIRE(source != NULL); in freestruct_ns()
|
H A D | cname_5.c | 31 REQUIRE(rdata->type == dns_rdatatype_cname); in totext_cname() 32 REQUIRE(rdata->length != 0); in totext_cname() 49 REQUIRE(type == dns_rdatatype_cname); in fromwire_cname() 66 REQUIRE(rdata->type == dns_rdatatype_cname); in towire_cname() 67 REQUIRE(rdata->length != 0); in towire_cname() 84 REQUIRE(rdata->type == dns_rdatatype_cname); in tostruct_cname() 85 REQUIRE(target != NULL); in tostruct_cname() 86 REQUIRE(rdata->length != 0); in tostruct_cname() 104 REQUIRE(source != NULL); in freestruct_cname()
|
H A D | rkey_57.c | 23 REQUIRE(rdata != NULL); in totext_rkey() 24 REQUIRE(rdata->type == dns_rdatatype_rkey); in totext_rkey() 32 REQUIRE(type == dns_rdatatype_rkey); in fromwire_rkey() 42 REQUIRE(rdata != NULL); in towire_rkey() 43 REQUIRE(rdata->type == dns_rdatatype_rkey); in towire_rkey() 44 REQUIRE(rdata->length != 0); in towire_rkey()
|
H A D | dnskey_48.c | 33 REQUIRE(rdata != NULL); in totext_dnskey() 34 REQUIRE(rdata->type == dns_rdatatype_dnskey); in totext_dnskey() 42 REQUIRE(type == dns_rdatatype_dnskey); in fromwire_dnskey() 52 REQUIRE(rdata != NULL); in towire_dnskey() 53 REQUIRE(rdata->type == dns_rdatatype_dnskey); in towire_dnskey() 54 REQUIRE(rdata->length != 0); in towire_dnskey()
|
H A D | soa_6.c | 39 REQUIRE(rdata->type == dns_rdatatype_soa); in totext_soa() 40 REQUIRE(rdata->length != 0); in totext_soa() 106 REQUIRE(type == dns_rdatatype_soa); in fromwire_soa() 144 REQUIRE(rdata->length != 0); in towire_soa() 175 REQUIRE(type == dns_rdatatype_soa); in fromstruct_soa() 176 REQUIRE(source != NULL); in fromstruct_soa() 177 REQUIRE(soa->common.rdtype == type); in fromstruct_soa() 178 REQUIRE(soa->common.rdclass == rdclass); in fromstruct_soa() 202 REQUIRE(target != NULL); in tostruct_soa() 203 REQUIRE(rdata->length != 0); in tostruct_soa() [all …]
|
H A D | caa_257.c | 47 REQUIRE(rdata->type == dns_rdatatype_caa); in totext_caa() 48 REQUIRE(rdata->length >= 3U); in totext_caa() 49 REQUIRE(rdata->data != NULL); in totext_caa() 78 REQUIRE(type == dns_rdatatype_caa); in fromwire_caa() 121 REQUIRE(rdata->type == dns_rdatatype_caa); in towire_caa() 122 REQUIRE(rdata->length >= 3U); in towire_caa() 123 REQUIRE(rdata->data != NULL); in towire_caa()
|
/openbsd/usr.bin/dig/lib/isccfg/ |
H A D | parser.c | 167 REQUIRE(pctx != NULL); in cfg_parse_obj() 168 REQUIRE(type != NULL); in cfg_parse_obj() 182 REQUIRE(pctx != NULL); in cfg_parse_special() 360 REQUIRE(pctx != NULL); in cfg_parse_file() 362 REQUIRE(type != NULL); in cfg_parse_file() 425 REQUIRE(pctx != NULL); in cfg_parse_qstring() 447 REQUIRE(pctx != NULL); in cfg_parse_astring() 467 REQUIRE(pctx != NULL); in cfg_parse_sstring() 523 REQUIRE(pctx != NULL); in cfg_create_list() 524 REQUIRE(type != NULL); in cfg_create_list() [all …]
|
/openbsd/usr.bin/dig/lib/dns/rdata/ch_3/ |
H A D | a_1.c | 34 REQUIRE(rdata->type == dns_rdatatype_a); in totext_ch_a() 35 REQUIRE(rdata->rdclass == dns_rdataclass_ch); /* 3 */ in totext_ch_a() 36 REQUIRE(rdata->length != 0); in totext_ch_a() 60 REQUIRE(type == dns_rdatatype_a); in fromwire_ch_a() 61 REQUIRE(rdclass == dns_rdataclass_ch); in fromwire_ch_a() 93 REQUIRE(rdata->type == dns_rdatatype_a); in towire_ch_a() 94 REQUIRE(rdata->rdclass == dns_rdataclass_ch); in towire_ch_a() 95 REQUIRE(rdata->length != 0); in towire_ch_a()
|