/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/ |
H A D | random.c | 31 LOG_ERROR("Open random-device failed... error no: %{public}d.", errno); in GetRandomFd() 53 LOG_ERROR("Read random-device failed... error no: %{public}d.", errno); in RandomGenerate()
|
/kernel/linux/linux-6.6/arch/xtensa/platforms/iss/include/platform/ |
H A D | simcall-gdbio.h | 17 static int errno; variable 30 errno = c1; in __simc()
|
/kernel/liteos_a/testsuites/unittest/basic/mem/vm/smoke/ |
H A D | mmap_test_005.cpp | 45 ICUNIT_ASSERT_EQUAL(errno, EINVAL, errno); in Testcase()
|
/kernel/liteos_m/testsuites/sample/posix/mqueue/ |
H A D | It_posix_queue_042.c | 43 ICUNIT_ASSERT_EQUAL(errno, ENOENT, errno); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/libc/misc/full/ |
H A D | misc_test_011.cpp | 39 errno = 0; in TestCase() 45 ICUNIT_ASSERT_EQUAL(errno, EINVAL, -1); in TestCase()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/ |
H A D | It_posix_queue_030.cpp | 39 ICUNIT_ASSERT_EQUAL(errno, EBADF, errno); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/net/netdb/full/ |
H A D | net_netdb_test_015.cpp | 49 ICUNIT_ASSERT_EQUAL(errno, ENODEV, errno); in IfNameToIndexTest()
|
/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()
|
/base/hiviewdfx/hilog_lite/services/apphilogcat/ |
H A D | hiview_applogcat.c | 16 #include <errno.h> 154 printf("hilog fd failed %s\n", strerror(errno)); in main() 161 printf("open err fp1 %s\n", strerror(errno)); in main() 168 printf("open err fp2 %s\n", strerror(errno)); in main() 236 printf("[FATAL]File can't write fpWrite %s\n", strerror(errno)); in main()
|
/base/account/os_account/services/accountmgr/test/unittest/domain_account/mock/ |
H A D | mock_musl.cpp | 34 errno = 1; in dlclose() 37 errno = 0; in dlclose() 44 if (errno == 0) { in dlerror() 47 errno = 0; in dlerror() 58 errno = 1; in dlopen()
|
/base/startup/init/services/loopevent/loop/ |
H A D | le_epoll.c | 16 #include <errno.h> 60 LE_CHECK(ret == 0, return LE_FAILURE, "Failed to add epoll_ctl %d ret %d", fd, errno); in AddEvent_() 76 LE_CHECK(ret == 0, return LE_FAILURE, "Failed to mod epoll_ctl %d ret %d", fd, errno); in ModEvent_() 91 LE_CHECK(ret == 0, return LE_FAILURE, "Failed to del epoll_ctl %d ret %d", fd, errno); in DelEvent_() 129 LE_LOGV("RunLoop_ fd:%d, error:%d", epoll->waitEvents[index].data.fd, errno); in RunLoop_()
|
/base/tee/tee_client/frameworks/libteec_vendor/ |
H A D | tee_client_socket.c | 14 #include <errno.h> /* for errno */
52 tloge("can't open stream socket, errno=%d", errno);
in ConnectTeecdSocket() 61 tloge("strncpy_s failed, errno=%d", rc);
in ConnectTeecdSocket() 69 tloge("connect() failed, errno=%d\n", errno);
in ConnectTeecdSocket() 71 if (errno == EACCES) {
in ConnectTeecdSocket() 255 tloge("send message error %d \n", errno);
in CaDaemonConnectWithCaInfo()
|
/base/startup/appspawn/modules/common/ |
H A D | appspawn_adapter.cpp | 80 APPSPAWN_CHECK_ONLY_LOG(ret == 0, "Setcon failed, errno: %{public}d", errno); in SetSelinuxConNweb() 182 APPSPAWN_LOGE("Failed to dlsym get permission errno is %{public}d", errno); in SetSeccompFilter() 198 APPSPAWN_LOGE("Failed to set %{public}s seccomp filter and exit %{public}d", appName, errno); in SetSeccompFilter() 230 APPSPAWN_CHECK(ret == 0, return, "setenv failed, userid:%{public}u, errno: %{public}d", userId, errno); in InitAppCommonEnv() 251 APPSPAWN_CHECK(ret == 0, break, "setenv failed, errno: %{public}d", errno); in SetEnvInfo()
|
/base/update/updater/services/ |
H A D | updater_utils.cpp | 137 LOG(ERROR) << "WriteVersionCode fopen failed" << " : " << strerror(errno); in ClearMisc() 146 LOG(ERROR) << "ClearMisc write misc initOffset 0 failed" << " : " << strerror(errno); in ClearMisc() 158 LOG(ERROR) << "ClearMisc write misc cleanPartition failed" << " : " << strerror(errno); in ClearMisc() 168 int save_errno = errno; in IsSDCardExist() 173 errno = save_errno; in IsSDCardExist()
|
/base/update/updater/test/unittest/applypatch_test/ |
H A D | all_cmd_unittest.cpp | 87 } while (written < 0 && errno == EINTR);
in WriteTestBin() 109 std::cout << "Failed to open test data allCmdUnitTest.bin : " << errno << std::endl;
in HWTEST_F() 146 std::cout << "Write 0 to bin error: " << errno << std::endl;
in AllCmdUnitTestMove() 160 std::cout << "Write 0 to bin error: " << errno << std::endl;
in AllCmdUnitTestMove() 180 printf("Failed to open block %s, errno: %d\n", filePath.c_str(), errno);
in HWTEST_F()
|
/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()
|