| /netbsd-src/crypto/external/bsd/heimdal/dist/kadmin/ |
| H A D | rpc.c | 53 #define INSIST(x) CHECK(!(x)) macro 156 INSIST(*name != NULL); in parse_name() 209 INSIST((size_t)slen == tlen); in read_data() 212 INSIST((size_t)slen == tlen); in read_data() 303 INSIST(sp != NULL); in ret_gcred() 358 INSIST(*str != NULL); in ret_string_xdr() 503 INSIST(*tp != NULL); in ret_principal_ent() 513 INSIST((size_t)ent->n_tl_data == count); in ret_principal_ent() 515 INSIST(ent->n_tl_data == 0); in ret_principal_ent() 519 INSIST(num == (uint32_t)ent->n_key_data); in ret_principal_ent() [all …]
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/unix/ |
| H A D | time.c | 78 INSIST(i->nanoseconds < NS_PER_S); in isc_interval_iszero() 116 INSIST(t->nanoseconds < NS_PER_S); in isc_time_isepoch() 174 INSIST(i->nanoseconds < NS_PER_S); in isc_time_nowplusinterval() 211 INSIST(t1->nanoseconds < NS_PER_S && t2->nanoseconds < NS_PER_S); in isc_time_compare() 284 INSIST(t1->nanoseconds < NS_PER_S && t2->nanoseconds < NS_PER_S); in isc_time_microdiff() 306 INSIST(t->nanoseconds < NS_PER_S); in isc_time_seconds() 316 INSIST(t->nanoseconds < NS_PER_S); in isc_time_secondsastimet() 337 INSIST(sizeof(unsigned int) == sizeof(uint32_t)); in isc_time_secondsastimet() 338 INSIST(sizeof(time_t) >= sizeof(uint32_t)); in isc_time_secondsastimet() 365 INSIST(t->nanoseconds < NS_PER_S); in isc_time_formattimestamp() [all …]
|
| /netbsd-src/external/mpl/bind/dist/lib/isc/ |
| H A D | time.c | 76 INSIST(t->nanoseconds < NS_PER_SEC); in isc_interval_iszero() 91 INSIST(ts.tv_sec >= 0 && ts.tv_nsec >= 0 && 97 INSIST(sizeof(ts.tv_sec) <= sizeof(t.seconds) || 136 INSIST(i->nanoseconds < NS_PER_SEC); in time_now() 172 INSIST(t1->nanoseconds < NS_PER_SEC && t2->nanoseconds < NS_PER_SEC); in isc_time_nowplusinterval() 243 INSIST(t1->nanoseconds < NS_PER_SEC && t2->nanoseconds < NS_PER_SEC); in isc_time_add() 265 INSIST(t->nanoseconds < NS_PER_SEC); in isc_time_subtract() 275 INSIST(t->nanoseconds < NS_PER_SEC); in isc_time_subtract() 296 INSIST(sizeof(unsigned int) == sizeof(uint32_t)); in isc_time_microdiff() 297 INSIST(sizeo in isc_time_microdiff() [all...] |
| H A D | radix.c | 92 INSIST(prefix != NULL); in _ref_prefix() 93 INSIST((prefix->family == AF_INET && prefix->bitlen <= 32) || in _ref_prefix() 174 INSIST(Xrn->data[RADIX_V4] == NULL && in _clear_radix() 307 INSIST(prefix != NULL); in isc_radix_insert() 381 INSIST(node != NULL); in isc_radix_insert() 384 INSIST(node->prefix != NULL); in isc_radix_insert() 402 INSIST(j < 8); in isc_radix_insert() 461 INSIST(node->data[RADIX_V4] == NULL && in isc_radix_insert() 537 INSIST(glue == NULL); in isc_radix_insert() 542 INSIST(nod in isc_radix_insert() [all...] |
| H A D | managers.c | 26 INSIST(*mctxp != NULL); in isc_managers_create() 30 INSIST(*loopmgrp != NULL); in isc_managers_create() 34 INSIST(*netmgrp != NULL); in isc_managers_create()
|
| /netbsd-src/external/mpl/dhcp/dist/server/ |
| H A D | leasechain.c | 95 INSIST(lc != NULL); in lc_not_empty() 113 INSIST(lc != NULL); in lc_get_first_lease() 114 INSIST(lc->total >= lc->nelem); in lc_get_first_lease() 136 INSIST(lc != NULL); in lc_get_next() 137 INSIST(lp != NULL); in lc_get_next() 351 INSIST (lc != NULL); in lc_link_lcp() 352 INSIST (lp != NULL); in lc_link_lcp() 403 INSIST (lc != NULL); in lc_add_lease_pos() 404 INSIST (lp != NULL); in lc_add_lease_pos() 507 INSIST (lc != NULL); in lc_add_sorted_lease() [all …]
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/rdata/in_1/ |
| H A D | apl_42.c | 142 INSIST(sr.length >= 4); in totext_in_apl() 150 INSIST(len <= sr.length); in totext_in_apl() 153 INSIST(n < (int)sizeof(txt)); in totext_in_apl() 157 INSIST(len <= 4); in totext_in_apl() 158 INSIST(prefix <= 32); in totext_in_apl() 165 INSIST(len <= 16); in totext_in_apl() 166 INSIST(prefix <= 128); in totext_in_apl() 176 INSIST(n < (int)sizeof(txt)); in totext_in_apl() 341 INSIST(apl->apl_len > 3U); in dns_rdata_apl_first() 343 INSIST( in dns_rdata_apl_first() [all...] |
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/rdata/in_1/ |
| H A D | apl_42.c | 142 INSIST(sr.length >= 4); in totext_in_apl() 150 INSIST(len <= sr.length); in totext_in_apl() 153 INSIST(n < (int)sizeof(txt)); in totext_in_apl() 157 INSIST(len <= 4); in totext_in_apl() 158 INSIST(prefix <= 32); in totext_in_apl() 165 INSIST(len <= 16); in totext_in_apl() 166 INSIST(prefix <= 128); in totext_in_apl() 176 INSIST(n < (int)sizeof(txt)); in totext_in_apl() 345 INSIST(apl->apl_len > 3U); in dns_rdata_apl_first() 347 INSIST(4 + length <= apl->apl_len); in dns_rdata_apl_first() [all …]
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/ |
| H A D | ncache.c | 76 INSIST(count <= 65535); in copy_rdataset() 83 INSIST(r.length <= 65535); in copy_rdataset() 275 INSIST(trust != 0xffff); in addoptout() 330 INSIST(remaining.length >= name.length); in dns_ncache_towire() 334 INSIST(remaining.length >= 5); in dns_ncache_towire() 345 INSIST(remaining.length >= 2); in dns_ncache_towire() 352 INSIST(remaining.length >= rdata.length); in dns_ncache_towire() 401 INSIST((target->used >= rdlen.used + 2) && in dns_ncache_towire() 409 INSIST(isc_buffer_remaininglength(&source) == 0); in dns_ncache_towire() 553 INSIST(remainin in dns_ncache_getrdataset() [all...] |
| H A D | adb.c | 588 INSIST(rdata.length == 4); in grow_entries() 594 INSIST(rdata.length == 16); in grow_entries() 604 INSIST(!ENTRY_DEAD(entry)); in grow_entries() 626 INSIST(result == ISC_R_SUCCESS); in grow_entries() 791 INSIST(DNS_ADBNAMEHOOK_VALID(namehook)); in grow_names() 792 INSIST(DNS_ADBENTRY_VALID(namehook->entry)); in grow_names() 854 INSIST(rdataset->type == dns_rdatatype_dname); in grow_names() 856 INSIST(namereln == dns_namereln_subdomain); in grow_names() 943 INSIST(!FIND_EVENTSENT(find)); in import_rdataset() 1090 INSIST(!ISC_LINK_LINKE in kill_name() [all...] |
| H A D | soa.c | 44 INSIST(rdata->type == dns_rdatatype_soa); in soa_get() 55 INSIST(rdata->length >= 20); in soa_get() 56 INSIST(offset >= 0 && offset <= 16); in soa_get() 114 INSIST(rdata->type == dns_rdatatype_soa); in soa_set() 115 INSIST(rdata->length >= 20); in soa_set() 116 INSIST(offset >= 0 && offset <= 16); in soa_set()
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
| H A D | ncache.c | 68 INSIST(count <= 65535); in copy_rdataset() 75 INSIST(r.length <= 65535); in copy_rdataset() 267 INSIST(trust != 0xffff); in addoptout() 323 INSIST(remaining.length >= name.length); in dns_ncache_towire() 327 INSIST(remaining.length >= 5); in dns_ncache_towire() 338 INSIST(remaining.length >= 2); in dns_ncache_towire() 345 INSIST(remaining.length >= rdata.length); in dns_ncache_towire() 394 INSIST((target->used >= rdlen.used + 2) && in dns_ncache_towire() 402 INSIST(isc_buffer_remaininglength(&source) == 0); in dns_ncache_towire() 415 INSIST(savedbuffer.used < 65536); in dns_ncache_towire() [all …]
|
| H A D | adb.c | 590 INSIST(DNS_ADB_VALID(adb)); in grow_entries() 656 INSIST(adb->entry_refcnt[i] > 0); in grow_entries() 667 INSIST(adb->entry_refcnt[i] > 0); in grow_entries() 672 INSIST(adb->entry_refcnt[i] == 0); in grow_entries() 755 INSIST(DNS_ADB_VALID(adb)); in grow_names() 821 INSIST(adb->name_refcnt[i] > 0); in grow_names() 832 INSIST(adb->name_refcnt[i] > 0); in grow_names() 837 INSIST(adb->name_refcnt[i] == 0); in grow_names() 926 INSIST(DNS_ADBNAME_VALID(adbname)); in import_rdataset() 928 INSIST(DNS_ADB_VALID(adb)); in import_rdataset() [all …]
|
| H A D | soa.c | 44 INSIST(rdata->type == dns_rdatatype_soa); in soa_get() 55 INSIST(rdata->length >= 20); in soa_get() 56 INSIST(offset >= 0 && offset <= 16); in soa_get() 114 INSIST(rdata->type == dns_rdatatype_soa); in soa_set() 115 INSIST(rdata->length >= 20); in soa_set() 116 INSIST(offset >= 0 && offset <= 16); in soa_set()
|
| H A D | pkcs11rsa_link.c | 148 INSIST(keyTemplate[6].type == attr->type); in pkcs11rsa_createctx_sign() 156 INSIST(keyTemplate[7].type == attr->type); in pkcs11rsa_createctx_sign() 164 INSIST(keyTemplate[8].type == attr->type); in pkcs11rsa_createctx_sign() 172 INSIST(keyTemplate[9].type == attr->type); in pkcs11rsa_createctx_sign() 180 INSIST(keyTemplate[10].type == attr->type); in pkcs11rsa_createctx_sign() 188 INSIST(keyTemplate[11].type == attr->type); in pkcs11rsa_createctx_sign() 196 INSIST(keyTemplate[12].type == attr->type); in pkcs11rsa_createctx_sign() 204 INSIST(keyTemplate[13].type == attr->type); in pkcs11rsa_createctx_sign() 350 INSIST(keyTemplate[5].type == attr->type); in pkcs11rsa_createctx_verify() 358 INSIST(keyTemplate[6].type == attr->type); in pkcs11rsa_createctx_verify() [all …]
|
| H A D | rdataslab.c | 179 INSIST(result == ISC_R_SUCCESS); in dns_rdataslab_fromrdataset() 182 INSIST(x[i].rdata.data != &removed); in dns_rdataslab_fromrdataset() 311 INSIST(length <= 0xffff); in dns_rdataslab_fromrdataset() 525 INSIST(ocount > 0 && ncount > 0); in dns_rdataslab_merge() 639 INSIST(ocount != 0); in dns_rdataslab_merge() 642 INSIST(oorder < ocount); in dns_rdataslab_merge() 657 INSIST(norder < oncount); in dns_rdataslab_merge() 695 INSIST(oorder < ocount); in dns_rdataslab_merge() 724 INSIST(norder < oncount); in dns_rdataslab_merge() 741 INSIST(tcurrent == tstart + tlength); in dns_rdataslab_merge() [all …]
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/ |
| H A D | refcount.h | 78 INSIST(__v < UINT32_MAX); in isc_refcount_increment0() 87 INSIST(__v < UINT32_MAX); \ 102 INSIST(__v > 0 && __v < UINT32_MAX); in isc_refcount_increment() 111 INSIST(__v > 0 && __v < UINT32_MAX); \ 126 INSIST(__v > 0); in isc_refcount_decrement() 135 INSIST(__v > 0); \
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/ |
| H A D | radix.c | 92 INSIST(prefix != NULL); in _ref_prefix() 93 INSIST((prefix->family == AF_INET && prefix->bitlen <= 32) || in _ref_prefix() 180 INSIST(Xrn->data[RADIX_V4] == NULL && in _clear_radix() 313 INSIST(prefix != NULL); in isc_radix_insert() 387 INSIST(node != NULL); in isc_radix_insert() 390 INSIST(node->prefix != NULL); in isc_radix_insert() 408 INSIST(j < 8); in isc_radix_insert() 467 INSIST(node->data[RADIX_V4] == NULL && in isc_radix_insert() 543 INSIST(glue == NULL); in isc_radix_insert() 548 INSIST(node->r == NULL); in isc_radix_insert() [all …]
|
| H A D | managers.c | 32 INSIST(netmgr != NULL); in isc_managers_create() 36 INSIST(netmgr != NULL); in isc_managers_create() 68 INSIST(*taskmgrp != NULL); in isc_managers_destroy() 78 INSIST(*netmgrp != NULL); in isc_managers_destroy()
|
| /netbsd-src/external/mpl/bind/dist/tests/ns/ |
| H A D | query_test.c | 702 INSIST(HANDLE_RECTYPE_HOOK(qctx->client) == NULL); in hook_async_common() 709 INSIST(*resultp == DNS_R_NXDOMAIN); in hook_async_common() 889 INSIST(result == ISC_R_SUCCESS); in run_hookasync_test() 900 INSIST(result == ISC_R_SUCCESS); in run_hookasync_test() 927 INSIST(result == ISC_R_UNSET); in run_hookasync_test() 933 INSIST(asdata.async == in run_hookasync_test() 943 INSIST(asdata.canceled == test->do_cancel); in run_hookasync_test() 951 INSIST(qctx->client->query.hookactx == NULL); in run_hookasync_test() 952 INSIST(qctx->client->state == NS_CLIENTSTATE_WORKING); in run_hookasync_test() 953 INSIST(ns_stats_get_counte in run_hookasync_test() [all...] |
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/isccfg/ |
| H A D | kaspconf.c | 68 INSIST(result == ISC_R_SUCCESS); in get_duration() 274 INSIST(kaspname != NULL); in cfg_kasp_fromconfig() 291 INSIST(kasp == NULL); in cfg_kasp_fromconfig() 296 INSIST(kasp != NULL); in cfg_kasp_fromconfig() 299 INSIST(DNS_KASP_VALID(kasp)); in cfg_kasp_fromconfig() 340 INSIST(!(dns_kasp_keylist_empty(kasp))); in cfg_kasp_fromconfig() 346 INSIST(keyalg < ARRAY_SIZE(role)); in cfg_kasp_fromconfig() 373 INSIST(strcmp(kaspname, "insecure") == 0); in cfg_kasp_fromconfig() 374 INSIST(dns_kasp_keylist_empty(kasp)); in cfg_kasp_fromconfig() 381 INSIST(!(dns_kasp_keylist_empty(kasp))); in cfg_kasp_fromconfig() [all …]
|
| /netbsd-src/external/bsd/libbind/dist/include/isc/ |
| H A D | list.h | 45 INSIST(!LINKED(elt, link));\ 57 INSIST(!LINKED(elt, link));\ 69 INSIST(LINKED(elt, link));\ 73 INSIST((list).tail == (elt)); \ 79 INSIST((list).head == (elt)); \ 92 INSIST(!LINKED(elt, link));\ 105 INSIST(!LINKED(elt, link));\
|
| /netbsd-src/lib/libc/include/isc/ |
| H A D | list.h | 45 INSIST(!LINKED(elt, link));\ 57 INSIST(!LINKED(elt, link));\ 69 INSIST(LINKED(elt, link));\ 73 INSIST((list).tail == (elt)); \ 79 INSIST((list).head == (elt)); \ 92 INSIST(!LINKED(elt, link));\ 105 INSIST(!LINKED(elt, link));\
|
| /netbsd-src/external/mpl/bind/dist/lib/isc/netmgr/ |
| H A D | tlsstream.c | 160 INSIST(sock->connect_cb != NULL); in tls_senddone() 225 INSIST(VALID_NMHANDLE(tlssock->statichandle)); in tls_failed_read_cb() 275 INSIST(sock->statichandle == NULL); in tls_send_outgoing() 292 INSIST(sock->statichandle != NULL); in tls_send_outgoing() 368 INSIST(VALID_NMHANDLE(tlshandle)); in tls_try_handshake() 400 INSIST(isc_buffer_remaininglength(&send_req->data) == 0); in tls_do_bio() 417 INSIST(VALID_NMHANDLE(sock->outerhandle)); in tls_do_bio() 466 INSIST(SSL_is_init_finished(sock->tlsstream.tls) == 1); in tls_do_bio() 556 INSIST(received_data == NULL && send_data == NULL); in tls_do_bio() 564 INSIST(SSL_is_init_finishe in tls_do_bio() [all...] |
| /netbsd-src/external/bsd/libbind/dist/isc/ |
| H A D | memcluster.c | 105 #define MEMLOCK do { INSIST(memlock == 0); memlock = 1; } while (0) 106 #define MEMUNLOCK do { INSIST(memlock == 1); memlock = 0; } while (0) 139 INSIST(sizeof(fence_t) == FENCEPOST_SIZE); in meminit() 399 INSIST(e->fencepost == FRONT_FENCEPOST); in __memput_record() 400 INSIST(e->size == size); in __memput_record() 403 INSIST(fp == BACK_FENCEPOST); in __memput_record() 404 INSIST(((u_long)mem % 4) == 0); in __memput_record() 415 INSIST(el != NULL); /*%< double free */ in __memput_record() 434 INSIST(stats[max_size].gets != 0U); in __memput_record() 472 INSIST(stats[size].gets != 0U); in __memput_record() [all …]
|