/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | create_randomaccessfile.cpp | 176 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 D | read_text.cpp | 76 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 D | truncate.cpp | 54 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 D | copy_file.cpp | 117 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 D | open.cpp | 129 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 D | copy_file.cpp | 144 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 D | file_impl.cpp | 56 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 D | file_fs_impl.cpp | 246 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...] |