Home
last modified time | relevance | path

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

/ohos5.0/foundation/filemanagement/user_file_service/utils/
H A Dfile_util.h73 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 Drmdirent.cpp60 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 Dread_text.cpp76 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 Dtruncate.cpp54 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 Dutimes.cpp52 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 Dcopy_file.cpp47 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 Dfdatasync.cpp47 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 Dfsync.cpp45 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 Dlstat.cpp46 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 Dmkdtemp.cpp45 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 Drename.cpp54 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 Dsymlink.cpp63 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 Dprop_n_exporter.cpp108 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 Dstat.cpp88 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 Ddup.cpp50 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 Dcreate_randomaccessfile.cpp187 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 Dclose.cpp47 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 Dread_lines.cpp48 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 Dmove.cpp90 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 Dopen.cpp138 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 Dcopy.cpp96 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 Drandomaccessfile_n_exporter.cpp44 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 Dfile_n_exporter.cpp73 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 Dcommon_func.h100 static void fs_req_cleanup(uv_fs_t* req);
H A Dcommon_func.cpp292 void CommonFunc::fs_req_cleanup(uv_fs_t* req) in fs_req_cleanup() function in OHOS::FileManagement::ModuleFileIO::CommonFunc