Home
last modified time | relevance | path

Searched refs:err_msg (Results 1 – 25 of 60) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dparse_number_test.cpp287 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()
[all …]
/third_party/spirv-tools/test/
Dparse_number_test.cpp287 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()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/
Dparse_number_test.cpp287 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()
[all …]
/third_party/ltp/lib/
Dtst_tmpdir.c136 static char err_msg[PATH_MAX + 1280]; in purge_dir() local
141 strcpy(err_msg, "Cannot purge system root directory"); in purge_dir()
142 *errptr = err_msg; in purge_dir()
153 sprintf(err_msg, in purge_dir()
156 *errptr = err_msg; in purge_dir()
182 static char err_msg[PATH_MAX + 1280]; in rmobj() local
198 sprintf(err_msg, in rmobj()
201 *errmsg = err_msg; in rmobj()
211 sprintf(err_msg, in rmobj()
214 *errmsg = err_msg; in rmobj()
[all …]
/third_party/skia/third_party/externals/tint/src/diagnostic/
Ddiagnostic.h153 void add_error(System system, std::string err_msg) { in add_error() argument
157 error.message = std::move(err_msg); in add_error()
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()
182 std::string err_msg, in add_error() argument
189 error.message = std::move(err_msg); in add_error()
198 const std::string& err_msg, in add_ice() argument
204 ice.message = err_msg; in add_ice()
/third_party/benchmark/tools/gbench/
Dutil.py64 err_msg = None
66 err_msg = "'%s' does not exist" % filename
68 err_msg = "'%s' does not name a file" % filename
74 err_msg = "'%s' does not name a valid benchmark executable or JSON file" % filename
75 return ftype, err_msg
/third_party/ffmpeg/libavformat/
Dsbgdec.c135 char err_msg[128]; member
326 snprintf(p->err_msg, sizeof(p->err_msg), in parse_immediate()
333 snprintf(p->err_msg, sizeof(p->err_msg), in parse_preprogrammed()
341 snprintf(p->err_msg, sizeof(p->err_msg), in parse_optarg()
378 snprintf(p->err_msg, sizeof(p->err_msg), in parse_options()
388 snprintf(p->err_msg, sizeof(p->err_msg), in parse_options()
397 snprintf(p->err_msg, sizeof(p->err_msg), in parse_options()
416 snprintf(p->err_msg, sizeof(p->err_msg), in parse_options()
421 snprintf(p->err_msg, sizeof(p->err_msg), in parse_options()
430 snprintf(p->err_msg, sizeof(p->err_msg), in parse_options()
[all …]
/third_party/curl/lib/vssh/
Dlibssh2.c1008 char *err_msg = NULL; in ssh_statemach_act() local
1009 (void)libssh2_session_last_error(sshc->ssh_session, &err_msg, NULL, 0); in ssh_statemach_act()
1010 failf(data, "Failure establishing ssh session: %d, %s", rc, err_msg); in ssh_statemach_act()
1180 char *err_msg = NULL; in ssh_statemach_act() local
1185 err_msg = unknown; in ssh_statemach_act()
1189 &err_msg, NULL, 0); in ssh_statemach_act()
1191 infof(data, "SSH public key authentication failed: %s", err_msg); in ssh_statemach_act()
1395 char *err_msg = NULL; in ssh_statemach_act() local
1403 &err_msg, NULL, 0); in ssh_statemach_act()
1404 failf(data, "Failure initializing sftp session: %s", err_msg); in ssh_statemach_act()
[all …]
/third_party/python/Python/
Derrors.c1237 PyObject *err_msg, PyObject *obj) in make_unraisable_hook_args() argument
1258 ADD_ITEM(err_msg); in make_unraisable_hook_args()
1279 PyObject *err_msg, PyObject *obj, PyObject *file) in write_unraisable_exc_file() argument
1282 if (err_msg != NULL && err_msg != Py_None) { in write_unraisable_exc_file()
1283 if (PyFile_WriteObject(err_msg, file, Py_PRINT_RAW) < 0) { in write_unraisable_exc_file()
1306 else if (err_msg != NULL && err_msg != Py_None) { in write_unraisable_exc_file()
1307 if (PyFile_WriteObject(err_msg, file, Py_PRINT_RAW) < 0) { in write_unraisable_exc_file()
1397 PyObject *exc_value, PyObject *exc_tb, PyObject *err_msg, in write_unraisable_exc() argument
1409 err_msg, obj, file); in write_unraisable_exc()
1432 PyObject *err_msg = PyStructSequence_GET_ITEM(args, 3); in _PyErr_WriteUnraisableDefaultHook() local
[all …]
/third_party/python/Lib/test/libregrtest/
Druntest_mp.py199 err_msg=None argument
202 return MultiprocessResult(test_result, stdout, stderr, err_msg)
269 err_msg = None
271 err_msg = "Exit code %s" % retcode
276 err_msg = "Failed to parse worker stdout"
282 err_msg = "Failed to parse worker JSON: %s" % exc
284 if err_msg is not None:
286 stdout, stderr, err_msg)
288 return MultiprocessResult(result, stdout, stderr, err_msg)
/third_party/typescript/tests/ts_extra_tests/tool/
Dtestcfg.py168 err_msg, line = get_error_message(
170 self.detail_result = err_msg
227 err_msg, line = get_error_message(
229 self.detail_result = err_msg
265 err_msg, line = get_error_message(
268 self.detail_result = err_msg
/third_party/python/Lib/ctypes/test/
Dtest_random_things.py49 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/unity/auto/
Dunity_test_summary.rb73 def usage(err_msg = nil) argument
75 puts err_msg if err_msg
Dunity_test_summary.py74 def usage(self, err_msg=None): argument
76 if err_msg:
77 print(err_msg)
Dunity_to_junit.py111 def usage(err_msg=None): argument
113 if err_msg:
114 print(err_msg)
Dstylize_as_junit.rb120 def usage(err_msg = nil) argument
122 puts err_msg if err_msg
/third_party/cJSON/tests/unity/auto/
Dunity_test_summary.rb73 def usage(err_msg = nil) argument
75 puts err_msg if err_msg
Dunity_test_summary.py74 def usage(self, err_msg=None): argument
76 if err_msg:
77 print(err_msg)
Dunity_to_junit.py111 def usage(err_msg=None): argument
113 if err_msg:
114 print(err_msg)
Dstylize_as_junit.rb120 def usage(err_msg = nil) argument
122 puts err_msg if err_msg
/third_party/mesa3d/src/tool/pps/
Dpps.cc18 char *err_msg = std::strerror(errno); in check() local
19 PERFETTO_ELOG("%s: %s", msg, err_msg); in check()
/third_party/python/Lib/test/
Dtest_code_module.py96 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,), {}])
/third_party/gstreamer/gstreamer/gst/
Dgstplugin.c753 char *err_msg = NULL; in get_better_module_load_error() local
770 err_msg = g_strdup_printf ("%s\nThis usually means Windows was unable " in get_better_module_load_error()
778 err_msg = win32_err_msg; in get_better_module_load_error()
781 err_msg = g_strdup_printf ("g_module_open() failed on %s with \"%s\" but " in get_better_module_load_error()
790 return err_msg; in get_better_module_load_error()
871 char *err_msg = get_better_module_load_error (filename, g_module_error ()); in _priv_gst_plugin_load_file_for_registry() local
873 const char *err_msg = g_module_error (); in _priv_gst_plugin_load_file_for_registry()
875 GST_CAT_WARNING (GST_CAT_PLUGIN_LOADING, "module_open failed: %s", err_msg); in _priv_gst_plugin_load_file_for_registry()
878 err_msg); in _priv_gst_plugin_load_file_for_registry()
882 g_warning ("Failed to load plugin '%s': %s", filename, err_msg); in _priv_gst_plugin_load_file_for_registry()
[all …]
/third_party/skia/build/fuchsia/
Dupdate_fuchsia_sdk33 err_msg = "Cipd not found, please install. See: " + \
40 MessageExit(err_msg)
/third_party/python/Include/cpython/
Dinitconfig.h17 const char *err_msg; member
22 PyAPI_FUNC(PyStatus) PyStatus_Error(const char *err_msg);

123