Home
last modified time | relevance | path

Searched full:error_msg (Results 1 – 25 of 409) sorted by relevance

12345678910>>...17

/external/tensorflow/tensorflow/core/grappler/
Dmutable_graph_view_test.cc340 bool success, const string& error_msg, in TestUpdateNodeName() argument
366 EXPECT_EQ(s.error_message(), error_msg); in TestUpdateNodeName()
380 string error_msg; in TEST() local
383 /*success=*/true, error_msg, {"a"}); in TEST()
386 /*success=*/true, error_msg, {"a"}); in TEST()
389 /*success=*/true, error_msg, {}); in TEST()
392 error_msg = in TEST()
397 /*success=*/false, error_msg, {}); in TEST()
398 error_msg = in TEST()
403 /*success=*/false, error_msg, {}); in TEST()
[all …]
Dutils_test.cc602 absl::string_view error_msg) { in TestSetTensorValue() argument
609 EXPECT_EQ(s.error_message(), error_msg); in TestSetTensorValue()
627 TestSetTensorValue<qint8>(DT_QINT8, -8, /*success=*/true, /*error_msg=*/""); in TEST()
628 TestSetTensorValue<qint8>(DT_QINT8, 0, /*success=*/true, /*error_msg=*/""); in TEST()
629 TestSetTensorValue<qint8>(DT_QINT8, 8, /*success=*/true, /*error_msg=*/""); in TEST()
631 /*success=*/true, /*error_msg=*/""); in TEST()
633 /*success=*/true, /*error_msg=*/""); in TEST()
641 /*error_msg=*/"Cannot store value -8 in tensor of type DT_QUINT8"); in TEST()
642 TestSetTensorValue<quint8>(DT_QUINT8, 0, /*success=*/true, /*error_msg=*/""); in TEST()
643 TestSetTensorValue<quint8>(DT_QUINT8, 8, /*success=*/true, /*error_msg=*/""); in TEST()
[all …]
/external/cronet/third_party/libxml/src/
Dcheck-xml-test-suite.py25 error_msg = '' variable
28 global error_msg
31 if len(error_msg) < 300:
32 if len(error_msg) == 0 or error_msg[-1] == '\n':
33 error_msg = error_msg + " >>" + str
35 error_msg = error_msg + str
74 global error_msg
78 error_msg = ''
99 global error_msg
103 error_msg = ''
[all …]
Dcheck-xinclude-test-suite.py27 error_msg = '' variable
31 global error_msg
35 if len(error_msg) < 300:
36 if len(error_msg) == 0 or error_msg[-1] == '\n':
37 error_msg = error_msg + " >>" + str
39 error_msg = error_msg + str
45 global error_msg
49 error_msg = ''
59 global error_msg
160 if error_msg != '':
[all …]
/external/libxml2/
Dcheck-xml-test-suite.py25 error_msg = '' variable
28 global error_msg
31 if len(error_msg) < 300:
32 if len(error_msg) == 0 or error_msg[-1] == '\n':
33 error_msg = error_msg + " >>" + str
35 error_msg = error_msg + str
74 global error_msg
78 error_msg = ''
99 global error_msg
103 error_msg = ''
[all …]
Dcheck-xinclude-test-suite.py27 error_msg = '' variable
31 global error_msg
35 if len(error_msg) < 300:
36 if len(error_msg) == 0 or error_msg[-1] == '\n':
37 error_msg = error_msg + " >>" + str
39 error_msg = error_msg + str
45 global error_msg
49 error_msg = ''
59 global error_msg
160 if error_msg != '':
[all …]
/external/deqp-deps/SPIRV-Tools/source/util/
Dparse_number.cpp59 std::function<void(uint32_t)> emit, std::string* error_msg) { in ParseAndEncodeIntegerNumber() argument
61 ErrorMsgStream(error_msg) << "The given text is a nullptr"; in ParseAndEncodeIntegerNumber()
66 ErrorMsgStream(error_msg) << "The expected type is not a integer type"; in ParseAndEncodeIntegerNumber()
73 ErrorMsgStream(error_msg) in ParseAndEncodeIntegerNumber()
83 ErrorMsgStream(error_msg) in ParseAndEncodeIntegerNumber()
95 ErrorMsgStream(error_msg) << "Invalid signed integer literal: " << text; in ParseAndEncodeIntegerNumber()
101 ErrorMsgStream(error_msg) in ParseAndEncodeIntegerNumber()
111 ErrorMsgStream(error_msg) << "Invalid unsigned integer literal: " << text; in ParseAndEncodeIntegerNumber()
116 ErrorMsgStream(error_msg) in ParseAndEncodeIntegerNumber()
136 std::function<void(uint32_t)> emit, std::string* error_msg) { in ParseAndEncodeFloatingPointNumber() argument
[all …]
/external/angle/third_party/spirv-tools/src/source/util/
Dparse_number.cpp59 std::function<void(uint32_t)> emit, std::string* error_msg) { in ParseAndEncodeIntegerNumber() argument
61 ErrorMsgStream(error_msg) << "The given text is a nullptr"; in ParseAndEncodeIntegerNumber()
66 ErrorMsgStream(error_msg) << "The expected type is not a integer type"; in ParseAndEncodeIntegerNumber()
73 ErrorMsgStream(error_msg) in ParseAndEncodeIntegerNumber()
83 ErrorMsgStream(error_msg) in ParseAndEncodeIntegerNumber()
95 ErrorMsgStream(error_msg) << "Invalid signed integer literal: " << text; in ParseAndEncodeIntegerNumber()
101 ErrorMsgStream(error_msg) in ParseAndEncodeIntegerNumber()
111 ErrorMsgStream(error_msg) << "Invalid unsigned integer literal: " << text; in ParseAndEncodeIntegerNumber()
116 ErrorMsgStream(error_msg) in ParseAndEncodeIntegerNumber()
136 std::function<void(uint32_t)> emit, std::string* error_msg) { in ParseAndEncodeFloatingPointNumber() argument
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dparse_number.cpp59 std::function<void(uint32_t)> emit, std::string* error_msg) { in ParseAndEncodeIntegerNumber() argument
61 ErrorMsgStream(error_msg) << "The given text is a nullptr"; in ParseAndEncodeIntegerNumber()
66 ErrorMsgStream(error_msg) << "The expected type is not a integer type"; in ParseAndEncodeIntegerNumber()
73 ErrorMsgStream(error_msg) in ParseAndEncodeIntegerNumber()
83 ErrorMsgStream(error_msg) in ParseAndEncodeIntegerNumber()
95 ErrorMsgStream(error_msg) << "Invalid signed integer literal: " << text; in ParseAndEncodeIntegerNumber()
101 ErrorMsgStream(error_msg) in ParseAndEncodeIntegerNumber()
111 ErrorMsgStream(error_msg) << "Invalid unsigned integer literal: " << text; in ParseAndEncodeIntegerNumber()
116 ErrorMsgStream(error_msg) in ParseAndEncodeIntegerNumber()
136 std::function<void(uint32_t)> emit, std::string* error_msg) { in ParseAndEncodeFloatingPointNumber() argument
[all …]
/external/tensorflow/tensorflow/lite/tools/evaluation/
Devaluation_delegate_provider.cc43 std::string* error_msg) { in CreateTfLiteDelegate() argument
48 if (!p && error_msg) *error_msg = "NNAPI not supported"; in CreateTfLiteDelegate()
53 if (!p && error_msg) *error_msg = "GPU delegate not supported."; in CreateTfLiteDelegate()
59 if (!p && error_msg) { in CreateTfLiteDelegate()
60 *error_msg = in CreateTfLiteDelegate()
68 if (!p && error_msg) *error_msg = "XNNPACK delegate not supported."; in CreateTfLiteDelegate()
73 if (!p && error_msg) *error_msg = "CoreML delegate not supported."; in CreateTfLiteDelegate()
79 if (error_msg) { in CreateTfLiteDelegate()
80 *error_msg = "Creation of delegate type: " + in CreateTfLiteDelegate()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/frame_protector/
Dalts_counter.cc40 const char error_msg[] = "counter_size is invalid."; in alts_counter_create() local
41 maybe_copy_error_msg(error_msg, error_details); in alts_counter_create()
45 const char error_msg[] = "overflow_size is invalid."; in alts_counter_create() local
46 maybe_copy_error_msg(error_msg, error_details); in alts_counter_create()
50 const char error_msg[] = "crypter_counter is nullptr."; in alts_counter_create() local
51 maybe_copy_error_msg(error_msg, error_details); in alts_counter_create()
71 const char error_msg[] = "crypter_counter is nullptr."; in alts_counter_increment() local
72 maybe_copy_error_msg(error_msg, error_details); in alts_counter_increment()
76 const char error_msg[] = "is_overflow is nullptr."; in alts_counter_increment() local
77 maybe_copy_error_msg(error_msg, error_details); in alts_counter_increment()
Dalts_seal_privacy_integrity_crypter.cc47 const char error_msg[] = "data_size is zero."; in seal_check() local
48 maybe_copy_error_msg(error_msg, error_details); in seal_check()
52 const char error_msg[] = in seal_check() local
55 maybe_copy_error_msg(error_msg, error_details); in seal_check()
93 const char error_msg[] = "crypter is nullptr."; in alts_seal_crypter_create() local
94 maybe_copy_error_msg(error_msg, error_details); in alts_seal_crypter_create()
/external/grpc-grpc/src/core/tsi/alts/frame_protector/
Dalts_counter.cc40 const char error_msg[] = "counter_size is invalid."; in alts_counter_create() local
41 maybe_copy_error_msg(error_msg, error_details); in alts_counter_create()
45 const char error_msg[] = "overflow_size is invalid."; in alts_counter_create() local
46 maybe_copy_error_msg(error_msg, error_details); in alts_counter_create()
50 const char error_msg[] = "crypter_counter is nullptr."; in alts_counter_create() local
51 maybe_copy_error_msg(error_msg, error_details); in alts_counter_create()
71 const char error_msg[] = "crypter_counter is nullptr."; in alts_counter_increment() local
72 maybe_copy_error_msg(error_msg, error_details); in alts_counter_increment()
76 const char error_msg[] = "is_overflow is nullptr."; in alts_counter_increment() local
77 maybe_copy_error_msg(error_msg, error_details); in alts_counter_increment()
Dalts_seal_privacy_integrity_crypter.cc47 const char error_msg[] = "data_size is zero."; in seal_check() local
48 maybe_copy_error_msg(error_msg, error_details); in seal_check()
52 const char error_msg[] = in seal_check() local
55 maybe_copy_error_msg(error_msg, error_details); in seal_check()
93 const char error_msg[] = "crypter is nullptr."; in alts_seal_crypter_create() local
94 maybe_copy_error_msg(error_msg, error_details); in alts_seal_crypter_create()
/external/python/cpython3/Lib/test/
Dtest_class.py618 error_msg = "type object 'A' has no attribute 'x'"
619 with self.assertRaisesRegex(AttributeError, error_msg):
621 with self.assertRaisesRegex(AttributeError, error_msg):
631 error_msg = "'A' object has no attribute 'x'"
632 with self.assertRaisesRegex(AttributeError, error_msg):
634 with self.assertRaisesRegex(AttributeError, error_msg):
637 error_msg = "'B' object has no attribute 'x'"
638 with self.assertRaisesRegex(AttributeError, error_msg):
640 with self.assertRaisesRegex(AttributeError, error_msg):
642 with self.assertRaisesRegex(AttributeError, error_msg):
[all …]
/external/tensorflow/tensorflow/tsl/platform/default/
Dhuman_readable_json.cc34 // Convert error_msg google::protobuf::StringPiece to in ProtoToHumanReadableJson()
36 auto error_msg = status.message(); in ProtoToHumanReadableJson() local
39 StringPiece(error_msg.data(), error_msg.length()))); in ProtoToHumanReadableJson()
54 // Convert error_msg google::protobuf::StringPiece to in HumanReadableJsonToProto()
56 auto error_msg = status.message(); in HumanReadableJsonToProto() local
59 StringPiece(error_msg.data(), error_msg.length()))); in HumanReadableJsonToProto()
Dload_library.cc30 const char* error_msg = dlerror(); in LoadDynamicLibrary() local
31 return errors::NotFound(error_msg ? error_msg : "(null error message)"); in LoadDynamicLibrary()
46 const char* error_msg = dlerror(); in GetSymbolFromLibrary() local
47 return errors::NotFound(error_msg ? error_msg : "(null error message)"); in GetSymbolFromLibrary()
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp226 // else return false and fill in error_msg will description of what causes incompatibility
228 std::string *error_msg) { in VerifySetLayoutCompatibility() argument
245 *error_msg = error_str.str(); in VerifySetLayoutCompatibility()
261 *error_msg = error_str.str(); in VerifySetLayoutCompatibility()
269 *error_msg = error_str.str(); in VerifySetLayoutCompatibility()
277 *error_msg = error_str.str(); in VerifySetLayoutCompatibility()
944 … const char *func_name, std::string *error_code, std::string *error_msg) { in ValidateCopyUpdate() argument
951 string_sprintf(error_msg, in ValidateCopyUpdate()
962 string_sprintf(error_msg, in ValidateCopyUpdate()
976 *error_msg = error_str.str(); in ValidateCopyUpdate()
[all …]
/external/sdv/vsomeip/third_party/boost/unordered/test/helpers/
Dexception_test.hpp238 char const* error_msg = 0; in exception_safety() local
248 error_msg = "test_failure caught."; in exception_safety()
257 error_msg = "Unexpected exception."; in exception_safety()
266 if (error_msg) { in exception_safety()
267 BOOST_ERROR(error_msg); in exception_safety()
280 char const* error_msg; member
283 exception_looper() : success(false), failure_count(0), error_msg(0) {} in exception_looper()
289 return !error_msg && !success && failure_count < 5; in loop_condition()
303 error_msg = "test_failure caught."; in test_failure_caught()
317 error_msg = "Unexpected exception."; in unexpected_exception_caught()
[all …]
/external/dagger2/java/dagger/hilt/android/internal/testing/
DEarlySingletonComponentCreator.java27 private static final String ERROR_MSG = field in EarlySingletonComponentCreator
43 throw new RuntimeException(ERROR_MSG, e); in createComponent()
45 throw new RuntimeException(ERROR_MSG, e); in createComponent()
47 throw new RuntimeException(ERROR_MSG, e); in createComponent()
49 throw new RuntimeException(ERROR_MSG, e); in createComponent()
51 throw new RuntimeException(ERROR_MSG, e); in createComponent()
/external/sdv/vsomeip/third_party/boost/numeric/odeint/include/boost/numeric/odeint/integrate/
Dmax_step_checker.hpp71 char error_msg[200]; in operator ()() local
72 std::sprintf(error_msg, "Max number of iterations exceeded (%d).", m_max_steps); in operator ()()
73 BOOST_THROW_EXCEPTION( no_progress_error(error_msg) ); in operator ()()
103 char error_msg[200]; in operator ()() local
104 …std::sprintf(error_msg, "Max number of iterations exceeded (%d). A new step size was not found.", … in operator ()()
105 BOOST_THROW_EXCEPTION( step_adjustment_error(error_msg) ); in operator ()()
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DTransmitStatusRuntimeExceptionInterceptor.java123 private static final String ERROR_MSG = "Encountered error during serialized access";
188 throw new RuntimeException(ERROR_MSG, e);
190 throw new RuntimeException(ERROR_MSG, e);
206 throw new RuntimeException(ERROR_MSG, e);
208 throw new RuntimeException(ERROR_MSG, e);
244 throw new RuntimeException(ERROR_MSG, e);
246 throw new RuntimeException(ERROR_MSG, e);
263 throw new RuntimeException(ERROR_MSG, e);
265 throw new RuntimeException(ERROR_MSG, e);
/external/fsverity-utils/programs/
Dcmd_dump_metadata.c44 error_msg("unknown metadata type: %s", name); in parse_metadata_type()
78 error_msg("--offset can only be specified once"); in fsverity_cmd_dump_metadata()
84 error_msg("invalid value for --offset"); in fsverity_cmd_dump_metadata()
91 error_msg("--length can only be specified once"); in fsverity_cmd_dump_metadata()
97 error_msg("invalid value for --length"); in fsverity_cmd_dump_metadata()
117 error_msg("--length specified without --offset"); in fsverity_cmd_dump_metadata()
121 error_msg("--offset specified without --length"); in fsverity_cmd_dump_metadata()
Dcmd_sign.c61 error_msg("--key can only be specified once"); in fsverity_cmd_sign()
68 error_msg("--cert can only be specified once"); in fsverity_cmd_sign()
75 error_msg("--pkcs11-engine can only be specified once"); in fsverity_cmd_sign()
82 error_msg("--pkcs11-module can only be specified once"); in fsverity_cmd_sign()
89 error_msg("--pkcs11-keyid can only be specified once"); in fsverity_cmd_sign()
124 error_msg("failed to compute digest"); in fsverity_cmd_sign()
130 error_msg("failed to sign digest"); in fsverity_cmd_sign()
/external/toybox/toys/pending/
Dinit.c134 error_msg("Unable to open /etc/inittab. Using Default inittab"); in parse_inittab()
168 if (!*tmp) error_msg("Invalid action at line number %d ---- ignoring",line_number); in parse_inittab()
174 error_msg("Bad inittab entry at line %d", line_number); in parse_inittab()
237 error_msg("unable to run %s",command); in run_command()
275 error_msg("Unable to open %s,%s\n", x->terminal_name, strerror(errno)); in final_run()
336 error_msg("The system is going down NOW!"); in set_default()
338 error_msg("Sent SIGTERM to all processes"); in set_default()
354 error_msg("Requesting system halt"); in halt_poweroff_reboot_handler()
358 error_msg("Requesting system poweroff"); in halt_poweroff_reboot_handler()
362 error_msg("Requesting system reboot"); in halt_poweroff_reboot_handler()
[all …]

12345678910>>...17