/foundation/filemanagement/user_file_service/utils/ |
H A D | file_util.h | 75 static void fs_req_cleanup(uv_fs_t* req)
in fs_req_cleanup() function 96 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> stat_req = {
in GetStat() 97 new (nothrow) uv_fs_t, fs_req_cleanup };
in GetStat() 123 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> access_req = { new uv_fs_t, fs_req_cleanup };
in Access() 139 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> mkdir_req = { new uv_fs_t, fs_req_cleanup };
in Mkdir() 202 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> rename_req = {
in RenameFile() 203 new uv_fs_t, fs_req_cleanup };
in RenameFile() 222 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> scandir_re in RmDirent() [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
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 | 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 | 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 | 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 | 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 | 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 | rmdirent.cpp | 60 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> scandir_req = { 61 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; 76 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> unlink_req = { 77 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; 94 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> rmdir_req = { 95 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup };
|
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 | 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 | 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 | prop_n_exporter.cpp | 107 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup) *> access_req = {new uv_fs_t,
in UvAccess() 108 CommonFunc::fs_req_cleanup};
in UvAccess() 338 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> unlink_req = {
in Unlink() 339 new uv_fs_t, CommonFunc::fs_req_cleanup };
in Unlink() 384 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> unlink_req = {
in UnlinkSync() 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() [all...] |
H A D | create_randomaccessfile.cpp | 176 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in Sync() 177 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync() 209 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in AsyncExec() 210 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 | 87 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> stat_req = { in CopyAndDeleteFile() 88 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in CopyAndDeleteFile()
|
H A D | open.cpp | 129 unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in OpenFileByPath() 130 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()
|
/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()
|
/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 string &srcPath) 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()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/ |
H A D | common_func.h | 99 static void fs_req_cleanup(uv_fs_t* req);
|
H A D | common_func.cpp | 274 void CommonFunc::fs_req_cleanup(uv_fs_t* req)
in fs_req_cleanup() function in OHOS::FileManagement::ModuleFileIO::CommonFunc
|