/third_party/node/deps/v8/infra/testing/ |
H A D | PRESUBMIT.py | 56 def check_keys(error_msg, src_dict, supported_keys): 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): 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, 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_dic 137 def error_msg(msg): global() function 151 def error_msg(msg): global() function [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
H A D | parse_number.cpp | 59 std::function<void(uint32_t)> emit, std::string* error_msg) { in ParseAndEncodeIntegerNumber() 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() 57 ParseAndEncodeIntegerNumber( const char* text, const NumberType& type, std::function<void(uint32_t)> emit, std::string* error_msg) ParseAndEncodeIntegerNumber() argument 134 ParseAndEncodeFloatingPointNumber( const char* text, const NumberType& type, std::function<void(uint32_t)> emit, std::string* error_msg) ParseAndEncodeFloatingPointNumber() argument 192 ParseAndEncodeNumber(const char* text, const NumberType& type, std::function<void(uint32_t)> emit, std::string* error_msg) ParseAndEncodeNumber() argument [all...] |
H A D | parse_number.h | 214 // |emit| function will not be called. If the string pointer |error_msg| is not 216 // case of success, |error_msg| will not be touched. Integers up to 64 bits are 220 std::function<void(uint32_t)> emit, std::string* error_msg); 227 // |emit| function will not be called. If the string pointer |error_msg| is not 229 // case of success, |error_msg| will not be touched. Only 16, 32 and 64 bit 233 std::function<void(uint32_t)> emit, std::string* error_msg); 240 // |emit| function will not be called. If the string pointer |error_msg| is not 242 // case of success, |error_msg| will not be touched. Integers up to 64 bits 247 std::string* error_msg);
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
H A D | parse_number.cpp | 59 std::function<void(uint32_t)> emit, std::string* error_msg) { in ParseAndEncodeIntegerNumber() 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() 57 ParseAndEncodeIntegerNumber( const char* text, const NumberType& type, std::function<void(uint32_t)> emit, std::string* error_msg) ParseAndEncodeIntegerNumber() argument 134 ParseAndEncodeFloatingPointNumber( const char* text, const NumberType& type, std::function<void(uint32_t)> emit, std::string* error_msg) ParseAndEncodeFloatingPointNumber() argument 192 ParseAndEncodeNumber(const char* text, const NumberType& type, std::function<void(uint32_t)> emit, std::string* error_msg) ParseAndEncodeNumber() argument [all...] |
H A D | parse_number.h | 214 // |emit| function will not be called. If the string pointer |error_msg| is not 216 // case of success, |error_msg| will not be touched. Integers up to 64 bits are 220 std::function<void(uint32_t)> emit, std::string* error_msg); 227 // |emit| function will not be called. If the string pointer |error_msg| is not 229 // case of success, |error_msg| will not be touched. Only 16, 32 and 64 bit 233 std::function<void(uint32_t)> emit, std::string* error_msg); 240 // |emit| function will not be called. If the string pointer |error_msg| is not 242 // case of success, |error_msg| will not be touched. Integers up to 64 bits 247 std::string* error_msg);
|
/third_party/spirv-tools/source/util/ |
H A D | parse_number.cpp | 59 std::function<void(uint32_t)> emit, std::string* error_msg) { in ParseAndEncodeIntegerNumber() 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() 57 ParseAndEncodeIntegerNumber( const char* text, const NumberType& type, std::function<void(uint32_t)> emit, std::string* error_msg) ParseAndEncodeIntegerNumber() argument 134 ParseAndEncodeFloatingPointNumber( const char* text, const NumberType& type, std::function<void(uint32_t)> emit, std::string* error_msg) ParseAndEncodeFloatingPointNumber() argument 192 ParseAndEncodeNumber(const char* text, const NumberType& type, std::function<void(uint32_t)> emit, std::string* error_msg) ParseAndEncodeNumber() argument [all...] |
H A D | parse_number.h | 214 // |emit| function will not be called. If the string pointer |error_msg| is not 216 // case of success, |error_msg| will not be touched. Integers up to 64 bits are 220 std::function<void(uint32_t)> emit, std::string* error_msg); 227 // |emit| function will not be called. If the string pointer |error_msg| is not 229 // case of success, |error_msg| will not be touched. Only 16, 32 and 64 bit 233 std::function<void(uint32_t)> emit, std::string* error_msg); 240 // |emit| function will not be called. If the string pointer |error_msg| is not 242 // case of success, |error_msg| will not be touched. Integers up to 64 bits 247 std::string* error_msg);
|
/third_party/python/Lib/test/ |
H A D | test_class.py | 618 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...] |
H A D | test_format.py | 503 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): 607 error_msg = re.compile("Invalid format specifier '.*z.*'") 608 with self.assertRaisesRegex(ValueError, error_msg) [all...] |
H A D | test_script_helper.py | 26 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,
|
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-util/ |
H A D | wrappers.h | 70 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 " # INDEX " to be a " # TYPE ".\n"; \ 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 " # INDEX " to be a " # TYPE ".\n"; \ 84 return jerry_create_error(JERRY_ERROR_TYPE, reinterpret_cast<const jerry_char_t*>(error_msg)); \
|
/third_party/fsverity-utils/programs/ |
H A D | cmd_sign.c | 61 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()
|
H A D | cmd_dump_metadata.c | 44 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()
|
H A D | fsverity.c | 154 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()
|
H A D | cmd_enable.c | 31 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/ |
H A D | openal-dec.c | 129 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/mesa3d/src/intel/compiler/ |
H A D | brw_eu_validate.c | 75 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() 386 struct string error_msg = { .str = NULL, .len = 0 }; alignment_supported() local 423 struct string error_msg = { .str = NULL, .len = 0 }; send_restrictions() local 739 struct string error_msg = { .str = NULL, .len = 0 }; general_restrictions_based_on_operand_types() local 1024 struct string error_msg = { .str = NULL, .len = 0 }; general_restrictions_on_region_parameters() local 1181 struct string error_msg = { .str = NULL, .len = 0 }; special_restrictions_for_mixed_float_mode() local 1468 struct string error_msg = { .str = NULL, .len = 0 }; region_alignment_rules() local 1780 struct string error_msg = { .str = NULL, .len = 0 }; vector_immediate_restrictions() local 1844 struct string error_msg = { .str = NULL, .len = 0 }; special_requirements_for_handling_double_precision_data_types() local 2074 struct string error_msg = { .str = NULL, .len = 0 }; instruction_restrictions() local 2180 struct string error_msg = { .str = NULL, .len = 0 }; send_descriptor_restrictions() local 2298 struct string error_msg = { .str = NULL, .len = 0 }; brw_validate_instruction() local [all...] |
/third_party/toybox/toys/pending/ |
H A D | init.c | 133 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("Requestin in halt_poweroff_reboot_handler() [all...] |
H A D | tftp.c | 225 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("Tin in file_get() [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | plugin.cc | 105 CodeGeneratorResponse* response, std::string* error_msg) { in GenerateCode() 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() 103 GenerateCode(const CodeGeneratorRequest& request, const CodeGenerator& generator, CodeGeneratorResponse* response, std::string* error_msg) GenerateCode() argument
|
/third_party/toybox/toys/net/ |
H A D | ftpget.c | 64 error_msg("xread2line line %d, len %d total %d i %d toybox buf %s\r\n", in xread2line() 72 error_msg("xread2line line %d, len %d total %d toybox buf %s\r\n", in xread2line() 105 error_msg("ftp_line line %d, must %d rc %d toybox buf %s\r\n", in ftp_line() 151 error_msg("ftpget_main line %d, PASS ret %d toybox buf %s\r\n", in ftpget_main() 161 error_msg("ftpget_main line %d, toys.optflags 0x%x toys.optc %d toybox buf %s\r\n", in ftpget_main() 198 error_msg("ftpget_main line %d, port %d toybox buf %s\r\n", __LINE__, port, toybuf); in ftpget_main() 217 error_msg("ftpget_main line %d, port %d get %d toybox buf %s\r\n", __LINE__, port, get, toybuf); in ftpget_main() 271 error_msg("ftpget_main line %d, len local %d len remote %d toybox buf %s\r\n", __LINE__, lenl, lenr, toybuf); in ftpget_main()
|
/third_party/toybox/toys/other/ |
H A D | switch_root.c | 57 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()
|
H A D | sysctl.c | 47 if (!(toys.optflags & FLAG_e)) error_msg("unknown key '%s'", key); in key_error() 100 error_msg("'%s' not key=value", key); in process_key() 136 error_msg("'%s' not key=value", line); in sysctl_main()
|
/third_party/toybox/toys/lsb/ |
H A D | gzip.c | 92 error_msg("%s%s: %s", "gz", dd ? "read" : "write", gzerror(gz, &len)); in do_deflate() 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()
|
/third_party/protobuf/conformance/ |
H A D | conformance_test_runner.cc | 168 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()
|