| /system/uapp/spawn/ |
| A D | main.c | 9 char err_msg[FDIO_SPAWN_ERR_MSG_MAX_LENGTH]; in main() local 19 err_msg); in main() 22 fprintf(stderr, "error: fdio_spawn: %s\n", err_msg); in main()
|
| /system/ulib/fdio/ |
| A D | spawn.c | 136 static void report_error(char* err_msg, const char* format, ...) { in report_error() argument 137 if (!err_msg) in report_error() 406 char* err_msg) { in fdio_spawn_etc() argument 415 err_msg = NULL; in fdio_spawn_etc() 438 char* err_msg) { in fdio_spawn_vmo() argument 451 if (err_msg) in fdio_spawn_vmo() 452 err_msg[0] = '\0'; in fdio_spawn_vmo() 651 uint8_t err_msg[FDIO_SPAWN_ERR_MSG_MAX_LENGTH]; in fdio_spawn_vmo() member 700 if (err_msg) { in fdio_spawn_vmo() 704 memcpy(err_msg, reply.err_msg, n); in fdio_spawn_vmo() [all …]
|
| /system/utest/edid/ |
| A D | edid-fuzztest.cpp | 14 const char *err_msg; in LLVMFuzzerTestOneInput() local 16 test.Init(data, static_cast<uint16_t>(size), &err_msg); in LLVMFuzzerTestOneInput()
|
| /system/ulib/tftp/ |
| A D | tftp-example.c | 229 char err_msg[128]; in tftp_send_file_wrapper() local 235 options.err_msg = err_msg; in tftp_send_file_wrapper() 236 options.err_msg_sz = sizeof(err_msg); in tftp_send_file_wrapper() 243 fprintf(stderr, "%s\n", err_msg); in tftp_send_file_wrapper() 250 char err_msg[128]; in tftp_receive_file_wrapper() local 257 options.err_msg = err_msg; in tftp_receive_file_wrapper() 258 options.err_msg_sz = sizeof(err_msg); in tftp_receive_file_wrapper() 267 fprintf(stderr, "%s\n", err_msg); in tftp_receive_file_wrapper()
|
| A D | tftp.c | 165 size_t* resp_len, const char* err_msg) { in set_error() argument 169 size_t err_msg_len = strlen(err_msg); in set_error() 172 memcpy(resp->msg, err_msg, max_msg_sz); in set_error() 176 strcpy(resp->msg, err_msg); in set_error() 1062 if (opts->err_msg) { \ 1063 snprintf(opts->err_msg, opts->err_msg_sz, __VA_ARGS__); \ 1071 char* err_msg; member 1229 .err_msg = opts->err_msg, in transfer_file() 1273 .err_msg = opts->err_msg, in tftp_service_request()
|
| A D | tftp-file-test.cpp | 305 opts.err_msg = err_msg_buf; in run_client_test() 376 .err_msg = err_msg_buf, in run_server_test()
|
| /system/ulib/edid/ |
| A D | edid.cpp | 74 *err_msg = "Failed to read base edid"; in Init() 77 *err_msg = "Failed to validate base edid"; in Init() 85 *err_msg = "Failed to allocate edid storage"; in Init() 96 *err_msg = "Failed to read full edid"; in Init() 101 return Init(edid_bytes_.get(), edid_length, err_msg); in Init() 104 bool Edid::Init(const uint8_t* bytes, uint16_t len, const char** err_msg) { in Init() argument 107 *err_msg = "Invalid edid length"; in Init() 113 *err_msg = "Failed to validate base edid"; in Init() 117 *err_msg = "Bad extension count"; in Init() 121 *err_msg = "Analog displays not supported"; in Init() [all …]
|
| /system/utest/hid-parser/ |
| A D | hid-parser-test.cpp | 887 char err_msg[50]; in parse_eve_touchpad_v2() local 888 sprintf(err_msg, "Failed on Finger %d\n", finger); in parse_eve_touchpad_v2() 912 EXPECT_EQ(fields[ix].attr.phys_mm.min, 0, err_msg); in parse_eve_touchpad_v2() 916 EXPECT_EQ(fields[ix].attr.unit.type, 0x11, err_msg); in parse_eve_touchpad_v2() 917 EXPECT_EQ(fields[ix].attr.unit.exp, -2, err_msg); in parse_eve_touchpad_v2() 918 EXPECT_EQ(fields[ix].attr.bit_sz, 16, err_msg); in parse_eve_touchpad_v2() 925 EXPECT_EQ(fields[ix].attr.phys_mm.min, 0, err_msg); in parse_eve_touchpad_v2() 926 EXPECT_EQ(fields[ix].attr.phys_mm.max, 680, err_msg); in parse_eve_touchpad_v2() 929 EXPECT_EQ(fields[ix].attr.unit.type, 0x11, err_msg); in parse_eve_touchpad_v2() 930 EXPECT_EQ(fields[ix].attr.unit.exp, -2, err_msg); in parse_eve_touchpad_v2() [all …]
|
| /system/uapp/run-vc/ |
| A D | main.c | 120 char err_msg[FDIO_SPAWN_ERR_MSG_MAX_LENGTH]; in main() local 122 NULL, 1 + hcount, actions, NULL, err_msg); in main() 125 zx_status_get_string(status), err_msg); in main()
|
| /system/uapp/display-test/ |
| A D | main.cpp | 76 const char* err_msg; in bind_display() local 78 &err_msg) != ZX_OK) { in bind_display() 79 printf("Fidl decode error %d %s\n", msg.ordinal(), err_msg); in bind_display() 196 const char* err_msg; in apply_config() local 197 if (msg.Decode(&fuchsia_hardware_display_ControllerCheckConfigResponseTable, &err_msg) != in apply_config() 254 const char* err_msg; in wait_for_vsync() local 255 if (msg.Decode(&fuchsia_hardware_display_ControllerVsyncEventTable, &err_msg) != ZX_OK) { in wait_for_vsync() 256 printf("Fidl decode error %s\n", err_msg); in wait_for_vsync()
|
| /system/core/netsvc/ |
| A D | netsvc.c | 46 char err_msg[FDIO_SPAWN_ERR_MSG_MAX_LENGTH]; in run_program() local 49 NULL, action_count, actions, NULL, err_msg); in run_program() 52 printf("netsvc: cannot launch %s: %d: %s\n", argv[0], status, err_msg); in run_program()
|
| A D | tftp.c | 533 char err_msg[128]; in tftp_recv() local 538 .err_msg = err_msg, in tftp_recv() 539 .err_msg_sz = sizeof(err_msg)}; in tftp_recv() 553 printf("netsvc: %s\n", err_msg); in tftp_recv()
|
| /system/host/netprotocol/ |
| A D | netcp.c | 223 char err_msg[128]; in transfer_file() local 229 opts.err_msg = err_msg; in transfer_file() 230 opts.err_msg_sz = sizeof(err_msg); in transfer_file() 244 fprintf(stderr, "%s: %s (status = %d)\n", appname, opts.err_msg, (int)status); in transfer_file()
|
| /system/host/bootserver/ |
| A D | tftp.c | 257 char err_msg[128]; in tftp_xfer() local 263 opts.err_msg = err_msg; in tftp_xfer() 264 opts.err_msg_sz = sizeof(err_msg); in tftp_xfer() 273 fprintf(stderr, "%s: %s (status = %d)\n", appname, opts.err_msg, (int)status); in tftp_xfer()
|
| /system/uapp/namespace/ |
| A D | namespace.c | 113 char err_msg[FDIO_SPAWN_ERR_MSG_MAX_LENGTH]; in run_in_namespace() local 116 countof(actions), actions, &proc, err_msg); in run_in_namespace() 122 status, zx_status_get_string(status), err_msg); in run_in_namespace()
|
| /system/ulib/fs-management/ |
| A D | launch.cpp | 93 char err_msg[FDIO_SPAWN_ERR_MSG_MAX_LENGTH]; in Spawn() local 96 err_msg); in Spawn() 99 argv[0], status, zx_status_get_string(status), err_msg); in Spawn()
|
| /system/uapp/aslr-analysis/ |
| A D | main.cpp | 230 char err_msg[FDIO_SPAWN_ERR_MSG_MAX_LENGTH]; in LaunchTestRun() local 232 nullptr, fbl::count_of(actions), actions, proc, err_msg); in LaunchTestRun() 235 printf("launch failed (%d): %s\n", status, err_msg); in LaunchTestRun()
|
| /system/ulib/tftp/include/tftp/ |
| A D | tftp.h | 107 char* err_msg; member 116 char* err_msg; member
|
| /system/ulib/framebuffer/include/lib/framebuffer/ |
| A D | framebuffer.h | 18 zx_status_t fb_bind(bool single_buffer, const char** err_msg);
|
| /system/core/virtcon/ |
| A D | main.cpp | 101 char err_msg[FDIO_SPAWN_ERR_MSG_MAX_LENGTH]; in launch_shell() local 104 &vc->proc, err_msg); in launch_shell() 106 printf("vc: cannot spawn shell: %s: %d (%s)\n", err_msg, status, in launch_shell()
|
| /system/ulib/framebuffer/ |
| A D | framebuffer.c | 56 const char* err_msg; in fb_bind() local 58 err_msg_out = &err_msg; in fb_bind() 495 const char* err_msg; in fb_wait_for_vsync() local 497 actual_bytes, NULL, 0, &err_msg)) != ZX_OK) { in fb_wait_for_vsync()
|
| /system/ulib/runtests-utils/ |
| A D | fuchsia-run-test.cpp | 291 char err_msg[FDIO_SPAWN_ERR_MSG_MAX_LENGTH]; in FuchsiaRunTest() local 295 process.reset_and_get_address(), err_msg); in FuchsiaRunTest() 298 status, zx_status_get_string(status), err_msg); in FuchsiaRunTest()
|
| /system/ulib/edid/include/lib/edid/ |
| A D | edid.h | 297 bool Init(void* ctx, ddc_i2c_transact edid_source, const char** err_msg); 300 bool Init(const uint8_t* bytes, uint16_t len, const char** err_msg);
|
| /system/utest/spawn/ |
| A D | spawn.cpp | 454 char err_msg[FDIO_SPAWN_ERR_MSG_MAX_LENGTH]; in spawn_errors_test() local 506 argv, nullptr, 0, nullptr, process.reset_and_get_address(), err_msg)); in spawn_errors_test() 507 EXPECT_TRUE(strstr(err_msg, "/bogus/path") != nullptr); in spawn_errors_test()
|
| /system/uapp/gfxlatency/ |
| A D | main.cpp | 570 const char* err_msg; in check_config() local 572 check_resp_bytes, actual_bytes, NULL, 0, &err_msg)) != ZX_OK) { in check_config() 670 const char* err_msg; in wait_for_vsync() local 672 actual_bytes, NULL, 0, &err_msg)) != ZX_OK) { in wait_for_vsync() 799 const char* err_msg; in main() local 801 bytes, actual_bytes, NULL, 0, &err_msg)) != ZX_OK) { in main() 802 fprintf(stderr, "%s\n", err_msg); in main()
|