Home
last modified time | relevance | path

Searched refs:ERRNO_NOERR (Results 1 – 25 of 108) sorted by relevance

12345

/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dcopydir.cpp83 return ERRNO_NOERR; in MakeDir()
99 return ERRNO_NOERR; in RemoveFile()
125 if (errCode.value() != ERRNO_NOERR) { in CopyFile()
134 return ERRNO_NOERR; in CopyFile()
143 if (res != ERRNO_NOERR) { in CopySubDir()
182 if (res == ERRNO_NOERR) { in RecurCopyDir()
193 } else if (res == ERRNO_NOERR) { in RecurCopyDir()
201 return ERRNO_NOERR; in RecurCopyDir()
215 if (res != ERRNO_NOERR) { in CopyDirFunc()
279 int errNo = ERRNO_NOERR;
[all …]
H A Dmovedir.cpp67 return ERRNO_NOERR; in RmDirectory()
78 return ERRNO_NOERR; in RemovePath()
131 return ERRNO_NOERR; in RenameFile()
135 return ERRNO_NOERR; in RenameFile()
182 return ERRNO_NOERR; in RenameDir()
208 return ERRNO_NOERR; in RecurMoveDir()
225 if (res != ERRNO_NOERR) { in RecurMoveDir()
239 if (res != ERRNO_NOERR) { in RecurMoveDir()
245 return ERRNO_NOERR; in RecurMoveDir()
275 if (res == ERRNO_NOERR) { in MoveDirFunc()
[all …]
H A Dcopy.cpp89 return ERRNO_NOERR; in OpenSrcFile()
132 return ERRNO_NOERR; in SendFileCore()
245 return ERRNO_NOERR; in CheckOrCreatePath()
281 return ERRNO_NOERR; in MakeDir()
421 return ERRNO_NOERR; in RecurCopyDir()
457 if (ret != ERRNO_NOERR) { in ExecLocal()
499 return ERRNO_NOERR; in SubscribeLocalListener()
502 if (err == ERRNO_NOERR) { in SubscribeLocalListener()
653 if (err != ERRNO_NOERR) { in UpdateProgressSize()
668 return ERRNO_NOERR; in UpdateProgressSize()
[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); in RmDirent()
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 Dconnectdfs.cpp81 if (connectDfsCB->result == ERRNO_NOERR) { in cbCompl()
133 return ERRNO_NOERR; in ParseJsParam()
146 if (result != ERRNO_NOERR) { in Async()
279 if (connectDfsCB->status == ERRNO_NOERR) { in UvWorkAfterOnStaus()
331 if (rev != ERRNO_NOERR) { in OnStatus()
H A Ddisconnectdfs.cpp55 if (ret != ERRNO_NOERR) { in Async()
59 return NError(ERRNO_NOERR); in Async()
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()
H A Dread_lines.cpp43 return ERRNO_NOERR; in CheckOptionArg()
62 return ERRNO_NOERR; in GetFileSize()
119 return NError(ERRNO_NOERR); in AsyncExec()
/ohos5.0/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()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/copy_listener/
H A Dtrans_listener.cpp124 if (ret != ERRNO_NOERR) { in CopyFileFromSoftBus()
142 return NError(ERRNO_NOERR); in CopyFileFromSoftBus()
147 if (ret != ERRNO_NOERR) { in CopyFileFromSoftBus()
151 return NError(ERRNO_NOERR); in CopyFileFromSoftBus()
186 if (ret != ERRNO_NOERR) { in PrepareCopySession()
193 return ERRNO_NOERR; in PrepareCopySession()
235 return ERRNO_NOERR; in CopyToSandBox()
331 return ERRNO_NOERR; in OnFileReceive()
346 return ERRNO_NOERR; in OnFinished()
362 return ERRNO_NOERR; in OnFailed()
/ohos5.0/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 …]
/ohos5.0/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()
150 return ERRNO_NOERR; in StopNotify()
/ohos5.0/foundation/filemanagement/user_file_service/utils/
H A Dfile_util.h89 return ERRNO_NOERR; in CheckFsStatByPath()
132 return {isExist, ERRNO_NOERR}; in Access()
195 return ERRNO_NOERR; in CopyAndDeleteFile()
215 return ERRNO_NOERR; in RenameFile()
265 return NError(ERRNO_NOERR); in RmDirent()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/class_zip/
H A Dzip_n_exporter.cpp365 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()
771 return NapiBusinessError(ERRNO_NOERR); in DeflateReset()
821 return NapiBusinessError(ERRNO_NOERR); in DeflateResetKeep()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/
H A Dnapi_business_error.cpp58 return errno_ != ERRNO_NOERR;
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; variable
98 int32_t errno_ = ERRNO_NOERR;
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/common/
H A Duni_error.cpp53 return errno_ != ERRNO_NOERR;
58 if (errno_ == ERRNO_NOERR) { in GetErrno()
59 return ERRNO_NOERR; in GetErrno()
98 if (errCode == ERRNO_NOERR) { in GetNapiErr()
/ohos5.0/foundation/filemanagement/file_api/utils/filemgmt_libn/src/
H A Dn_error.cpp84 return errno_ != ERRNO_NOERR;
89 if (errno_ == ERRNO_NOERR) { in GetNapiErr()
97 if (errCode == ERRNO_NOERR) { in GetNapiErr()
117 if (errCode == ERRNO_NOERR) { in GetNapiErrAddData()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/class_checksum/
H A Dchecksum_n_exporter.cpp216 return NapiBusinessError(ERRNO_NOERR); in Adler32()
274 return NapiBusinessError(ERRNO_NOERR); in Adler32Combine()
328 return NapiBusinessError(ERRNO_NOERR); in Adler32Combine64()
382 return NapiBusinessError(ERRNO_NOERR); in Crc32()
441 return NapiBusinessError(ERRNO_NOERR); in Crc32Combine()
495 return NapiBusinessError(ERRNO_NOERR); in Crc32Combine64()
534 return NapiBusinessError(ERRNO_NOERR); in GetCrcTable()
585 return NapiBusinessError(ERRNO_NOERR); in Crc64()
620 return NapiBusinessError(ERRNO_NOERR); in GetCrc64Table()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/
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()
273 return NError(ERRNO_NOERR); in GetVolumeById()
337 return NError(ERRNO_NOERR); in SetVolumeDescription()
390 return NError(ERRNO_NOERR); in Format()
442 return NError(ERRNO_NOERR); in Partition()
H A Dstorage_statistics_n_exporter.cpp68 return NError(ERRNO_NOERR); in GetTotalSizeOfVolume()
117 return NError(ERRNO_NOERR); in GetFreeSizeOfVolume()
195 return NError(ERRNO_NOERR); in GetBundleStats()
247 return NError(ERRNO_NOERR); in GetCurrentBundleStats()
288 return NError(ERRNO_NOERR); in GetSystemSize()
344 return NError(ERRNO_NOERR); in GetUserStorageStats()
391 return NError(ERRNO_NOERR); in GetTotalSize()
428 return NError(ERRNO_NOERR); in GetFreeSize()
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp136 if (ret != ERRNO_NOERR) { in RecursiveFunc()
143 return ERRNO_NOERR; in RecursiveFunc()
312 } else if (ret == ERRNO_NOERR) { in MoveFile()
431 if (ret != ERRNO_NOERR) { in ListFile()
471 if (moveRet != ERRNO_NOERR) { in RecoverFile()
509 if (moveRet != ERRNO_NOERR) { in RecoverFilePart()
513 return ERRNO_NOERR; in RecoverFilePart()
543 if (ret != ERRNO_NOERR) { in RecoverDir()
566 if (retRecoveFilePart != ERRNO_NOERR) { in RecoverDir()
/ohos5.0/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()
/ohos5.0/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()

12345