| /freebsd-13.1/contrib/unbound/smallapp/ |
| H A D | worker_cb.c | 57 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-13.1/contrib/unbound/util/data/ |
| H A D | dname.c | 103 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-13.1/contrib/unbound/services/ |
| H A D | outside_network.c | 240 log_assert(pi); in pick_outgoing_tcp() 390 log_assert(w); 612 log_assert(pend); 613 log_assert(w->pkt); 861 log_assert( 881 log_assert( 1882 log_assert(x == p); 2107 log_assert(pend->pc); 2211 log_assert(!sq->busy); 2623 log_assert(0); [all …]
|
| H A D | mesh.c | 538 log_assert(n != NULL); in mesh_new_client() 648 log_assert(n != NULL); in mesh_new_callback() 724 log_assert(n != NULL); in mesh_schedule_prefetch() 752 log_assert(n != NULL); in mesh_schedule_prefetch() 892 log_assert(mesh->num_reply_addrs > 0); in mesh_state_cleanup() 900 log_assert(mesh->num_reply_addrs > 0); in mesh_state_cleanup() 940 log_assert(mesh->num_reply_states > 0); in mesh_state_delete() 1039 log_assert(n != NULL); in mesh_add_sub() 1049 log_assert(n != NULL); in mesh_add_sub() 1884 log_assert(mesh->num_reply_addrs > 0); in mesh_state_remove_reply() [all …]
|
| /freebsd-13.1/tests/sys/cddl/zfs/tests/cli_root/zpool_create/ |
| H A D | zpool_create_002_pos.ksh | 81 log_assert "'zpool create -f <pool> <vspec> ...' can successfully create" \ 99 log_assert "'zpool create' mirror without '-f' will fail " \ 107 log_assert "'zpool create' mirror without '-f' will fail " \ 113 log_assert "'zpool create' without '-f' will fail " \
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/checksum/ |
| H A D | filetest_001_pos.ksh | 60 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" 111 log_assert "Checksum '$type' caught $cksum checksum errors"
|
| H A D | filetest_002_pos.ksh | 53 log_assert "Test corrupting files at L1 and seeing checksum errors" 84 log_assert "Checksum '$type' caught $cksum checksum errors"
|
| /freebsd-13.1/contrib/unbound/edns-subnet/ |
| H A D | addrtree.c | 125 log_assert(delfunc != NULL); in addrtree_create() 126 log_assert(sizefunc != NULL); in addrtree_create() 290 log_assert(sizeof *tree == addrtree_size(tree)); in addrtree_delete() 304 log_assert(addrlen > n); in getbit() 335 log_assert(skip < len); in bits_common() 369 log_assert(node != NULL); in addrtree_insert() 378 log_assert(depth <= sourcemask); in addrtree_insert() 481 log_assert(node != NULL); in addrtree_find() 484 log_assert(depth <= sourcemask); in addrtree_find() 488 log_assert(node->scope >= depth); in addrtree_find() [all …]
|
| /freebsd-13.1/contrib/unbound/dnstap/ |
| H A D | unbound-dnstap-socket.c | 1373 log_assert(0); in worker_handle_control_cmd() 1380 log_assert(0); in worker_handle_request() 1388 log_assert(0); in worker_handle_service_reply() 1396 log_assert(0); in remote_accept_callback() 1404 log_assert(0); in remote_control_callback() 1410 log_assert(0); in worker_sighandler() 1423 log_assert(0); in worker_send_query() 1431 log_assert(0); in worker_win_stop_cb() 1437 log_assert(0); in wsvc_cron_cb() 1444 log_assert(0); in worker_alloc_cleanup() [all …]
|
| H A D | dnstap.c | 297 log_assert(b != NULL); in dt_fill_buffer() 313 log_assert(qs->ss_family == AF_INET6 || qs->ss_family == AF_INET); in dt_msg_fill_net() 374 log_assert(cptype == comm_udp || cptype == comm_tcp); in dt_msg_fill_net() 410 log_assert(cptype == comm_udp || cptype == comm_tcp); in dt_msg_send_client_query() 446 log_assert(cptype == comm_udp || cptype == comm_tcp); in dt_msg_send_client_response() 497 log_assert(cptype == comm_udp || cptype == comm_tcp); in dt_msg_send_outside_query() 522 (void)qbuf_len; log_assert(qbuf_len >= sizeof(qflags)); in dt_msg_send_outside_response() 556 log_assert(cptype == comm_udp || cptype == comm_tcp); in dt_msg_send_outside_response()
|
| /freebsd-13.1/contrib/unbound/util/ |
| H A D | regional.c | 95 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 D | log.h | 220 #define log_assert(x) assert(x) macro 222 # define log_assert(x) \ macro 229 # define log_assert(x) /*nothing*/ macro
|
| H A D | netevent.c | 351 log_assert(c->fd != -1); 483 log_assert(c->fd != -1); 669 log_assert(fd != -1); 759 log_assert(fd != -1); 1093 log_assert(fd != -1); 1663 log_assert(fd != -1); 1807 log_assert(fd != -1); 2817 log_assert(fd != -1); 3145 log_assert(fd != -1); 4294 log_assert(tv); [all …]
|
| H A D | alloc.c | 217 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() 528 log_assert(size <= SIZE_MAX-(lite_pad*2+sizeof(size_t))); in unbound_stat_malloc_lite() 546 log_assert(req <= SIZE_MAX-(lite_pad*2+sizeof(size_t))); in unbound_stat_calloc_lite()
|
| H A D | rbtree.c | 310 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()
|
| /freebsd-13.1/contrib/unbound/iterator/ |
| H A D | iter_delegpt.c | 98 log_assert(!dp->dp_type_mlc); in delegpt_set_name() 111 log_assert(!dp->dp_type_mlc); in delegpt_add_ns() 177 log_assert(!dp->dp_type_mlc); in delegpt_add_target() 189 log_assert(ns->port>0); in delegpt_add_target() 200 log_assert(!dp->dp_type_mlc); in delegpt_add_addr() 202 log_assert(port>0); in delegpt_add_addr() 566 log_assert(dp->dp_type_mlc); in delegpt_free_mlc() 588 log_assert(dp->dp_type_mlc); in delegpt_set_name_mlc() 600 log_assert(dp->dp_type_mlc); in delegpt_add_ns_mlc() 643 log_assert(port>0); in delegpt_add_addr_mlc() [all …]
|
| /freebsd-13.1/contrib/unbound/libunbound/ |
| H A D | libworker.c | 938 log_assert(0); in worker_handle_control_cmd() 945 log_assert(0); in worker_handle_request() 953 log_assert(0); in worker_handle_service_reply() 961 log_assert(0); in remote_accept_callback() 969 log_assert(0); in remote_control_callback() 975 log_assert(0); in worker_sighandler() 987 log_assert(0); in worker_send_query() 994 log_assert(0); in worker_alloc_cleanup() 999 log_assert(0); in worker_stat_timer_cb() 1004 log_assert(0); in worker_probe_timer_cb() [all …]
|
| /freebsd-13.1/contrib/unbound/dns64/ |
| H A D | dns64.c | 203 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() 822 log_assert(super->region); in dns64_adjust_a() 823 log_assert(qstate->return_msg); in dns64_adjust_a() 824 log_assert(qstate->return_msg->rep); in dns64_adjust_a() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/ |
| H A D | zpool_history_001_neg.ksh | 47 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-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/ |
| H A D | zpool_iostat_003_neg.ksh | 58 log_assert "Executing 'zpool iostat' with bad options fails" 62 log_assert "doing zpool iostat ${args[i]}"
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mv_files/ |
| H A D | random_creation.ksh | 7 log_assert "Check that creating many files quickly is safe" 25 log_assert "Check that creating them in another order is safe"
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
| H A D | tst.memory_limit.ksh | 39 log_assert "memory limit options work" 57 log_assert "very small memory limits fail correctly"
|
| /freebsd-13.1/contrib/unbound/validator/ |
| H A D | val_nsec3.c | 126 log_assert(d && r < (int)d->count); in nsec3_unknown_flags() 137 log_assert(d && r < (int)d->count); in nsec3_has_optout() 149 log_assert(d && r < (int)d->count); in nsec3_get_algo() 161 log_assert(d && r < (int)d->count); in nsec3_known_algo() 178 log_assert(d && r < (int)d->count); in nsec3_get_iter() 193 log_assert(d && r < (int)d->count); in nsec3_get_salt() 228 log_assert(d && r < (int)d->count); in nsec3_get_nextowner() 1048 log_assert(ce.ce); in nsec3_do_prove_nameerror() 1165 log_assert(ce.ce); in nsec3_do_prove_nodata() 1209 log_assert(ce.nc_rrset); in nsec3_do_prove_nodata() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/ |
| H A D | projectspace_001_pos.ksh | 59 log_assert "Check the zfs projectspace with all possible parameters" 82 log_assert "Check the zfs projectspace with some bad parameters"
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/chattr/ |
| H A D | chattr_001_pos.ksh | 64 log_assert "Check whether chflags works as expected" 66 log_assert "Check whether chattr works as expected"
|