Home
last modified time | relevance | path

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

123

/external/python/parse_type/tests/
Dtest_parse_util.py216 expected_type = format[-1]
218 expected_spec = make_format_spec(type=expected_type,
227 expected_type = format[-1]
229 expected_spec = make_format_spec(type=expected_type,
238 expected_type = format[1:]
239 expected_spec = make_format_spec(type=expected_type, zero=True)
248 expected_type = format[1:]
249 expected_spec = make_format_spec(type=expected_type,
261 expected_type = format[2:]
262 expected_spec = make_format_spec(type=expected_type,
/external/autotest/client/cros/networking/chrome_testing/
Dtest_utils.py88 network, expected_name, expected_type, check_name_prefix=True): argument
104 if network['Type'] != expected_type:
106 'Expected network of type "' + expected_type + '", found ' +
/external/deqp-deps/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()
/external/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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
/external/grpc-grpc/src/python/grpcio_tests/tests/http2/
Dnegative_http2_client.py24 def _validate_payload_type_and_length(response, expected_type, expected_length): argument
25 if response.payload.type is not expected_type:
27 (expected_type, type(response.payload.type)))
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dfunctional_control_flow_to_regions.cc73 Type expected_type = std::get<1>(ArgAndType); in CreateCall() local
74 if (arg.getType() != expected_type) { in CreateCall()
75 arg = builder.create<CastOp>(op->getLoc(), expected_type, arg, in CreateCall()
/external/tensorflow/tensorflow/python/ops/
Dcheck_ops.py2080 def _assert_same_base_type(items, expected_type=None): argument
2096 original_expected_type = expected_type
2101 if not expected_type:
2102 expected_type = item_type
2103 elif expected_type != item_type:
2109 expected_type = original_expected_type
2114 if not expected_type:
2115 expected_type = item_type
2117 elif expected_type != item_type:
2120 item_type, expected_type,
[all …]
/external/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()
/external/deqp-deps/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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
/external/libchrome/mojo/core/
Dbroker_posix.cc28 BrokerMessageType expected_type, in WaitForBrokerMessage() argument
55 if (header->type != expected_type) { in WaitForBrokerMessage()
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dtable_utils.py239 def assert_same_type(expected_type, values, value_name): argument
241 if dtypes.as_dtype(expected_type) != dtypes.as_dtype(values.dtype):
243 (value_name, expected_type, values.dtype))
Dtext_vectorization.py353 def _assert_same_type(self, expected_type, values, value_name): argument
354 if dtypes.as_dtype(expected_type) != dtypes.as_dtype(values.dtype):
356 (value_name, expected_type, values.dtype))
/external/tensorflow/tensorflow/lite/kernels/
Delementwise.cc139 TfLiteType expected_type) { in EvalImpl() argument
144 TF_LITE_ENSURE_TYPES_EQ(context, input->type, expected_type); in EvalImpl()
160 TfLiteType expected_type) { in EvalImpl() argument
162 expected_type); in EvalImpl()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_saved_model.cc176 auto expected_type = GetBoundInputArgTypeFor(symbol_op); in VerifyBoundInputArgType() local
177 if (!expected_type) return failure(); in VerifyBoundInputArgType()
179 if (arg_type != expected_type) { in VerifyBoundInputArgType()
182 << expected_type; in VerifyBoundInputArgType()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/c/
Dc_api_unified_experimental_mlir.cc586 Type expected_type; in AddInput() local
590 tensorflow::ConvertDataType(arg_def.type(), builder, &expected_type)); in AddInput()
593 TF_RETURN_IF_ERROR(AddRef(expected_type, &output_type)); in AddInput()
594 expected_type = output_type; in AddInput()
597 expected_type = cast<MlirTensor>(input)->getElementType(); in AddInput()
600 attrs_[arg_def.type_attr()] = TypeAttr::get(expected_type); in AddInput()
/external/tensorflow/tensorflow/lite/micro/kernels/
Delementwise.cc58 T func(T), TfLiteType expected_type) { in EvalImpl() argument
61 TF_LITE_ENSURE_TYPES_EQ(context, input->type, expected_type); in EvalImpl()
/external/libbrillo/brillo/http/
Dcurl_api.cc20 inline bool VerifyOptionType(CURLoption option, int expected_type) { in VerifyOptionType() argument
22 return (option_type == expected_type); in VerifyOptionType()
/external/pigweed/pw_rpc/py/pw_rpc/
Ddescriptors.py145 def _message_is_type(proto, expected_type) -> bool: argument
151 return isinstance(proto, expected_type) or (isinstance(
152 proto, Message) and proto.DESCRIPTOR is expected_type.DESCRIPTOR)
/external/autotest/server/cros/dynamic_suite/
Ddynamic_suite.py358 for key, expected_type in six.iteritems(self._REQUIRED_KEYWORDS):
365 if not value or not isinstance(value, expected_type):
368 % (key, expected_type))
/external/pigweed/pw_protobuf/
Ddecoder.cc158 Status Decoder::ConsumeKey(WireType expected_type) { in ConsumeKey() argument
166 if (wire_type != expected_type) { in ConsumeKey()
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_integration_test.py144 expected_type = (ops.EagerTensor if context.executing_eagerly()
147 .format(expected_type, type(x)))
/external/grpc-grpc/src/python/grpcio_tests/tests/fork/
Dmethods.py45 def _validate_payload_type_and_length(response, expected_type, expected_length): argument
46 if response.payload.type is not expected_type:
48 (expected_type, type(response.payload.type)))
/external/webrtc/pc/
Drtc_stats_integrationtest.cc268 const char* expected_type) { in TestMemberIsIDReference() argument
269 TestMemberIsIDReference(member, expected_type, false); in TestMemberIsIDReference()
273 const char* expected_type) { in TestMemberIsOptionalIDReference() argument
274 TestMemberIsIDReference(member, expected_type, true); in TestMemberIsOptionalIDReference()
289 const char* expected_type, in TestMemberIsIDReference() argument
303 referenced_stats && referenced_stats->type() == expected_type; in TestMemberIsIDReference()
311 if (!referenced_stats || referenced_stats->type() != expected_type) { in TestMemberIsIDReference()
322 << expected_type << " (value: " in TestMemberIsIDReference()

123