| /freebsd-13.1/crypto/heimdal/kadmin/ |
| H A D | rpc.c | 158 INSIST(*name != NULL); in parse_name() 305 INSIST(sp != NULL); in ret_gcred() 360 INSIST(*str != NULL); in ret_string_xdr() 528 INSIST(flag > 1); in ret_principal_ent() 769 INSIST(ilen >= 4); in process_stream() 804 INSIST(ilen >= 4); in process_stream() 832 INSIST(ret == 0); in process_stream() 839 INSIST(ret == 0); in process_stream() 884 INSIST(gctx.done); in process_stream() 993 INSIST(ret == 0); in process_stream() [all …]
|
| /freebsd-13.1/contrib/ntp/lib/isc/unix/ |
| H A D | time.c | 100 INSIST(i->nanoseconds < NS_PER_S); in isc_interval_iszero() 136 INSIST(t->nanoseconds < NS_PER_S); in isc_time_isepoch() 194 INSIST(i->nanoseconds < NS_PER_S); in isc_time_nowplusinterval() 258 INSIST(t->nanoseconds < NS_PER_S && i->nanoseconds < NS_PER_S); in isc_time_add() 330 INSIST(t->nanoseconds < NS_PER_S); in isc_time_seconds() 340 INSIST(t->nanoseconds < NS_PER_S); in isc_time_secondsastimet() 361 INSIST(sizeof(unsigned int) == sizeof(isc_uint32_t)); in isc_time_secondsastimet() 362 INSIST(sizeof(time_t) >= sizeof(isc_uint32_t)); in isc_time_secondsastimet() 390 INSIST(flen < len); in isc_time_formattimestamp() 407 INSIST(flen < len); in isc_time_formathttptimestamp() [all …]
|
| H A D | socket.c | 1366 INSIST(skip_count == 0U); in build_msghdr_send() 1732 INSIST(0); in doio_recv() 2271 INSIST(0); in opensocket() 2584 INSIST(0); in socket_create() 3107 INSIST(sock->listener); in internal_accept() 4556 INSIST(sock->bound); in isc__socket_recvv() 4602 INSIST(sock->bound); in isc__socket_recv() 4761 INSIST(sock->bound); in isc__socket_sendto() 5038 INSIST(!sock->bound); in isc__socket_bind() 5039 INSIST(!sock->dupped); in isc__socket_bind() [all …]
|
| H A D | stdtime.c | 80 INSIST(tv.tv_usec >= 0); in isc_stdtime_get() 82 INSIST(tv.tv_usec >= 0 && tv.tv_usec < US_PER_S); in isc_stdtime_get()
|
| H A D | resource.c | 209 INSIST(unixresult == 0); in isc_resource_getlimit() 226 INSIST(unixresult == 0); in isc_resource_getcurlimit()
|
| /freebsd-13.1/lib/libc/include/isc/ |
| H A D | list.h | 26 #define INSIST(cond) assert(cond) macro 52 INSIST(!LINKED(elt, link));\ 64 INSIST(!LINKED(elt, link));\ 76 INSIST(LINKED(elt, link));\ 80 INSIST((list).tail == (elt)); \ 86 INSIST((list).head == (elt)); \ 99 INSIST(!LINKED(elt, link));\ 112 INSIST(!LINKED(elt, link));\
|
| /freebsd-13.1/contrib/ntp/lib/isc/ |
| H A D | radix.c | 97 INSIST(prefix != NULL); in _ref_prefix() 319 INSIST(prefix != NULL); in isc_radix_insert() 390 INSIST(node != NULL); in isc_radix_insert() 410 INSIST(j < 8); in isc_radix_insert() 547 INSIST(glue == NULL); in isc_radix_insert() 552 INSIST(node->r == NULL); in isc_radix_insert() 555 INSIST(node->l == NULL); in isc_radix_insert() 563 INSIST(glue == NULL); in isc_radix_insert() 581 INSIST(glue != NULL); in isc_radix_insert() 677 INSIST(node->l != NULL); in isc_radix_remove() [all …]
|
| H A D | hash.c | 227 INSIST(hash == NULL); in isc_hash_create() 255 INSIST(result == ISC_R_SUCCESS); in isc_hash_ctxinit() 257 INSIST(0); in isc_hash_ctxinit() 274 INSIST(p == (unsigned char *)hctx->rndvector + in isc_hash_ctxinit() 286 INSIST(hash != NULL && VALID_HASH(hash)); in isc_hash_init() 329 INSIST(memcmp(canary0, canary1, sizeof(canary0)) == 0); in destroy() 353 INSIST(hash != NULL && VALID_HASH(hash)); in isc_hash_destroy() 356 INSIST(refs == 0); in isc_hash_destroy() 400 INSIST(hash != NULL && VALID_HASH(hash)); in isc_hash_calc()
|
| H A D | quota.c | 39 INSIST(quota->used == 0); in isc_quota_destroy() 79 INSIST(quota->used > 0); in isc_quota_release() 88 INSIST(p != NULL && *p == NULL); in isc_quota_attach() 98 INSIST(p != NULL && *p != NULL); in isc_quota_detach()
|
| H A D | sha1.c | 52 INSIST(context != NULL); in isc_sha1_init() 66 INSIST(context != 0); in isc_sha1_update() 67 INSIST(data != 0); in isc_sha1_update() 74 INSIST(digest != 0); in isc_sha1_final() 75 INSIST(context != 0); in isc_sha1_final() 208 INSIST(buffer != NULL); in transform() 209 INSIST(state != NULL); in transform() 296 INSIST(context != 0); in isc_sha1_update() 297 INSIST(data != 0); in isc_sha1_update() 329 INSIST(digest != 0); in isc_sha1_final() [all …]
|
| H A D | print.c | 99 INSIST(str != NULL); in isc_print_vsnprintf() 100 INSIST(format != NULL); in isc_print_vsnprintf() 537 INSIST("use %ld instead of %D" == NULL); in isc_print_vsnprintf() 539 INSIST("use %lo instead of %O" == NULL); in isc_print_vsnprintf() 541 INSIST("use %lu instead of %U" == NULL); in isc_print_vsnprintf() 547 INSIST("long doubles are not supported" == NULL); in isc_print_vsnprintf()
|
| H A D | netaddr.c | 116 INSIST(nbytes < ipabytes); in isc_netaddr_eqprefix() 117 INSIST(nbits < 8); in isc_netaddr_eqprefix() 163 INSIST(alen < sizeof(abuf)); in isc_netaddr_totext() 170 INSIST((unsigned int)zlen < sizeof(zbuf)); in isc_netaddr_totext() 358 INSIST(0); in isc_netaddr_fromsockaddr()
|
| H A D | mem.c | 435 INSIST(dl != NULL); in add_trace_entry() 484 INSIST(dl->count > 0); in delete_trace_entry() 501 INSIST(dl != NULL); in delete_trace_entry() 732 INSIST(*cp == 0xbe); in check_overrun() 753 INSIST(size <= ctx->total); in mem_putunlocked() 852 INSIST(ctx->inuse >= size); in mem_putstats() 1146 INSIST(ctx->references > 0); in isc__mem_detach() 1192 INSIST(oldsize == size); in isc___mem_putanddetach() 1217 INSIST(ctx->references > 0); in isc___mem_putanddetach() 1328 INSIST(oldsize == size); in isc___mem_put() [all …]
|
| H A D | ratelimiter.c | 65 INSIST(ratelimiterp != NULL && *ratelimiterp == NULL); in isc_ratelimiter_create() 159 INSIST(rl->state == isc_ratelimiter_shuttingdown); in isc_ratelimiter_enqueue() 206 INSIST(p == NULL); in ratelimiter_tick() 258 INSIST(source->refs > 0); in isc_ratelimiter_attach()
|
| H A D | rwlock.c | 338 INSIST((rwl->cnt_and_flag & WRITER_ACTIVE) != 0); in isc_rwlock_lock() 425 INSIST((prevcnt & WRITER_ACTIVE) == 0 && in isc_rwlock_tryupgrade() 450 INSIST((prev_readers & WRITER_ACTIVE) != 0); in isc_rwlock_downgrade() 674 INSIST(rwl->active > 0); in isc_rwlock_unlock() 708 INSIST(rwl->original == isc_rwlocktype_none); in isc_rwlock_unlock() 796 INSIST(rwl->active > 0); in isc_rwlock_unlock()
|
| H A D | sockaddr.c | 147 INSIST(avail.length >= 1); in isc_sockaddr_totext() 157 INSIST(plen < sizeof(pbuf)); in isc_sockaddr_totext() 174 INSIST(avail.length >= 1); in isc_sockaddr_totext() 308 INSIST(0); in isc_sockaddr_anyofpf() 399 INSIST(0); in isc_sockaddr_fromnetaddr()
|
| H A D | task.c | 427 INSIST(EMPTY(task->events)); in task_shutdown() 431 INSIST(task->state == task_state_ready || in task_shutdown() 488 INSIST(EMPTY(task->events)); in task_detach() 548 INSIST(EMPTY(task->events)); in task_send() 551 INSIST(task->state == task_state_ready || in task_send() 627 INSIST(!(idle1 && idle2)); in isc__task_sendanddetach() 1083 INSIST(VALID_TASK(task)); in dispatch() 1094 INSIST(task->state == task_state_ready); in dispatch() 1152 INSIST(!was_idle); in dispatch() 1504 INSIST(!manager->exiting); in isc__taskmgr_destroy() [all …]
|
| H A D | lex.c | 343 INSIST(result == ISC_R_SUCCESS); in pushandgrow() 641 INSIST(remaining > 0U); in isc_lex_gettoken() 675 INSIST(remaining > 0U); in isc_lex_gettoken() 740 INSIST(prev != NULL); in isc_lex_gettoken() 768 INSIST(remaining > 0U); in isc_lex_gettoken() 894 INSIST(source->ignored <= isc_buffer_consumedlength(source->pushback)); in isc_lex_getlasttokentext()
|
| /freebsd-13.1/contrib/ntp/lib/isc/include/isc/ |
| H A D | region.h | 60 INSIST(_r->length >= _l); \ 69 INSIST(_r->length >= _l); \ 78 INSIST(_r->length >= _l); \
|
| /freebsd-13.1/contrib/ntp/lib/isc/win32/ |
| H A D | socket.c | 467 INSIST(total_threads > 0); in iocompletionport_createthreads() 641 INSIST(err == 0); in initialise() 647 INSIST(err == 0); in initialise() 653 INSIST(err == 0); in initialise() 1032 INSIST(skip_count == 0); in build_msghdr_send() 2029 INSIST(sock->listener); in internal_accept() 2834 INSIST(sock->bound); in isc__socket_recvv() 2895 INSIST(sock->bound); in isc__socket_recv() 3058 INSIST(sock->bound); in isc__socket_sendto() 3189 INSIST(!sock->bound); in isc__socket_bind() [all …]
|
| /freebsd-13.1/contrib/ntp/ntpd/ |
| H A D | ntp_restrict.c | 254 INSIST(rl == res); in alloc_res4() 280 INSIST(rl == res); in alloc_res6() 304 INSIST(unlinked == res); in free_res() 379 INSIST(next != res); in match_restrict6_addr() 533 INSIST(match != NULL); in restrictions() 562 INSIST(match != NULL); in restrictions() 733 INSIST(0); in hack_restrict() 780 INSIST(res != NULL); in restrict_source() 785 INSIST(res != NULL); in restrict_source()
|
| /freebsd-13.1/contrib/ntp/include/ |
| H A D | ntp_assert.h | 83 #define INSIST(x) ALWAYS_INSIST(x) macro 94 #define DEBUG_INSIST(x) INSIST(x)
|
| /freebsd-13.1/contrib/ntp/libntp/ |
| H A D | systime.c | 117 INSIST(sys_fuzz >= 0); in set_sys_fuzz() 118 INSIST(sys_fuzz <= 1.0); in set_sys_fuzz() 310 INSIST(!allow_panic); in adj_systime() 589 INSIST(!allow_panic); in step_systime()
|
| H A D | iosignal.c | 302 INSIST(input_handler_callback != NULL); in sigio_handler() 321 INSIST(input != NULL); in set_signal() 496 INSIST(input != NULL); in set_signal()
|
| H A D | caljulian.c | 31 INSIST(NULL != jt); in caljulian()
|