/freebsd/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/contrib/unbound/util/data/ |
H A D | dname.c | 103 log_assert(d1 && d2); in query_dname_compare() 114 log_assert(lab1 == lab2 && lab1 != 0); in query_dname_compare() 237 log_assert(pkt && d1 && d2); in dname_pkt_compare() 263 log_assert(len1 <= LDNS_MAX_LABELLEN); in dname_pkt_compare() 264 log_assert(len2 <= LDNS_MAX_LABELLEN); in dname_pkt_compare() 269 log_assert(len1 == len2 && len1 != 0); in dname_pkt_compare() 296 log_assert(lablen <= LDNS_MAX_LABELLEN); in dname_query_hash() 332 log_assert(lablen <= LDNS_MAX_LABELLEN); in dname_pkt_hash() 372 log_assert(lablen <= LDNS_MAX_LABELLEN); in dname_pkt_copy() 499 log_assert(atlabel == labs2); in dname_lab_cmp() [all …]
|
/freebsd/contrib/unbound/dnstap/ |
H A D | unbound-dnstap-socket.c | 182 log_assert(!list->d); in tap_data_list_try_to_free_tail() 1351 log_assert(socket); in internal_unittest() 1352 log_assert(unit_tap_datas_max>2); /* needed for the test */ in internal_unittest() 1355 log_assert(datas[i]); in internal_unittest() 1356 log_assert(tap_data_list_insert(&socket->data_list, datas[i])); in internal_unittest() 1361 log_assert(i==unit_tap_datas_max); in internal_unittest() 1371 log_assert(i==unit_tap_datas_max); in internal_unittest() 1381 log_assert(i==unit_tap_datas_max); in internal_unittest() 1394 log_assert(i==unit_tap_datas_max-2); in internal_unittest() 1407 log_assert(i==1); in internal_unittest() [all …]
|
/freebsd/contrib/unbound/services/ |
H A D | outside_network.c | 112 log_assert(p1->id == p2->id); in pending_cmp() 126 log_assert(q1->qbuflen == q2->qbuflen); in serviced_cmp() 127 log_assert(q1->qbuflen >= 15 /* 10 header, root, type, class */); in serviced_cmp() 236 log_assert(pi); in pick_outgoing_tcp() 377 log_assert(w->write_wait_queued); 378 log_assert(!w->write_wait_prev); 393 log_assert(w); 394 log_assert(w->write_wait_queued); 402 log_assert(!w->write_wait_prev || 407 log_assert(!w->write_wait_next [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_create/ |
H A D | zpool_create_002_pos.ksh | 76 log_assert "'zpool create -f <pool> <vspec> ...' can successfully create" \ 94 log_assert "'zpool create' mirror without '-f' will fail " \ 102 log_assert "'zpool create' mirror without '-f' will fail " \ 108 log_assert "'zpool create' without '-f' will fail " \
|
/freebsd/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" 110 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/contrib/unbound/edns-subnet/ |
H A D | addrtree.c | 76 log_assert(parent_node->edge[parent_index] == NULL); in edge_create() 126 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() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_reguid/ |
H A D | zpool_reguid_002_neg.ksh | 37 log_assert "'zpool reguid' will not accept invalid GUID '$invalid_guid'" 47 log_assert "Verify 'zpool reguid' does not accept invalid GUIDs" 54 log_assert "Verify 'zpool reguid -g' does not accept GUID which are already in use"
|
H A D | zpool_reguid_001_pos.ksh | 40 log_assert "Verify 'zpool reguid -g \"$gflag_guid\"' sets GUID as expected." 51 log_assert "Verify 'zpool reguid' picks a new random GUID for the pool."
|
/freebsd/contrib/unbound/iterator/ |
H A D | iter_delegpt.c | 99 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() 468 log_assert(!dp->dp_type_mlc); in delegpt_rrset_add_ns() 492 log_assert(!dp->dp_type_mlc); in delegpt_add_rrset_A() 515 log_assert(!dp->dp_type_mlc); in delegpt_add_rrset_AAAA() 614 log_assert(dp->dp_type_mlc); in delegpt_free_mlc() [all …]
|
/freebsd/contrib/unbound/libunbound/ |
H A D | libworker.c | 929 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/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 | 226 #define log_assert(x) assert(x) macro 228 # define log_assert(x) \ macro 235 # define log_assert(x) /*nothing*/ macro
|
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() 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 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()
|
H A D | netevent.c | 386 log_assert(c->fd != -1); 391 log_assert(addr && addrlen > 0); 620 log_assert(c->fd != -1); 625 log_assert(addr && addrlen > 0); 645 log_assert(msg.msg_controllen <= sizeof(control.buf)); 661 log_assert(msg.msg_controllen <= sizeof(control.buf)); 679 log_assert(msg.msg_controllen <= sizeof(control.buf)); 696 log_assert(msg.msg_controllen <= sizeof(control.buf)); 988 log_assert(rep.c->type == comm_udp); 992 log_assert(rep.c && rep.c->buffer && rep.c->fd == fd); [all …]
|
/freebsd/contrib/unbound/dns64/ |
H A D | dns64.c | 203 log_assert(ipv6_len == 16); (void)ipv6_len; in extract_ipv4() 204 log_assert(offset == 32 || offset == 40 || offset == 48 || offset == 56 || 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() [all …]
|
/freebsd/contrib/unbound/daemon/ |
H A D | acl_list.c | 420 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/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/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/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/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/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/contrib/unbound/validator/ |
H A D | val_nsec3.c | 139 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() 302 log_assert(d && r < (int)d->count); in nsec3_has_type() 469 log_assert(ve->nsec3_keyiter_count > 0); in get_max_iter() 697 log_assert(n); /* cannot be duplicate, just did lookup */ in nsec3_hash_name() [all …]
|