/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
H A D | hitrace_meter.cpp | 212 HILOG_ERROR(LOG_CORE, "open trace file %{public}s failed: %{public}d", debugFile.c_str(), errno); in OpenTraceMarkerFile() 215 HILOG_ERROR(LOG_CORE, "open trace file %{public}s failed: %{public}d", traceFile.c_str(), errno); in OpenTraceMarkerFile() 230 HILOG_ERROR(LOG_CORE, "write trace_marker failed, %{public}d", errno); in WriteFailedLog() 273 HILOG_ERROR(LOG_CORE, "%{public}s: %{public}d(%{public}s)", logStr.c_str(), errno, strerror(errno)); in WriteOnceLog() 345 errno, strerror(errno)); in SetAppFileName() 350 HILOG_ERROR(LOG_CORE, "get app name failed, %{public}d", errno); in SetAppFileName() 356 HILOG_ERROR(LOG_CORE, "get time failed, %{public}d", errno); in SetAppFileName() 362 HILOG_ERROR(LOG_CORE, "localtime_r failed, %{public}d", errno); in SetAppFileName() [all...] |
/base/startup/appspawn/service/hnp/base/ |
H A D | hnp_file.c | 19 #include <errno.h>
167 HNP_LOGE("delete file unsuccess.ret=%{public}d, path=%{public}s, errno=%{public}d", ret, filePath,
in HnpDeleteAllFileInPath() 168 errno);
in HnpDeleteAllFileInPath() 197 HNP_LOGE("rmdir path unsuccess.ret=%{public}d, path=%{public}s, errno=%{public}d", ret, path, errno);
in HnpDeleteFolder() 223 HNP_LOGE("delete folder strdup unsuccess, path=%{public}s, errno=%{public}d", path, errno);
in HnpCreateFolder() 234 if ((ret != 0) && (errno != EEXIST)) {
in HnpCreateFolder() 235 HNP_LOGE("delete folder unsuccess, ret=%{public}d, p=%{public}s, errno:%{public}d", ret, p, errno);
in HnpCreateFolder() [all...] |
/base/startup/appspawn/lite/ |
H A D | appspawn_process.c | 16 #include <errno.h> 71 APPSPAWN_LOGE("[appspawn] capset failed, err: %d.", errno); in SetCapability() 76 APPSPAWN_LOGE("[appspawn] SetAmbientCapability failed, err: %d.", errno); in SetCapability() 107 APPSPAWN_LOGE("[appspawn] setgid failed, gID %u, err: %d.", appProperty->message.gID, errno); in SetUidGid() 112 APPSPAWN_LOGE("[appspawn] setuid failed, uID %u, err: %d.", appProperty->message.uID, errno); in SetUidGid() 121 APPSPAWN_LOGE("[appspawn] setgroups failed, uID %u, err: %d.", appProperty->message.uID, errno); in SetUidGid() 142 APPSPAWN_LOGE("[appspawn] setrlimit failed, err: %d.", errno); in SetCapabilities() 150 APPSPAWN_LOGE("[appspawn] setrlimit failed, err: %d.", errno); in SetCapabilities() 156 APPSPAWN_LOGE("[appspawn] SetCapability failed, err: %d.", errno); in SetCapabilities()
|
/base/sensors/miscdevice/utils/common/src/ |
H A D | file_utils.cpp | 46 MISC_HILOGE("Path is error, %{public}d", errno);
in ReadJsonFile() 73 MISC_HILOGW("Close file failed, errno:%{public}d", errno);
in ReadJsonFile() 96 MISC_HILOGE("fstat error, errno:%{public}d", errno);
in GetFileSize() 113 MISC_HILOGE("snprintf failed with %{public}d", errno);
in GetFileName() 119 MISC_HILOGE("readlink failed with %{public}d", errno);
in GetFileName() 200 MISC_HILOGE("fseek failed, errno:%{public}d", errno);
in ReadFd() 202 MISC_HILOGW("Close file failed, errno in ReadFd() [all...] |
/foundation/ai/ai_engine/services/common/platform/os_wrapper/ipc/source/ |
H A D | aie_ipc.cpp | 39 HILOGE("[AieIpc]shmctl IPC_RMID failed: %d.", errno); in ReleaseShmId() 57 if (errno == EEXIST) { in IpcIoPushSharedMemory() 64 HILOGE("[AieIpc]shmget failed: %d.", errno); in IpcIoPushSharedMemory() 72 HILOGE("[AieIpc]shmat failed: %d.", errno); in IpcIoPushSharedMemory() 86 HILOGE("[AieIpc]shmdt failed: %d.", errno); in IpcIoPushSharedMemory() 92 HILOGE("[AieIpc]shmctl IPC_STAT failed: %d.", errno); in IpcIoPushSharedMemory() 99 HILOGE("[AieIpc]shmctl IPC_SET failed: %d.", errno); in IpcIoPushSharedMemory() 133 HILOGE("[AieIpc]shmat failed %d.", errno); in IpcIoPopSharedMemory() 163 HILOGE("[AieIpc]shmdt failed: %d.", errno); in IpcIoPopSharedMemory()
|
/kernel/linux/linux-5.10/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | 11 #include <errno.h> 49 errno); in etap_change() 125 err = -errno; in etap_tramp() 149 err = -errno; in etap_open() 151 "err = %d\n", errno); in etap_open() 157 err = -errno; in etap_open() 159 "err = %d\n", errno); in etap_open() 205 "errno = %d\n", errno); in etap_close() 209 "failed, errno in etap_close() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/safesetid/ |
H A D | safesetid-test.c | 4 #include <errno.h> 50 strerror(errno)); in vmaybe_write_file() 60 if ((errno == ENOENT) && enoent_ok) in vmaybe_write_file() 71 filename, strerror(errno)); in vmaybe_write_file() 77 filename, strerror(errno)); in vmaybe_write_file() 127 if (errno == ENOENT) { in ensure_securityfs_mounted() 138 add_whitelist_policy_file, strerror(errno)); in ensure_securityfs_mounted() 162 add_whitelist_policy_file, strerror(errno)); in write_policies() 167 add_whitelist_policy_file, strerror(errno)); in write_policies()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_skc_cls_ingress.c | 10 #include <errno.h> 31 sysctl, strerror(errno), errno)) in write_sysctl() 39 sysctl, value, len, err, strerror(errno), errno)) in write_sysctl() 49 strerror(errno), errno)) in prepare_netns() 105 if (CHECK(err, "getsockname(listen_fd)", "err:%d errno:%d\n", err, in test_conn() 106 errno)) in test_conn() 160 if (CHECK(err, "getsockname(listen_fd)", "err:%d errno in test_syncookie() [all...] |
/kernel/linux/linux-6.6/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | 11 #include <errno.h> 49 errno); in etap_change() 125 err = -errno; in etap_tramp() 149 err = -errno; in etap_open() 151 "err = %d\n", errno); in etap_open() 157 err = -errno; in etap_open() 159 "err = %d\n", errno); in etap_open() 205 "errno = %d\n", errno); in etap_close() 209 "failed, errno in etap_close() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | madv_populate.c | 15 #include <errno.h> 66 ksft_test_result(ret == -1 && errno == EINVAL, in test_prot_read() 84 ksft_test_result(ret == -1 && errno == EINVAL, in test_prot_write() 110 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 113 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 118 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 121 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 126 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 129 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | bpf_prog_linfo.c | 109 return errno = EINVAL, NULL; in bpf_prog_linfo__new() 117 return errno = EINVAL, NULL; in bpf_prog_linfo__new() 121 return errno = ENOMEM, NULL; in bpf_prog_linfo__new() 177 return errno = EINVAL, NULL; in bpf_prog_linfo__new() 189 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind_addr_func() 193 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind_addr_func() 201 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind_addr_func() 228 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind() 234 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | pwdndk.cpp | 54 errno = ERRON_0;
in Setpwent() 60 if (errno != PARAM_0) {
in Setpwent() 61 napi_create_int32(env, errno, &result);
in Setpwent() 73 if (errno == PARAM_0) {
in Setpwent() 74 napi_create_int32(env, errno, &result);
in Setpwent() 83 errno = ERRON_0;
in Getpwnam() 96 errno = ERRON_0;
in EndPwEnt() 139 errno = ERRON_0;
in Getpwuid() 145 if (errno == ERRON_0) {
in Getpwuid()
|
/test/xts/acts/kernel_lite/ipc_posix/signal/ |
H A D | SignalTestUtils.cpp | 39 LOG("SigAbortHandler: shmat fail, errno = %d", errno);
in SigAbortHandler() 44 LOG("SigAbortHandler: shmdt errno = %d", errno);
in SigAbortHandler() 161 LOG("set %d signal handler failed, errno=%d", signum, errno);
in SendAndRecvTest() 198 errno = 0;
in SignalFailTest() 201 ASSERT_EQ(errno, expectErrno) << "signal error for " << signum;
in SignalFailTest() 205 errno = 0;
in SigpendingFailTest() 208 ASSERT_EQ(errno, EFAUL in SigpendingFailTest() [all...] |
/test/xts/acts/kernel_lite/fs_posix/src/ |
H A D | FsOtherTest.cpp | 51 EXPECT_NE(fd, -1) << "> creat faild errno = " << errno; in HWTEST_F() 52 EXPECT_NE(close(fd), -1) << "> close errno = " << errno; in HWTEST_F() 56 ASSERT_NE(workDir, nullptr) << "> dirname errno = " << errno; in HWTEST_F() 70 EXPECT_NE(fd, -1) << "> creat faild errno = " << errno; in HWTEST_F() 71 EXPECT_NE(close(fd), -1) << "> close errno = " << errno; in HWTEST_F() [all...] |
/third_party/libbpf/src/ |
H A D | bpf_prog_linfo.c | 109 return errno = EINVAL, NULL; in bpf_prog_linfo__new() 117 return errno = EINVAL, NULL; in bpf_prog_linfo__new() 121 return errno = ENOMEM, NULL; in bpf_prog_linfo__new() 177 return errno = EINVAL, NULL; in bpf_prog_linfo__new() 189 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind_addr_func() 193 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind_addr_func() 201 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind_addr_func() 228 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind() 234 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind()
|
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | test_VIDIOC_ENUMOUTPUT.c | 8 * 28 Mar 2009 0.2 Clean up ret and errno variable names and dprintf() output 21 #include <errno.h> 25 #include <linux/errno.h> 49 errno_enum = errno; in test_VIDIOC_ENUMOUTPUT() 112 dprintf("\terrno=%i\n", errno); in test_VIDIOC_ENUMOUTPUT() 129 errno_enum = errno; in test_VIDIOC_ENUMOUTPUT_S32_MAX() 148 errno_enum = errno; in test_VIDIOC_ENUMOUTPUT_S32_MAX_1() 167 errno_enum = errno; in test_VIDIOC_ENUMOUTPUT_U32_MAX() 186 errno_enum = errno; in test_VIDIOC_ENUMOUTPUT_NULL() 192 errno_null = errno; in test_VIDIOC_ENUMOUTPUT_NULL() [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | unix_io.c | 36 #include <errno.h> 124 errno = EBUSY; in ntfs_device_unix_io_open() 145 err = errno; in ntfs_device_unix_io_open() 161 err = errno; in ntfs_device_unix_io_open() 178 err = errno; in ntfs_device_unix_io_open() 191 errno = err; in ntfs_device_unix_io_open() 208 errno = EBADF; in ntfs_device_unix_io_close() 280 errno = EROFS; in ntfs_device_unix_io_write() 319 errno = EROFS; in ntfs_device_unix_io_pwrite()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
H A D | semctl06.c | 56 #include <errno.h> 110 tst_resm(TFAIL, "\tsignal failed. errno = %d", errno); in main() 173 tst_resm(TFAIL, "\tsemget() failed errno %d", errno); in dotest() 186 tst_resm(TFAIL, "\tfirst semop() failed errno %d", errno); in dotest() 230 tst_resm(TFAIL, "\tsemctl() failed errno %d", errno); in dotest() 250 tst_resm(TFAIL, "\tsemctl(IPC_RMID) failed errno in dotest() [all...] |
/third_party/musl/libc-test/src/functionalext/fortify/ |
H A D | fcntl_ext.c | 15 #include <errno.h> 66 t_error("fork failed: %s\n", strerror(errno)); in open_0020() 100 t_error("fork failed: %s\n", strerror(errno)); in open_0030() 162 t_error("fork failed: %s\n", strerror(errno)); in openat_0020() 196 t_error("fork failed: %s\n", strerror(errno)); in openat_0030() 259 t_error("fork failed: %s\n", strerror(errno)); in open64_0020() 293 t_error("fork failed: %s\n", strerror(errno)); in open64_0030() 355 t_error("fork failed: %s\n", strerror(errno)); in openat64_0020() 389 t_error("fork failed: %s\n", strerror(errno)); in openat64_0030()
|
/third_party/node/deps/uv/src/unix/ |
H A D | netbsd.c | 26 #include <errno.h> 85 return UV__ERR(errno); in uv_exepath() 106 return UV__ERR(errno); in uv_get_free_memory() 123 return UV__ERR(errno); in uv_get_total_memory() 171 return UV__ERR(errno); in uv_uptime() 195 return UV__ERR(errno); in uv_cpu_info() 200 return UV__ERR(errno); in uv_cpu_info() 214 return UV__ERR(errno); in uv_cpu_info() 249 return UV__ERR(errno); in uv__random_sysctl()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | poll-posix.c | 40 #include <errno.h> 109 if ((ready == -1) && (errno == EBADF)) { in pa_poll() 153 } else if (errno == EBADF) in pa_poll() 187 errno = WSAGetLastError(); in pa_poll() 204 if (r == 0 || (r < 0 && errno == ENOTSOCK)) in pa_poll() 211 if (errno == ESHUTDOWN || errno == ECONNRESET || in pa_poll() 212 errno == ECONNABORTED || errno == ENETRESET) { in pa_poll()
|
/third_party/python/Lib/test/ |
H A D | test_ossaudiodev.py | 14 import errno namespace 52 if msg.args[0] in (errno.EACCES, errno.ENOENT, 53 errno.ENODEV, errno.EBUSY): 198 if msg.args[0] in (errno.EACCES, errno.ENOENT, 199 errno.ENODEV, errno.EBUSY):
|
/base/account/os_account/services/accountmgr/test/unittest/os_account/mock/ |
H A D | mock_os_account_musl.cpp | 34 errno = 1; in dlclose() 37 errno = 0; in dlclose() 44 if (errno == 0) { in dlerror() 47 errno = 0; in dlerror()
|
/base/security/code_signature/services/key_enable/utils/src/ |
H A D | key_utils.cpp | 40 LOG_ERROR(LABEL, "Add certificate failed, errno = <%{public}d, %{public}s>",
in AddKey() 41 errno, strerror(errno));
in AddKey() 55 LOG_ERROR(LABEL, "Restrict keyring failed, errno = <%{public}d, %{public}s>",
in KeyctlRestrictKeyring() 56 errno, strerror(errno));
in KeyctlRestrictKeyring()
|
/foundation/communication/wifi/wifi/test/wifi_standard/ipc_framework/cRPC/unittest/ |
H A D | rpc_test_main.cpp | 22 errno = 0; in __wrap_read() 27 errno = EWOULDBLOCK; in __wrap_read() 41 errno = 0; in __wrap_write() 49 errno = EWOULDBLOCK; in __wrap_write()
|