/base/powermgr/battery_statistics/services/zidl/src/ |
H A D | battery_stats_proxy.cpp | 48 STATS_HILOGE(COMP_FWK, "Send request is failed, error code: %{public}d", ret);
in GetBatteryStats() 57 int32_t error;
in GetBatteryStats() local 58 STATS_RETURN_IF_READ_PARCEL_FAILED_WITH_RET(COMP_FWK, reply, Int32, error, infoList);
in GetBatteryStats() 59 lastError_ = static_cast<StatsError>(error);
in GetBatteryStats() 87 STATS_HILOGE(COMP_FWK, "Transact is failed, error code: %{public}d", ret);
in GetTotalTimeSecond() 118 STATS_HILOGE(COMP_FWK, "Transact is failed, error code: %{public}d", ret);
in GetTotalDataBytes() 146 STATS_HILOGE(COMP_FWK, "Transact is failed, error code: %{public}d", ret);
in GetAppStatsMah() 151 int32_t error;
in GetAppStatsMah() local 152 STATS_RETURN_IF_READ_PARCEL_FAILED_WITH_RET(COMP_FWK, reply, Int32, error, appStatsMah);
in GetAppStatsMah() 153 lastError_ = static_cast<StatsError>(error);
in GetAppStatsMah() 208 int32_t error; GetAppStatsPercent() local 240 int32_t error; GetPartStatsMah() local 272 int32_t error; GetPartStatsPercent() local [all...] |
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | samsung-keypad.c | 324 int error; in samsung_keypad_probe() local 372 error = clk_prepare(keypad->clk); in samsung_keypad_probe() 373 if (error) { in samsung_keypad_probe() 375 return error; in samsung_keypad_probe() 399 error = matrix_keypad_build_keymap(keymap_data, NULL, in samsung_keypad_probe() 402 if (error) { in samsung_keypad_probe() 415 error = keypad->irq; in samsung_keypad_probe() 419 error = devm_request_threaded_irq(&pdev->dev, keypad->irq, NULL, in samsung_keypad_probe() 422 if (error) { in samsung_keypad_probe() 431 error in samsung_keypad_probe() 468 int error; samsung_keypad_runtime_suspend() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | hosts.c | 71 * Returns zero if unsuccessful or an error if the requested 207 * 0 on success / != 0 for error 213 int error = -EINVAL; in scsi_add_host_with_dma() local 228 error = scsi_init_sense_cache(shost); in scsi_add_host_with_dma() 229 if (error) in scsi_add_host_with_dma() 232 error = scsi_mq_setup_tags(shost); in scsi_add_host_with_dma() 233 if (error) in scsi_add_host_with_dma() 253 error = device_add(&shost->shost_gendev); in scsi_add_host_with_dma() 254 if (error) in scsi_add_host_with_dma() 263 error in scsi_add_host_with_dma() [all...] |
/kernel/linux/linux-5.10/drivers/soc/renesas/ |
H A D | r8a779a0-sysc.c | 302 int error; in r8a779a0_sysc_pd_setup() local 350 error = pm_genpd_init(genpd, &simple_qos_governor, false); in r8a779a0_sysc_pd_setup() 351 if (error) in r8a779a0_sysc_pd_setup() 352 pr_err("Failed to init PM domain %s: %d\n", name, error); in r8a779a0_sysc_pd_setup() 354 return error; in r8a779a0_sysc_pd_setup() 377 int error; in r8a779a0_sysc_pd_init() local 388 error = -ENOMEM; in r8a779a0_sysc_pd_init() 396 error = -ENOMEM; in r8a779a0_sysc_pd_init() 415 error = -ENOMEM; in r8a779a0_sysc_pd_init() 424 error in r8a779a0_sysc_pd_init() [all...] |
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | yurex.c | 173 "data format error - no EOF\n"); in yurex_interrupt() 201 goto error; in yurex_probe() 216 goto error; in yurex_probe() 224 goto error; in yurex_probe() 229 goto error; in yurex_probe() 237 goto error; in yurex_probe() 258 goto error; in yurex_probe() 265 goto error; in yurex_probe() 277 goto error; in yurex_probe() 290 goto error; in yurex_probe() [all...] |
/kernel/linux/linux-5.10/sound/isa/galaxy/ |
H A D | galaxy.c | 512 goto error; in snd_galaxy_probe() 519 goto error; in snd_galaxy_probe() 530 goto error; in snd_galaxy_probe() 541 goto error; in snd_galaxy_probe() 548 goto error; in snd_galaxy_probe() 560 goto error; in snd_galaxy_probe() 564 goto error; in snd_galaxy_probe() 568 goto error; in snd_galaxy_probe() 572 goto error; in snd_galaxy_probe() 578 goto error; in snd_galaxy_probe() [all...] |
/kernel/linux/linux-5.10/security/integrity/evm/ |
H A D | evm_main.c | 97 int error; in evm_find_protected_xattrs() local 104 error = __vfs_getxattr(dentry, inode, xattr->name, NULL, 0); in evm_find_protected_xattrs() 105 if (error < 0) { in evm_find_protected_xattrs() 106 if (error == -ENODATA) in evm_find_protected_xattrs() 108 return error; in evm_find_protected_xattrs() 571 int error; in init_evm() local 576 error = integrity_init_keyring(INTEGRITY_KEYRING_EVM); in init_evm() 577 if (error) in init_evm() 578 goto error; in init_evm() 580 error in init_evm() [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-bigbenff.c | 377 int n, error; in bigben_probe() local 386 error = hid_parse(hid); in bigben_probe() 387 if (error) { in bigben_probe() 389 return error; in bigben_probe() 392 error = hid_hw_start(hid, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF); in bigben_probe() 393 if (error) { in bigben_probe() 395 return error; in bigben_probe() 401 error = -ENODEV; in bigben_probe() 407 error = -ENODEV; in bigben_probe() 417 error in bigben_probe() [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | fujitsu-tablet.c | 225 int error; in input_fujitsu_setup() local 255 error = input_register_device(idev); in input_fujitsu_setup() 256 if (error) { in input_fujitsu_setup() 258 return error; in input_fujitsu_setup() 448 int error; in acpi_fujitsu_add() local 464 error = input_fujitsu_setup(&adev->dev, in acpi_fujitsu_add() 466 if (error) in acpi_fujitsu_add() 467 return error; in acpi_fujitsu_add() 476 error = request_irq(fujitsu.irq, fujitsu_interrupt, in acpi_fujitsu_add() 478 if (error) { in acpi_fujitsu_add() 518 int error; fujitsu_module_init() local [all...] |
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | util.c | 50 * Returns: 0 if the journal is clean or locked, else an error 55 int error; in check_journal_clean() local 61 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_NOEXP | in check_journal_clean() 63 if (error) { in check_journal_clean() 66 "mount.\n", error); in check_journal_clean() 69 error = gfs2_jdesc_check(jd); in check_journal_clean() 70 if (error) { in check_journal_clean() 76 error = gfs2_find_jhead(jd, &head, false); in check_journal_clean() 77 if (error) { in check_journal_clean() 84 error in check_journal_clean() 102 int error; gfs2_freeze_lock_shared() local [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | fujitsu-tablet.c | 225 int error; in input_fujitsu_setup() local 255 error = input_register_device(idev); in input_fujitsu_setup() 256 if (error) { in input_fujitsu_setup() 258 return error; in input_fujitsu_setup() 448 int error; in acpi_fujitsu_add() local 464 error = input_fujitsu_setup(&adev->dev, in acpi_fujitsu_add() 466 if (error) in acpi_fujitsu_add() 467 return error; in acpi_fujitsu_add() 476 error = request_irq(fujitsu.irq, fujitsu_interrupt, in acpi_fujitsu_add() 478 if (error) { in acpi_fujitsu_add() 517 int error; fujitsu_module_init() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/misc/ |
H A D | yurex.c | 174 "data format error - no EOF\n"); in yurex_interrupt() 202 goto error; in yurex_probe() 217 goto error; in yurex_probe() 225 goto error; in yurex_probe() 230 goto error; in yurex_probe() 238 goto error; in yurex_probe() 259 goto error; in yurex_probe() 266 goto error; in yurex_probe() 278 goto error; in yurex_probe() 291 goto error; in yurex_probe() [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-bigbenff.c | 377 int n, error; in bigben_probe() local 386 error = hid_parse(hid); in bigben_probe() 387 if (error) { in bigben_probe() 389 return error; in bigben_probe() 392 error = hid_hw_start(hid, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF); in bigben_probe() 393 if (error) { in bigben_probe() 395 return error; in bigben_probe() 401 error = -ENODEV; in bigben_probe() 407 error = -ENODEV; in bigben_probe() 417 error in bigben_probe() [all...] |
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | samsung-keypad.c | 322 int error; in samsung_keypad_probe() local 370 error = clk_prepare(keypad->clk); in samsung_keypad_probe() 371 if (error) { in samsung_keypad_probe() 373 return error; in samsung_keypad_probe() 397 error = matrix_keypad_build_keymap(keymap_data, NULL, in samsung_keypad_probe() 400 if (error) { in samsung_keypad_probe() 413 error = keypad->irq; in samsung_keypad_probe() 417 error = devm_request_threaded_irq(&pdev->dev, keypad->irq, NULL, in samsung_keypad_probe() 420 if (error) { in samsung_keypad_probe() 429 error in samsung_keypad_probe() 465 int error; samsung_keypad_runtime_suspend() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | hosts.c | 72 * Returns zero if unsuccessful or an error if the requested 217 * 0 on success / != 0 for error 223 int error = -EINVAL; in scsi_add_host_with_dma() local 238 error = scsi_init_sense_cache(shost); in scsi_add_host_with_dma() 239 if (error) in scsi_add_host_with_dma() 254 error = scsi_mq_setup_tags(shost); in scsi_add_host_with_dma() 255 if (error) in scsi_add_host_with_dma() 271 error = device_add(&shost->shost_gendev); in scsi_add_host_with_dma() 272 if (error) in scsi_add_host_with_dma() 281 error in scsi_add_host_with_dma() [all...] |
/test/xts/acts/account/appaccount/actssetcheckdatasyncenable/entry/src/ohosTest/js/test/ |
H A D | Syncenable.test.js | 78 console.error("====>add account ActsSetCheckDataSyncEnabled_0200 fail err:" + JSON.stringify(err)); 87 console.error("====>checkDataSyncEnabled 0200 fail err:" + JSON.stringify(err)); 98 console.error("====>delete account 0200 fail err:" + JSON.stringify(err)); 151 console.error("====>add account ActsSetCheckDataSyncEnabled_0400 fail err:" + JSON.stringify(err)); 162 console.error("====>checkDataSyncEnabled 0400 fail err:" + JSON.stringify(err)); 173 console.error("====>delete account 0400 fail err:" + JSON.stringify(err)); 226 console.error("====>add account ActsSetCheckDataSyncEnabled_0600 fail err:" + JSON.stringify(err)); 237 console.error("====>checkDataSyncEnabled 0600 fail err:" + JSON.stringify(err)); 248 console.error("====>delete account 0600 fail err:" + JSON.stringify(err)); 313 console.error(" [all...] |
/test/xts/acts/account/appaccount/actssetchecksyncenable/entry/src/ohosTest/js/test/ |
H A D | Syncenable.test.js | 78 console.error("====>add account ActsSetCheckSyncEnable_0200 fail err:" + JSON.stringify(err)); 87 console.error("====>checkAppAccountSyncEnable 0200 fail err:" + JSON.stringify(err)); 98 console.error("====>delete account 0200 fail err:" + JSON.stringify(err)); 151 console.error("====>add account ActsSetCheckSyncEnable_0400 fail err:" + JSON.stringify(err)); 162 console.error("====>checkAppAccountSyncEnable 0400 fail err:" + JSON.stringify(err)); 173 console.error("====>delete account 0400 fail err:" + JSON.stringify(err)); 226 console.error("====>add account ActsSetCheckSyncEnable_0600 fail err:" + JSON.stringify(err)); 237 console.error("====>checkAppAccountSyncEnable 0600 fail err:" + JSON.stringify(err)); 248 console.error("====>delete account 0600 fail err:" + JSON.stringify(err)); 313 console.error(" [all...] |
/third_party/elfutils/src/ |
H A D | findtextrel.c | 194 error (0, errno, _("cannot open '%s'"), fname); in open_rootdir_file() 213 error (0, 0, _("cannot create ELF descriptor for '%s': %s"), in process_file() 223 error (0, 0, _("cannot get ELF header '%s': %s"), in process_file() 234 error (0, 0, _("'%s' is not a DSO or PIE"), fname); in process_file() 253 error (0, 0, in process_file() 278 error (0, 0, _("cannot read dynamic section: %s"), in process_file() 299 error (0, 0, _("no text relocations reported in '%s'"), fname); in process_file() 310 error (1, errno, _("while reading ELF file")); in process_file() 314 error (1, 0, _("cannot get program header count: %s"), in process_file() 324 error ( in process_file() [all...] |
/third_party/libuv/test/ |
H A D | test-fs-open-flags.c | 128 static void openFail(char *file, int error) { in openFail() argument 134 ASSERT_EQ(r, error); in openFail() 135 ASSERT_EQ(open_req.result, error); in openFail() 140 ASSERT_EQ(r, error); in openFail() 141 ASSERT_EQ(open_req.result, error); in openFail() 201 static void writeFail(char *file, int error) { in writeFail() argument 208 ASSERT_EQ(r, error); in writeFail() 209 ASSERT_EQ(write_req.result, error); in writeFail() 214 ASSERT_EQ(r, error); in writeFail() 215 ASSERT_EQ(write_req.result, error); in writeFail() 246 readFail(char *file, int error) readFail() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/ |
H A D | D3DTextureSurfaceWGL.cpp | 321 egl::Error error = mDisplay->registerD3DDevice(device, &mDeviceHandle); in initialize() local 323 if (error.isError()) in initialize() 325 return error; in initialize() 355 DWORD error = GetLastError(); in makeCurrent() local 356 return egl::EglBadAlloc() << "Failed to lock object, " << gl::FmtErr(HRESULT_CODE(error)); in makeCurrent() 366 DWORD error = GetLastError(); in unMakeCurrent() local 367 return egl::EglBadAlloc() << "Failed to unlock object, " << gl::FmtErr(HRESULT_CODE(error)); in unMakeCurrent() 420 DWORD error = GetLastError(); in bindTexImage() local 422 << gl::FmtErr(HRESULT_CODE(error)); in bindTexImage() 427 DWORD error in bindTexImage() local 439 DWORD error = GetLastError(); releaseTexImage() local 445 DWORD error = GetLastError(); releaseTexImage() local [all...] |
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | enum_converter_test.cc | 47 std::string error() const { return errors_.str(); } in error() function in tint::reader::spirv::__anon25922::SpvPipelineStageTest 63 EXPECT_TRUE(error().empty()); in TEST_P() 66 EXPECT_THAT(error(), in TEST_P() 110 std::string error() const { return errors_.str(); } in error() function in tint::reader::spirv::__anon25922::SpvStorageClassTest 126 EXPECT_TRUE(error().empty()); in TEST_P() 129 EXPECT_THAT(error(), in TEST_P() 182 std::string error() const { return errors_.str(); } in error() function in tint::reader::spirv::__anon25922::SpvBuiltinTest 198 EXPECT_TRUE(error().empty()); in TEST_P() 201 EXPECT_THAT(error(), ::testing::StartsWith("unknown SPIR-V builtin: ")); in TEST_P() 262 std::string error() cons function in tint::reader::spirv::__anon25922::SpvDimTest 336 std::string error() const { return errors_.str(); } error() function in tint::reader::spirv::__anon25922::SpvImageFormatTest [all...] |
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
H A D | generator_impl_function_test.cc | 38 ASSERT_TRUE(gen.Generate()) << gen.error(); in TEST_F() 64 ASSERT_TRUE(gen.Generate()) << gen.error(); in TEST_F() 82 ASSERT_TRUE(gen.Generate()) << gen.error(); in TEST_F() 103 ASSERT_TRUE(gen.Generate()) << gen.error(); in TEST_F() 141 ASSERT_TRUE(gen.Generate()) << gen.error(); in TEST_F() 201 ASSERT_TRUE(gen.Generate()) << gen.error(); in TEST_F() 281 ASSERT_TRUE(gen.Generate()) << gen.error(); in TEST_F() 355 ASSERT_TRUE(gen.Generate()) << gen.error(); in TEST_F() 401 ASSERT_TRUE(gen.Generate()) << gen.error(); in TEST_F() 451 ASSERT_TRUE(gen.Generate()) << gen.error(); in TEST_F() [all...] |
/third_party/python/Modules/ |
H A D | getaddrinfo.c | 36 * in the source code. This is because RFC2133 is silent about which error 154 "system error returned in errno.", /* EAI_SYSTEM */ 157 "unknown error.", /* EAI_MAX */ 165 error = EAI_MEMORY;\ 202 #define ERR(err) { error = (err); goto bad; } 245 int i, error = 0; in getaddrinfo() local 282 /* error check for hints */ in getaddrinfo() 469 error = get_addr(hostname, pai->ai_family, &top, pai, port); in getaddrinfo() 470 if (error == 0) { in getaddrinfo() 476 error in getaddrinfo() 498 int error = 0; global() local 545 int i, error = 0, h_error; global() local [all...] |
/third_party/skia/infra/bots/task_drivers/perf_puppeteer_skottie_frames/ |
H A D | perf_puppeteer_skottie_frames.go | 100 func makePerfObj(gitHash, taskID, machineID string, keys map[string]string) (perfJSONFormat, error) { 121 func setup(ctx context.Context, benchmarkPath, nodeBinPath string) error { 151 func benchSkottieFrames(ctx context.Context, perf perfJSONFormat, benchmarkPath, canvaskitBinPath, lottiesPath, nodeBinPath string) error { 165 err := td.Do(ctx, td.Props("locate lottie folders"), func(ctx context.Context) error { 166 return filepath.Walk(lottiesPath, func(path string, info os.FileInfo, _ error) error { 187 var lastErr error 194 err = td.Do(ctx, td.Props("Benchmark "+name), func(ctx context.Context) error { 240 func processSkottieFramesData(ctx context.Context, perf perfJSONFormat, benchmarkPath, outputFilePath string) error { 246 err := td.Do(ctx, td.Props("locate input JSON files"), func(ctx context.Context) error { [all...] |
/base/msdp/device_status/rust/frameworks/client/src/ |
H A D | lib.rs | 25 use hilog_rust::{ error, hilog, HiLogLabel, LogType }; 43 error!(LOG_LABEL, "program_name is null"); 49 error!(LOG_LABEL, "Failed parsing AllocSocketPairParam"); 113 error!(LOG_LABEL, "remote_network_id is null"); 119 error!(LOG_LABEL, "Invalid network id"); 141 error!(LOG_LABEL, "device_id is null"); 147 error!(LOG_LABEL, "Invalid device id");
|