Home
last modified time | relevance | path

Searched refs:log_assert (Results 1 – 25 of 1964) sorted by relevance

12345678910>>...79

/freebsd-14.2/contrib/unbound/smallapp/
H A Dworker_cb.c57 log_assert(0); in worker_handle_control_cmd()
64 log_assert(0); in worker_handle_request()
72 log_assert(0); in worker_handle_service_reply()
80 log_assert(0); in remote_accept_callback()
88 log_assert(0); in remote_control_callback()
94 log_assert(0); in worker_sighandler()
107 log_assert(0); in worker_send_query()
115 log_assert(0); in worker_win_stop_cb()
121 log_assert(0); in wsvc_cron_cb()
128 log_assert(0); in worker_alloc_cleanup()
[all …]
/freebsd-14.2/contrib/unbound/util/data/
H A Ddname.c103 log_assert(d1 && d2); in query_dname_compare()
237 log_assert(pkt && d1 && d2); in dname_pkt_compare()
499 log_assert(atlabel == labs2); in dname_lab_cmp()
507 log_assert(atlabel == labs1); in dname_lab_cmp()
721 log_assert(dname); in dname_is_root()
723 log_assert(!LABEL_IS_PTR(len)); in dname_is_root()
731 log_assert(dname && *dname && len); in dname_remove_label()
733 log_assert(!LABEL_IS_PTR(lablen)); in dname_remove_label()
734 log_assert(*len > lablen); in dname_remove_label()
819 log_assert(atlabel == labs2); in dname_canon_lab_cmp()
[all …]
/freebsd-14.2/contrib/unbound/dnstap/
H A Dunbound-dnstap-socket.c1603 log_assert(0); in worker_handle_control_cmd()
1610 log_assert(0); in worker_handle_request()
1618 log_assert(0); in worker_handle_service_reply()
1626 log_assert(0); in remote_accept_callback()
1634 log_assert(0); in remote_control_callback()
1640 log_assert(0); in worker_sighandler()
1653 log_assert(0); in worker_send_query()
1661 log_assert(0); in worker_win_stop_cb()
1667 log_assert(0); in wsvc_cron_cb()
1674 log_assert(0); in worker_alloc_cleanup()
[all …]
/freebsd-14.2/contrib/unbound/services/
H A Doutside_network.c236 log_assert(pi); in pick_outgoing_tcp()
393 log_assert(w);
636 log_assert(pend);
637 log_assert(w->pkt);
862 log_assert(0);
926 log_assert(
953 log_assert(
1954 log_assert(x == p);
2193 log_assert(pend->pc);
2298 log_assert(!sq->busy);
[all …]
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/checksum/
H A Dfiletest_001_pos.ksh60 log_assert "Create and read back files with using different checksum algorithms"
89 log_assert "Normal file write test saw $cksum checksum errors"
94 log_assert "Test corrupting the files and seeing checksum errors"
110 log_assert "Checksum '$type' caught $cksum checksum errors"
H A Dfiletest_002_pos.ksh53 log_assert "Test corrupting files at L1 and seeing checksum errors"
84 log_assert "Checksum '$type' caught $cksum checksum errors"
/freebsd-14.2/tests/sys/cddl/zfs/tests/cli_root/zpool_create/
H A Dzpool_create_002_pos.ksh79 log_assert "'zpool create -f <pool> <vspec> ...' can successfully create" \
97 log_assert "'zpool create' mirror without '-f' will fail " \
105 log_assert "'zpool create' mirror without '-f' will fail " \
111 log_assert "'zpool create' without '-f' will fail " \
/freebsd-14.2/contrib/unbound/edns-subnet/
H A Daddrtree.c126 log_assert(delfunc != NULL); in addrtree_create()
127 log_assert(sizefunc != NULL); in addrtree_create()
292 log_assert(sizeof *tree == addrtree_size(tree)); in addrtree_delete()
306 log_assert(addrlen > n); in getbit()
337 log_assert(skip < len); in bits_common()
371 log_assert(node != NULL); in addrtree_insert()
380 log_assert(depth <= sourcemask); in addrtree_insert()
485 log_assert(node != NULL); in addrtree_find()
488 log_assert(depth <= sourcemask); in addrtree_find()
493 log_assert(node->scope >= depth); in addrtree_find()
[all …]
/freebsd-14.2/contrib/unbound/util/
H A Dregional.c95 log_assert(sizeof(struct regional) <= size); in regional_create_custom_large_object()
243 log_assert(ALIGNMENT >= sizeof(char*)); in regional_log_stats()
244 log_assert(REGIONAL_CHUNK_SIZE > ALIGNMENT); in regional_log_stats()
245 log_assert(REGIONAL_CHUNK_SIZE-ALIGNMENT > r->large_object_size); in regional_log_stats()
246 log_assert(REGIONAL_CHUNK_SIZE >= sizeof(struct regional)); in regional_log_stats()
H A Dlog.h226 #define log_assert(x) assert(x) macro
228 # define log_assert(x) \ macro
235 # define log_assert(x) /*nothing*/ macro
H A Dalloc.c217 log_assert(alloc); in alloc_special_obtain()
258 log_assert(p); in pushintosuper()
259 log_assert(alloc && alloc->super && in pushintosuper()
281 log_assert(alloc); in alloc_special_release()
350 log_assert(r->next == NULL); in alloc_reg_release()
379 log_assert(size <= SIZE_MAX-16); in unbound_stat_malloc()
402 log_assert(s <= SIZE_MAX-16); in unbound_stat_calloc()
452 log_assert(size <= SIZE_MAX-16); in unbound_stat_realloc()
558 log_assert(size <= SIZE_MAX-(lite_pad*2+sizeof(size_t))); in unbound_stat_malloc_lite()
576 log_assert(req <= SIZE_MAX-(lite_pad*2+sizeof(size_t))); in unbound_stat_calloc_lite()
H A Drbtree.c310 log_assert(rbtree->root == old); in change_parent_ptr()
314 log_assert(parent->left == old || parent->right == old in change_parent_ptr()
324 log_assert(child->parent == old || child->parent == new); in change_child_ptr()
378 log_assert(to_delete->left == RBTREE_NULL || to_delete->right == RBTREE_NULL); in rbtree_delete()
464 log_assert(sibling != RBTREE_NULL); in rbtree_delete_fixup()
498 log_assert(sibling->left->color == RED); in rbtree_delete_fixup()
504 log_assert(sibling->right->color == RED); in rbtree_delete_fixup()
517 log_assert(result); in rbtree_find_less_equal()
H A Dnetevent.c386 log_assert(c->fd != -1);
998 log_assert(fd != -1);
1116 log_assert(fd != -1);
2590 log_assert(fd != -1);
3245 log_assert(fd != -1);
3987 log_assert(fd != -1);
4235 log_assert(fd != -1);
5272 log_assert(fd != -1);
5600 log_assert(fd != -1);
6914 log_assert(tv);
[all …]
/freebsd-14.2/contrib/unbound/iterator/
H A Diter_delegpt.c99 log_assert(!dp->dp_type_mlc); in delegpt_set_name()
112 log_assert(!dp->dp_type_mlc); in delegpt_add_ns()
179 log_assert(!dp->dp_type_mlc); in delegpt_add_target()
195 log_assert(ns->port>0); in delegpt_add_target()
206 log_assert(!dp->dp_type_mlc); in delegpt_add_addr()
208 log_assert(port>0); in delegpt_add_addr()
614 log_assert(dp->dp_type_mlc); in delegpt_free_mlc()
636 log_assert(dp->dp_type_mlc); in delegpt_set_name_mlc()
648 log_assert(dp->dp_type_mlc); in delegpt_add_ns_mlc()
692 log_assert(port>0); in delegpt_add_addr_mlc()
[all …]
/freebsd-14.2/contrib/unbound/libunbound/
H A Dlibworker.c929 log_assert(0); in worker_handle_control_cmd()
936 log_assert(0); in worker_handle_request()
944 log_assert(0); in worker_handle_service_reply()
952 log_assert(0); in remote_accept_callback()
960 log_assert(0); in remote_control_callback()
966 log_assert(0); in worker_sighandler()
978 log_assert(0); in worker_send_query()
985 log_assert(0); in worker_alloc_cleanup()
990 log_assert(0); in worker_stat_timer_cb()
995 log_assert(0); in worker_probe_timer_cb()
[all …]
/freebsd-14.2/contrib/unbound/dns64/
H A Ddns64.c203 log_assert(ipv6_len == 16); (void)ipv6_len; in extract_ipv4()
233 log_assert(nm_len == MAX_PTR_QNAME_IPV4); (void)nm_len; in ipv4_to_ptr()
238 log_assert(c < ptr+nm_len); in ipv4_to_ptr()
242 log_assert(c + sizeof(IPV4_PTR_SUFFIX) <= ptr+nm_len); in ipv4_to_ptr()
262 log_assert(ipv6_len == 16); (void)ipv6_len; in ptr_to_ipv6()
304 log_assert(prefix_addr_len == 16 && a_len == 4 && aaaa_len == 16); in synthesize_aaaa()
305 log_assert(prefix_net == 32 || prefix_net == 40 || prefix_net == 48 || in synthesize_aaaa()
829 log_assert(super->region); in dns64_adjust_a()
830 log_assert(qstate->return_msg); in dns64_adjust_a()
831 log_assert(qstate->return_msg->rep); in dns64_adjust_a()
[all …]
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/
H A Dzpool_history_001_neg.ksh47 log_assert "zpool history returns an error when run as a user"
55 log_assert "zpool history returns an error when run as a user"
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/
H A Dzpool_iostat_003_neg.ksh58 log_assert "Executing 'zpool iostat' with bad options fails"
62 log_assert "doing zpool iostat ${args[i]}"
/freebsd-14.2/contrib/unbound/daemon/
H A Dacl_list.c420 log_assert(p->str && p->str2); in read_acl_list()
435 log_assert(p->str && p->str2); in read_acl_view()
457 log_assert(p->str && p->str2); in read_acl_tags()
481 log_assert(p->str && p->str2 && p->str3); in read_acl_tag_actions()
507 log_assert(p->str && p->str2 && p->str3); in read_acl_tag_datas()
586 log_assert(p->str && p->str2); in read_acl_interface_action()
612 log_assert(p->str && p->str2); in read_acl_interface_view()
647 log_assert(p->str && p->str2); in read_acl_interface_tags()
684 log_assert(p->str && p->str2 && p->str3); in read_acl_interface_tag_actions()
722 log_assert(p->str && p->str2 && p->str3); in read_acl_interface_tag_datas()
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mv_files/
H A Drandom_creation.ksh7 log_assert "Check that creating many files quickly is safe"
25 log_assert "Check that creating them in another order is safe"
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.memory_limit.ksh39 log_assert "memory limit options work"
57 log_assert "very small memory limits fail correctly"
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/
H A Dprojectspace_001_pos.ksh59 log_assert "Check the zfs projectspace with all possible parameters"
82 log_assert "Check the zfs projectspace with some bad parameters"
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/chattr/
H A Dchattr_001_pos.ksh64 log_assert "Check whether chflags works as expected"
66 log_assert "Check whether chattr works as expected"
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/vdev_zaps/
H A Dvdev_zaps_007_pos.ksh37 log_assert "Per-vdev ZAPs persist correctly on the original pool after split."
62 log_assert "Per-vdev ZAPs persist on the new pool after import."
/freebsd-14.2/contrib/unbound/validator/
H A Dval_nsec3.c139 log_assert(d && r < (int)d->count); in nsec3_unknown_flags()
150 log_assert(d && r < (int)d->count); in nsec3_has_optout()
162 log_assert(d && r < (int)d->count); in nsec3_get_algo()
174 log_assert(d && r < (int)d->count); in nsec3_known_algo()
191 log_assert(d && r < (int)d->count); in nsec3_get_iter()
206 log_assert(d && r < (int)d->count); in nsec3_get_salt()
241 log_assert(d && r < (int)d->count); in nsec3_get_nextowner()
1148 log_assert(ce.ce); in nsec3_do_prove_nameerror()
1297 log_assert(ce.ce); in nsec3_do_prove_nodata()
1354 log_assert(ce.nc_rrset); in nsec3_do_prove_nodata()
[all …]

12345678910>>...79