Home
last modified time | relevance | path

Searched refs:TEST_ptr_null (Results 1 – 25 of 43) sorted by relevance

12

/third_party/openssl/test/
Dasn1_string_table_test.c24 if (!TEST_ptr_null(tmp)) { in test_string_tbl()
57 if (!TEST_ptr_null(tmp)) { in test_string_tbl()
63 if (!TEST_ptr_null(tmp)) { in test_string_tbl()
Dexdatatest.c35 || !TEST_ptr_null(ptr)) in exnew()
79 || !TEST_ptr_null(ptr) in exnew2()
182 if (TEST_ptr_null(ex_data = CRYPTO_get_ex_data(&obj->ex_data, saved_idx3)) in MYOBJ_allochello3()
255 if (!TEST_ptr_null(CRYPTO_get_ex_data(&t1->ex_data, saved_idx3))) in test_exdata()
274 if (!TEST_ptr_null(cp)) in test_exdata()
278 if (!TEST_ptr_null(cp)) in test_exdata()
Dsparse_array_test.c44 || !TEST_ptr_null(ossl_sa_char_get(sa, 3)) in test_sparse_array()
45 || !TEST_ptr_null(ossl_sa_char_get(sa, 0)) in test_sparse_array()
46 || !TEST_ptr_null(ossl_sa_char_get(sa, UINT_MAX))) in test_sparse_array()
Dhttp_test.c186 res = res && TEST_ptr_null(rsp) in test_http_keep_alive()
283 && TEST_ptr_null(host) in test_http_url_invalid()
284 && TEST_ptr_null(port) in test_http_url_invalid()
285 && TEST_ptr_null(path); in test_http_url_invalid()
Devp_extra_test2.c294 || !TEST_ptr_null(OSSL_PARAM_locate(pub_params, privtag))) in do_pkey_tofrom_data_select()
545 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
563 || !TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_alternative_default()
598 if (!TEST_ptr_null(sha256 = EVP_MD_fetch(NULL, "SHA2-256", NULL))) in test_provider_unload_effective()
620 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_d2i_PrivateKey_ex()
648 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_PEM_read_bio_negative()
657 if (!TEST_ptr_null(pkey = PEM_read_bio_PrivateKey(key_bio, NULL, NULL, NULL))) in test_PEM_read_bio_negative()
701 if (!TEST_ptr_null(read_pkey)) in test_PEM_read_bio_negative_wrong_password()
988 || !TEST_ptr_null(OSSL_PARAM_locate(to_params, OSSL_PKEY_PARAM_FFC_SEED))) in test_dsa_todata()
Dcipherbytes_test.c34 || !TEST_ptr_null(sk) in test_empty()
35 || !TEST_ptr_null(scsv)) in test_empty()
Dproperty_test.c193 if (!TEST_ptr_null(p = ossl_parse_query(NULL, ps, 1))) in test_property_parse_error()
195 } else if (!TEST_ptr_null(p = ossl_parse_property(NULL, ps))) { in test_property_parse_error()
480 || !TEST_ptr_null(result)) { in test_property()
512 || !TEST_ptr_null(result)) { in test_property()
Ddefltfips_test.c47 if (!TEST_ptr_null(sha256)) { in test_is_fips_enabled()
Dthreadstest.c98 if (!TEST_ptr_null(ptr) in thread_local_thread_cb()
120 if (!TEST_ptr_null(ptr) in test_thread_local()
129 if (!TEST_ptr_null(ptr)) in test_thread_local()
Dx509_internal_test.c89 if (!TEST_ptr_null(ip)) { in test_a2i_ipaddress()
Dhmactest.c114 || !TEST_ptr_null(HMAC_CTX_get_md(ctx)) in test_hmac_bad()
140 || !TEST_ptr_null(HMAC_CTX_get_md(ctx)) in test_hmac_run()
Devp_fetch_prov_test.c190 if (!TEST_ptr_null(md)) in test_explicit_EVP_MD_fetch()
307 if (!TEST_ptr_null(cipher)) in test_explicit_EVP_CIPHER_fetch()
Dtest_test.c224 || !TEST(0, TEST_ptr_null(&y)) in test_pointer()
225 || !TEST(1, TEST_ptr_null(NULL)) in test_pointer()
492 && TEST_ptr_null(p = NULL) in test_single_eval()
Dcmp_msg_test.c74 TEST_ptr_null(msg = (expr)); \
405 if (!TEST_ptr_null(ossl_cmp_certrepmessage_get0_certresponse(crepmsg, 88))) in execute_certrep_create()
480 if (!TEST_ptr_null(ossl_cmp_pollrepcontent_get0_pollrep(pollrep->body-> in execute_pollrep_create()
Dhexstr_test.c104 if (!TEST_ptr_null(buf = OPENSSL_hexstr2buf(test->in, &len))) in test_hexstr_to_from()
Dsecmemtest.c77 TEST_ptr_null(OPENSSL_secure_malloc((size_t)-1)); in test_sec_mem()
Dd2i_test.c60 if (TEST_ptr_null(ASN1_item_d2i_bio(item_type, bio, NULL))) in test_bad_asn1()
Dbio_core_test.c83 || !TEST_ptr_null((cbiobad = BIO_new_from_core_bio(NULL, &corebio))) in test_bio_core()
Dprovider_internal_test.c120 if (!TEST_ptr_null(md = EVP_MD_fetch(ctx, "SHA256", NULL))) { in test_cache_flushes()
Dtrace_api_test.c50 is_cat_name_eq = TEST_ptr_null(cat_name); in test_trace_categories()
Devp_pkey_provided_test.c635 || !TEST_ptr_null(j) in test_fromdata_dh_named_group()
815 || !TEST_ptr_null(j) in test_fromdata_dh_fips186_4()
1251 || !TEST_ptr_null(pk)) in test_fromdata_ec()
1405 || !TEST_ptr_null(kctx = EVP_PKEY_CTX_dup(ctx))) in test_ec_dup_keygen_operation()
1603 || !TEST_ptr_null(j_out) in test_fromdata_dsa_fips186_4()
1742 if (!TEST_ptr_null(dctx = EVP_PKEY_CTX_dup(pctx))) in test_evp_pkey_ctx_dup_kdf_fail()
Ddestest.c478 if (!TEST_ptr_null(DES_crypt("testing", "y\202"))) in test_des_crypt()
480 if (!TEST_ptr_null(DES_crypt("testing", "\0A"))) in test_des_crypt()
482 if (!TEST_ptr_null(DES_crypt("testing", "A"))) in test_des_crypt()
Dasn1_decode_test.c192 if (TEST_ptr_null(tmp)) in test_invalid_template()
Dossl_store_test.c66 ret = TEST_ptr_null(search = OSSL_STORE_SEARCH_by_key_fingerprint( in test_store_search_by_key_fingerprint_fail()
Dlhash_test.c103 if (!TEST_ptr_null(lh_int_insert(h, int_tests + i))) { in test_int_lhash()

12