Home
last modified time | relevance | path

Searched refs:error_msg (Results 1 – 25 of 132) sorted by relevance

123456

/third_party/node/deps/v8/infra/testing/
DPRESUBMIT.py56 def check_keys(error_msg, src_dict, supported_keys): argument
60 errors += error_msg(f'Key "{key}" must be one of {supported_keys}')
64 def _check_properties(error_msg, src_dict, prop_name, supported_keys): argument
67 return error_msg(f'Value for {prop_name} must be a dict')
68 return check_keys(error_msg, properties, supported_keys)
71 def _check_int_range(error_msg, src_dict, prop_name, lower_bound=None, argument
79 return error_msg(f'If specified, {prop_name} must be an int')
81 return error_msg(f'If specified, {prop_name} must be >={lower_bound}')
83 return error_msg(f'If specified, {prop_name} must be <={upper_bound}')
87 def _check_swarming_task_attrs(error_msg, src_dict): argument
[all …]
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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 …]
Dparse_number.h220 std::function<void(uint32_t)> emit, std::string* error_msg);
233 std::function<void(uint32_t)> emit, std::string* error_msg);
247 std::string* error_msg);
/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 …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_eu_validate.c75 if ((cond) && !CONTAINS(error_msg, error(msg))) { \
76 CAT(error_msg, error(msg)); \
84 cat(&error_msg, __msg); \
286 struct string error_msg = { .str = NULL, .len = 0 }; in invalid_values() local
302 return error_msg; in invalid_values()
321 if (error_msg.str) in invalid_values()
322 return error_msg; in invalid_values()
349 return error_msg; in invalid_values()
358 struct string error_msg = { .str = NULL, .len = 0 }; in sources_not_null() local
378 return error_msg; in sources_not_null()
[all …]
/third_party/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()
Dfsverity.c154 error_msg("--hash-alg can only be specified once"); in parse_hash_alg_option()
168 error_msg("unknown hash algorithm: '%s'", arg); in parse_hash_alg_option()
179 error_msg("--block-size can only be specified once"); in parse_block_size_option()
184 error_msg("Invalid block size: %s. Must be power of 2", arg); in parse_block_size_option()
195 error_msg("--salt can only be specified once"); in parse_salt_option()
201 error_msg("salt is not a valid hex string"); in parse_salt_option()
269 error_msg("%s can only be specified once", opt_name); in parse_out_metadata_option()
319 error_msg("no command specified"); in main()
329 error_msg("unrecognized command: '%s'", argv[1]); in main()
Dcmd_enable.c31 error_msg("signature file '%s' is empty", filename); in read_signature()
35 error_msg("signature file '%s' is too large", filename); in read_signature()
80 error_msg("--signature can only be specified once"); in fsverity_cmd_enable()
/third_party/ffmpeg/libavdevice/
Dopenal-dec.c129 const char *error_msg; in read_header() local
147 if (error = al_get_error(ad->device, &error_msg)) goto fail; in read_header()
178 if (error_msg) in read_header()
179 av_log(ctx, AV_LOG_ERROR, "Cannot open device: %s\n", error_msg); in read_header()
187 const char *error_msg; in read_packet() local
193 if (error = al_get_error(ad->device, &error_msg)) goto fail; in read_packet()
208 if (error = al_get_error(ad->device, &error_msg)) goto fail; in read_packet()
215 if (error_msg) in read_packet()
216 av_log(ctx, AV_LOG_ERROR, "Error: %s\n", error_msg); in read_packet()
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-util/
Dwrappers.h70 …const char* error_msg = "ERROR: wrong argument count for " # CLASS "." # NAME ", expected " # EXPR…
71 … return jerry_create_error(JERRY_ERROR_TYPE, reinterpret_cast<const jerry_char_t*>(error_msg)); \
76 …const char* error_msg = "ERROR: wrong argument type for " # CLASS "." # NAME ", expected argument …
77 … return jerry_create_error(JERRY_ERROR_TYPE, reinterpret_cast<const jerry_char_t*>(error_msg)); \
83 …const char* error_msg = "ERROR: wrong argument type for " # CLASS "." # NAME ", expected argument …
84 … return jerry_create_error(JERRY_ERROR_TYPE, reinterpret_cast<const jerry_char_t*>(error_msg)); \
/third_party/glib/patch/
Dbackport-gregex-Use-pcre2-error-messages-if-we-dont-provide-a-specific-one.patch36 + PCRE2_UCHAR8 error_msg[2048];
39 + err_length = pcre2_get_error_message (errcode, error_msg,
40 + G_N_ELEMENTS (error_msg));
46 + g_assert ((size_t) err_length < G_N_ELEMENTS (error_msg));
47 + return g_memdup2 (error_msg, err_length + 1);
107 + gchar *error_msg = get_match_error_message (match_info->matches);
112 + match_info->regex->pattern, error_msg);
113 + g_clear_pointer (&error_msg, g_free);
155 + gchar *error_msg = get_match_error_message (info->matches);
160 + regex->pattern, error_msg);
[all …]
/third_party/toybox/toys/pending/
Dinit.c133 error_msg("Unable to open /etc/inittab. Using Default inittab"); in parse_inittab()
166 if (!*tmp) error_msg("Invalid action at line number %d ---- ignoring",line_number); in parse_inittab()
172 error_msg("Bad inittab entry at line %d", line_number); in parse_inittab()
235 error_msg("unable to run %s",command); in run_command()
273 error_msg("Unable to open %s,%s\n", x->terminal_name, strerror(errno)); in final_run()
334 error_msg("The system is going down NOW!"); in set_default()
336 error_msg("Sent SIGTERM to all processes"); in set_default()
352 error_msg("Requesting system halt"); in halt_poweroff_reboot_handler()
356 error_msg("Requesting system poweroff"); in halt_poweroff_reboot_handler()
360 error_msg("Requesting system reboot"); in halt_poweroff_reboot_handler()
[all …]
Dtftp.c225 if (nbytes == 0) error_msg("Connection lost."); in read_ack()
226 else if (nbytes > 0) error_msg("Short packet: %d bytes", nbytes); in read_ack()
227 else error_msg("Server read ACK failure."); in read_ack()
237 error_msg("Invalid address in DATA."); in read_ack()
241 error_msg("Invalid port in DATA."); in read_ack()
250 error_msg("Bad opcode."); in read_ack()
262 error_msg("Timeout, Waiting for ACK."); in read_ack()
301 error_msg("Invalid address in DATA."); in file_get()
311 error_msg("Invalid port in DATA."); in file_get()
318 error_msg("Tiny data packet ignored."); in file_get()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/
Dplugin.cc105 CodeGeneratorResponse* response, std::string* error_msg) { in GenerateCode() argument
119 *error_msg = in GenerateCode()
168 std::string error_msg; in PluginMain() local
171 if (GenerateCode(request, *generator, &response, &error_msg)) { in PluginMain()
177 if (!error_msg.empty()) { in PluginMain()
178 std::cerr << argv[0] << ": " << error_msg << std::endl; in PluginMain()
/third_party/python/Lib/test/
Dtest_script_helper.py26 error_msg = str(error_context.exception)
27 self.assertIn('command line:', error_msg)
28 self.assertIn('sys.exit(0)', error_msg, msg='unexpected command line')
33 error_msg = str(error_context.exception)
34 self.assertIn('Process return code is 0\n', error_msg)
35 self.assertIn('import sys; sys.exit(0)', error_msg,
Dtest_class.py621 error_msg = r'C.__init__\(\) takes exactly one argument \(the instance to initialize\)'
629 with self.assertRaisesRegex(TypeError, error_msg):
635 with self.assertRaisesRegex(TypeError, error_msg):
645 error_msg = r'object.__new__\(\) takes exactly one argument \(the type to instantiate\)'
647 with self.assertRaisesRegex(TypeError, error_msg):
650 with self.assertRaisesRegex(TypeError, error_msg):
653 with self.assertRaisesRegex(TypeError, error_msg):
661 error_msg = r'object.__init__\(\) takes exactly one argument \(the instance to initialize\)'
663 with self.assertRaisesRegex(TypeError, error_msg):
666 with self.assertRaisesRegex(TypeError, error_msg):
Dtest_format.py503 error_msg = re.escape("Cannot specify ',' with ','.")
504 with self.assertRaisesRegex(ValueError, error_msg):
508 error_msg = re.escape("Cannot specify '_' with '_'.")
509 with self.assertRaisesRegex(ValueError, error_msg):
513 error_msg = re.escape("Cannot specify both ',' and '_'.")
514 with self.assertRaisesRegex(ValueError, error_msg):
518 error_msg = re.escape("Cannot specify both ',' and '_'.")
519 with self.assertRaisesRegex(ValueError, error_msg):
/third_party/json/include/nlohmann/detail/input/
Dparser.hpp468 std::string error_msg = "syntax error "; in exception_message() local
472 error_msg += concat("while parsing ", context, ' '); in exception_message()
475 error_msg += "- "; in exception_message()
479 error_msg += concat(m_lexer.get_error_message(), "; last read: '", in exception_message()
484 error_msg += concat("unexpected ", lexer_t::token_type_name(last_token)); in exception_message()
489 error_msg += concat("; expected ", lexer_t::token_type_name(expected)); in exception_message()
492 return error_msg; in exception_message()
/third_party/toybox/toys/other/
Dswitch_root.c57 error_msg("not ramfs"); in switch_root_main()
65 error_msg("bad newroot '%s'", newroot); in switch_root_main()
77 error_msg("bad init"); in switch_root_main()
/third_party/cef/tests/shared/browser/
Dextension_util.cc95 CefString error_msg; in GetInternalManifest() local
97 CefParseJSONAndReturnError(manifest_contents, JSON_PARSER_RFC, error_msg); in GetInternalManifest()
99 if (error_msg.empty()) in GetInternalManifest()
100 error_msg = "Incorrectly formatted dictionary contents."; in GetInternalManifest()
102 << error_msg.ToString(); in GetInternalManifest()
/third_party/protobuf/conformance/
Dconformance_test_runner.cc168 string error_msg; in RunTest() local
170 StringAppendF(&error_msg, in RunTest()
173 StringAppendF(&error_msg, in RunTest()
176 GOOGLE_LOG(INFO) << error_msg; in RunTest()
180 response_obj.set_runtime_error(error_msg); in RunTest()
/third_party/gstreamer/gstplugins_good/ext/jack/
Dmeson.build22 error_msg = '"jack" option is enabled but ' variable
51 error_msg += 'JACK2 installation could not be found'
53 error_msg += 'JACK dependency could not be found'
58 error(error_msg)
/third_party/toybox/toys/lsb/
Dgzip.c92 error_msg("%s%s: %s", "gz", dd ? "read" : "write", gzerror(gz, &len));
124 if (!FLAG(f)) return error_msg("%s:need -f to read TTY"+3*!!ifd, in); in do_gzip()
135 else return error_msg("no .gz: %s", in); in do_gzip()

123456