Home
last modified time | relevance | path

Searched refs:ERRNO_NOERR (Results 1 - 25 of 111) sorted by relevance

12345

/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dcopydir.cpp97 return ERRNO_NOERR; in MakeDir()
113 return ERRNO_NOERR; in RemoveFile()
139 if (errCode.value() != ERRNO_NOERR) { in CopyFile()
148 return ERRNO_NOERR; in CopyFile()
155 if (!filesystem::exists(destPath, errCode) && errCode.value() == ERRNO_NOERR) { in CopySubDir()
157 if (res != ERRNO_NOERR) { in CopySubDir()
161 } else if (errCode.value() != ERRNO_NOERR) { in CopySubDir()
196 if (res == ERRNO_NOERR) { in RecurCopyDir()
207 } else if (res == ERRNO_NOERR) { in RecurCopyDir()
215 return ERRNO_NOERR; in RecurCopyDir()
[all...]
H A Dmovedir.cpp63 } else if (errCode.value() != ERRNO_NOERR) { in RmDirectory()
67 return ERRNO_NOERR; in RmDirectory()
78 return ERRNO_NOERR; in RemovePath()
132 return ERRNO_NOERR; in RenameFile()
136 return ERRNO_NOERR; in RenameFile()
139 if (errCode.value() != ERRNO_NOERR) { in RenameFile()
165 } else if (errCode.value() != ERRNO_NOERR) { in RenameDir()
183 return ERRNO_NOERR; in RenameDir()
210 return ERRNO_NOERR; in RecurMoveDir()
227 if (res != ERRNO_NOERR) { in RecurMoveDir()
[all...]
H A Dcopy.cpp89 return ERRNO_NOERR; in OpenSrcFile()
132 return ERRNO_NOERR; in SendFileCore()
232 return { ERRNO_NOERR, buf.st_size }; in GetFileSize()
238 if (!filesystem::exists(destPath, errCode) && errCode.value() == ERRNO_NOERR) { in CheckOrCreatePath()
249 return ERRNO_NOERR; in CheckOrCreatePath()
285 return ERRNO_NOERR; in MakeDir()
291 if (!filesystem::exists(destPath, errCode) && errCode.value() == ERRNO_NOERR) { in CopySubDir()
293 if (res != ERRNO_NOERR) { in CopySubDir()
297 } else if (errCode.value() != ERRNO_NOERR) { in CopySubDir()
414 int ret = ERRNO_NOERR; in RecurCopyDir()
[all...]
H A Drmdirent.cpp42 if (errCode.value() != ERRNO_NOERR) { in RmDirent()
50 if (errCode.value() != ERRNO_NOERR) { in RmDirent()
54 return NError(ERRNO_NOERR); in RmDirent()
105 return NError(ERRNO_NOERR);
H A Ddisconnectdfs.cpp55 if (ret != ERRNO_NOERR) { in Async()
59 return NError(ERRNO_NOERR); in Async()
H A Dcopy_file.cpp60 return NError(ERRNO_NOERR); in IsAllPath()
96 return NError(ERRNO_NOERR); in SendFileCore()
112 return NError(ERRNO_NOERR); in TruncateCore()
134 return NError(ERRNO_NOERR); in OpenCore()
168 return NError(ERRNO_NOERR); in OpenFile()
H A Dread_lines.cpp43 return ERRNO_NOERR; in CheckOptionArg()
62 return ERRNO_NOERR; in GetFileSize()
110 return NError(ERRNO_NOERR); in AsyncExec()
H A Dxattr.cpp53 return ERRNO_NOERR; in GetXattrCore()
62 return ERRNO_NOERR; in GetXattrCore()
129 if (ret != ERRNO_NOERR) { in GetSync()
219 return NError(ERRNO_NOERR); in SetAsync()
/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dcopy_dir.cpp40 return OHOS::FileManagement::LibN::ERRNO_NOERR; in MakeDir()
56 return OHOS::FileManagement::LibN::ERRNO_NOERR; in RemoveFile()
87 return OHOS::FileManagement::LibN::ERRNO_NOERR; in CopyFile()
95 if (res != OHOS::FileManagement::LibN::ERRNO_NOERR) { in CopySubDir()
129 if (res == OHOS::FileManagement::LibN::ERRNO_NOERR) { in RecurCopyDir()
144 } else if (res == OHOS::FileManagement::LibN::ERRNO_NOERR) { in RecurCopyDir()
152 return OHOS::FileManagement::LibN::ERRNO_NOERR; in RecurCopyDir()
176 if (res != OHOS::FileManagement::LibN::ERRNO_NOERR) { in CopyDirFunc()
182 if (!errfiles.empty() && res == OHOS::FileManagement::LibN::ERRNO_NOERR) { in CopyDirFunc()
H A Dcopy.cpp72 return ERRNO_NOERR; in OpenSrcFile()
115 return ERRNO_NOERR; in SendFileCore()
175 return { ERRNO_NOERR, buf.st_size }; in GetFileSize()
187 if (err != ERRNO_NOERR) { in UpdateProgressSize()
202 return ERRNO_NOERR; in UpdateProgressSize()
225 return ERRNO_NOERR; in MakeDir()
232 if (res != ERRNO_NOERR) { in CopySubDir()
280 int ret = ERRNO_NOERR; in RecurCopyDir()
287 if (ret != ERRNO_NOERR) { in RecurCopyDir()
291 return ERRNO_NOERR; in RecurCopyDir()
[all...]
H A Dtranslistener.cpp142 if (ret != ERRNO_NOERR) { in PrepareCopySession()
149 return ERRNO_NOERR; in PrepareCopySession()
181 return ERRNO_NOERR; in CopyToSandBox()
221 return ERRNO_NOERR; in OnFileReceive()
233 return ERRNO_NOERR; in OnFinished()
246 return ERRNO_NOERR; in OnFailed()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/copy_listener/
H A Dtrans_listener.cpp119 if (ret != ERRNO_NOERR) { in CopyFileFromSoftBus()
136 return NError(ERRNO_NOERR); in CopyFileFromSoftBus()
141 if (ret != ERRNO_NOERR) { in CopyFileFromSoftBus()
145 return NError(ERRNO_NOERR); in CopyFileFromSoftBus()
180 if (ret != ERRNO_NOERR) { in PrepareCopySession()
187 return ERRNO_NOERR; in PrepareCopySession()
227 return ERRNO_NOERR; in CopyToSandBox()
323 return ERRNO_NOERR; in OnFileReceive()
335 return ERRNO_NOERR; in OnFinished()
348 return ERRNO_NOERR; in OnFailed()
[all...]
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/
H A Duni_error.cpp53 return errno_ != ERRNO_NOERR; in operator bool()
58 if (errno_ == ERRNO_NOERR) { in GetErrno()
59 return ERRNO_NOERR; in GetErrno()
98 if (errCode == ERRNO_NOERR) { in GetNapiErr()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/
H A Dnapi_business_error.cpp58 return errno_ != ERRNO_NOERR; in operator bool()
63 if (errno_ == ERRNO_NOERR) { in GetErrno()
64 return ERRNO_NOERR; in GetErrno()
103 if (errCode == ERRNO_NOERR) { in GetNapiErr()
H A Dnapi_business_error.h29 constexpr int32_t ERRNO_NOERR = 0; member
98 int32_t errno_ = ERRNO_NOERR;
/foundation/filemanagement/file_api/utils/filemgmt_libn/src/
H A Dn_error.cpp84 return errno_ != ERRNO_NOERR; in operator bool()
89 if (errno_ == ERRNO_NOERR) { in GetNapiErr()
97 if (errCode == ERRNO_NOERR) { in GetNapiErr()
117 if (errCode == ERRNO_NOERR) { in GetNapiErrAddData()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_watcher/
H A Dwatcher_entity.cpp82 return ERRNO_NOERR; in StartNotify()
98 return ERRNO_NOERR; in StartNotify()
114 return ERRNO_NOERR; in NotifyToWatchNewEvents()
119 int closeRet = ERRNO_NOERR; in CloseNotifyFd()
153 return ERRNO_NOERR; in StopNotify()
H A Dwatcher_n_exporter.cpp72 if (ret != ERRNO_NOERR) { in Stop()
97 if (ret != ERRNO_NOERR) { in Start()
105 return NError(ERRNO_NOERR); in Start()
/foundation/filemanagement/user_file_service/utils/
H A Dfile_util.h91 return ERRNO_NOERR; in CheckFsStatByPath()
134 return {isExist, ERRNO_NOERR}; in Access()
197 return ERRNO_NOERR; in CopyAndDeleteFile()
217 return ERRNO_NOERR; in RenameFile()
267 return NError(ERRNO_NOERR); in RmDirent()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/class_gzip/
H A Dgzip_n_exporter.cpp190 return NapiBusinessError(ERRNO_NOERR); in GZDopen()
244 return NapiBusinessError(ERRNO_NOERR); in GZOpen()
286 return NapiBusinessError(ERRNO_NOERR); in GZCloseW()
336 return NapiBusinessError(ERRNO_NOERR); in GZBuffer()
388 return NapiBusinessError(ERRNO_NOERR); in GZRead()
440 return NapiBusinessError(ERRNO_NOERR); in GZFRead()
490 return NapiBusinessError(ERRNO_NOERR); in GZWrite()
541 return NapiBusinessError(ERRNO_NOERR); in GZFWrite()
591 return NapiBusinessError(ERRNO_NOERR); in GZPutC()
641 return NapiBusinessError(ERRNO_NOERR); in GZPutS()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/class_zip/
H A Dzip_n_exporter.cpp261 auto cbExec = [](napi_env env) -> NapiBusinessError { return NapiBusinessError(ERRNO_NOERR); }; in SetZStream()
323 auto cbExec = [](napi_env env) -> NapiBusinessError { return NapiBusinessError(ERRNO_NOERR); }; in GetZStream()
365 return NapiBusinessError(ERRNO_NOERR); in ZlibVersion()
414 return NapiBusinessError(ERRNO_NOERR); in ZError()
456 return NapiBusinessError(ERRNO_NOERR); in ZlibCompileFlags()
511 return NapiBusinessError(ERRNO_NOERR); in DeflateInit()
566 return NapiBusinessError(ERRNO_NOERR); in DeflateInit2()
618 return NapiBusinessError(ERRNO_NOERR); in Deflate()
668 return NapiBusinessError(ERRNO_NOERR); in DeflateEnd()
721 return NapiBusinessError(ERRNO_NOERR); in DeflateBound()
[all...]
/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/
H A Dstorage_statistics_n_exporter.cpp67 return NError(ERRNO_NOERR); in GetTotalSizeOfVolume()
116 return NError(ERRNO_NOERR); in GetFreeSizeOfVolume()
184 return NError(ERRNO_NOERR); in GetBundleStats()
222 return NError(ERRNO_NOERR); in GetCurrentBundleStats()
263 return NError(ERRNO_NOERR); in GetSystemSize()
319 return NError(ERRNO_NOERR); in GetUserStorageStats()
366 return NError(ERRNO_NOERR); in GetTotalSize()
403 return NError(ERRNO_NOERR); in GetFreeSize()
H A Dvolumemanager_n_exporter.cpp63 return NError(ERRNO_NOERR); in GetAllVolumes()
137 return NError(ERRNO_NOERR); in Mount()
177 return NError(ERRNO_NOERR); in Unmount()
219 return NError(ERRNO_NOERR); in GetVolumeByUuid()
272 return NError(ERRNO_NOERR); in GetVolumeById()
336 return NError(ERRNO_NOERR); in SetVolumeDescription()
389 return NError(ERRNO_NOERR); in Format()
441 return NError(ERRNO_NOERR); in Partition()
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudsyncmanager/
H A Dcloud_sync_manager_n_exporter.cpp72 return NError(ERRNO_NOERR); in ChangeAppCloudSwitch()
115 return NError(ERRNO_NOERR); in NotifyDataChangeInner()
178 return NError(ERRNO_NOERR); in NotifyEventChange()
233 return NError(ERRNO_NOERR); in DisableCloud()
315 return NError(ERRNO_NOERR); in EnableCloud()
392 return NError(ERRNO_NOERR); in Clean()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_statfs/
H A Dstatfs_n_exporter.cpp79 return NError(ERRNO_NOERR); in GetFrSize()
148 return NError(ERRNO_NOERR); in GetBSize()
217 return NError(ERRNO_NOERR); in GetBAvail()
286 return NError(ERRNO_NOERR); in GetBlocks()
355 return NError(ERRNO_NOERR); in GetBFree()
427 return NError(ERRNO_NOERR); in GetFreeBytes()
499 return NError(ERRNO_NOERR); in GetTotalBytes()

Completed in 17 milliseconds

12345