Home
last modified time | relevance | path

Searched refs:open_req (Results 1 - 8 of 8) sorted by relevance

/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dcreate_randomaccessfile.cpp176 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in Sync() local
178 if (!open_req) { in Sync()
183 int ret = uv_fs_open(nullptr, open_req.get(), fileInfo.path.get(), flags, S_IRUSR | in Sync()
190 fileInfo.fdg->SetFD(open_req.get()->result, false); in Sync()
209 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in AsyncExec() local
211 int ret = uv_fs_open(nullptr, open_req.get(), fileInfo->path.get(), flags, S_IRUSR | in AsyncExec()
216 fileInfo->fdg->SetFD(open_req.get()->result, false); in AsyncExec()
H A Dread_text.cpp76 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in ReadTextAsync() local
78 if (!open_req) { in ReadTextAsync()
82 int ret = uv_fs_open(nullptr, open_req.get(), path.c_str(), O_RDONLY, in ReadTextAsync()
124 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in OpenFile() local
127 if (open_req == nullptr) { in OpenFile()
132 return uv_fs_open(nullptr, open_req.get(), path.c_str(), O_RDONLY, in OpenFile()
H A Dtruncate.cpp54 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in TruncateCore() local
56 if (!open_req) { in TruncateCore()
60 int ret = uv_fs_open(nullptr, open_req.get(), fileInfo.path.get(), O_RDWR, in TruncateCore()
H A Dcopy_file.cpp117 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in OpenCore() local
119 if (!open_req) { in OpenCore()
123 int ret = uv_fs_open(nullptr, open_req.get(), fileInfo.path.get(), flags, mode, nullptr); in OpenCore()
H A Dopen.cpp129 unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in OpenFileByPath() local
131 if (!open_req) { in OpenFileByPath()
135 int ret = uv_fs_open(nullptr, open_req.get(), path.c_str(), mode, S_IRUSR | in OpenFileByPath()
/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dcopy_file.cpp144 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> open_req = { in OpenCore() local
146 if (!open_req) { in OpenCore()
150 int ret = uv_fs_open(nullptr, open_req.get(), fileInfo.path.get(), flags, mode, nullptr); in OpenCore()
H A Dfile_impl.cpp56 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> open_req = { in OpenFileByPath() local
58 if (!open_req) { in OpenFileByPath()
62 int ret = uv_fs_open(nullptr, open_req.get(), path.c_str(), mode, S_IRUSR | in OpenFileByPath()
H A Dfile_fs_impl.cpp246 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> open_req = { in CreateRandomAccessFileSync() local
248 if (!open_req) { in CreateRandomAccessFileSync()
253 int ret = uv_fs_open(nullptr, open_req.get(), fileInfo.path.get(), flags, S_IRUSR | in CreateRandomAccessFileSync()
259 fileInfo.fdg->SetFD(open_req.get()->result, false); in CreateRandomAccessFileSync()
952 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> open_req = { in Truncate() local
954 if (!open_req) { in Truncate()
958 int ret = uv_fs_open(nullptr, open_req.get(), fileInfo.path.get(), O_RDWR, in Truncate()
1115 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> open_req = { in ReadTextOpenFile() local
1118 if (open_req == nullptr) { in ReadTextOpenFile()
1123 return uv_fs_open(nullptr, open_req in ReadTextOpenFile()
[all...]

Completed in 6 milliseconds