/kernel/linux/linux-5.10/drivers/input/serio/ |
H A D | maceps2.c | 36 #define PS2_STATUS_ERROR_PARITY BIT(6) /* parity error */ 37 #define PS2_STATUS_ERROR_FRAMING BIT(7) /* framing error */ 169 int error; in maceps2_init() local 171 error = platform_driver_register(&maceps2_driver); in maceps2_init() 172 if (error) in maceps2_init() 173 return error; in maceps2_init() 177 error = -ENOMEM; in maceps2_init() 186 error = platform_device_add(maceps2_device); in maceps2_init() 187 if (error) in maceps2_init() 196 return error; in maceps2_init() [all...] |
/kernel/linux/linux-5.10/sound/firewire/digi00x/ |
H A D | digi00x.c | 70 goto error; in do_registration() 74 goto error; in do_registration() 80 goto error; in do_registration() 84 goto error; in do_registration() 88 goto error; in do_registration() 92 goto error; in do_registration() 96 goto error; in do_registration() 101 error: in do_registration()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | common.h | 12 * Note that we're careful not to make any judgements about *error. 17 int *error) in xchk_should_terminate() 27 if (*error == 0) in xchk_should_terminate() 28 *error = -EAGAIN; in xchk_should_terminate() 36 xfs_agblock_t bno, int *error); 38 xfs_fileoff_t offset, int *error); 41 xfs_agnumber_t agno, xfs_agblock_t bno, int *error); 43 int whichfork, xfs_fileoff_t offset, int *error); 71 bool xchk_should_check_xref(struct xfs_scrub *sc, int *error, 15 xchk_should_terminate( struct xfs_scrub *sc, int *error) xchk_should_terminate() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ast/ |
H A D | ast_drv.c | 147 int error; in ast_drm_freeze() local 149 error = drm_mode_config_helper_suspend(dev); in ast_drm_freeze() 150 if (error) in ast_drm_freeze() 151 return error; in ast_drm_freeze() 180 int error; in ast_pm_suspend() local 182 error = ast_drm_freeze(ddev); in ast_pm_suspend() 183 if (error) in ast_pm_suspend() 184 return error; in ast_pm_suspend()
|
/kernel/linux/linux-6.6/drivers/base/ |
H A D | driver.c | 46 * Returns: 0 on success or a negative error code on failure. 122 int error = 0; in driver_for_each_device() local 129 while (!error && (dev = next_device(&i))) in driver_for_each_device() 130 error = fn(dev, data); in driver_for_each_device() 132 return error; in driver_for_each_device() 179 int error; in driver_create_file() local 182 error = sysfs_create_file(&drv->p->kobj, &attr->attr); in driver_create_file() 184 error = -EINVAL; in driver_create_file() 185 return error; in driver_create_file()
|
/kernel/linux/linux-6.6/fs/iomap/ |
H A D | swapfile.c | 38 int error; in iomap_swapfile_add_extent() local 72 error = add_swap_extent(isi->sis, isi->nr_pages, nr_pages, first_ppage); in iomap_swapfile_add_extent() 73 if (error < 0) in iomap_swapfile_add_extent() 74 return error; in iomap_swapfile_add_extent() 75 isi->nr_extents += error; in iomap_swapfile_add_extent() 130 int error = iomap_swapfile_add_extent(isi); in iomap_swapfile_iter() local 131 if (error) in iomap_swapfile_iter() 132 return error; in iomap_swapfile_iter()
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | alloc.c | 54 int error; in xchk_allocbt_xref_other() local 63 error = xfs_alloc_lookup_le(*pcur, agbno, len, &has_otherrec); in xchk_allocbt_xref_other() 64 if (!xchk_should_check_xref(sc, &error, pcur)) in xchk_allocbt_xref_other() 71 error = xfs_alloc_get_rec(*pcur, &fbno, &flen, &has_otherrec); in xchk_allocbt_xref_other() 72 if (!xchk_should_check_xref(sc, &error, pcur)) in xchk_allocbt_xref_other() 176 int error; in xchk_xref_is_used_space() local 181 error = xfs_alloc_has_records(sc->sa.bno_cur, agbno, len, &outcome); in xchk_xref_is_used_space() 182 if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) in xchk_xref_is_used_space()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ast/ |
H A D | ast_drv.c | 130 int error; in ast_drm_freeze() local 132 error = drm_mode_config_helper_suspend(dev); in ast_drm_freeze() 133 if (error) in ast_drm_freeze() 134 return error; in ast_drm_freeze() 158 int error; in ast_pm_suspend() local 160 error = ast_drm_freeze(ddev); in ast_pm_suspend() 161 if (error) in ast_pm_suspend() 162 return error; in ast_pm_suspend()
|
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | mac_hid.c | 98 int error; in mac_hid_emumouse_connect() local 112 error = input_register_handle(handle); in mac_hid_emumouse_connect() 113 if (error) { in mac_hid_emumouse_connect() 116 "error %d\n", error); in mac_hid_emumouse_connect() 120 error = input_open_device(handle); in mac_hid_emumouse_connect() 121 if (error) { in mac_hid_emumouse_connect() 123 "mac_hid: Failed to open input device, error %d\n", in mac_hid_emumouse_connect() 124 error); in mac_hid_emumouse_connect() 134 return error; in mac_hid_emumouse_connect() [all...] |
/kernel/linux/linux-6.6/drivers/input/serio/ |
H A D | maceps2.c | 36 #define PS2_STATUS_ERROR_PARITY BIT(6) /* parity error */ 37 #define PS2_STATUS_ERROR_FRAMING BIT(7) /* framing error */ 169 int error; in maceps2_init() local 171 error = platform_driver_register(&maceps2_driver); in maceps2_init() 172 if (error) in maceps2_init() 173 return error; in maceps2_init() 177 error = -ENOMEM; in maceps2_init() 186 error = platform_device_add(maceps2_device); in maceps2_init() 187 if (error) in maceps2_init() 196 return error; in maceps2_init() [all...] |
/kernel/linux/linux-6.6/sound/firewire/digi00x/ |
H A D | digi00x.c | 79 goto error; in snd_dg00x_probe() 83 goto error; in snd_dg00x_probe() 89 goto error; in snd_dg00x_probe() 93 goto error; in snd_dg00x_probe() 97 goto error; in snd_dg00x_probe() 101 goto error; in snd_dg00x_probe() 105 goto error; in snd_dg00x_probe() 108 error: in snd_dg00x_probe()
|
/kernel/linux/linux-6.6/sound/firewire/tascam/ |
H A D | tascam.c | 121 goto error; in snd_tscm_probe() 125 goto error; in snd_tscm_probe() 129 goto error; in snd_tscm_probe() 135 goto error; in snd_tscm_probe() 139 goto error; in snd_tscm_probe() 143 goto error; in snd_tscm_probe() 147 goto error; in snd_tscm_probe() 150 error: in snd_tscm_probe()
|
/third_party/elfutils/libelf/ |
H A D | elf_error.c | 42 /* The error number. */ 55 /* Return the appropriate message for the error. */ 59 N_("no error") 61 #define ELF_E_UNKNOWN_ERROR_IDX (ELF_E_NOERROR_IDX + sizeof "no error") 62 N_("unknown error") 65 (ELF_E_UNKNOWN_ERROR_IDX + sizeof "unknown error") 340 elf_errmsg (int error) in elf_errmsg() argument 344 if (error == 0) in elf_errmsg() 349 else if (error < -1 || error > in elf_errmsg() [all...] |
/third_party/alsa-utils/alsactl/ |
H A D | clean.c | 43 error("Cannot read control info '%s': %s", s, snd_strerror(err)); in clean_one_control() 66 error("Cannot remove control '%s': %s", s, snd_strerror(err)); in clean_one_control() 100 error("No enough memory..."); in filter_controls_parse() 112 error("Cannot parse id '%s': %s", controls[idx], snd_strerror(err)); in filter_controls_parse() 145 error("snd_ctl_open error: %s", snd_strerror(err)); in clean_controls() 152 error("Cannot determine controls: %s", snd_strerror(err)); in clean_controls() 160 error("No enough memory..."); in clean_controls() 164 error("Cannot determine controls (2): %s", snd_strerror(err)); in clean_controls()
|
/third_party/node/test/parallel/ |
H A D | test-net-autoselectfamilydefault.js | 126 connection.on('error', common.mustCall((error) => { 128 assert.strictEqual(error.code, 'ECONNREFUSED'); 129 assert.strictEqual(error.message, `connect ECONNREFUSED ::1:${port}`); 130 } else if (error.code === 'EAFNOSUPPORT') { 131 assert.strictEqual(error.message, `connect EAFNOSUPPORT ::1:${port} - Local (undefined:undefined)`); 135 assert.strictEqual(error.errno, -42); 137 assert.strictEqual(error.code, 'EADDRNOTAVAIL'); 138 assert.strictEqual(error.message, `connect EADDRNOTAVAIL ::1:${port} - Local (:::0)`);
|
H A D | test-net-connect-options-fd.js | 49 console.error(`[Pipe]Received data from fd ${clientFd}`); 54 console.error(`[Pipe]Received end from fd ${clientFd}, total ${counter}`); 57 console.error(`[Pipe]Server closed by fd ${clientFd}`); 66 console.error(`[Pipe]Clean up handle with fd ${pair[1].fd}`); 71 .on('error', function(err) { 72 console.error(err); 82 console.error(`[Pipe]Bound handle with Pipe ${handle.fd}`); 94 console.error(`[Pipe]Sending data through fd ${oldHandle.fd}`); 95 this.on('error', function(err) { 96 console.error(er [all...] |
/third_party/node/test/report/ |
H A D | test-report-writereport.js | 30 // Test with an error argument. 31 process.report.writeReport(new Error('test error')); 36 // Test with an error with one line stack 37 const error = new Error(); 38 error.stack = 'only one line'; 39 process.report.writeReport(error); 44 const error = new Error(); 45 error.foo = 'goo'; 46 process.report.writeReport(error); 61 // Test with file and error argument [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/ |
H A D | test_fixture.h | 81 // Returns the error message(s). 91 return diagnostic->error; in CompileFailure() 104 spv_result_t error = spvTextToBinary(context.context, txt.c_str(), in EncodeAndDecodeSuccessfully() local 106 if (error) { in EncodeAndDecodeSuccessfully() 110 EXPECT_EQ(SPV_SUCCESS, error); in EncodeAndDecodeSuccessfully() 114 error = spvBinaryToText(context.context, binary->code, binary->wordCount, in EncodeAndDecodeSuccessfully() 116 if (error) { in EncodeAndDecodeSuccessfully() 120 EXPECT_EQ(SPV_SUCCESS, error) << txt; in EncodeAndDecodeSuccessfully() 131 // Returns the error message. 145 std::string error_message = diagnostic->error; in EncodeSuccessfullyDecodeFailed() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | test_fixture.h | 81 // Returns the error message(s). 91 return diagnostic->error; in CompileFailure() 104 spv_result_t error = spvTextToBinary(context.context, txt.c_str(), in EncodeAndDecodeSuccessfully() local 106 if (error) { in EncodeAndDecodeSuccessfully() 110 EXPECT_EQ(SPV_SUCCESS, error); in EncodeAndDecodeSuccessfully() 114 error = spvBinaryToText(context.context, binary->code, binary->wordCount, in EncodeAndDecodeSuccessfully() 116 if (error) { in EncodeAndDecodeSuccessfully() 120 EXPECT_EQ(SPV_SUCCESS, error) << txt; in EncodeAndDecodeSuccessfully() 131 // Returns the error message. 145 std::string error_message = diagnostic->error; in EncodeSuccessfullyDecodeFailed() [all...] |
/third_party/skia/third_party/externals/harfbuzz/util/ |
H A D | options.hh | 92 post_parse_ (void *thiz, GError **error) {} in post_parse_() 95 post_parse_ (Type *thiz, GError **error) -> decltype (thiz->post_parse (error)) 96 { thiz->post_parse (error); } 102 GError **error) in post_parse() 104 option_parser_t::post_parse_ (static_cast<Type *> (data), error); in post_parse() local 105 return !*error; in post_parse() 176 GError **error G_GNUC_UNUSED) in show_version() 218 fail (true, "Option parse error"); in parse()
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_if_stmt_test.cc | 27 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 42 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 67 EXPECT_EQ(p->error(), "1:7: expected ')'"); in TEST_F() 77 EXPECT_EQ(p->error(), "1:4: expected '('"); in TEST_F() 87 EXPECT_EQ(p->error(), "1:10: expected '}'"); in TEST_F() 97 EXPECT_EQ(p->error(), "1:7: expected '{'"); in TEST_F() 107 EXPECT_EQ(p->error(), "1:24: expected '}'"); in TEST_F() 117 EXPECT_EQ(p->error(), "1:18: expected '}'"); in TEST_F()
|
H A D | parser_impl_loop_stmt_test.cc | 28 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 42 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 57 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 68 EXPECT_FALSE(p->has_error()) << p->error(); in TEST_F() 82 EXPECT_EQ(p->error(), "1:6: expected '{' for loop"); in TEST_F() 92 EXPECT_EQ(p->error(), "1:17: expected '}' for loop"); in TEST_F() 102 EXPECT_EQ(p->error(), "1:16: expected ';' for discard statement"); in TEST_F() 112 EXPECT_EQ(p->error(), "1:29: expected ';' for discard statement"); in TEST_F()
|
H A D | parser_impl_struct_member_decoration_test.cc | 45 EXPECT_EQ(p->error(), "1:6: expected '(' for size decoration"); in TEST_F() 55 EXPECT_EQ(p->error(), "1:7: expected ')' for size decoration"); in TEST_F() 65 EXPECT_EQ(p->error(), in TEST_F() 76 EXPECT_EQ(p->error(), in TEST_F() 103 EXPECT_EQ(p->error(), "1:7: expected '(' for align decoration"); in TEST_F() 113 EXPECT_EQ(p->error(), "1:8: expected ')' for align decoration"); in TEST_F() 123 EXPECT_EQ(p->error(), in TEST_F() 134 EXPECT_EQ(p->error(), in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
H A D | generator_impl_loop_test.cc | 35 ASSERT_TRUE(gen.EmitStatement(l)) << gen.error(); in TEST_F() 55 ASSERT_TRUE(gen.EmitStatement(l)) << gen.error(); in TEST_F() 80 ASSERT_TRUE(gen.EmitStatement(f)) << gen.error(); in TEST_F() 102 ASSERT_TRUE(gen.EmitStatement(f)) << gen.error(); in TEST_F() 122 ASSERT_TRUE(gen.EmitStatement(f)) << gen.error(); in TEST_F() 144 ASSERT_TRUE(gen.EmitStatement(f)) << gen.error(); in TEST_F() 167 ASSERT_TRUE(gen.EmitStatement(f)) << gen.error(); in TEST_F() 189 ASSERT_TRUE(gen.EmitStatement(f)) << gen.error(); in TEST_F()
|
H A D | generator_impl_variable_test.cc | 32 ASSERT_TRUE(gen.EmitVariable(out, v)) << gen.error(); in TEST_F() 42 ASSERT_TRUE(gen.EmitVariable(out, v)) << gen.error(); in TEST_F() 59 ASSERT_TRUE(gen.EmitVariable(out, v)) << gen.error(); in TEST_F() 76 ASSERT_TRUE(gen.EmitVariable(out, v)) << gen.error(); in TEST_F() 94 ASSERT_TRUE(gen.EmitVariable(out, v)) << gen.error(); in TEST_F() 110 ASSERT_TRUE(gen.EmitVariable(out, v)) << gen.error(); in TEST_F() 120 ASSERT_TRUE(gen.EmitVariable(out, v)) << gen.error(); in TEST_F() 131 ASSERT_TRUE(gen.EmitVariable(out, v)) << gen.error(); in TEST_F()
|