/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | ext_extension.cpp | 109 if (mkdir(string(BConstants::PATH_FILEMANAGE_BACKUP_HOME).data(), S_IRWXU) && errno != EEXIST) { in GetRestoreTempPath() 110 string str = string("Failed to create .backup folder. ").append(std::generic_category().message(errno)); in GetRestoreTempPath() 125 HILOGE("Failed to open idxFile = %{private}s, err = %{public}d", indexFileRestorePath.c_str(), errno); in GetIdxFileData() 139 HILOGE("Failed to open cano_idxFile = %{private}s, err = %{public}d", filePath.c_str(), errno); in GetExtManageInfo() 214 HILOGE("Open file failed, file name is %{private}s, err = %{public}d", fileName.data(), errno); in GetFileHandleForSpecialCloneCloud() 241 errCode = errno; in GetFileHandle() 247 if (mkdir(path.data(), S_IRWXU) && errno != EEXIST) { in GetFileHandle() 248 string str = string("Failed to create restore folder. ").append(std::generic_category().message(errno)); in GetFileHandle() 258 HILOGE("Open file failed, file name is %{private}s, err = %{public}d", tarName.data(), errno); in GetFileHandle() 259 errCode = errno; in GetFileHandle() [all...] |
/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tls_socket.cpp | 78 return TlsSocketError::TLS_ERR_SYS_BASE + errno; in ConvertErrno() 83 return strerror(errno); in MakeErrnoString() 150 while (flags == -1 && errno == EINTR) { in SetSockBlockFlag() 154 NETSTACK_LOGE("set block flags failed, socket is %{public}d, errno is %{public}d", sock, errno); in SetSockBlockFlag() 166 while (ret == -1 && errno == EINTR) { in SetSockBlockFlag() 170 NETSTACK_LOGE("set block flags failed, socket is %{public}d, errno is %{public}d", sock, errno); in SetSockBlockFlag() 402 NETSTACK_LOGE("Create socket failed (%{public}d:%{public}s)", errno, MakeErrnoString().c_str()); in MakeIpSocket() 420 if (errno in ReadMessage() [all...] |
/foundation/multimodalinput/input/test/facility/virtual_device/src/ |
H A D | v_input_device.cpp | 60 std::cout << "Unable to open device '" << devPath_ << "': " << ::strerror(errno) << std::endl; in Open() 82 std::cout << "Close error: " << ::strerror(errno) << std::endl; in Close() 118 std::cout << "Failed to send event: " << ::strerror(errno) << std::endl; in SendEvent() 130 std::cout << "Could not get device name: " << ::strerror(errno) << std::endl; in QueryDeviceInfo() 137 std::cout << "Couldn't not get device input id: " << ::strerror(errno) << std::endl; in QueryDeviceInfo() 146 std::cout << "Couldn't get location: " << ::strerror(errno) << std::endl; in QueryDeviceInfo() 157 std::cout << "Could not get uniq: " << ::strerror(errno) << std::endl; in QueryDeviceInfo() 168 std::cout << "Could not get events " << eventName << " mask: " << ::strerror(errno) << std::endl; in GetEventMask() 176 std::cout << "Could not get " << eventName << " mask: " << ::strerror(errno) << std::endl; in GetPropMask()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_util.cpp | 161 if (mkdir(path.c_str(), (S_IRWXU | S_IRWXG)) != 0 && errno != EEXIST) { in InitPath() 162 ZLOGE("mkdir error:%{public}d, path:%{public}s", errno, path.c_str()); in InitPath() 179 ZLOGE("fopen error:%{public}d, path:%{public}s", errno, name.c_str()); in CreateFile() 191 ZLOGE("opendir error:%{public}d, path:%{public}s", errno, path.c_str()); in GetSubPath() 209 ZLOGE("opendir error:%{public}d, path:%{public}s", errno, path.c_str()); in GetFiles() 238 ZLOGE("rename error:%{public}d, file:%{public}s->%{public}s", errno, oldName.c_str(), newName.c_str()); in Rename() 261 ZLOGE("remove error:%{public}d, path:%{public}s", errno, path.c_str()); in Remove() 285 ZLOGI("stat error:%{public}d, path:%{public}s", errno, path.c_str()); in RemoveRWXForOthers() 309 ZLOGE("chmod error:%{public}d, path:%{public}s", errno, path.c_str()); in RemoveRWXForOthers()
|
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_util.cpp | 172 if (mkdir(path.c_str()) != 0 && errno != EEXIST) { in InitPath() 173 ZLOGE("mkdir error:%{public}d, path:%{public}s", errno, path.c_str()); in InitPath() 177 if (mkdir(path.c_str(), MODE) != 0 && errno != EEXIST) { in InitPath() 178 ZLOGE("mkdir error:%{public}d, path:%{public}s", errno, path.c_str()); in InitPath() 190 ZLOGE("fopen error:%{public}d, path:%{public}s", errno, name.c_str()); in CreateFile() 202 ZLOGE("opendir error:%{public}d, path:%{public}s", errno, path.c_str()); in GetSubPath() 218 ZLOGE("opendir error:%{public}d, path:%{public}s", errno, path.c_str()); in GetFiles() 244 ZLOGE("rename error:%{public}d, file:%{public}s->%{public}s", errno, oldName.c_str(), newName.c_str()); in Rename() 267 ZLOGE("remove error:%{public}d, path:%{public}s", errno, path.c_str()); in Remove()
|
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | copy.cpp | 68 LOGE("Error opening src file descriptor. errno = %{public}d", errno); in OpenSrcFile() 69 return errno; in OpenSrcFile() 88 LOGE("Failed to get stat of file by fd: %{public}d ,errno = %{public}d", srcFdg->GetFD(), errno); in SendFileCore() 89 return errno; in SendFileCore() 97 LOGE("Failed to sendfile by errno : %{public}d", errno); in SendFileCore() 98 return errno; in SendFileCore() 161 LOGI("stat failed, errno i in IsFile() [all...] |
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_function.cpp | 29 #include <errno.h> 157 DHCP_LOGE("GetLocalInterface() ifname:%{public}s failed, socket err:%{public}d!", ifname, errno); in GetLocalInterface() 173 DHCP_LOGE("GetLocalInterface() %{public}s failed, SIOCGIFINDEX err:%{public}d!", ifname, errno); in GetLocalInterface() 180 DHCP_LOGE("GetLocalInterface() %{public}s failed, SIOCGIFHWADDR err:%{public}d!", ifname, errno); in GetLocalInterface() 192 DHCP_LOGE("GetLocalInterface() %{public}s failed, SIOCGIFADDR err:%{public}d!", ifname, errno); in GetLocalInterface() 216 DHCP_LOGE("GetLocalIp() ifname:%{public}s failed, getifaddrs error:%{public}d!", ifname, errno); in GetLocalIp() 304 DHCP_LOGE("SetLocalInterface() ifname:%{public}s failed, socket error:%{public}d!", ifname, errno); in SetLocalInterface() 332 DHCP_LOGE("InitPidfile() failed, open pidFile:%{public}s error:%{public}d!", pidFile, errno); in InitPidfile() 338 DHCP_LOGE("InitPidfile() pidFile:%{public}s failed, snprintf_s error:%{public}d!", pidFile, errno); in InitPidfile() 345 pidFile, errno, byte in InitPidfile() [all...] |
H A D | dhcp_socket.cpp | 20 #include <errno.h> 62 DHCP_LOGE("CreateRawSocket() failed, socket error:%{public}d.", errno); in CreateRawSocket() 78 DHCP_LOGE("CreateKernelSocket() failed, socket error:%{public}d.", errno); in CreateKernelSocket() 111 DHCP_LOGE("BindRawSocket() index:%{public}d failed, bind error:%{public}d.", ifaceIndex, errno); in BindRawSocket() 134 DHCP_LOGE("BindKernelSocket() %{public}s SO_BINDTODEVICE error:%{public}d.", ifaceName, errno); in BindKernelSocket() 144 DHCP_LOGE("BindKernelSocket() sockFd:%{public}d SO_BROADCAST error:%{public}d.", sockFd, errno); in BindKernelSocket() 153 DHCP_LOGE("BindKernelSocket() sockFd:%{public}d SO_REUSEADDR error:%{public}d.", sockFd, errno); in BindKernelSocket() 168 DHCP_LOGE("BindKernelSocket() sockFd:%{public}d failed, bind error:%{public}d.", sockFd, errno); in BindKernelSocket() 237 optionLen, sendLen, dhcpPackLen, nFd, errno); in SendToDhcpPacket() 266 DHCP_LOGE("SendDhcpPacket nFd:%{public}d failed, connect error:%{public}d.", nFd, errno); in SendDhcpPacket() [all...] |
/foundation/multimedia/media_library/frameworks/utils/src/ |
H A D | cpu_utils.cpp | 34 MEDIA_ERR_LOG("set thread affinity failed, errno %{public}d", errno); in SlowDown() 44 MEDIA_ERR_LOG("set thread affinity failed, errno %{public}d", errno); in ResetCpu()
|
/foundation/filemanagement/dfs_service/utils/system/src/ |
H A D | sys_utils.cpp | 36 LOGE("set thread affinity failed, errno %{public}d", errno); in SlowDown() 46 LOGE("set thread affinity failed, errno %{public}d", errno); in ResetCpu()
|
/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()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_host_impl.cpp | 119 LOG_E(BMS_TAG_INSTALLD, "create bundle dir %{public}s failed, errno:%{public}d", bundleDir.c_str(), errno); in CreateBundleDir() 140 LOG_E(BMS_TAG_INSTALLD, "create target dir %{public}s failed, errno:%{public}d", targetPath.c_str(), errno); in ExtractModuleFiles() 144 LOG_E(BMS_TAG_INSTALLD, "extract %{public}s to %{public}s failed errno:%{public}d", in ExtractModuleFiles() 145 srcModulePath.c_str(), targetPath.c_str(), errno); in ExtractModuleFiles() 166 LOG_E(BMS_TAG_INSTALLD, "extract failed errno:%{public}d", errno); in ExtractFiles() 189 LOG_E(BMS_TAG_INSTALLD, "extract failed errno:%{public}d", errno); in ExtractHnpFiles() [all...] |
/foundation/resourceschedule/ffrt/src/sync/ |
H A D | io_poller.cpp | 40 FFRT_LOGW("[%d] set priority warn ret[%d] eno[%d]\n", pthread_self(), ret, errno); 132 FFRT_LOGI("epoll_ctl add err:efd:=%d, fd=%d errorno = %d", m_epFd, fd, errno); 141 if (errno != EINTR) { 142 FFRT_LOGE("epoll_wait error: efd = %d, errorno= %d", m_epFd, errno); 158 FFRT_LOGI("epoll_ctl fd = %d errorno = %d", data->fd, errno);
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/linux/ |
H A D | alarm_linux.c | 82 if (errno == EAGAIN) { in AlarmNotify() 85 LOG_ERROR("Alarm read value failed, error no: %{public}d.", errno); in AlarmNotify() 112 LOG_ERROR("Alarm create timer-fd failed, error no: %{public}d.", errno); in AlarmCreate() 177 LOG_ERROR("Alarm settime failed, error no: %{public}d.", errno); in AlarmSet() 193 LOG_ERROR("Alarm cancel: settime 0 failed, error no: %{public}d.", errno); in AlarmCancel()
|
/foundation/communication/dsoftbus/adapter/common/kernel/posix/ |
H A D | softbus_adapter_timer.c | 18 #include <errno.h> 66 COMM_LOGE(COMM_ADAPTER, "timer create error, errnoCode=%{public}d", errno); in SoftBusCreateTimer() 92 COMM_LOGE(COMM_ADAPTER, "timer start error, errnoCode=%{public}d", errno); in SoftBusStartTimer() 107 COMM_LOGE(COMM_ADAPTER, "timer delete err, errnoCode=%{public}d", errno); in SoftBusDeleteTimer() 123 } while ((ret == -1) && (errno == EINTR)); in SoftBusSleepMs()
|
/foundation/CastEngine/castengine_wifi_display/services/network/session/ |
H A D | udp_session.cpp | 90 if ((retCode < 0) && (errno == EINTR || errno == EWOULDBLOCK || errno == EAGAIN)) { in Send() 96 SHARING_LOGE("sendSocket error: %{public}s!", strerror(errno)); in Send()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_extension/src/ |
H A D | bms_extension_profile.cpp | 50 APP_LOGE("access failed %{public}s errno:%{public}d", filePath.c_str(), errno); in ReadFileIntoJson() 59 strerror_r(errno, errBuf, sizeof(errBuf)); in ReadFileIntoJson() 60 APP_LOGE("file open failed due to %{public}s, errno:%{public}d", errBuf, errno); in ReadFileIntoJson() 67 APP_LOGE("file is empty err %{public}d", errno); in ReadFileIntoJson()
|
/foundation/multimodalinput/input/intention/scheduler/task_scheduler/src/ |
H A D | task_scheduler.cpp | 50 FI_HILOGE("Close fds_[0] failed, err:%{public}s, fds_[0]:%{public}d", strerror(errno), fds_[0]); in ~TaskScheduler() 56 FI_HILOGE("Close fds_[1] failed, err:%{public}s, fds_[1]:%{public}d", strerror(errno), fds_[1]); in ~TaskScheduler() 66 FI_HILOGE("pipe2 failed, errno:%{public}s", ::strerror(errno)); in Init() 147 FI_HILOGE("Pipeline writes failed, errno:%{public}d", errno); in PostTask()
|
/foundation/multimedia/ringtone_library/services/ringtone_scanner/src/ |
H A D | ringtone_scanner_manager.cpp | 51 RINGTONE_ERR_LOG("failed to get real path %{private}s, errno %{public}d", path.c_str(), errno); in ScanFile() 74 RINGTONE_ERR_LOG("failed to get real path %{private}s, errno %{public}d", path.c_str(), errno); in ScanFileSync() 99 RINGTONE_ERR_LOG("failed to get real path %{private}s, errno %{public}d", path.c_str(), errno); in ScanDir() 122 RINGTONE_ERR_LOG("failed to get real path %{private}s, errno %{public}d", path.c_str(), errno); in ScanDirSync()
|
/foundation/systemabilitymgr/samgr/services/samgr/native/source/ |
H A D | samgr_time_handler.cpp | 109 HILOGE("timerfd_create set alarm err: %{public}s", strerror(errno)); in CreateAndRetry() 121 HILOGE("timerfd_create fail : %{public}s", strerror(errno)); in PostTask() 129 HILOGE("epoll_ctl(EPOLL_CTL_ADD) failed : %{public}s", strerror(errno)); in PostTask() 140 HILOGE("timerfd_settime failed : %{public}s", strerror(errno)); in PostTask()
|
/foundation/communication/netmanager_base/services/netmanagernative/fwmarkclient/src/ |
H A D | fwmark_client.cpp | 104 NETNATIVE_LOGE("socketFd invalid, ret:%{public}d, errno: %{public}d", ret, errno); in HandleError() 107 NETNATIVE_LOGE("connect failed, ret:%{public}d, errno: %{public}d", ret, errno); in HandleError() 110 NETNATIVE_LOGE("sendmsg failed, ret:%{public}d, errno: %{public}d", ret, errno); in HandleError() 113 NETNATIVE_LOGE("read failed, ret:%{public}d, errno: %{public}d", ret, errno); in HandleError()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/ |
H A D | data_receiver.cpp | 87 NETNATIVE_LOGE("recvmsg message failed %{public}d, %{public}s", errno, strerror(errno)); in ReceiveMessage() 95 errno = EIO; in ReceiveMessage() 103 errno = EIO; in ReceiveMessage()
|
H A D | wrapper_listener.cpp | 58 NETNATIVE_LOGE("pipeRes = %{public}d, pipe create failed errno = %{public}d, %{public}s", pipeRet, errno, in Start() 59 strerror(errno)); in Start() 71 NETNATIVE_LOGE("write pipe failed errno = %{public}d, %{public}s", errno, strerror(errno)); in Stop()
|
/foundation/filemanagement/storage_service/services/storage_daemon/netlink/test/ |
H A D | netlink_listener_test.cpp | 101 LOGE("Create netlink socket failed, errno %{public}d", errno); in StartSocket() 106 LOGE("Set SO_RCVBUFFORCE failed, errno %{public}d", errno); in StartSocket() 112 LOGE("Set SO_PASSCRED failed, errno %{public}d", errno); in StartSocket() 118 LOGE("Socket bind failed, errno %{public}d", errno); in StartSocket()
|
H A D | netlink_handler_test.cpp | 104 LOGE("Create netlink socket failed, errno %{public}d", errno); in StartSocket() 109 LOGE("Set SO_RCVBUFFORCE failed, errno %{public}d", errno); in StartSocket() 115 LOGE("Set SO_PASSCRED failed, errno %{public}d", errno); in StartSocket() 121 LOGE("Socket bind failed, errno %{public}d", errno); in StartSocket()
|