/third_party/skia/third_party/externals/spirv-tools/test/ |
H A D | parse_number_test.cpp | 287 std::string err_msg; in TEST() local 290 rc = ParseAndEncodeIntegerNumber(nullptr, type, AssertEmitFunc, &err_msg); in TEST() 292 EXPECT_EQ("The given text is a nullptr", err_msg); in TEST() 293 rc = ParseAndEncodeIntegerNumber("", type, AssertEmitFunc, &err_msg); in TEST() 295 EXPECT_EQ("Invalid unsigned integer literal: ", err_msg); in TEST() 296 rc = ParseAndEncodeIntegerNumber("=", type, AssertEmitFunc, &err_msg); in TEST() 298 EXPECT_EQ("Invalid unsigned integer literal: =", err_msg); in TEST() 299 rc = ParseAndEncodeIntegerNumber("-", type, AssertEmitFunc, &err_msg); in TEST() 301 EXPECT_EQ("Invalid signed integer literal: -", err_msg); in TEST() 302 rc = ParseAndEncodeIntegerNumber("0=", type, AssertEmitFunc, &err_msg); in TEST() 310 std::string err_msg; TEST() local 356 std::string err_msg; TEST() local 418 std::string err_msg; TEST() local 441 std::string err_msg; TEST() local 491 std::string err_msg; TEST() local 555 std::string err_msg; TEST() local 578 std::string err_msg; TEST() local 632 std::string err_msg; TEST() local 662 std::string err_msg; TEST() local 698 std::string err_msg; TEST() local 728 std::string err_msg; TEST() local 788 std::string err_msg; TEST() local 846 std::string err_msg; TEST() local 903 std::string err_msg; TEST() local 934 std::string err_msg; TEST() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | parse_number_test.cpp | 287 std::string err_msg; in TEST() local 290 rc = ParseAndEncodeIntegerNumber(nullptr, type, AssertEmitFunc, &err_msg); in TEST() 292 EXPECT_EQ("The given text is a nullptr", err_msg); in TEST() 293 rc = ParseAndEncodeIntegerNumber("", type, AssertEmitFunc, &err_msg); in TEST() 295 EXPECT_EQ("Invalid unsigned integer literal: ", err_msg); in TEST() 296 rc = ParseAndEncodeIntegerNumber("=", type, AssertEmitFunc, &err_msg); in TEST() 298 EXPECT_EQ("Invalid unsigned integer literal: =", err_msg); in TEST() 299 rc = ParseAndEncodeIntegerNumber("-", type, AssertEmitFunc, &err_msg); in TEST() 301 EXPECT_EQ("Invalid signed integer literal: -", err_msg); in TEST() 302 rc = ParseAndEncodeIntegerNumber("0=", type, AssertEmitFunc, &err_msg); in TEST() 310 std::string err_msg; TEST() local 356 std::string err_msg; TEST() local 418 std::string err_msg; TEST() local 441 std::string err_msg; TEST() local 491 std::string err_msg; TEST() local 555 std::string err_msg; TEST() local 578 std::string err_msg; TEST() local 632 std::string err_msg; TEST() local 662 std::string err_msg; TEST() local 698 std::string err_msg; TEST() local 728 std::string err_msg; TEST() local 788 std::string err_msg; TEST() local 846 std::string err_msg; TEST() local 903 std::string err_msg; TEST() local 934 std::string err_msg; TEST() local [all...] |
/third_party/spirv-tools/test/ |
H A D | parse_number_test.cpp | 287 std::string err_msg; in TEST() local 290 rc = ParseAndEncodeIntegerNumber(nullptr, type, AssertEmitFunc, &err_msg); in TEST() 292 EXPECT_EQ("The given text is a nullptr", err_msg); in TEST() 293 rc = ParseAndEncodeIntegerNumber("", type, AssertEmitFunc, &err_msg); in TEST() 295 EXPECT_EQ("Invalid unsigned integer literal: ", err_msg); in TEST() 296 rc = ParseAndEncodeIntegerNumber("=", type, AssertEmitFunc, &err_msg); in TEST() 298 EXPECT_EQ("Invalid unsigned integer literal: =", err_msg); in TEST() 299 rc = ParseAndEncodeIntegerNumber("-", type, AssertEmitFunc, &err_msg); in TEST() 301 EXPECT_EQ("Invalid signed integer literal: -", err_msg); in TEST() 302 rc = ParseAndEncodeIntegerNumber("0=", type, AssertEmitFunc, &err_msg); in TEST() 310 std::string err_msg; TEST() local 356 std::string err_msg; TEST() local 418 std::string err_msg; TEST() local 441 std::string err_msg; TEST() local 491 std::string err_msg; TEST() local 555 std::string err_msg; TEST() local 578 std::string err_msg; TEST() local 632 std::string err_msg; TEST() local 662 std::string err_msg; TEST() local 698 std::string err_msg; TEST() local 728 std::string err_msg; TEST() local 788 std::string err_msg; TEST() local 846 std::string err_msg; TEST() local 903 std::string err_msg; TEST() local 934 std::string err_msg; TEST() local [all...] |
/third_party/ltp/lib/ |
H A D | tst_tmpdir.c | 151 static char err_msg[PATH_MAX + 1280]; in purge_dir() local 156 strcpy(err_msg, "Cannot purge system root directory"); in purge_dir() 157 *errptr = err_msg; in purge_dir() 168 sprintf(err_msg, in purge_dir() 171 *errptr = err_msg; in purge_dir() 197 static char err_msg[PATH_MAX + 1280]; in rmobj() local 213 sprintf(err_msg, in rmobj() 216 *errmsg = err_msg; in rmobj() 226 sprintf(err_msg, in rmobj() 229 *errmsg = err_msg; in rmobj() [all...] |
/test/testfwk/xdevice/plugins/devicetest/driver/ |
H A D | device_test.py | 97 err_msg = ErrorMessage.TestCase.Code_0203009 98 LOG.error(err_msg) 99 raise ParamError(err_msg) 110 err_msg = ErrorMessage.TestCase.Code_0203010.format(request.get_source_file()) 111 LOG.error(err_msg) 112 raise ParamError(err_msg) 210 err_msg = ErrorMessage.TestCase.Code_0203012 211 LOG.error(err_msg) 212 raise ParamError(err_msg) 214 err_msg [all...] |
H A D | windows.py | 87 err_msg = ErrorMessage.TestCase.Code_0203010.format(request.get_source_file()) 88 LOG.error(err_msg) 89 raise ParamError(err_msg) 153 err_msg = ErrorMessage.TestCase.Code_0203012 154 LOG.error(err_msg) 155 raise ParamError(err_msg)
|
/third_party/skia/third_party/externals/tint/src/diagnostic/ |
H A D | diagnostic.h | 152 /// @param err_msg the error message 153 void add_error(System system, std::string err_msg) { in add_error() argument 157 error.message = std::move(err_msg); in add_error() 163 /// @param err_msg the error message 165 void add_error(System system, std::string err_msg, const Source& source) { in add_error() argument 170 error.message = std::move(err_msg); in add_error() 178 /// @param err_msg the error message 182 std::string err_msg, in add_error() 189 error.message = std::move(err_msg); in add_error() 195 /// @param err_msg th 180 add_error(System system, const char* code, std::string err_msg, const Source& source) add_error() argument 197 add_ice(System system, const std::string& err_msg, const Source& source) add_ice() argument [all...] |
/base/security/selinux_adapter/scripts/ |
H A D | build_ignore_cfg.py | 54 def check_ignore_file(ignore_file, err_msg): 83 err_msg.append(err) 93 err_msg = [] 100 check_ignore_file(file_list_path, err_msg) 102 if err_msg: 103 err_str = "\n{}".format("\n".join(err_msg))
|
H A D | build_contexts.py | 145 err_msg = "".join(str_seq) 147 str_seq = (err_msg, str(linenum), ":") 148 err_msg = "".join(str_seq) 149 str_seq = (err_msg, "'type ", str(type_key), " is redefinition'") 150 err_msg = "".join(str_seq) 151 print(err_msg)
|
/test/testfwk/xdevice/plugins/devicetest/utils/ |
H A D | file_util.py | 135 err_msg = ErrorMessage.Common.Code_0201008.format(resource_file_path) 136 log.error(err_msg) 137 raise DeviceTestError(err_msg) 184 err_msg = ErrorMessage.Common.Code_0201009 185 log.error(err_msg, is_traceback=True) 186 raise DeviceTestError(err_msg) from error 196 err_msg = ErrorMessage.Common.Code_0201001.format(ErrorCategory.Environment, file_path) 197 log.error(err_msg, is_traceback=True) 198 raise DeviceTestError(err_msg) from error 200 err_msg [all...] |
/test/testfwk/xdevice/plugins/devicetest/core/ |
H A D | record.py | 36 err_msg = ErrorMessage.Common.Code_0201004 37 self.log.error(err_msg) 39 raise TestTerminated(err_msg)
|
/third_party/benchmark/tools/gbench/ |
H A D | util.py | 65 err_msg = None 67 err_msg = "'%s' does not exist" % filename 69 err_msg = "'%s' does not name a file" % filename 75 err_msg = "'%s' does not name a valid benchmark executable or JSON file" % filename 76 return ftype, err_msg
|
/third_party/ffmpeg/libavformat/ |
H A D | sbgdec.c | 136 char err_msg[128]; member 327 snprintf(p->err_msg, sizeof(p->err_msg), in parse_immediate() 334 snprintf(p->err_msg, sizeof(p->err_msg), in parse_preprogrammed() 342 snprintf(p->err_msg, sizeof(p->err_msg), in parse_optarg() 379 snprintf(p->err_msg, sizeof(p->err_msg), in parse_options() 389 snprintf(p->err_msg, sizeo in parse_options() [all...] |
/third_party/python/Python/ |
H A D | errors.c | 1227 {"err_msg", "Error message"}, 1271 PyObject *err_msg, PyObject *obj) in make_unraisable_hook_args() 1292 ADD_ITEM(err_msg); in make_unraisable_hook_args() 1313 PyObject *err_msg, PyObject *obj, PyObject *file) in write_unraisable_exc_file() 1316 if (err_msg != NULL && err_msg != Py_None) { in write_unraisable_exc_file() 1317 if (PyFile_WriteObject(err_msg, file, Py_PRINT_RAW) < 0) { in write_unraisable_exc_file() 1340 else if (err_msg != NULL && err_msg != Py_None) { in write_unraisable_exc_file() 1341 if (PyFile_WriteObject(err_msg, fil in write_unraisable_exc_file() 1269 make_unraisable_hook_args(PyThreadState *tstate, PyObject *exc_type, PyObject *exc_value, PyObject *exc_tb, PyObject *err_msg, PyObject *obj) make_unraisable_hook_args() argument 1311 write_unraisable_exc_file(PyThreadState *tstate, PyObject *exc_type, PyObject *exc_value, PyObject *exc_tb, PyObject *err_msg, PyObject *obj, PyObject *file) write_unraisable_exc_file() argument 1431 write_unraisable_exc(PyThreadState *tstate, PyObject *exc_type, PyObject *exc_value, PyObject *exc_tb, PyObject *err_msg, PyObject *obj) write_unraisable_exc() argument 1467 PyObject *err_msg = PyStructSequence_GET_ITEM(args, 3); _PyErr_WriteUnraisableDefaultHook() local 1494 PyObject *err_msg = NULL; _PyErr_WriteUnraisableMsg() local [all...] |
/third_party/python/Lib/test/libregrtest/ |
H A D | runtest_mp.py | 205 err_msg=None 208 return MultiprocessResult(test_result, stdout, err_msg) 285 err_msg = None 287 err_msg = "Exit code %s" % retcode 292 err_msg = "Failed to parse worker stdout" 298 err_msg = "Failed to parse worker JSON: %s" % exc 300 if err_msg is not None: 301 return self.mp_result_error(ChildError(test_name), stdout, err_msg) 303 return MultiprocessResult(result, stdout, err_msg)
|
/third_party/python/Lib/ctypes/test/ |
H A D | test_random_things.py | 49 self.assertEqual(cm.unraisable.err_msg, 71 err_msg = "unsupported operand type(s) for /: 'int' and 'bytes'" 72 with self.expect_unraisable(TypeError, err_msg):
|
/third_party/mesa3d/src/tool/pps/ |
H A D | pps.cc | 18 char *err_msg = std::strerror(errno); in check() local 19 PERFETTO_ELOG("%s: %s", msg, err_msg); in check()
|
/third_party/curl/lib/vssh/ |
H A D | libssh2.c | 1006 char *err_msg = NULL; in ssh_statemach_act() local 1007 (void)libssh2_session_last_error(sshc->ssh_session, &err_msg, NULL, 0); in ssh_statemach_act() 1008 failf(data, "Failure establishing ssh session: %d, %s", rc, err_msg); in ssh_statemach_act() 1178 char *err_msg = NULL; in ssh_statemach_act() local 1183 err_msg = unknown; in ssh_statemach_act() 1187 &err_msg, NULL, 0); in ssh_statemach_act() 1189 infof(data, "SSH public key authentication failed: %s", err_msg); in ssh_statemach_act() 1393 char *err_msg = NULL; in ssh_statemach_act() local 1401 &err_msg, NULL, 0); in ssh_statemach_act() 1402 failf(data, "Failure initializing sftp session: %s", err_msg); in ssh_statemach_act() 2624 char *err_msg = NULL; ssh_statemach_act() local 2661 char *err_msg = NULL; ssh_statemach_act() local 2719 char *err_msg = NULL; ssh_statemach_act() local 2793 char *err_msg = NULL; ssh_statemach_act() local 2846 char *err_msg = NULL; ssh_statemach_act() local 2863 char *err_msg = NULL; ssh_statemach_act() local 2879 char *err_msg = NULL; ssh_statemach_act() local 2895 char *err_msg = NULL; ssh_statemach_act() local 2921 char *err_msg = NULL; ssh_statemach_act() local 2936 char *err_msg = NULL; ssh_statemach_act() local 2965 char *err_msg = NULL; ssh_statemach_act() local 2987 char *err_msg = NULL; ssh_statemach_act() local [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/ |
H A D | kit_lite.py | 309 err_msg = ErrorMessage.Config.Code_0302022.format(self.remote) 310 LOG.error(err_msg) 311 raise TypeError(err_msg) 488 err_msg = ErrorMessage.Config.Code_0302008.format( 490 LOG.error(err_msg) 491 raise TypeError(err_msg) 566 err_msg = ErrorMessage.Config.Code_0302009.format(self.query) 567 LOG.error(err_msg) 568 raise TypeError(err_msg) 719 err_msg [all...] |
/third_party/cJSON/tests/unity/auto/ |
H A D | unity_test_summary.rb | 73 def usage(err_msg = nil) 75 puts err_msg if err_msg
|
H A D | unity_to_junit.py | 111 def usage(err_msg=None): 113 if err_msg: 114 print(err_msg)
|
H A D | unity_test_summary.py | 74 def usage(self, err_msg=None): 76 if err_msg: 77 print(err_msg)
|
/third_party/unity/auto/ |
H A D | unity_test_summary.rb | 73 def usage(err_msg = nil) 75 puts err_msg if err_msg
|
/third_party/python/Lib/test/ |
H A D | test_code_module.py | 96 err_msg = self.stderr.method_calls[1] 98 self.assertEqual(err_msg, ['write', (expected,), {}]) 114 err_msg = self.stderr.method_calls[1] 116 self.assertEqual(err_msg, ['write', (expected,), {}])
|
/test/testfwk/xdevice/src/xdevice/_core/context/ |
H A D | impl.py | 129 err_msg = "" 131 unavailable, err_msg = self._check_task(task) 133 error_message = ErrorMessage.Common.Code_0101014.format(err_msg) 148 err_msg = "%s[%s]" % (str(exception), error_no) if error_no else str(exception) 157 finished = ExecuteFinished(unavailable, err_msg)
|