| /openbsd-src/usr.bin/dig/lib/isc/ |
| H A D | sha1.c | 44 INSIST(context != NULL); in isc_sha1_init() 57 INSIST(context != 0); in isc_sha1_update() 58 INSIST(context->ctx != 0); in isc_sha1_update() 59 INSIST(data != 0); in isc_sha1_update() 68 INSIST(digest != 0); in isc_sha1_final() 69 INSIST(context != 0); in isc_sha1_final() 70 INSIST(context->ctx != 0); in isc_sha1_final()
|
| H A D | task.c | 201 INSIST(EMPTY(task->events)); in task_shutdown() 205 INSIST(task->state == task_state_ready || in task_shutdown() 249 INSIST(EMPTY(task->events)); in task_detach() 303 INSIST(EMPTY(task->events)); in task_send() 306 INSIST(task->state == task_state_ready || in task_send() 371 INSIST(!(idle1 && idle2)); in isc_task_sendanddetach() 552 INSIST(task->state == task_state_ready); in dispatch() 601 INSIST(!was_idle); in dispatch() 774 INSIST(!manager->exiting); in isc_taskmgr_destroy() 797 INSIST(ISC_LIST_EMPTY(manager->tasks)); in isc_taskmgr_destroy()
|
| H A D | timer.c | 104 INSIST(result == ISC_R_NOMEMORY); in schedule() 134 INSIST(manager->nscheduled > 0); in deschedule() 320 INSIST(timer != NULL); in dispatch() 429 INSIST(result == ISC_R_NOMEMORY); in isc_timermgr_create()
|
| H A D | sockaddr.c | 134 INSIST(plen < sizeof(pbuf)); in isc_sockaddr_totext() 153 INSIST(avail.length >= 1); in isc_sockaddr_totext() 208 INSIST(0); in isc_sockaddr_anyofpf()
|
| H A D | lex.c | 267 INSIST(result == ISC_R_SUCCESS); in pushandgrow() 461 INSIST(remaining > 0U); in isc_lex_gettoken() 526 INSIST(prev != NULL); in isc_lex_gettoken() 555 INSIST(remaining > 0U); in isc_lex_gettoken() 611 INSIST(source->ignored <= isc_buffer_consumedlength(source->pushback)); in isc_lex_getlasttokentext()
|
| H A D | heap.c | 141 INSIST(HEAPCONDITION(i)); in float_up() 166 INSIST(HEAPCONDITION(i)); in sink_down()
|
| H A D | symtab.c | 177 INSIST(newsize > 0U && newmax > 0U); in grow_table() 222 INSIST(exists_policy == isc_symexists_replace); in isc_symtab_define()
|
| /openbsd-src/usr.bin/dig/lib/dns/rdata/in_1/ |
| H A D | apl_42.c | 47 INSIST(sr.length >= 4); in totext_in_apl() 55 INSIST(len <= sr.length); in totext_in_apl() 58 INSIST(n < (int)sizeof(txt)); in totext_in_apl() 62 INSIST(len <= 4); in totext_in_apl() 63 INSIST(prefix <= 32); in totext_in_apl() 70 INSIST(len <= 16); in totext_in_apl() 71 INSIST(prefix <= 128); in totext_in_apl() 81 INSIST(n < (int)sizeof(txt)); in totext_in_apl()
|
| H A D | svcb_64.c | 114 INSIST(val_region.length % 2 == 0); in totext_in_svcb_https() 135 INSIST(val_region.length == 0); in totext_in_svcb_https() 138 INSIST(val_region.length == 2); in totext_in_svcb_https() 146 INSIST(val_region.length % 4 == 0); in totext_in_svcb_https() 162 INSIST(val_region.length % 16 == 0); in totext_in_svcb_https()
|
| H A D | a6_38.c | 42 INSIST(prefixlen <= 128); in totext_in_a6() 135 INSIST(prefixlen <= 128); in towire_in_a6()
|
| H A D | dhcid_49.c | 50 INSIST(n < sizeof(buf)); in totext_in_dhcid()
|
| /openbsd-src/usr.bin/dig/lib/isc/unix/ |
| H A D | socket.c | 305 INSIST(fd >= 0 && fd < (int)manager->maxsocks); in wakeup_socket() 309 INSIST(manager->fdstate[fd] == CLOSE_PENDING); in wakeup_socket() 544 INSIST(iovcount < MAXSCATTERGATHER_SEND); in build_msghdr_send() 559 INSIST(skip_count == 0U); in build_msghdr_send() 580 INSIST(msg->msg_controllen <= SENDCMSGBUFLEN); in build_msghdr_send() 600 INSIST(msg->msg_controllen <= SENDCMSGBUFLEN); in build_msghdr_send() 610 INSIST((int)dev->dscp == isc_dscp_check_value); in build_msghdr_send() 612 INSIST((int)sock->dscp == isc_dscp_check_value); in build_msghdr_send() 620 INSIST(dev->dscp < 0x40); in build_msghdr_send() 627 INSIST(msg->msg_controllen <= SENDCMSGBUFLEN); in build_msghdr_send() [all …]
|
| /openbsd-src/usr.bin/dig/lib/dns/ |
| H A D | gen.c | 29 #define INSIST(cond) \ macro 118 INSIST(strlen(s) < TYPECLASSBUF); in funname() 206 INSIST(strlen(typename) < TYPECLASSBUF); in add() 207 INSIST(strlen(classname) < TYPECLASSBUF); in add() 208 INSIST(strlen(dirname) < DIRNAMESIZE); in add() 307 INSIST(n > 0 && (unsigned)n < sizeof(buf)); in sd() 388 INSIST(n > 0 && (unsigned)n < sizeof(srcdir)); in main() 404 INSIST(n > 0 && (unsigned)n < sizeof(srcdir)); in main() 418 INSIST(n > 0 && (unsigned)n < sizeof(buf)); in main() 426 INSIST(n > 0 && (unsigned)n < sizeof(srcdir)); in main() [all …]
|
| H A D | name.c | 309 INSIST(count1 <= 63 && count2 <= 63); in dns_name_fullcompare() 439 INSIST(count <= 63); /* no bitstring support */ in dns_name_equal() 787 INSIST(labels <= 127); in dns_name_fromtext() 870 INSIST(tlen == 0); in dns_name_fromtext() 874 INSIST(count != 0); in dns_name_fromtext() 877 INSIST(labels <= 127); in dns_name_fromtext() 889 INSIST(n2 <= 63); /* no bitstring support */ in dns_name_fromtext() 902 INSIST(labels <= 127); in dns_name_fromtext() 1008 INSIST(nlen >= count); in dns_name_totext2() 1128 INSIST(nlen >= count); in dns_name_downcase() [all …]
|
| H A D | rdataset.c | 222 INSIST(result == ISC_R_NOMORE); in towiresorted() 257 INSIST(i < count); in towiresorted() 265 INSIST(i == count); in towiresorted() 332 INSIST((target->used >= rdlen.used + 2) && in towiresorted() 359 INSIST(savedbuffer.used < 65536); in towiresorted()
|
| H A D | ttl.c | 56 INSIST(len + 1 <= sizeof(tmp)); in ttlfmt() 102 INSIST (x > 0); in dns_ttl_totext()
|
| H A D | rdata.c | 193 INSIST(i + 2 <= sr->length); in typemap_totext() 196 INSIST(len > 0 && len <= 32); in typemap_totext() 198 INSIST(i + len <= sr->length); in typemap_totext() 384 INSIST(activelength < 65536); in dns_rdata_fromwire() 442 INSIST(rdata->length == 0); in dns_rdata_towire() 460 INSIST(target->used < 65536); in dns_rdata_towire() 480 INSIST(sr.length < 65536); in unknown_totext() 523 INSIST(rdata->length == 0); in rdata_totext() 534 INSIST(u >= cur); in rdata_totext()
|
| H A D | message.c | 187 INSIST(dynbuf != NULL); in currentbuffer() 367 INSIST(dns_rdataset_isassociated(rds)); in msgresetnames() 388 INSIST(dns_rdataset_isassociated(msg->opt)); in msgresetopt() 404 INSIST(dns_rdataset_isassociated(msg->tsig)); in msgresetsigs() 406 INSIST(msg->querytsig == NULL); in msgresetsigs() 427 INSIST(dns_rdataset_isassociated(msg->sig0)); in msgresetsigs() 476 INSIST(dynbuf != NULL); in msgreset() 786 INSIST(0); /* Cannot get here... */ in getname() 825 INSIST(trysize != 0); in getrdata() 1008 INSIST(!dns_rdataset_isassociate in getquestions() [all...] |
| /openbsd-src/usr.bin/dig/lib/dns/rdata/generic/ |
| H A D | loc_29.c | 59 INSIST((size&0x0f) < 10 && (size>>4) < 10); in totext_loc() 68 INSIST((hp&0x0f) < 10 && (hp>>4) < 10); in totext_loc() 77 INSIST((vp&0x0f) < 10 && (vp>>4) < 10); in totext_loc() 103 INSIST(latitude <= 90U); in totext_loc() 121 INSIST(longitude <= 180U); in totext_loc()
|
| H A D | hip_55.c | 60 INSIST(hit_len < region.length); in totext_hip() 70 INSIST(key_len <= region.length); in totext_hip()
|
| H A D | nsec3_50.c | 77 INSIST(j <= sr.length); in totext_nsec3() 94 INSIST(j <= sr.length); in totext_nsec3()
|
| H A D | nsec3param_51.c | 78 INSIST(j <= sr.length); in totext_nsec3param()
|
| /openbsd-src/usr.bin/dig/ |
| H A D | dighost.c | 643 INSIST(!free_now); in make_empty_lookup() 739 INSIST(lookold->ednsopts[i].value != NULL); in cloneopts() 766 INSIST(!free_now); in clone_lookup() 769 INSIST(looknew != NULL); in clone_lookup() 861 INSIST(looknew != NULL); in requeue_lookup() 1390 INSIST(sockcount == 0); in check_if_done() 1391 INSIST(recvcount == 0); in check_if_done() 1426 INSIST(query->recvspace != NULL); in clear_query() 1541 INSIST(current_lookup == NULL); in start_lookup() 1565 INSIST(!free_no in check_next_lookup() [all...] |
| /openbsd-src/usr.bin/dig/lib/isc/include/isc/ |
| H A D | region.h | 46 INSIST(_r->length >= _l); \
|
| /openbsd-src/usr.bin/dig/lib/dns/rdata/any_255/ |
| H A D | tsig_250.c | 323 INSIST(sr.length >= 6); in tostruct_any_tsig() 347 INSIST(sr.length >= tsig->siglen); in tostruct_any_tsig() 374 INSIST(sr.length == tsig->otherlen); in tostruct_any_tsig()
|