/ohos5.0/foundation/filemanagement/user_file_service/utils/ |
H A D | file_util.h | 73 static void fs_req_cleanup(uv_fs_t* req) in fs_req_cleanup() function 94 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> stat_req = { in GetStat() 95 new (nothrow) uv_fs_t, fs_req_cleanup }; in GetStat() 121 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> access_req = { new uv_fs_t, fs_req_cleanup }; in Access() 137 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> mkdir_req = { new uv_fs_t, fs_req_cleanup }; in Mkdir() 200 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> rename_req = { in RenameFile() 201 new uv_fs_t, fs_req_cleanup }; in RenameFile() 221 new (nothrow) uv_fs_t, fs_req_cleanup }; in RmDirent() 237 new (nothrow) uv_fs_t, fs_req_cleanup }; in RmDirent() 254 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> rmdir_req = { in RmDirent() [all …]
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | rmdirent.cpp | 60 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> scandir_req = { in RmDirent() 61 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in RmDirent() 76 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> unlink_req = { in RmDirent() 77 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in RmDirent() 94 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> rmdir_req = { in RmDirent() 95 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in RmDirent()
|
H A D | read_text.cpp | 76 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in ReadTextAsync() 77 new uv_fs_t, CommonFunc::fs_req_cleanup }; in ReadTextAsync() 107 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> read_req = { in ReadTextAsync() 108 new uv_fs_t, CommonFunc::fs_req_cleanup }; in ReadTextAsync() 124 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in OpenFile() 125 new uv_fs_t, CommonFunc::fs_req_cleanup in OpenFile() 139 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> read_req = { in ReadFromFile() 140 new uv_fs_t, CommonFunc::fs_req_cleanup }; in ReadFromFile()
|
H A D | truncate.cpp | 54 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in TruncateCore() 55 new uv_fs_t, CommonFunc::fs_req_cleanup }; in TruncateCore() 65 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> ftruncate_req = { in TruncateCore() 66 new uv_fs_t, CommonFunc::fs_req_cleanup }; in TruncateCore() 77 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> ftruncate_req = { in TruncateCore() 78 new uv_fs_t, CommonFunc::fs_req_cleanup }; in TruncateCore()
|
H A D | utimes.cpp | 52 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> stat_req = { in Sync() 53 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync() 67 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> utimes_req = { in Sync() 68 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync()
|
H A D | copy_file.cpp | 47 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> copyfile_req = { in IsAllPath() 48 new (nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in IsAllPath() 65 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> sendfile_req = { in SendFileCore() 66 new (nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in SendFileCore() 101 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> ftruncate_req = { in TruncateCore() 102 new (nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in TruncateCore() 117 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in OpenCore() 118 new (nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in OpenCore()
|
H A D | fdatasync.cpp | 47 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> fdatasync_req = { in Sync() 48 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync() 81 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> fdatasync_req = { in Async() 82 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Async()
|
H A D | fsync.cpp | 45 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> fsync_req = { in Sync() 46 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync() 78 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> fsync_req = { in Async() 79 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Async()
|
H A D | lstat.cpp | 46 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> lstat_req = { in Sync() 47 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync() 66 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> lstat_req = { in LstatExec() 67 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in LstatExec()
|
H A D | mkdtemp.cpp | 45 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> mkdtemp_req = { in Sync() 46 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync() 64 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> mkdtemp_req = { in MkdTempExec() 65 new uv_fs_t, CommonFunc::fs_req_cleanup }; in MkdTempExec()
|
H A D | rename.cpp | 54 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> rename_req = { in Sync() 55 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync() 95 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> rename_req = { in Async() 96 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Async()
|
H A D | symlink.cpp | 63 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> symlink_req = { in Sync() 64 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync() 97 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> symlink_req = { in Async() 98 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Async()
|
H A D | prop_n_exporter.cpp | 108 CommonFunc::fs_req_cleanup}; in UvAccess() 339 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Unlink() 385 new uv_fs_t, CommonFunc::fs_req_cleanup }; in UnlinkSync() 403 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> mkdir_req = { in MkdirCore() 404 new uv_fs_t, CommonFunc::fs_req_cleanup }; in MkdirCore() 562 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> read_req = { in ReadSync() 563 new uv_fs_t, CommonFunc::fs_req_cleanup }; in ReadSync() 582 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> read_req = { in ReadExec() 583 new uv_fs_t, CommonFunc::fs_req_cleanup }; in ReadExec() 661 new uv_fs_t, CommonFunc::fs_req_cleanup }; in WriteExec() [all …]
|
H A D | stat.cpp | 88 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> stat_req = { in Sync() 89 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync() 133 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> stat_req = { in Async() 134 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in Async()
|
H A D | dup.cpp | 50 unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> readlink_req = { in Sync() 51 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync()
|
H A D | create_randomaccessfile.cpp | 187 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in Sync() 188 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync() 220 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in AsyncExec() 221 new uv_fs_t, CommonFunc::fs_req_cleanup }; in AsyncExec()
|
H A D | close.cpp | 47 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> close_req = { in CloseFd() 48 new uv_fs_t, CommonFunc::fs_req_cleanup }; in CloseFd()
|
H A D | read_lines.cpp | 48 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> stat_req = { in GetFileSize() 49 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in GetFileSize()
|
H A D | move.cpp | 90 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> stat_req = { in CopyAndDeleteFile() 91 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in CopyAndDeleteFile()
|
H A D | open.cpp | 138 unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in OpenFileByPath() 139 new uv_fs_t, CommonFunc::fs_req_cleanup }; in OpenFileByPath()
|
H A D | copy.cpp | 96 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> sendFileReq = { in SendFileCore() 97 new (nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in SendFileCore()
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_randomaccessfile/ |
H A D | randomaccessfile_n_exporter.cpp | 44 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> read_req = { in DoReadRAF() 45 new (nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in DoReadRAF() 57 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> write_req = { in DoWriteRAF() 58 new (nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in DoWriteRAF() 357 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> close_req = { in CloseFd() 358 new uv_fs_t, CommonFunc::fs_req_cleanup }; in CloseFd()
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_file/ |
H A D | file_n_exporter.cpp | 73 static tuple<int, unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*>> RealPathCore(const st… in RealPathCore() 75 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> realpath_req = { in RealPathCore() 76 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in RealPathCore()
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/ |
H A D | common_func.h | 100 static void fs_req_cleanup(uv_fs_t* req);
|
H A D | common_func.cpp | 292 void CommonFunc::fs_req_cleanup(uv_fs_t* req) in fs_req_cleanup() function in OHOS::FileManagement::ModuleFileIO::CommonFunc
|