/third_party/pulseaudio/src/pulsecore/ |
H A D | socket-client.c | 29 #include <errno.h> 135 pa_log("getsockopt(): %s", pa_cstrerror(errno)); in do_call() 146 errno = error; in do_call() 200 if (errno != EINPROGRESS) { 201 pa_log_debug("connect(): %s (%d)", pa_cstrerror(errno), errno); 253 pa_log("socket(): %s", pa_cstrerror(errno)); 395 errno = EHOSTUNREACH; 415 errno = ETIMEDOUT;
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | io_win32.cc | 56 #include <errno.h> 260 errno = ENOENT; in open() 273 errno = ENOENT; in mkdir() 286 errno = ENOENT; in access() 299 errno = ENOENT; in chdir() 312 errno = ENOENT; in stat() 324 errno = EINVAL; in fopen() 329 errno = ENOENT; in fopen() 334 errno = EINVAL; in fopen()
|
/third_party/python/Lib/ |
H A D | asyncore.py | 56 from errno import EALREADY, EINPROGRESS, EWOULDBLOCK, ECONNRESET, EINVAL, \ 121 if e.errno not in _DISCONNECTED: 244 if err.errno in (ENOTCONN, EINVAL): 354 if why.errno in (EWOULDBLOCK, ECONNABORTED, EAGAIN): 366 if why.errno == EWOULDBLOCK: 368 elif why.errno in _DISCONNECTED: 386 if why.errno in _DISCONNECTED: 401 if why.errno not in (ENOTCONN, EBADF): 565 if x.errno == EBADF:
|
/applications/standard/app_samples/code/BasicFeature/Connectivity/VPN/entry/src/main/cpp/ |
H A D | vpn_client.cpp | 85 if (errno != ERRORAGAIN) {
in HandleReadTunfd() 98 strerror(errno));
in HandleReadTunfd() 118 if (errno != EAGAIN) {
in HandleTcpReceived() 119 NETMANAGER_VPN_LOGE("read tun device error: %{public}d %{public}d", errno, fdInfo.tunnelFd);
in HandleTcpReceived() 128 NETMANAGER_VPN_LOGE("error Write To Tunfd, errno: %{public}d", errno);
in HandleTcpReceived()
|
/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | graphic_timer.cpp | 91 GRAPHIC_LOGE("Timer create failed.(err=%s)", strerror(errno)); in GraphicTimer() 224 GRAPHIC_LOGE("Timer create failed.(err=%s)", strerror(errno)); in GraphicTimer() 234 GRAPHIC_LOGE("Timer delete failed.(err=%s)", strerror(errno)); in ~GraphicTimer() 257 GRAPHIC_LOGE("Timer start failed.(timerid=%d, err=%s)", timer_, strerror(errno)); in Start() 272 GRAPHIC_LOGE("Timer stop failed.(timerid=%d, err=%s)", timer_, strerror(errno)); in Stop()
|
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/ |
H A D | hgm_one_shot_timer.cpp | 99 if (result && errno != EINTR) { in Loop() 100 HGM_LOGE("HgmOneShotTimer::sem_wait failed (%{public}s)", std::to_string(errno).c_str()); in Loop() 117 if (result && errno != ETIMEDOUT && errno != EINTR) { in Loop() 118 HGM_LOGE("HgmOneShotTimer::sem_timedwait failed (%{public}s)", std::to_string(errno).c_str()); in Loop()
|
/foundation/graphic/graphic_2d/utils/socketpair/src/ |
H A D | local_socketpair.cpp | 97 ScopedBytrace func("Create socketpair failed, errno = " + std::to_string(errno));
in CreateChannel() 107 ScopedBytrace func2("Create socketpair failed for the second time, errno = " + std::to_string(errno));
in CreateChannel() 143 int errnoRecord = errno;
in SendData() 144 ScopedBytrace func("SocketPair SendData failed, errno = " + std::to_string(errnoRecord) +
in SendData() 167 } while (errno == EINTR);
in ReceiveData() 169 ScopedBytrace func("SocketPair ReceiveData failed errno = " + std::to_string(errno) +
in ReceiveData()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_inotify.cpp | 78 errno); in WatchCallBack() 119 MEDIA_ERR_LOG("rm watch fd: %{public}d, fail: %{public}d", iter->first, errno); in Restart() 142 MEDIA_ERR_LOG("rm watch fd: %{public}d, fail: %{public}d", iter->first, errno); in DoStop() 174 MEDIA_ERR_LOG("rm watch fd:%{public}d fail:%{public}d", wd, errno); in Remove() 185 MEDIA_ERR_LOG("add AddWatchList fail fd: %{public}d, error: %{public}d", inotifyFd_, errno); in Init()
|
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/utils/ |
H A D | file_utils.cpp | 48 MEDIA_ERR_LOG("DeleteFile fail, ret: %{public}d, errno: %{public}d", ret, errno);
in DeleteFile() 67 MEDIA_ERR_LOG("fd.Get() < 0 fd %{public}d errno: %{public}d", fd, errno);
in SaveImage() 75 MEDIA_ERR_LOG("write fail, ret: %{public}d, errno: %{public}d", ret, errno);
in SaveImage() 82 MEDIA_ERR_LOG("rename fail, ret: %{public}d, errno: %{public}d", ret, errno);
in SaveImage() 175 "Failed to delete temp filters file, errno: %{public}d", errno);
in DealPicture() local [all...] |
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/ |
H A D | media_scanner_manager.cpp | 53 MEDIA_ERR_LOG("failed to get real path %{private}s, errno %{public}d", path.c_str(), errno); in ScanFile() 76 MEDIA_ERR_LOG("failed to get real path %{private}s, errno %{public}d", path.c_str(), errno); in ScanFileSync() 102 MEDIA_ERR_LOG("failed to get real path %{private}s, errno %{public}d", path.c_str(), errno); in ScanFileSyncWithoutAlbumUpdate() 128 MEDIA_ERR_LOG("failed to get real path %{private}s, errno %{public}d", path.c_str(), errno); in ScanDir() 151 MEDIA_ERR_LOG("failed to get real path %{private}s, errno %{public}d", path.c_str(), errno); in ScanDirSync() [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/utils/ |
H A D | ressched_utils.cpp | 78 CGS_LOGD("%{public}s load %{public}s failed! errno:%{public}d", __func__, RES_SCHED_CG_EXT_SO.c_str(), errno); in LoadUtilsExtra() 89 CGS_LOGD("%{public}s load function:ReportArbitrationResult failed! errno:%{public}d", __func__, errno); in LoadUtilsExtra() 100 CGS_LOGD("%{public}s load function:DispatchResourceExt failed! errno:%{public}d", __func__, errno); in LoadUtilsExtra() 111 CGS_LOGD("%{public}s load function:ReportSysEvent failed! errno:%{public}d", __func__, errno); in LoadUtilsExtra() 122 CGS_LOGD("%{public}s load function:SubscribeResourceExtFunc failed! errno:%{public}d", __func__, errno); in LoadUtilsExtra() [all...] |
/foundation/distributeddatamgr/kv_store/databaseutils/src/ |
H A D | acl.cpp | 155 } else if (errno == ENODATA) { in AclFromDefault() 159 ZLOGW("getxattr failed. error %{public}s path %{public}s", std::strerror(errno), path_.c_str()); in AclFromDefault() 181 ZLOGE("Failed to generate ACL from file's mode: %{public}s", std::strerror(errno)); in SetDefault() 189 ZLOGE("Failed to serialize ACL into binary: %{public}s", std::strerror(errno)); in SetDefault() 193 ZLOGE("Failed to write into file's xattr: %{public}s", std::strerror(errno)); in SetDefault()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/ |
H A D | copy_file.cpp | 51 return UniError(errno); in CopyFileCore() 58 return UniError(errno); in CopyFileCore() 64 return UniError(errno); in CopyFileCore() 73 return UniError(errno); in CopyFileCore() 79 return UniError(errno); in CopyFileCore()
|
/foundation/filemanagement/app_file_service/utils/src/b_hiaudit/ |
H A D | hi_audit.cpp | 79 HILOGE("Init, open error, logFilePath is:%{public}s, errno:%{public}d", logFilePath.c_str(), errno); in Init() 148 HILOGE("GetWriteFilePath, Open fd error, errno:%{public}d", errno); in GetWriteFilePath() 163 HILOGE("open dir error, errno:%{public}d", errno); in CleanOldAuditFile() 227 if (ret != 0 || errno != 0 || errno != EEXIST) { in MkLogDirSuccess()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/ |
H A D | reactor_linux.c | 69 LOG_ERROR("ReatorCreate: epoll create failed, error no: %{public}d.", errno); in ReactorCreate() 75 LOG_ERROR("ReatorCreate: eventfd failed, error no: %{public}d.", errno); in ReactorCreate() 84 LOG_ERROR("ReatorCreate: epoll_ctl ADD-Option failed, error no: %{public}d.", errno); in ReactorCreate() 135 LOG_ERROR("ReactorStart: epoll_wait failed, error no: %{public}d.", errno); in ReactorStart() 229 LOG_ERROR("ReactorUnregister: epoll_ctl delete-option failed, error no: %{public}d.", errno); in ReactorUnregister()
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
H A D | pidfd_wait.c | 4 #include <errno.h> 163 ASSERT_EQ(errno, EINVAL); in TEST() 169 ASSERT_EQ(errno, ECHILD); in TEST() 183 ASSERT_EQ(errno, EINVAL); in TEST() 197 ASSERT_EQ(errno, EAGAIN); in TEST()
|
H A D | pidfd_fdinfo_test.c | 5 #include <errno.h> 104 error_set(err, -1, "mmap of stack failed (errno %d)", errno); in clone_newns() 115 error_set(err, PIDFD_ERROR, "clone failed (ret %d, errno %d)", in clone_newns() 116 ret.fd, errno); in clone_newns() 136 error_set(err, PIDFD_ERROR, "waitpid failed (ret %d, errno %d)", in child_join() 137 r, errno); in child_join() 142 error_set(err, -1, "munmap of child stack failed (errno %d)", errno); in child_join()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt_sk.c | 65 if (!err || errno != EPERM) { in getsetsockopt() 169 log_err("Unexpected getsockopt(TCP_ZEROCOPY_RECEIVE) err=%d errno=%d", in getsetsockopt() 170 err, errno); in getsetsockopt() 177 errno = 0; in getsetsockopt() 179 if (errno != EPERM) { in getsetsockopt() 180 log_err("Unexpected getsockopt(TCP_ZEROCOPY_RECEIVE) err=%d errno=%d", in getsetsockopt() 181 err, errno); in getsetsockopt()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_progs.h | 4 #include <errno.h> 103 int __save_errno = errno; \ 112 errno = __save_errno; \ 118 int __save_errno = errno; \ 123 errno = __save_errno; \
|
/kernel/linux/linux-5.10/tools/testing/selftests/core/ |
H A D | close_range_test.c | 4 #include <errno.h> 46 if (errno == ENOENT) in TEST() 54 if (errno == ENOSYS) in TEST() 110 if (errno == ENOENT) in TEST() 199 if (errno == ENOENT) in TEST()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | test_cgrp2_sock.c | 19 #include <errno.h> 259 printf("Failed to open cgroup path: '%s'\n", strerror(errno)); in main() 266 printf("Failed to load prog: '%s'\n", strerror(errno)); in main() 276 strerror(errno)); in main() 283 strerror(errno)); in main()
|
/kernel/linux/linux-5.10/tools/lib/subcmd/ |
H A D | run-command.c | 8 #include <errno.h> 114 cmd->dir, str_error_r(errno, sbuf, sizeof(sbuf))); in start_command() 134 int err = errno; in start_command() 175 if (errno == EINTR) in wait_or_whine() 178 str_error_r(errno, sbuf, sizeof(sbuf))); in wait_or_whine()
|
/kernel/linux/linux-6.6/tools/lib/subcmd/ |
H A D | run-command.c | 8 #include <errno.h> 114 cmd->dir, str_error_r(errno, sbuf, sizeof(sbuf))); in start_command() 134 int err = errno; in start_command() 175 if (errno == EINTR) in wait_or_whine() 178 str_error_r(errno, sbuf, sizeof(sbuf))); in wait_or_whine()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_skc_cls_ingress.c | 10 #include <errno.h> 32 strerror(errno), errno)) in prepare_netns() 88 if (CHECK(err, "getsockname(listen_fd)", "err:%d errno:%d\n", err, in test_conn() 89 errno)) in test_conn() 143 if (CHECK(err, "getsockname(listen_fd)", "err:%d errno:%d\n", err, in test_syncookie() 144 errno)) in test_syncookie()
|
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/ |
H A D | posix_fs_lseek_test.c | 122 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR); 136 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR); 150 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR); 154 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR); 158 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR);
|