Home
last modified time | relevance | path

Searched refs:assert_ptr_equal (Results 1 – 25 of 207) sorted by relevance

123456789

/dports/net/libyang/libyang-1.0.240/tests/data/
H A Dtest_json.c590 assert_ptr_equal(st->dt, NULL); in test_parse_error_numbers()
593 assert_ptr_equal(st->dt, NULL); in test_parse_error_numbers()
596 assert_ptr_equal(st->dt, NULL); in test_parse_error_numbers()
599 assert_ptr_equal(st->dt, NULL); in test_parse_error_numbers()
602 assert_ptr_equal(st->dt, NULL); in test_parse_error_numbers()
623 assert_ptr_equal(st->dt, NULL); in test_parse_string()
626 assert_ptr_equal(st->dt, NULL); in test_parse_string()
629 assert_ptr_equal(st->dt, NULL); in test_parse_string()
632 assert_ptr_equal(st->dt, NULL); in test_parse_string()
635 assert_ptr_equal(st->dt, NULL); in test_parse_string()
[all …]
H A Dtest_parse_print.c122 assert_ptr_equal(st->mod, NULL); in test_parse_print_yin_error_prefix()
125 assert_ptr_equal(st->mod, NULL); in test_parse_print_yin_error_prefix()
128 assert_ptr_equal(st->mod, NULL); in test_parse_print_yin_error_prefix()
143 assert_ptr_equal(st->mod, NULL); in test_parse_print_yin_error_contact()
146 assert_ptr_equal(st->mod, NULL); in test_parse_print_yin_error_contact()
149 assert_ptr_equal(st->mod, NULL); in test_parse_print_yin_error_contact()
164 assert_ptr_equal(st->mod, NULL); in test_parse_print_yin_error_organization()
167 assert_ptr_equal(st->mod, NULL); in test_parse_print_yin_error_organization()
170 assert_ptr_equal(st->mod, NULL); in test_parse_print_yin_error_organization()
185 assert_ptr_equal(st->mod, NULL); in test_parse_print_yin_error_description()
[all …]
H A Dtest_mandatory.c113 assert_ptr_equal(st->dt, NULL); in test_mandatory()
119 assert_ptr_equal(st->dt, NULL); in test_mandatory()
125 assert_ptr_equal(st->dt, NULL); in test_mandatory()
131 assert_ptr_equal(st->dt, NULL); in test_mandatory()
137 assert_ptr_equal(st->dt, NULL); in test_mandatory()
143 assert_ptr_equal(st->dt, NULL); in test_mandatory()
149 assert_ptr_equal(st->dt, NULL); in test_mandatory()
155 assert_ptr_equal(st->dt, NULL); in test_mandatory()
H A Dtest_metadata.c89 assert_ptr_equal(mod, NULL); in test_leafref_type()
114 assert_ptr_equal(st->data, NULL); in test_unknown_metadata_xml()
147 assert_ptr_equal(st->data, NULL); in test_unknown_metadata_json()
222 assert_ptr_equal(st->data, NULL); in test_nc_filter3_xml()
253 assert_ptr_equal(st->data, NULL); in test_nc_filter4_xml()
280 assert_ptr_equal(st->data, NULL); in test_nc_filter5_xml()
308 assert_ptr_equal(st->data, NULL); in test_nc_filter6_xml()
336 assert_ptr_equal(st->data, NULL); in test_nc_filter7_xml()
367 assert_ptr_equal(st->data, NULL); in test_nc_editconfig1_xml()
398 assert_ptr_equal(st->data, NULL); in test_nc_editconfig1_json()
[all …]
H A Dtest_keys.c110 assert_ptr_equal(st->dt, NULL); in test_keys_missing()
114 assert_ptr_equal(st->dt, NULL); in test_keys_missing()
152 assert_ptr_equal(st->dt, NULL); in test_keys_inorder()
157 assert_ptr_equal(st->dt, NULL); in test_keys_inorder()
/dports/net/libyang/libyang-1.0.240/tests/schema/
H A Dtest_extensions.c2602 assert_ptr_equal(mod, NULL); in test_complex_mand_yin()
2604 assert_ptr_equal(mod, NULL); in test_complex_mand_yin()
2606 assert_ptr_equal(mod, NULL); in test_complex_mand_yin()
2608 assert_ptr_equal(mod, NULL); in test_complex_mand_yin()
2610 assert_ptr_equal(mod, NULL); in test_complex_mand_yin()
2612 assert_ptr_equal(mod, NULL); in test_complex_mand_yin()
2614 assert_ptr_equal(mod, NULL); in test_complex_mand_yin()
2616 assert_ptr_equal(mod, NULL); in test_complex_mand_yin()
2618 assert_ptr_equal(mod, NULL); in test_complex_mand_yin()
2729 assert_ptr_equal(mod, NULL); in test_complex_mand_yang()
[all …]
H A Dtest_typedef.c193 assert_ptr_equal(mod, NULL); in test_typedef_11in10()
197 assert_ptr_equal(mod, NULL); in test_typedef_11in10()
201 assert_ptr_equal(mod, NULL); in test_typedef_11in10()
205 assert_ptr_equal(mod, NULL); in test_typedef_11in10()
209 assert_ptr_equal(mod, NULL); in test_typedef_11in10()
213 assert_ptr_equal(mod, NULL); in test_typedef_11in10()
217 assert_ptr_equal(mod, NULL); in test_typedef_11in10()
221 assert_ptr_equal(mod, NULL); in test_typedef_11in10()
340 assert_ptr_equal(mod, NULL); in test_typedef_11_enums_yang()
344 assert_ptr_equal(mod, NULL); in test_typedef_11_enums_yang()
[all …]
H A Dtest_status.c159 assert_ptr_equal(NULL, lys_parse_mem(st->ctx, yin_fail3, LYS_IN_YIN)); in test_status_yin()
164 assert_ptr_equal(NULL, lys_parse_mem(st->ctx, yin_fail2, LYS_IN_YIN)); in test_status_yin()
169 assert_ptr_equal(NULL, lys_parse_mem(st->ctx, yin_fail1, LYS_IN_YIN)); in test_status_yin()
180assert_ptr_equal(NULL, lyd_parse_mem(st->ctx, xml1, LYD_XML, LYD_OPT_CONFIG | LYD_OPT_OBSOLETE)); in test_status_yin()
188assert_ptr_equal(NULL, lyd_parse_mem(st->ctx, xml2, LYD_XML, LYD_OPT_CONFIG | LYD_OPT_OBSOLETE)); in test_status_yin()
277 assert_ptr_equal(NULL, lys_parse_mem(st->ctx, yang_fail3, LYS_IN_YANG)); in test_status_yang()
282 assert_ptr_equal(NULL, lys_parse_mem(st->ctx, yang_fail2, LYS_IN_YANG)); in test_status_yang()
287 assert_ptr_equal(NULL, lys_parse_mem(st->ctx, yang_fail1, LYS_IN_YANG)); in test_status_yang()
298assert_ptr_equal(NULL, lyd_parse_mem(st->ctx, xml1, LYD_XML, LYD_OPT_CONFIG | LYD_OPT_OBSOLETE)); in test_status_yang()
306assert_ptr_equal(NULL, lyd_parse_mem(st->ctx, xml2, LYD_XML, LYD_OPT_CONFIG | LYD_OPT_OBSOLETE)); in test_status_yang()
H A Dtest_conformance.c75 assert_ptr_equal(b2, NULL); in test_implemented1_yin()
109 assert_ptr_equal(b2, NULL); in test_implemented1_yang()
135 assert_ptr_equal(a, NULL); in test_implemented2_yin()
153 assert_ptr_equal(a, NULL); in test_implemented2_yang()
492 assert_ptr_equal(lys_parse_mem(ctx, yin1, LYS_IN_YIN), NULL); in test_revision_date_yin()
495 assert_ptr_equal(lys_parse_mem(ctx, yin2, LYS_IN_YIN), NULL); in test_revision_date_yin()
498 assert_ptr_equal(lys_parse_mem(ctx, yin3, LYS_IN_YIN), NULL); in test_revision_date_yin()
537 assert_ptr_equal(lys_parse_mem(ctx, yang1, LYS_IN_YANG), NULL); in test_revision_date_yang()
540 assert_ptr_equal(lys_parse_mem(ctx, yang2, LYS_IN_YANG), NULL); in test_revision_date_yang()
543 assert_ptr_equal(lys_parse_mem(ctx, yang3, LYS_IN_YANG), NULL); in test_revision_date_yang()
H A Dtest_include.c76 assert_ptr_equal(lys_parse_mem(ctx, sch_yin, LYS_IN_YIN), NULL); in test_mult_revisions()
82 assert_ptr_equal(lys_parse_mem(ctx, sch_yang, LYS_IN_YANG), NULL); in test_mult_revisions()
100 assert_ptr_equal(lys_parse_mem(ctx, sch_yin, LYS_IN_YIN), NULL); in test_circular_include()
105 assert_ptr_equal(lys_parse_mem(ctx, sch_yang, LYS_IN_YANG), NULL); in test_circular_include()
H A Dtest_leaflist.c98 assert_ptr_equal(lys_parse_mem(ctx, yin_cfg, LYS_IN_YIN), NULL); in test_multdfltvalues_yin()
99 assert_ptr_equal(lys_parse_mem(ctx, yin_status_10, LYS_IN_YIN), NULL); in test_multdfltvalues_yin()
162 assert_ptr_equal(lys_parse_mem(ctx, yang_cfg, LYS_IN_YANG), NULL); in test_multdfltvalues_yang()
163 assert_ptr_equal(lys_parse_mem(ctx, yang_status_10, LYS_IN_YANG), NULL); in test_multdfltvalues_yang()
H A Dtest_import.c85 assert_ptr_equal(lys_parse_mem(ctx, sch_yang, LYS_IN_YANG), NULL); in test_mult_revisions()
91 assert_ptr_equal(lys_parse_mem(ctx, sch_yin, LYS_IN_YIN), NULL); in test_mult_revisions()
102 assert_ptr_equal(ly_ctx_load_module(ctx, "circ_imp1", NULL), NULL); in test_circular_import()
107 assert_ptr_equal(ly_ctx_load_module(ctx, "circ_imp1", NULL), NULL); in test_circular_import()
/dports/security/afl++/AFLplusplus-3.14c/test/unittests/
H A Dunit_maybe_alloc.c7 #ifndef assert_ptr_equal
8 #define assert_ptr_equal(a, b) \ macro
117 assert_ptr_equal(buf, ptr); in test_nonpow2_size()
131 assert_ptr_equal(buf, new_buf); in test_zero_size()
140 assert_ptr_equal(buf, ptr); in test_zero_size()
157 assert_ptr_equal(actual_buf, buf_after); in test_unchanged_size()
158 assert_ptr_equal(buf_after, buf_before); in test_unchanged_size()
172 assert_ptr_equal(ptr, buf); in test_grow_multiple()
180 assert_ptr_equal(ptr, buf); in test_grow_multiple()
188 assert_ptr_equal(ptr, buf); in test_grow_multiple()
/dports/security/openvpn-devel/openvpn-0033811e0215af76f469d78912c95a2f59813454/tests/unit_tests/openvpn/
H A Dtest_ncp.c67 assert_ptr_equal(mutate_ncp_cipher_list(bf_chacha, &gc), NULL); in test_check_ncp_ciphers_list()
79 assert_ptr_equal(mutate_ncp_cipher_list("vollbit", &gc), NULL); in test_check_ncp_ciphers_list()
80 assert_ptr_equal(mutate_ncp_cipher_list("AES-256-GCM:vollbit", &gc), NULL); in test_check_ncp_ciphers_list()
81 assert_ptr_equal(mutate_ncp_cipher_list("", &gc), NULL); in test_check_ncp_ciphers_list()
83 assert_ptr_equal(mutate_ncp_cipher_list( in test_check_ncp_ciphers_list()
150 assert_ptr_equal(best_cipher, NULL); in test_poor_man()
173 assert_ptr_equal(best_cipher, NULL); in test_poor_man()
180 assert_ptr_equal(best_cipher, NULL); in test_poor_man()
H A Dtest_buffer.c209 assert_ptr_equal(gc.list + 1, buf.data); in test_buffer_free_gc_one()
228 assert_ptr_equal(e + 1, buf3.data); in test_buffer_free_gc_two()
229 assert_ptr_equal(e->next + 1, buf2.data); in test_buffer_free_gc_two()
230 assert_ptr_equal(e->next->next + 1, buf1.data); in test_buffer_free_gc_two()
/dports/security/openvpn/openvpn-2.5.6/tests/unit_tests/openvpn/
H A Dtest_ncp.c68 assert_ptr_equal(mutate_ncp_cipher_list(bf_chacha, &gc), NULL); in test_check_ncp_ciphers_list()
80 assert_ptr_equal(mutate_ncp_cipher_list("vollbit", &gc), NULL); in test_check_ncp_ciphers_list()
81 assert_ptr_equal(mutate_ncp_cipher_list("AES-256-GCM:vollbit", &gc), NULL); in test_check_ncp_ciphers_list()
82 assert_ptr_equal(mutate_ncp_cipher_list("", &gc), NULL); in test_check_ncp_ciphers_list()
84 assert_ptr_equal(mutate_ncp_cipher_list( in test_check_ncp_ciphers_list()
154 assert_ptr_equal(best_cipher, NULL); in test_poor_man()
177 assert_ptr_equal(best_cipher, NULL); in test_poor_man()
184 assert_ptr_equal(best_cipher, NULL); in test_poor_man()
H A Dtest_buffer.c209 assert_ptr_equal(gc.list + 1, buf.data); in test_buffer_free_gc_one()
228 assert_ptr_equal(e + 1, buf3.data); in test_buffer_free_gc_two()
229 assert_ptr_equal(e->next + 1, buf2.data); in test_buffer_free_gc_two()
230 assert_ptr_equal(e->next->next + 1, buf1.data); in test_buffer_free_gc_two()
/dports/security/openvpn-mbedtls/openvpn-2.5.6/tests/unit_tests/openvpn/
H A Dtest_ncp.c68 assert_ptr_equal(mutate_ncp_cipher_list(bf_chacha, &gc), NULL); in test_check_ncp_ciphers_list()
80 assert_ptr_equal(mutate_ncp_cipher_list("vollbit", &gc), NULL); in test_check_ncp_ciphers_list()
81 assert_ptr_equal(mutate_ncp_cipher_list("AES-256-GCM:vollbit", &gc), NULL); in test_check_ncp_ciphers_list()
82 assert_ptr_equal(mutate_ncp_cipher_list("", &gc), NULL); in test_check_ncp_ciphers_list()
84 assert_ptr_equal(mutate_ncp_cipher_list( in test_check_ncp_ciphers_list()
154 assert_ptr_equal(best_cipher, NULL); in test_poor_man()
177 assert_ptr_equal(best_cipher, NULL); in test_poor_man()
184 assert_ptr_equal(best_cipher, NULL); in test_poor_man()
/dports/net/libyang/libyang-1.0.240/tests/api/
H A Dtest_diff.c125 assert_ptr_equal(diff->first[0], NULL); in test_empty1()
129 assert_ptr_equal(diff->first[1], NULL); in test_empty1()
153 assert_ptr_equal(diff->second[0], NULL); in test_empty2()
157 assert_ptr_equal(diff->second[1], NULL); in test_empty2()
185 assert_ptr_equal(diff->second[0], NULL); in test_empty3()
223 assert_ptr_equal(diff->second[1], NULL); in test_diff1()
271 assert_ptr_equal(diff->second[1], NULL); in test_diff2()
434 assert_ptr_equal(diff->second[0], NULL); in test_mix1()
476 assert_ptr_equal(diff->second[0], NULL); in test_mix2()
495 assert_ptr_equal(diff->first[3], NULL); in test_mix2()
[all …]
H A Dtest_tree_data_dup.c90 assert_ptr_equal(st->dt2, NULL); in test_dup_to_ctx()
110 assert_ptr_equal(st->dt1->schema->module->ctx, st->ctx1); in test_dup_to_ctx()
111 assert_ptr_equal(st->dt2->schema->module->ctx, st->ctx2); in test_dup_to_ctx()
150 assert_ptr_equal(((struct lyd_node_leaf_list *)st->dt1)->value.bit[0], NULL); in test_dup_to_ctx_bits()
151 assert_ptr_equal(((struct lyd_node_leaf_list *)st->dt2)->value.bit[0], NULL); in test_dup_to_ctx_bits()
156 assert_ptr_equal(st->dt1->schema->module->ctx, st->ctx1); in test_dup_to_ctx_bits()
157 assert_ptr_equal(st->dt2->schema->module->ctx, st->ctx2); in test_dup_to_ctx_bits()
200 assert_ptr_equal(((struct lyd_node_leaf_list *)st->dt2->child)->value_type, LY_TYPE_LEAFREF); in test_dup_to_ctx_leafrefs()
214 assert_ptr_equal(st->dt1->child->schema->module->ctx, st->ctx1); in test_dup_to_ctx_leafrefs()
215 assert_ptr_equal(st->dt2->child->schema->module->ctx, st->ctx2); in test_dup_to_ctx_leafrefs()
H A Dtest_libyang.c107 assert_ptr_equal(NULL, list[1]); in test_ly_ctx_new()
116 assert_ptr_equal(NULL, list[2]); in test_ly_ctx_new()
150 assert_ptr_equal(NULL, result[1]); in test_ly_ctx_get_searchdirs()
179 assert_ptr_equal(NULL, result[2]); in test_ly_ctx_set_searchdir()
183 assert_ptr_equal(NULL, result[1]); in test_ly_ctx_set_searchdir()
210 assert_ptr_equal(NULL, result[1]); in test_ly_ctx_set_searchdir_invalid()
285 assert_ptr_equal(data, NULL); in test_ly_ctx_module_clb()
296 assert_ptr_equal(data, NULL); in test_ly_ctx_module_clb()
568 assert_ptr_equal(mod, NULL); in test_ly_ctx_remove_module()
592 assert_ptr_equal(mod, NULL); in test_ly_ctx_remove_module()
[all …]
/dports/net/libyang/libyang-1.0.240/tests/conformance/
H A Dtest_sec9_10.c90 assert_ptr_equal(mod, NULL); in TEST_IDENTITYREF()
100 assert_ptr_equal(st->node, NULL); in TEST_IDENTITYREF()
160 assert_ptr_equal(st->node, NULL); in TEST_IDENTITYREF2()
163 assert_ptr_equal(mod, NULL); in TEST_IDENTITYREF2()
179 assert_ptr_equal(st->node, NULL); in TEST_IDENTITYREF2()
/dports/security/tpm2-tss/tpm2-tss-3.1.0/test/unit/
H A Dtest_tss2_rc.c196 assert_ptr_equal(old, custom_err_handler); in test_custom_handler()
216 assert_ptr_equal(old, custom_err_handler); in test_zero_length_name()
228 assert_ptr_equal(old, custom_err_handler); in test_over_length_name()
238 assert_ptr_equal(old, custom_err_handler); in test_null_name()
242 assert_ptr_equal(old, custom_err_handler); in test_null_name()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/krb5-src-0.2.4+1.18.2/krb5/src/kdc/
H A Dt_replay.c168 assert_ptr_equal(k5_hashtab_get(hash_table, req.data, req.length), e); in test_insert_entry()
169 assert_ptr_equal(K5_TAILQ_FIRST(&expiration_queue), e); in test_insert_entry()
184 assert_ptr_equal(k5_hashtab_get(hash_table, req.data, req.length), e); in test_insert_entry_no_response()
185 assert_ptr_equal(K5_TAILQ_FIRST(&expiration_queue), e); in test_insert_entry_no_response()
202 assert_ptr_equal(k5_hashtab_get(hash_table, req1.data, req1.length), e1); in test_insert_entry_multiple()
203 assert_ptr_equal(K5_TAILQ_FIRST(&expiration_queue), e1); in test_insert_entry_multiple()
210 assert_ptr_equal(k5_hashtab_get(hash_table, req2.data, req2.length), e2); in test_insert_entry_multiple()
211 assert_ptr_equal(K5_TAILQ_LAST(&expiration_queue,entry_queue), e2); in test_insert_entry_multiple()
296 assert_ptr_equal(k5_hashtab_get(hash_table, req1.data, req1.length), e); in test_kdc_remove_lookaside_unknown()
316 assert_ptr_equal(k5_hashtab_get(hash_table, req1.data, req1.length), e1); in test_kdc_remove_lookaside_multiple()
/dports/security/krb5/krb5-1.19.2/src/kdc/
H A Dt_replay.c168 assert_ptr_equal(k5_hashtab_get(hash_table, req.data, req.length), e); in test_insert_entry()
169 assert_ptr_equal(K5_TAILQ_FIRST(&expiration_queue), e); in test_insert_entry()
184 assert_ptr_equal(k5_hashtab_get(hash_table, req.data, req.length), e); in test_insert_entry_no_response()
185 assert_ptr_equal(K5_TAILQ_FIRST(&expiration_queue), e); in test_insert_entry_no_response()
202 assert_ptr_equal(k5_hashtab_get(hash_table, req1.data, req1.length), e1); in test_insert_entry_multiple()
203 assert_ptr_equal(K5_TAILQ_FIRST(&expiration_queue), e1); in test_insert_entry_multiple()
210 assert_ptr_equal(k5_hashtab_get(hash_table, req2.data, req2.length), e2); in test_insert_entry_multiple()
211 assert_ptr_equal(K5_TAILQ_LAST(&expiration_queue,entry_queue), e2); in test_insert_entry_multiple()
296 assert_ptr_equal(k5_hashtab_get(hash_table, req1.data, req1.length), e); in test_kdc_remove_lookaside_unknown()
316 assert_ptr_equal(k5_hashtab_get(hash_table, req1.data, req1.length), e1); in test_kdc_remove_lookaside_multiple()

123456789