Home
last modified time | relevance | path

Searched refs:errno (Results 1 - 25 of 757) sorted by relevance

12345678910>>...31

/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dnetsys_client.c18 #include <errno.h>
86 if (errno != EINPROGRESS) { in NonBlockConnect()
100 DNS_CONFIG_PRINT("select error: %s", strerror(errno)); in NonBlockConnect()
120 DNS_CONFIG_PRINT("socket failed %d", errno); in CreateConnectionToNetSys()
121 return -errno; in CreateConnectionToNetSys()
125 return CloseSocketReturn(sockFd, -errno); in CreateConnectionToNetSys()
137 return CloseSocketReturn(sockFd, -errno); in CreateConnectionToNetSys()
175 HILOG_ERROR(LOG_CORE, "send failed %{public}d", errno); in NetSysGetResolvConfInternal()
176 return CloseSocketReturn(sockFd, -errno); in NetSysGetResolvConfInternal()
180 HILOG_ERROR(LOG_CORE, "receive failed %{public}d", errno); in NetSysGetResolvConfInternal()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfbex.cpp100 LOGE("Read baseAddr failed, errno: %{public}d", errno); in IsFBEXSupported()
110 LOGE("realpath of %{public}s failed, errno: %{public}d", path.c_str(), errno); in IsFBEXSupported()
120 LOGE("read ufs_inline_stat failed, errno: %{public}d", errno); in IsFBEXSupported()
153 if (errno == ENOENT) { in InstallEL5KeyToKernel()
158 LOGE("open fbex_cmd failed, errno: %{public}d", errno); in InstallEL5KeyToKernel()
159 return -errno; in InstallEL5KeyToKernel()
[all...]
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/tcp/
H A Dtcp_socket.cpp33 CLOGE("Create socket error: errno = %{public}d, errmsg = %{public}s.", errno, strerror(errno)); in TcpSocket()
59 CLOGE("Socket bind error: errno = %{public}d, errmsg = %{public}s.", errno, strerror(errno)); in Bind()
78 CLOGE("Socket getBindPort error: errno = %{public}d, errmsg = %{public}s.", errno, strerror(errno)); in GetBindPort()
93 CLOGE("Socket getPeerPort error: errno in GetPeerPort()
[all...]
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/tcp/
H A Dtcp_socket.cpp33 CLOGE("Create socket error: errno = %{public}d, errmsg = %{public}s.", errno, strerror(errno)); in TcpSocket()
59 CLOGE("Socket bind error: errno = %{public}d, errmsg = %{public}s.", errno, strerror(errno)); in Bind()
78 CLOGE("Socket getBindPort error: errno = %{public}d, errmsg = %{public}s.", errno, strerror(errno)); in GetBindPort()
93 CLOGE("Socket getPeerPort error: errno in GetPeerPort()
[all...]
/foundation/multimodalinput/input/libudev/test/
H A Dcustom_udev_test.cpp99 errno = 0; in HWTEST_F()
101 EXPECT_NE(errno, 0); in HWTEST_F()
103 errno = 0; in HWTEST_F()
105 EXPECT_EQ(errno, 0); in HWTEST_F()
107 errno = 0; in HWTEST_F()
109 EXPECT_EQ(errno, 0); in HWTEST_F()
124 errno = 0; in HWTEST_F()
126 EXPECT_EQ(errno, EINVAL); in HWTEST_F()
128 errno = 0; in HWTEST_F()
131 EXPECT_EQ(errno, EINVA in HWTEST_F()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/network/socket/
H A Dsocket_utils.cpp122 SHARING_LOGE("error: %{public}s!", strerror(errno)); in CreateSocket()
139 SHARING_LOGE("error: %{public}s!", strerror(errno)); in BindSocket()
144 SHARING_LOGE("error: %{public}s!", strerror(errno)); in BindSocket()
155 SHARING_LOGE("error: %{public}s!", strerror(errno)); in ListenSocket()
174 SHARING_LOGE("inet_pton ip error: %{public}s!", strerror(errno)); in ConnectSocket()
185 if (errno == EINPROGRESS) { in ConnectSocket()
226 SHARING_LOGE("async connect error: %{public}s!", strerror(errno)); in CheckAsyncConnect()
246 SHARING_LOGE("error: %{public}s!", strerror(errno)); in SetReuseAddr()
258 SHARING_LOGE("error: %{public}s!", strerror(errno)); in SetReusePort()
272 SHARING_LOGE("error: %{public}s!", strerror(errno)); in SetCloseWait()
[all...]
/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_tarball/
H A Db_tarball_cmdline_test.cpp114 if (mkdir(testDir.data(), S_IRWXU) && errno != EEXIST) { in HWTEST_F()
115 GTEST_LOG_(INFO) << "Failed to create directory, errno :" << errno; in HWTEST_F()
116 throw BError(errno); in HWTEST_F()
121 GTEST_LOG_(INFO) << "Failed to open file, errno :" << errno; in HWTEST_F()
122 throw BError(errno); in HWTEST_F()
161 if (mkdir(testDir.data(), S_IRWXU) && errno != EEXIST) { in HWTEST_F()
162 GTEST_LOG_(INFO) << " create directory failed, errno :" << errno; in HWTEST_F()
[all...]
/foundation/filemanagement/app_file_service/utils/src/b_filesystem/
H A Db_file.cpp37 throw BError(errno); in ReadFile()
42 throw BError(errno); in ReadFile()
52 throw BError(errno); in ReadFile()
62 throw BError(errno); in SendFile()
65 throw BError(errno); in SendFile()
69 throw BError(errno); in SendFile()
75 throw BError(errno); in SendFile()
79 throw BError(errno); in SendFile()
87 throw BError(errno); in Write()
90 throw BError(errno); in Write()
[all...]
/foundation/filemanagement/user_file_service/interfaces/kits/native/recent/
H A Drecent_n_exporter.cpp71 HILOG_ERROR("Failed to lutimes recent link, errno=%{public}d", errno); in SetFileTime()
72 NError(errno).ThrowErr(env); in SetFileTime()
77 HILOG_ERROR("Failed to stat uri, errno=%{public}d", errno); in SetFileTime()
100 HILOG_ERROR("Failed to stat uri, errno=%{public}d", errno); in AddRecentFile()
101 NError(errno).ThrowErr(env); in AddRecentFile()
108 if (accessRet < 0 && errno == ENOENT) { in AddRecentFile()
110 HILOG_ERROR("Failed to unlink invalid recent link, errno in AddRecentFile()
[all...]
/foundation/filemanagement/app_file_service/interfaces/innerkits/native/remote_file_share/src/
H A Dremote_file_share.cpp97 LOGE("RemoteFileShare::GetProcessName, pthread_getname_np failed with %{public}d", errno); in GetProcessName()
112 LOGE("RemoteFileShare::GetFileName, snprintf failed with %{public}d", errno); in GetFileName()
118 LOGE("RemoteFileShare::GetFileName, readlink failed with %{public}d", errno); in GetFileName()
137 LOGE("RemoteFileShare::CreateShareDir, make dir failed with %{public}d", errno); in CreateShareDir()
138 return errno; in CreateShareDir()
160 LOGE("RemoteFileShare::DeleteShareDir, delete dir failed with %{public}d", errno); in DeleteShareDir()
169 LOGE("RemoteFileShare::DeleteShareDir, delete dir failed with %{public}d", errno); in DeleteShareDir()
183 LOGE("RemoteFileShare::CreateShareFile, open share path failed with %{public}d", errno); in CreateShareFile()
184 return errno; in CreateShareFile()
189 LOGE("RemoteFileShare::CreateShareFile, memcpy_s failed with %{public}d", errno); in CreateShareFile()
[all...]
/foundation/communication/wifi/wifi/base/cRPC/src/
H A Dnet.c24 #include "errno.h"
58 if (errno == EWOULDBLOCK || errno == EINTR || errno == EAGAIN) { in MyRead()
61 LOGE("read failed! error is %{public}d", errno); in MyRead()
84 if (errno == EINTR || errno == EWOULDBLOCK || errno == EAGAIN) { in MyWrite()
87 LOGE("write failed! error is %{public}d", errno); in MyWrite()
144 LOGE("bind failed, ret: %{public}d, errno in CreateUnixServer()
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dmoving_photo_file_utils.cpp108 MEDIA_ERR_LOG("failed to get file size, errno: %{public}d", errno); in GetFileSize()
118 MEDIA_ERR_LOG("failed to get file size, errno: %{public}d", errno); in GetFileSize()
128 MEDIA_ERR_LOG("failed to lseek file, errno: %{public}d", errno); in WriteContentTofile()
136 MEDIA_ERR_LOG("failed to write file, errno: %{public}d", errno); in WriteContentTofile()
141 MEDIA_ERR_LOG("failed to read from srcFd:%{public}d, errno:%{public}d", srcFd.Get(), errno); in WriteContentTofile()
272 extraDir.c_str(), errno); GetExtraDataLen() local
350 E_HAS_FS_ERROR, "Cannot create dir %{private}s, errno %{public}d", cacheDir.c_str(), errno); ConvertToLivePhoto() local
358 E_HAS_FS_ERROR, "file is not real path: %{private}s, errno: %{public}d", imagePath.c_str(), errno); ConvertToLivePhoto() local
366 E_HAS_FS_ERROR, "file is not real path: %{private}s, errno: %{public}d", videoPath.c_str(), errno); ConvertToLivePhoto() local
378 E_HAS_FS_ERROR, "file is not real path: %{private}s, errno: %{public}d", cachePath.c_str(), errno); ConvertToLivePhoto() local
403 "Cannot create dir %{private}s, errno %{public}d", cacheDir.c_str(), errno); ConvertToSourceLivePhoto() local
412 E_HAS_FS_ERROR, "file is not real path: %{private}s, errno: %{public}d", sourceImagePath.c_str(), errno); ConvertToSourceLivePhoto() local
418 E_HAS_FS_ERROR, "file is not real path: %{private}s, errno: %{public}d", sourceVideoPath.c_str(), errno); ConvertToSourceLivePhoto() local
423 "Failed to create source live photo:%{private}s, errno:%{public}d", sourceCachePath.c_str(), errno); ConvertToSourceLivePhoto() local
426 E_HAS_FS_ERROR, "file is not real path: %{private}s, errno: %{public}d", sourceCachePath.c_str(), errno); ConvertToSourceLivePhoto() local
502 "Failed to get file state of live photo, errno = %{public}d", errno); SendLivePhoto() local
536 "Failed to get file state of live photo, errno:%{public}d", errno); GetExtraDataSize() local
543 "Failed to lseek version tag, errno:%{public}d", errno); GetExtraDataSize() local
545 "Failed to read version tag, errno:%{public}d", errno); GetExtraDataSize() local
566 E_HAS_FS_ERROR, "Failed to lseek cinemagraph size, errno:%{public}d", errno); GetExtraDataSize() local
568 "Failed to read cinemagraph size, errno:%{public}d", errno); GetExtraDataSize() local
594 "Failed to get file state of live photo, errno:%{public}d", errno); ConvertToMovingPhoto() local
600 "Failed to lseek live tag, errno:%{public}d", errno); ConvertToMovingPhoto() local
602 "Failed to read live tag, errno:%{public}d", errno); ConvertToMovingPhoto() local
724 "Failed to get file state, errno:%{public}d", errno); GetVersionAndFrameNum() local
731 "Failed to lseek version tag, errno:%{public}d", errno); GetVersionAndFrameNum() local
733 "Failed to read version tag, errno:%{public}d", errno); GetVersionAndFrameNum() local
[all...]
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_util.c82 LOGE(TAG, "set thread affinity failed, ret %d, error(%d)", syscallres, errno); in StartThreadBindCore()
117 LOGE(TAG, "set thread affinity failed, ret %d, error(%d)", syscallres, errno); in BindThreadToTargetMask()
128 LOGE(TAG, "prctl errno %d", errno); in SetThreadName()
135 LOGE(TAG, "nice set error: %d", errno); in SetMaximumPriorityForThread()
142 LOGE(TAG, "clock_gettime error: %d", errno); in ClockGetTime()
154 LOGE(TAG, "sem get error: %d", errno); in SemGetValue()
161 LOGE(TAG, "sem post error: %d", errno); in SemPost()
168 LOGE(TAG, "sem wait error: %d", errno); in SemWait()
175 LOGE(TAG, "sem destroy error: %d", errno); in SemDestroy()
[all...]
/foundation/resourceschedule/frame_aware_sched/interfaces/innerkits/frameintf/
H A Drtg_interface.cpp70 RME_LOGI("rtg Open fail, errno = %{public}d(%{public}s), dev = %{public}s", errno, strerror(errno), fileName); in BasicOpenRtgNode()
100 RME_LOGE("set rtg config to [%{public}d] failed, ret = %{public}d, errno = %{public}d (%{public}s)", in EnableRtg()
103 errno, in EnableRtg()
104 strerror(errno)); in EnableRtg()
126 RME_LOGE("add thread to rtg failed, grpId = %{public}d, ret = %{public}d, errno = %{public}d (%{public}s)", in AddThreadToRtg()
129 errno, in AddThreadToRtg()
130 strerror(errno)); in AddThreadToRtg()
163 RME_LOGE("add thread to rtg failed, grpId = %{public}d, ret = %{public}d, errno in AddThreadsToRtg()
[all...]
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/
H A Ddns_resolv_listen.cpp102 DNS_CONFIG_PRINT("read errno %{public}d", errno); in ProcGetKeyForCache()
112 DNS_CONFIG_PRINT("read errno %{public}d", errno); in ProcGetKeyForCache()
142 DNS_CONFIG_PRINT("send errno %{public}d", errno); in ProcGetCacheCommand()
158 DNS_CONFIG_PRINT("send errno %{public}d", errno); in ProcGetCacheCommand()
182 DNS_CONFIG_PRINT("read errno %{public}d", errno); in ProcSetCacheCommand()
[all...]
/foundation/communication/dsoftbus/adapter/common/kernel/posix/
H A Dsoftbus_adapter_file.c18 #include <errno.h>
59 COMM_LOGE(COMM_ADAPTER, "create file failed, errno=%{public}d", errno); in SoftBusCreateFile()
74 COMM_LOGE(COMM_ADAPTER, "softbus read file fail. errno=%{public}s", strerror(errno)); in SoftBusReadFile()
88 COMM_LOGE(COMM_ADAPTER, "ReadFile open file fail, errno=%{public}s", strerror(errno)); in ReadFullFile()
93 COMM_LOGE(COMM_ADAPTER, "ReadFile len error, fileLen=%{public}d, errno=%{public}s", fileLen, strerror(errno)); in ReadFullFile()
104 COMM_LOGE(COMM_ADAPTER, "ReadFile lseek file fail, ret=%{public}d, errno in ReadFullFile()
[all...]
H A Dsoftbus_adapter_socket.c19 #include <errno.h>
53 switch (errno) { in GetErrorCode()
103 COMM_LOGE(COMM_ADAPTER, "socket errno=%{public}s, ret=%{public}d", strerror(errno), ret); in SoftBusSocketCreate()
115 COMM_LOGE(COMM_ADAPTER, "setsockopt errno=%{public}s, ret=%{public}d", strerror(errno), ret); in SoftBusSocketSetOpt()
126 COMM_LOGE(COMM_ADAPTER, "getsockopt errno=%{public}s, ret=%{public}d", strerror(errno), ret); in SoftBusSocketGetOpt()
138 COMM_LOGE(COMM_ADAPTER, "getsockopt fd=%{public}d, errno=%{public}s, ret=%{public}d", in SoftBusSocketGetError()
139 socketFd, strerror(errno), re in SoftBusSocketGetError()
[all...]
/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/
H A Dmemory_pressure_observer.cpp48 HILOGE("epoll_create failed (errno=%{public}d)", errno); in Init()
95 errno = EINVAL; in CreateLevelFileFd()
102 } while (fd == -1 && errno == EINTR); in CreateLevelFileFd()
104 HILOGE("invalid fd (errno=%{public}d)", errno); in CreateLevelFileFd()
113 errno = EINVAL; in CreateLevelFileFd()
121 } while (res == -1 && errno == EINTR); in CreateLevelFileFd()
123 HILOGE("write failed (errno=%{public}d)", errno); in CreateLevelFileFd()
[all...]
/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/include/
H A Dsocket_exec_common.h31 while (flags == -1 && errno == EINTR) { in MakeNonBlock()
35 NETSTACK_LOGE("make non block failed, socket is %{public}d, errno is %{public}d", sock, errno); in MakeNonBlock()
39 while (ret == -1 && errno == EINTR) { in MakeNonBlock()
43 NETSTACK_LOGE("make non block failed, socket is %{public}d, errno is %{public}d", sock, errno); in MakeNonBlock()
57 NETSTACK_LOGE("make tcp socket failed, errno is %{public}d", errno); in MakeTcpSocket()
75 NETSTACK_LOGE("make udp socket failed, errno is %{public}d", errno); in MakeUdpSocket()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dplatform_specific.cpp64 LOGE("[Rename] Rename file fail. err = %d", errno); in RenameFilePath()
78 LOGE("[RemoveFile] Remove file fail %s %d err = %d", filePath.c_str(), errCode, errno); in RemoveFile()
89 int errCode = (errno == ENOENT) ? -E_NOT_FOUND : -E_INVALID_DB; in CalFileSize()
90 LOGD("Get file[%zu] size failed, errno [%d].", fileUrl.size(), errno); in CalFileSize()
123 LOGE("[MakeDir] Make directory fail:%d, directory path: %s", errno, str.c_str()); in MakeDBDirectory()
135 LOGI("CheckPathExistence %s ret:%d error %d", directory.c_str(), ret, errno); in RemoveDBDirectory()
143 LOGE("[CreateFile] Create file fail:%d.", errno); in CreateFileByFileName()
168 LOGE("[OS] Realpath error:%d.", errno); in GetRealPath()
200 LOGE("query performance frequency fail %d", errno); in GetMonotonicRelativeTimeInMicrosecond()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/src/
H A Dsetacl.cpp49 errno = EINVAL; in AclEntryParseTag()
102 errno = EINVAL; in AclEntryParseId()
113 errno = EINVAL; in AclEntryParsePerm()
130 errno = EINVAL; in AclEntryParsePerm()
165 errno == 0 ? "user/group not found" : std::strerror(errno)); in AclEntryParseText()
231 errno == 0 ? "file exists but isn't a directory" : std::strerror(errno)); in AclSetAttribution()
238 LOGE("Failed to parse entry text: %{public}s", std::strerror(errno)); in AclSetAttribution()
250 LOGE("Failed to generate ACL from file's mode: %{public}s", std::strerror(errno)); in AclSetAttribution()
[all...]
/foundation/filemanagement/app_file_service/tests/unittests/backup_ext/
H A Duntar_file_test.cpp138 if (mkdir(testDir.data(), S_IRWXU) && errno != EEXIST) { in HWTEST_F()
139 GTEST_LOG_(INFO) << " invoked mkdir failure, errno :" << errno; in HWTEST_F()
140 throw BError(errno); in HWTEST_F()
151 GTEST_LOG_(INFO) << " execute tar failure, errno :" << errno; in HWTEST_F()
152 throw BError(errno); in HWTEST_F()
181 if (mkdir(testDir.data(), S_IRWXU) && errno != EEXIST) { in HWTEST_F()
182 GTEST_LOG_(INFO) << " invoked mkdir failure, errno :" << errno; in HWTEST_F()
[all...]
/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Dfutex_tool.cpp79 if (errno == ETIMEDOUT) { in FutexWait()
80 AUDIO_WARNING_LOG("wait:%{public}" PRId64"ns timeout, result:%{public}ld errno[%{public}d]:%{public}s", in FutexWait()
81 timeout, res, errno, strerror(errno)); in FutexWait()
84 if (errno != EAGAIN) { in FutexWait()
85 AUDIO_WARNING_LOG("result:%{public}ld, errno[%{public}d]:%{public}s", res, errno, strerror(errno)); in FutexWait()
114 AUDIO_ERR_LOG("failed:%{public}ld, errno[%{public}d]:%{public}s", res, errno, strerro in FutexWake()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dset_flag_utils.cpp79 LOGE("SetFlagUtils Failed to open file, errno: %{public}d", errno); in SetFileDelFlags()
84 LOGE("SetFlagUtils Failed to open file, errno: %{public}d", errno); in SetFileDelFlags()
90 LOGE("SetFlagUtils Failed to get file flags, errno: %{public}d", errno); in SetFileDelFlags()
102 LOGE("SetFlagUtils Failed to set file flags, errno: %{public}d", errno); in SetFileDelFlags()
118 LOGE("SetFlagUtils Failed to open dir, errno: %{public}d", errno); in SetDirDelFlags()
[all...]
/foundation/multimodalinput/input/intention/common/epoll/src/
H A Depoll_manager.cpp44 FI_HILOGE("epoll_create1 failed:%{public}s", ::strerror(errno)); in Open()
54 FI_HILOGE("close(%{public}d) failed:%{public}s", epollFd_, ::strerror(errno)); in Close()
69 FI_HILOGE("epoll_ctl failed:%{public}s", ::strerror(errno)); in Add()
80 FI_HILOGE("epoll_ctl failed:%{public}s", ::strerror(errno)); in Remove()
93 FI_HILOGE("epoll_ctl failed:%{public}s", ::strerror(errno)); in Update()
108 FI_HILOGE("epoll_wait failed:%{public}s", ::strerror(errno)); in WaitTimeout()
121 FI_HILOGE("Epoll hangup:%{public}s", ::strerror(errno)); in Dispatch()
136 FI_HILOGE("Epoll hangup:%{public}s", ::strerror(errno)); in DispatchOne()

Completed in 15 milliseconds

12345678910>>...31