Home
last modified time | relevance | path

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

123

/freebsd/crypto/heimdal/kadmin/
H A Drpc.c55 #define INSIST(x) CHECK(!(x)) macro
158 INSIST(*name != NULL); in parse_name()
211 INSIST((size_t)slen == tlen); in read_data()
214 INSIST((size_t)slen == tlen); in read_data()
305 INSIST(sp != NULL); in ret_gcred()
360 INSIST(*str != NULL); in ret_string_xdr()
505 INSIST(*tp != NULL); in ret_principal_ent()
515 INSIST((size_t)ent->n_tl_data == count); in ret_principal_ent()
517 INSIST(ent->n_tl_data == 0); in ret_principal_ent()
521 INSIST(num == (uint32_t)ent->n_key_data); in ret_principal_ent()
[all …]
/freebsd/contrib/ntp/libntp/lib/isc/unix/
H A Dtime.c100 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()
241 INSIST(t1->nanoseconds < NS_PER_S && t2->nanoseconds < NS_PER_S); in isc_time_compare()
258 INSIST(t->nanoseconds < NS_PER_S && i->nanoseconds < NS_PER_S); in isc_time_add()
285 INSIST(t->nanoseconds < NS_PER_S && i->nanoseconds < NS_PER_S); in isc_time_subtract()
309 INSIST(t1->nanoseconds < NS_PER_S && t2->nanoseconds < NS_PER_S); in isc_time_microdiff()
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()
[all …]
H A Dstdtime.c80 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 Difiter_getifaddrs.c162 INSIST(ifa != NULL); in internal_current()
163 INSIST(ifa->ifa_name != NULL); in internal_current()
H A Difiter_sysctl.c124 INSIST(iter->bufused <= iter->bufsize); in isc_interfaceiter_create()
220 INSIST(sa < (struct sockaddr *) ifam_end); in internal_current()
H A Difiter_ioctl.c473 INSIST( iter->pos < (unsigned int) iter->ifc.ifc_len); in internal_current4()
491 INSIST(sizeof(ifreq.ifr_name) <= sizeof(iter->current.name)); in internal_current4()
710 INSIST(sizeof(lifreq.lifr_name) <= sizeof(iter->current.name)); in internal_current6()
929 INSIST(iter->pos == (unsigned int) iter->ifc.ifc_len); in internal_next4()
/freebsd/lib/libc/include/isc/
H A Dlist.h25 #define INSIST(cond) assert(cond) macro
51 INSIST(!LINKED(elt, link));\
63 INSIST(!LINKED(elt, link));\
75 INSIST(LINKED(elt, link));\
79 INSIST((list).tail == (elt)); \
85 INSIST((list).head == (elt)); \
98 INSIST(!LINKED(elt, link));\
111 INSIST(!LINKED(elt, link));\
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/
H A Dregion.h60 INSIST(_r->length >= _l); \
69 INSIST(_r->length >= _l); \
78 INSIST(_r->length >= _l); \
/freebsd/contrib/ntp/ntpd/
H A Dntp_restrict.c301 INSIST(unlinked == res); in free_res()
H A Dntp_crypto.c390 INSIST(len <= sign_siglen); in make_keylist()
553 INSIST(len >= VALUE_LEN); in crypto_recv()
1628 INSIST(vallen <= sign_siglen); in crypto_encrypt()
1721 INSIST(slen < MAX_VALLEN); in crypto_args()
1770 INSIST(vallen <= MAX_VALLEN); in crypto_send()
1864 INSIST(len <= sign_siglen); in crypto_update()
1885 INSIST(len <= sign_siglen); in crypto_update()
1935 INSIST(len <= sign_siglen); in crypto_update()
2212 INSIST(len <= sign_siglen); in crypto_alice()
2330 INSIST(le in crypto_bob()
[all...]
H A Dntp_config.c780 INSIST(T_Integer == atrv->type); in dump_config_tree()
791 INSIST(T_Double == atrv->type); in dump_config_tree()
852 INSIST(T_Flag == atrv->attr); in dump_config_tree()
853 INSIST(T_Integer == atrv->type); in dump_config_tree()
2945 INSIST(ai_list != NULL); in config_access()
2947 INSIST(pai->ai_addr != NULL); in config_access()
2948 INSIST(sizeof(addr) >= pai->ai_addrlen); in config_access()
2951 INSIST(AF_INET == AF(&addr) || in config_access()
3018 INSIST(pai->ai_addr != NULL); in config_access()
3019 INSIST(sizeo in config_access()
[all...]
/freebsd/contrib/ntp/libntp/lib/isc/
H A Dsha1.c52 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()
270 INSIST(context != NULL); in isc_sha1_init()
296 INSIST(context != 0); in isc_sha1_update()
297 INSIST(data != 0); in isc_sha1_update()
[all …]
H A Dnetaddr.c116 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 Dtask.c427 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 Dsockaddr.c147 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()
/freebsd/contrib/ntp/include/
H A Dntp_assert.h83 #define INSIST(x) ALWAYS_INSIST(x) macro
94 #define DEBUG_INSIST(x) INSIST(x)
H A Dntp_lists.h221 INSIST(pentry != pentry->nextlink); \
222 INSIST((listhead) != pentry->nextlink); \
/freebsd/contrib/ntp/libntp/
H A Dsystime.c116 INSIST(sys_fuzz >= 0); in set_sys_fuzz()
117 INSIST(sys_fuzz <= 1.0); in set_sys_fuzz()
309 INSIST(!allow_panic); in adj_systime()
588 INSIST(!allow_panic); in step_systime()
H A Diosignal.c302 INSIST(input_handler_callback != NULL); in sigio_handler()
321 INSIST(input != NULL); in set_signal()
496 INSIST(input != NULL); in set_signal()
H A Dwork_fork.c320 INSIST(sizeof(hdr) < hdr.octets && hdr.octets < 4 * 1024); in receive_blocking_req_internal()
394 INSIST(sizeof(hdr) < hdr.octets && in receive_blocking_resp_internal()
472 INSIST(was_pipe == is_pipe); in fork_blocking_child()
H A Dcaljulian.c31 INSIST(NULL != jt); in caljulian()
H A Dwork_thread.c209 INSIST(NULL == c->workitems[c->head_workitem % c->workitems_alloc]); in ensure_workitems_empty_slot()
245 INSIST(NULL == c->responses[c->head_response % c->responses_alloc]); in ensure_workresp_empty_slot()
343 INSIST(NULL != req); in receive_blocking_req_internal()
909 INSIST(CloseHandle(c->thread_ref->thnd)); in cleanup_after_child()
H A Dsocktohost.c86 INSIST(alist != NULL); in socktohost()
/freebsd/contrib/ntp/sntp/
H A Dmain.c733 INSIST(!"spkt->dctx->flags neither UCST nor BCST"); in timeout_queries()
768 INSIST(0 == n_pending_ntp); in dec_pending_ntp()
793 INSIST(!"spkt->dctx->flags neither UCST nor BCST"); in timeout_query()
858 INSIST(sock4 == fd || sock6 == fd); in sock_cb()
1038 INSIST(fd == c->resp_read_pipe); in worker_resp_cb()
1063 INSIST(NULL != ev_worker_timeout); in intres_timeout_req()
1375 INSIST( FPTOD(p_rdly) >= 0. ); in offset_calculation()
1383 INSIST( *synch_distance >= 0. ); in offset_calculation()
/freebsd/contrib/ntp/ntpq/
H A Dntpq-subs.c490 INSIST(name && value); in doaddvlist()
526 INSIST(name && value); in dormvlist()
1731 INSIST(name && value); in doprintpeers()
2516 INSIST(unlinked == mon); in add_mru()
2612 INSIST(NULL == hash_table); in collect_mru_list()
2652 INSIST(recent != NULL); in collect_mru_list()
2661 INSIST(unlinked == recent); in collect_mru_list()
2737 INSIST(tag && val); in collect_mru_list()
2904 INSIST(0 == ri || have_addr_older); in collect_mru_list()
3277 INSIST(ppentr in mrulist()
[all...]

123