Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/tint/src/resolver/
Dinferred_type_test.cc85 auto* expected_type = params.create_expected_type(*this); in TEST_P() local
93 EXPECT_EQ(TypeOf(var), expected_type); in TEST_P()
113 auto* expected_type = params.create_expected_type(*this); in TEST_P() local
121 EXPECT_EQ(TypeOf(var), expected_type); in TEST_P()
127 auto* expected_type = params.create_expected_type(*this); in TEST_P() local
135 EXPECT_EQ(TypeOf(var)->UnwrapRef(), expected_type); in TEST_P()
144 auto* expected_type = in TEST_F() local
152 EXPECT_EQ(TypeOf(var)->UnwrapRef(), expected_type); in TEST_F()
159 auto* expected_type = create<sem::Struct>( in TEST_F() local
171 EXPECT_EQ(TypeOf(var)->UnwrapRef(), expected_type); in TEST_F()
/third_party/openssl/providers/implementations/storemgmt/
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()
/third_party/node/deps/openssl/openssl/providers/implementations/storemgmt/
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()
/third_party/spirv-tools/source/
Dtext.cpp306 spvtools::IdType expected_type = { in spvTextEncodeOperand() local
309 textValue, error_code_for_literals, expected_type, pInst)) { in spvTextEncodeOperand()
326 spvtools::IdType expected_type = spvtools::kUnknownType; in spvTextEncodeOperand() local
334 expected_type = in spvTextEncodeOperand()
336 if (!spvtools::isScalarFloating(expected_type) && in spvTextEncodeOperand()
337 !spvtools::isScalarIntegral(expected_type)) { in spvTextEncodeOperand()
349 expected_type = context->getTypeOfValueInstruction(pInst->words[1]); in spvTextEncodeOperand()
350 if (!spvtools::isScalarIntegral(expected_type)) { in spvTextEncodeOperand()
357 textValue, error_code_for_literals, expected_type, pInst)) { in spvTextEncodeOperand()
/third_party/skia/third_party/externals/spirv-tools/source/
Dtext.cpp306 spvtools::IdType expected_type = { in spvTextEncodeOperand() local
309 textValue, error_code_for_literals, expected_type, pInst)) { in spvTextEncodeOperand()
326 spvtools::IdType expected_type = spvtools::kUnknownType; in spvTextEncodeOperand() local
334 expected_type = in spvTextEncodeOperand()
336 if (!spvtools::isScalarFloating(expected_type) && in spvTextEncodeOperand()
337 !spvtools::isScalarIntegral(expected_type)) { in spvTextEncodeOperand()
349 expected_type = context->getTypeOfValueInstruction(pInst->words[1]); in spvTextEncodeOperand()
350 if (!spvtools::isScalarIntegral(expected_type)) { in spvTextEncodeOperand()
357 textValue, error_code_for_literals, expected_type, pInst)) { in spvTextEncodeOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dtext.cpp306 spvtools::IdType expected_type = { in spvTextEncodeOperand() local
309 textValue, error_code_for_literals, expected_type, pInst)) { in spvTextEncodeOperand()
326 spvtools::IdType expected_type = spvtools::kUnknownType; in spvTextEncodeOperand() local
334 expected_type = in spvTextEncodeOperand()
336 if (!spvtools::isScalarFloating(expected_type) && in spvTextEncodeOperand()
337 !spvtools::isScalarIntegral(expected_type)) { in spvTextEncodeOperand()
349 expected_type = context->getTypeOfValueInstruction(pInst->words[1]); in spvTextEncodeOperand()
350 if (!spvtools::isScalarIntegral(expected_type)) { in spvTextEncodeOperand()
357 textValue, error_code_for_literals, expected_type, pInst)) { in spvTextEncodeOperand()
/third_party/libuv/test/
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()
/third_party/openssl/crypto/cmp/
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
/third_party/node/deps/openssl/openssl/crypto/cmp/
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
/third_party/openssl/test/
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()
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()
/third_party/node/deps/openssl/openssl/crypto/store/
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()
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()
/third_party/openssl/crypto/store/
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()
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()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dtext_literal_test.cpp177 IdType expected_type{test.bitwidth, test.is_signed, type}; in successfulEncode() local
181 expected_type, &inst)) in successfulEncode()
192 IdType expected_type{test.bitwidth, test.is_signed, type}; in failedEncode() local
196 expected_type, &inst)); in failedEncode()
/third_party/spirv-tools/test/
Dtext_literal_test.cpp177 IdType expected_type{test.bitwidth, test.is_signed, type}; in successfulEncode() local
181 expected_type, &inst)) in successfulEncode()
192 IdType expected_type{test.bitwidth, test.is_signed, type}; in failedEncode() local
196 expected_type, &inst)); in failedEncode()
/third_party/skia/third_party/externals/spirv-tools/test/
Dtext_literal_test.cpp177 IdType expected_type{test.bitwidth, test.is_signed, type}; in successfulEncode() local
181 expected_type, &inst)) in successfulEncode()
192 IdType expected_type{test.bitwidth, test.is_signed, type}; in failedEncode() local
196 expected_type, &inst)); in failedEncode()
/third_party/openssl/engines/
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()
/third_party/node/deps/openssl/openssl/engines/
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()
/third_party/node/deps/v8/src/heap/cppgc/
Dwrite-barrier.cc162 void WriteBarrier::CheckParams(Type expected_type, const Params& params) { in CheckParams() argument
163 CHECK_EQ(expected_type, params.type); in CheckParams()
/third_party/openssl/doc/man3/
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,
/third_party/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py198 expected_type = type_checkers.FIELD_TYPE_TO_WIRE_TYPE[
202 self.assertEqual(expected_type, unknown_field.wire_type)
203 if expected_type == 3:
210 if expected_type == wire_format.WIRETYPE_LENGTH_DELIMITED:
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_glsl.cpp4828 auto expected_type = binary_op_bitcast_helper(cast_op0, cast_op1, input_type, cop.arguments[0], in constant_op_expression() local
4833 expected_type.basetype = input_type; in constant_op_expression()
4834 auto expr = bitcast_glsl_op(type, expected_type); in constant_op_expression()
5709 … const char *op, bool negate, SPIRType::BaseType expected_type) in emit_unrolled_binary_op() argument
5716 target_type0.basetype = expected_type; in emit_unrolled_binary_op()
5717 target_type1.basetype = expected_type; in emit_unrolled_binary_op()
5731 if (expected_type != SPIRType::Unknown && type0.basetype != expected_type) in emit_unrolled_binary_op()
5740 if (expected_type != SPIRType::Unknown && type1.basetype != expected_type) in emit_unrolled_binary_op()
5771 SPIRType expected_type; in binary_op_bitcast_helper() local
5772 expected_type.basetype = input_type; in binary_op_bitcast_helper()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcharconv_parse_test.cc45 FloatType expected_type, uint64_t expected_mantissa, in ExpectParsedFloat() argument
76 EXPECT_EQ(parsed.type, expected_type); in ExpectParsedFloat()

123