/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...] |
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sharedbuffer_configuration.py | 132 def log_test(test_name, err_msg=None): 133 if err_msg: 134 print("\t%s" % err_msg) 205 err_msg = None 207 err_msg = "Incorrect pool size (got {}, expected {})".format(pool["size"], size) 209 err_msg = "Incorrect pool threshold type (got {}, expected {})".format(pool["thtype"], thtype) 214 err_msg = "Other pool setup changed as well" 216 pool["sb"]), err_msg) 253 err_msg = None 255 err_msg [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sharedbuffer_configuration.py | 132 def log_test(test_name, err_msg=None): 133 if err_msg: 134 print("\t%s" % err_msg) 205 err_msg = None 207 err_msg = "Incorrect pool size (got {}, expected {})".format(pool["size"], size) 209 err_msg = "Incorrect pool threshold type (got {}, expected {})".format(pool["thtype"], thtype) 214 err_msg = "Other pool setup changed as well" 216 pool["sb"]), err_msg) 253 err_msg = None 255 err_msg [all...] |
/kernel/linux/linux-6.6/tools/tracing/rtla/src/ |
H A D | trace.c | 28 err_msg("Tracer %s not found!\n", tracer_name); in enable_tracer_by_name() 30 err_msg("Failed to enable the %s tracer\n", tracer_name); in enable_tracer_by_name() 47 err_msg("Oops, error disabling tracer\n"); in disable_tracer() 80 err_msg("Failed to open trace file\n"); in save_trace_to_file() 86 err_msg("Failed to create output file %s\n", filename); in save_trace_to_file() 300 err_msg("Error disabling %s:%s filter %s\n", tevent->system, in trace_event_disable_filter() 335 err_msg(" Failed to create %s output file\n", path); in trace_event_save_hist() 341 err_msg(" Failed to read %s:%s hist file\n", tevent->system, tevent->event); in trace_event_save_hist() 380 err_msg("Error disabling %s:%s trigger %s\n", tevent->system, in trace_event_disable_trigger() 421 err_msg("Filte in trace_event_enable_filter() [all...] |
H A D | timerlat_top.c | 500 err_msg("Error alloc trace event"); in timerlat_top_parse_args() 516 err_msg("Error parsing house keeping CPUs\n"); in timerlat_top_parse_args() 561 err_msg("Error adding trigger %s\n", optarg); in timerlat_top_parse_args() 572 err_msg("Error adding filter %s\n", optarg); in timerlat_top_parse_args() 582 err_msg("--dma-latency needs to be >= 0 and < 10000"); in timerlat_top_parse_args() 598 err_msg("rtla needs root permission\n"); in timerlat_top_parse_args() 629 err_msg("Failed to apply CPUs config\n"); in timerlat_top_apply_config() 640 err_msg("Failed to set stop us\n"); in timerlat_top_apply_config() 648 err_msg("Failed to set stop total us\n"); in timerlat_top_apply_config() 657 err_msg("Faile in timerlat_top_apply_config() [all...] |
H A D | osnoise_top.c | 436 err_msg("Error alloc trace event"); in osnoise_top_parse_args() 453 err_msg("Error parsing house keeping CPUs\n"); in osnoise_top_parse_args() 496 err_msg("Error adding trigger %s\n", optarg); in osnoise_top_parse_args() 507 err_msg("Error adding filter %s\n", optarg); in osnoise_top_parse_args() 520 err_msg("osnoise needs root permission\n"); in osnoise_top_parse_args() 541 err_msg("Failed to apply CPUs config\n"); in osnoise_top_apply_config() 551 err_msg("Failed to set runtime and/or period\n"); in osnoise_top_apply_config() 559 err_msg("Failed to set stop us\n"); in osnoise_top_apply_config() 567 err_msg("Failed to set stop total us\n"); in osnoise_top_apply_config() 575 err_msg("Faile in osnoise_top_apply_config() [all...] |
H A D | osnoise_hist.c | 227 err_msg("error reading duration from histogram\n"); in osnoise_read_trace_hist() 235 err_msg("error reading cpu from histogram\n"); in osnoise_read_trace_hist() 243 err_msg("error reading counter from histogram\n"); in osnoise_read_trace_hist() 591 err_msg("Error alloc trace event"); in osnoise_hist_parse_args() 613 err_msg("Error parsing house keeping CPUs\n"); in osnoise_hist_parse_args() 665 err_msg("Error adding trigger %s\n", optarg); in osnoise_hist_parse_args() 676 err_msg("Error adding filter %s\n", optarg); in osnoise_hist_parse_args() 689 err_msg("rtla needs root permission\n"); in osnoise_hist_parse_args() 713 err_msg("Failed to apply CPUs config\n"); in osnoise_hist_apply_config() 723 err_msg("Faile in osnoise_hist_apply_config() [all...] |
H A D | utils.c | 24 * err_msg - print an error message to the stderr 26 void err_msg(const char *fmt, ...) in err_msg() function 248 err_msg("Failed to set sched attributes to the pid %d: %s\n", in __set_sched_attr() 326 err_msg("Command prefix is too long: %d < strlen(%s)\n", in set_comm_sched_attr() 333 err_msg("Could not open procfs\n"); in set_comm_sched_attr() 346 err_msg("Error setting sched attributes for pid:%s\n", proc_entry->d_name); in set_comm_sched_attr() 506 err_msg("Error opening /dev/cpu_dma_latency\n"); in set_cpu_dma_latency() 512 err_msg("Error setting /dev/cpu_dma_latency\n"); in set_cpu_dma_latency() 643 err_msg("Did not find cgroupv2 mount point\n"); in set_pid_cgroup() 651 err_msg("Di in set_pid_cgroup() [all...] |
H A D | timerlat_hist.c | 670 err_msg("Error alloc trace event"); in timerlat_hist_parse_args() 692 err_msg("Error parsing house keeping CPUs\n"); in timerlat_hist_parse_args() 751 err_msg("Error adding trigger %s\n", optarg); in timerlat_hist_parse_args() 762 err_msg("Error adding filter %s\n", optarg); in timerlat_hist_parse_args() 772 err_msg("--dma-latency needs to be >= 0 and < 10000"); in timerlat_hist_parse_args() 788 err_msg("rtla needs root permission\n"); in timerlat_hist_parse_args() 821 err_msg("Failed to apply CPUs config\n"); in timerlat_hist_apply_config() 832 err_msg("Failed to set stop us\n"); in timerlat_hist_apply_config() 840 err_msg("Failed to set stop total us\n"); in timerlat_hist_apply_config() 848 err_msg("Faile in timerlat_hist_apply_config() [all...] |
H A D | timerlat_u.c | 55 err_msg("Error setting timerlat u default priority: %s\n", strerror(errno)); in timerlat_u_main() 69 err_msg("Error setting timerlat u cgroup pid\n"); in timerlat_u_main() 82 err_msg("Error opening %s:%s\n", buffer, strerror(errno)); in timerlat_u_main() 118 err_msg("Error killing child process %d\n", procs[i]); in timerlat_u_send_kill() 209 err_msg("Failed to monitor child processes"); in timerlat_u_dispatcher()
|
/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...] |
/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...] |
/kernel/linux/linux-6.6/tools/verification/rv/src/ |
H A D | in_kernel.c | 58 err_msg("ikm: fail read enabled: %d\n", enabled); in ikm_read_enable() 82 err_msg("ikm: writing enabled: %s\n", enable_disable); in ikm_write_enable() 123 err_msg("ikm: error reading monitor %s desc\n", monitor_name); in ikm_read_desc() 144 err_msg("ikm: monitor %s fail to read enable file, bug?\n", name); in ikm_fill_monitor_definition() 150 err_msg("ikm: monitor %s does not have desc file, bug?\n", name); in ikm_fill_monitor_definition() 194 err_msg("ikm: fail reading monitor's %s reactors file\n", monitor_name); in ikm_read_reactor() 254 err_msg("ikm: fail reading monitor's %s format event file\n", monitor_name); in ikm_has_id() 283 err_msg("ikm: available monitors is not available, is CONFIG_RV enabled?\n"); in ikm_list_monitors() 294 err_msg("ikm: error reading %d in kernel monitor, skipping\n", curr); in ikm_list_monitors() 442 err_msg("ik in ikm_setup_trace_instance() [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))
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | spin_lock.c | 13 const char *err_msg; member 71 static void test_spin_lock_fail_prog(const char *prog_name, const char *err_msg) in test_spin_lock_fail_prog() argument 100 ret = match_regex(err_msg, log_buf); in test_spin_lock_fail_prog() 105 fprintf(stderr, "Expected: %s\n", err_msg); in test_spin_lock_fail_prog() 167 spin_lock_fail_tests[i].err_msg); in test_spin_lock()
|
H A D | cb_refs.c | 12 const char *err_msg; member 42 if (!ASSERT_OK_PTR(strstr(log_buf, cb_refs_tests[i].err_msg), "expected error message")) { in test_cb_refs() 43 fprintf(stderr, "Expected: %s\n", cb_refs_tests[i].err_msg); in test_cb_refs()
|
H A D | bpf_nf.c | 12 const char *err_msg; member 138 static void test_bpf_nf_ct_fail(const char *prog_name, const char *err_msg) in test_bpf_nf_ct_fail() argument 161 if (!ASSERT_OK_PTR(strstr(log_buf, err_msg), "expected error message")) { in test_bpf_nf_ct_fail() 162 fprintf(stderr, "Expected: %s\n", err_msg); in test_bpf_nf_ct_fail() 180 test_bpf_nf_fail_tests[i].err_msg); in test_bpf_nf()
|
/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)
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | gluebi.c | 30 #define err_msg(fmt, ...) \ macro 323 err_msg("gluebi MTD device %d form UBI device %d volume %d already exists", in gluebi_create() 328 err_msg("cannot add MTD device"); in gluebi_create() 357 err_msg("got remove notification for unknown UBI device %d volume %d", in gluebi_remove() 371 err_msg("cannot remove fake MTD device %d, UBI device %d, volume %d, error %d", in gluebi_remove() 402 err_msg("got update notification for unknown UBI device %d volume %d", in gluebi_updated() 429 err_msg("got update notification for unknown UBI device %d volume %d", in gluebi_resized() 487 err_msg("error %d while removing gluebi MTD device %d, UBI device %d, volume %d - ignoring", in ubi_gluebi_exit()
|
/kernel/linux/linux-6.6/drivers/mtd/ubi/ |
H A D | gluebi.c | 30 #define err_msg(fmt, ...) \ macro 323 err_msg("gluebi MTD device %d form UBI device %d volume %d already exists", in gluebi_create() 328 err_msg("cannot add MTD device"); in gluebi_create() 357 err_msg("got remove notification for unknown UBI device %d volume %d", in gluebi_remove() 371 err_msg("cannot remove fake MTD device %d, UBI device %d, volume %d, error %d", in gluebi_remove() 402 err_msg("got update notification for unknown UBI device %d volume %d", in gluebi_updated() 429 err_msg("got update notification for unknown UBI device %d volume %d", in gluebi_resized() 487 err_msg("error %d while removing gluebi MTD device %d, UBI device %d, volume %d - ignoring", in ubi_gluebi_exit()
|
/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
|