/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | copydir.cpp | 83 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 D | movedir.cpp | 67 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 D | copy.cpp | 89 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 D | rmdirent.cpp | 42 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 D | copy_file.cpp | 60 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 D | connectdfs.cpp | 81 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 D | disconnectdfs.cpp | 55 if (ret != ERRNO_NOERR) { in Async() 59 return NError(ERRNO_NOERR); in Async()
|
H A D | xattr.cpp | 53 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 D | read_lines.cpp | 43 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 D | copy_dir.cpp | 40 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 D | trans_listener.cpp | 124 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 D | gzip_n_exporter.cpp | 190 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 D | watcher_entity.cpp | 82 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 D | file_util.h | 89 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 D | zip_n_exporter.cpp | 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() 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 D | napi_business_error.cpp | 58 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 D | napi_business_error.h | 29 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 D | uni_error.cpp | 53 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 D | n_error.cpp | 84 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 D | checksum_n_exporter.cpp | 216 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 D | volumemanager_n_exporter.cpp | 63 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 D | storage_statistics_n_exporter.cpp | 68 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 D | file_trash_n_exporter.cpp | 136 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 D | cloud_sync_manager_n_exporter.cpp | 72 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 D | statfs_n_exporter.cpp | 79 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()
|