Home
last modified time | relevance | path

Searched refs:expected_type (Results 1 – 25 of 38) sorted by relevance

12

/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/storemgmt/
H A Dfile_store.c107 int expected_type; member
348 if (p != NULL && !OSSL_PARAM_get_int(p, &ctx->expected_type)) in file_set_ctx_params()
444 switch (ctx->expected_type) { in file_setup_decoders()
585 if (ctx->expected_type != 0 in file_name_check()
586 && ctx->expected_type != OSSL_STORE_INFO_CERT in file_name_check()
587 && ctx->expected_type != OSSL_STORE_INFO_CRL) in file_name_check()
604 if (ctx->expected_type != 0 in file_name_check()
605 && ctx->expected_type != OSSL_STORE_INFO_CRL) in file_name_check()
607 } else if (ctx->expected_type == OSSL_STORE_INFO_CRL) { in file_name_check()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/store/
H A Dstore_lib.c31 int expected_type; member
136 int OSSL_STORE_expect(OSSL_STORE_CTX *ctx, int expected_type) in OSSL_STORE_expect() argument
144 ctx->expected_type = expected_type; in OSSL_STORE_expect()
146 return ctx->loader->expect(ctx->loader_ctx, expected_type); in OSSL_STORE_expect()
188 if (v != NULL && ctx->expected_type != 0) { in OSSL_STORE_load()
197 assert(ctx->expected_type == returned_type); in OSSL_STORE_load()
199 if (ctx->expected_type != returned_type) { in OSSL_STORE_load()
H A Dloader_file.c775 int expected_type; member
965 ctx->expected_type = expected; in file_expect()
1229 if (ctx->expected_type != 0 in file_name_check()
1230 && ctx->expected_type != OSSL_STORE_INFO_CERT in file_name_check()
1231 && ctx->expected_type != OSSL_STORE_INFO_CRL) in file_name_check()
1249 if (ctx->expected_type != 0 in file_name_check()
1250 && ctx->expected_type != OSSL_STORE_INFO_CRL) in file_name_check()
1252 } else if (ctx->expected_type == OSSL_STORE_INFO_CRL) { in file_name_check()
1409 && ctx->expected_type != 0 in file_load()
1410 && ctx->expected_type != OSSL_STORE_INFO_get_type(result)) { in file_load()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dx509_time_test.c44 int expected_type; member
323 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
324 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) { in test_x509_time()
326 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
H A Dasn1_time_test.c24 int expected_type; /* expected type after set/set_string_gmt */ member
170 if (!TEST_int_eq(ptime->type, td->expected_type)) { in test_table()
193 if (!TEST_int_eq(ptime->type, td->expected_type)) { in test_table()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/cmp/
H A Dcmp_client.c35 int expected_type /* ignored here */) in unprotected_exception() argument
124 OSSL_CMP_MSG **rep, int expected_type) in send_receive_check() argument
127 expected_type != OSSL_CMP_PKIBODY_POLLREP in send_receive_check()
128 && expected_type != OSSL_CMP_PKIBODY_PKICONF; in send_receive_check()
131 const char *expected_type_str = ossl_cmp_bodytype_to_string(expected_type); in send_receive_check()
190 expected_type)) in send_receive_check()
193 if (bt == expected_type in send_receive_check()
195 || (IS_CREP(bt) && expected_type == OSSL_CMP_PKIBODY_POLLREP)) in send_receive_check()
559 int req_type, int expected_type) in cert_response() argument
/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-ipc-send-recv.c48 uv_handle_type expected_type; member
60 uv_handle_type expected_type; member
117 ASSERT(pending == ctx.expected_type); in recv_cb()
205 ctx.expected_type = UV_NAMED_PIPE; in run_ipc_send_recv_pipe()
246 ctx.expected_type = UV_TCP; in run_ipc_send_recv_tcp()
/netbsd-src/external/mpl/bind/dist/tests/dns/
H A Dsigs_test.c112 dns_rdatatype_t expected_type; in compare_tuples()
147 result = dns_rdatatype_fromtext(&expected_type, in compare_tuples()
179 assert_int_equal(expected_type, rrsig.covered); in compare_tuples()
185 assert_int_equal(expected_type, found->rdata.type); in compare_tuples()
115 dns_rdatatype_t expected_type; compare_tuples() local
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/store/
H A Dstore_lib.c275 int OSSL_STORE_expect(OSSL_STORE_CTX *ctx, int expected_type) in OSSL_STORE_expect() argument
280 || expected_type < 0 || expected_type > OSSL_STORE_INFO_CRL) { in OSSL_STORE_expect()
289 ctx->expected_type = expected_type; in OSSL_STORE_expect()
295 OSSL_PARAM_construct_int(OSSL_STORE_PARAM_EXPECT, &expected_type); in OSSL_STORE_expect()
301 ret = ctx->loader->expect(ctx->loader_ctx, expected_type); in OSSL_STORE_expect()
461 if (v != NULL && ctx->expected_type != 0) { in OSSL_STORE_load()
465 if (ctx->expected_type != returned_type) { in OSSL_STORE_load()
H A Dstore_result.c270 switch (ctx->expected_type) { in try_key_value()
315 if (ctx->expected_type == 0 in try_key_value_legacy()
316 || ctx->expected_type == OSSL_STORE_INFO_PUBKEY) { in try_key_value_legacy()
326 && (ctx->expected_type == 0 in try_key_value_legacy()
327 || ctx->expected_type == OSSL_STORE_INFO_PKEY)) { in try_key_value_legacy()
H A Dstore_local.h138 int expected_type; member
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dx509_time_test.c44 int expected_type; member
375 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
376 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) { in test_x509_time()
378 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
H A Dasn1_time_test.c24 int expected_type; /* expected type after set/set_string_gmt */ member
170 if (!TEST_int_eq(ptime->type, td->expected_type)) { in test_table()
193 if (!TEST_int_eq(ptime->type, td->expected_type)) { in test_table()
/netbsd-src/crypto/external/bsd/openssl/dist/engines/
H A De_loader_attic.c906 int expected_type; member
1137 ctx->expected_type = expected; in file_expect()
1459 if (ctx->expected_type != 0 in file_name_check()
1460 && ctx->expected_type != OSSL_STORE_INFO_CERT in file_name_check()
1461 && ctx->expected_type != OSSL_STORE_INFO_CRL) in file_name_check()
1478 if (ctx->expected_type != 0 in file_name_check()
1479 && ctx->expected_type != OSSL_STORE_INFO_CRL) in file_name_check()
1481 } else if (ctx->expected_type == OSSL_STORE_INFO_CRL) { in file_name_check()
1640 && ctx->expected_type != 0 in file_load()
1641 && ctx->expected_type != OSSL_STORE_INFO_get_type(result)) { in file_load()
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DOSSL_STORE_expect.pod14 int OSSL_STORE_expect(OSSL_STORE_CTX *ctx, int expected_type);
25 I<expected_type> may be 0 to indicate explicitly that no expectation is made,
/netbsd-src/external/bsd/kyua-cli/dist/engine/
H A Dtest_result_test.cpp49 #define GETTERS_TEST(name, expected_type, expected_reason, result) \ argument
53 ATF_REQUIRE(expected_type == result.type()); \
/netbsd-src/external/bsd/kyua-cli/dist/utils/fs/
H A Doperations_test.cpp74 lookup(const char* dir, const char* name, const int expected_type) in lookup() argument
83 dp->d_type == expected_type) { in lookup()
/netbsd-src/external/bsd/kyua-testers/dist/
H A Dfs_test.c88 lookup(const char* dir, const char* name, const int expected_type) in lookup() argument
97 dp->d_type == expected_type) { in lookup()
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/
H A Dencode_key2any.c528 static int dh_check_key_type(const void *dh, int expected_type) in dh_check_key_type() argument
533 return type == expected_type; in dh_check_key_type()
920 static int rsa_check_key_type(const void *rsa, int expected_type) in rsa_check_key_type() argument
924 return expected_type == EVP_PKEY_RSA; in rsa_check_key_type()
926 return expected_type == EVP_PKEY_RSA_PSS; in rsa_check_key_type()
/netbsd-src/crypto/external/bsd/openssl/dist/fuzz/
H A Dcmp.c46 int invalid_protection, int expected_type) in allow_unprotected() argument
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Dstore.h200 int OSSL_STORE_expect(OSSL_STORE_CTX *ctx, int expected_type);
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DOSSL_STORE_expect.pod14 int OSSL_STORE_expect(OSSL_STORE_CTX *ctx, int expected_type);
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Dstore.h245 int OSSL_STORE_expect(OSSL_STORE_CTX *ctx, int expected_type);
/netbsd-src/external/gpl3/gcc/dist/gcc/config/aarch64/
H A Daarch64-sve-builtins.cc1670 type_suffix_index expected_type in require_derived_vector_type() local
1674 get_vector_type (actual_type), get_vector_type (expected_type), in require_derived_vector_type()
1741 type_suffix_index expected_type) in require_matching_integer_scalar_type() argument
1747 if (actual_type == expected_type) in require_matching_integer_scalar_type()
1752 first_argno + 1, get_scalar_type_name (expected_type), in require_matching_integer_scalar_type()
1784 type_suffix_index expected_type in require_derived_scalar_type() local
1786 return require_scalar_type (argno, get_scalar_type_name (expected_type)); in require_derived_scalar_type()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/aarch64/
H A Daarch64-sve-builtins.cc1671 type_suffix_index expected_type in require_derived_vector_type() local
1675 get_vector_type (actual_type), get_vector_type (expected_type), in require_derived_vector_type()
1742 type_suffix_index expected_type) in require_matching_integer_scalar_type() argument
1748 if (actual_type == expected_type) in require_matching_integer_scalar_type()
1753 first_argno + 1, get_scalar_type_name (expected_type), in require_matching_integer_scalar_type()
1785 type_suffix_index expected_type in require_derived_scalar_type() local
1787 return require_scalar_type (argno, get_scalar_type_name (expected_type)); in require_derived_scalar_type()

12