Home
last modified time | relevance | path

Searched refs:INSIST (Results 1 – 25 of 34) sorted by relevance

12

/openbsd-src/usr.bin/dig/lib/isc/
H A Dsha1.c44 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 Dtask.c201 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 Dtimer.c104 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 Dsockaddr.c134 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 Dlex.c267 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 Dheap.c141 INSIST(HEAPCONDITION(i)); in float_up()
166 INSIST(HEAPCONDITION(i)); in sink_down()
H A Dsymtab.c177 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 Dapl_42.c47 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 Dsvcb_64.c114 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 Da6_38.c42 INSIST(prefixlen <= 128); in totext_in_a6()
135 INSIST(prefixlen <= 128); in towire_in_a6()
H A Ddhcid_49.c50 INSIST(n < sizeof(buf)); in totext_in_dhcid()
/openbsd-src/usr.bin/dig/lib/isc/unix/
H A Dsocket.c305 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 Dgen.c29 #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 Dname.c309 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 Drdataset.c222 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 Dttl.c56 INSIST(len + 1 <= sizeof(tmp)); in ttlfmt()
102 INSIST (x > 0); in dns_ttl_totext()
H A Drdata.c193 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 Dmessage.c187 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 Dloc_29.c59 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 Dhip_55.c60 INSIST(hit_len < region.length); in totext_hip()
70 INSIST(key_len <= region.length); in totext_hip()
H A Dnsec3_50.c77 INSIST(j <= sr.length); in totext_nsec3()
94 INSIST(j <= sr.length); in totext_nsec3()
H A Dnsec3param_51.c78 INSIST(j <= sr.length); in totext_nsec3param()
/openbsd-src/usr.bin/dig/
H A Ddighost.c643 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 Dregion.h46 INSIST(_r->length >= _l); \
/openbsd-src/usr.bin/dig/lib/dns/rdata/any_255/
H A Dtsig_250.c323 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()

12