Searched refs:unlink_req (Results 1 - 5 of 5) sorted by relevance
/foundation/filemanagement/user_file_service/utils/ |
H A D | file_util.h | 185 uv_fs_t unlink_req;
in CopyAndDeleteFile() local 186 ret = uv_fs_unlink(nullptr, &unlink_req, src.c_str(), nullptr);
in CopyAndDeleteFile() 189 ret = uv_fs_unlink(nullptr, &unlink_req, dest.c_str(), nullptr);
in CopyAndDeleteFile() 193 uv_fs_req_cleanup(&unlink_req);
in CopyAndDeleteFile() 196 uv_fs_req_cleanup(&unlink_req);
in CopyAndDeleteFile() 238 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> unlink_req = {
in RmDirent() local 240 if (!unlink_req) {
in RmDirent() 244 ret = uv_fs_unlink(nullptr, unlink_req.get(), filePath.c_str(), nullptr);
in RmDirent()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | move.cpp | 121 uv_fs_t unlink_req; in CopyAndDeleteFile() local 122 ret = uv_fs_unlink(nullptr, &unlink_req, src.c_str(), nullptr); in CopyAndDeleteFile() 125 int result = uv_fs_unlink(nullptr, &unlink_req, dest.c_str(), nullptr); in CopyAndDeleteFile() 130 uv_fs_req_cleanup(&unlink_req); in CopyAndDeleteFile() 133 uv_fs_req_cleanup(&unlink_req); in CopyAndDeleteFile()
|
H A D | rmdirent.cpp | 76 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> unlink_req = { 78 if (!unlink_req) { 82 ret = uv_fs_unlink(nullptr, unlink_req.get(), filePath.c_str(), nullptr);
|
H A D | prop_n_exporter.cpp | 338 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> unlink_req = {
in Unlink() 340 if (!unlink_req) {
in Unlink() 344 int ret = uv_fs_unlink(nullptr, unlink_req.get(), path.c_str(), nullptr);
in Unlink() 384 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> unlink_req = {
in UnlinkSync() local 386 if (!unlink_req) {
in UnlinkSync() 391 int ret = uv_fs_unlink(nullptr, unlink_req.get(), path.get(), nullptr);
in UnlinkSync()
|
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | file_fs_impl.cpp | 347 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> unlink_req = { in Rmdir() local 349 if (!unlink_req) { in Rmdir() 353 ret = uv_fs_unlink(nullptr, unlink_req.get(), filePath.c_str(), nullptr); in Rmdir() 397 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> unlink_req = { in Unlink() local 399 if (!unlink_req) { in Unlink() 403 int ret = uv_fs_unlink(nullptr, unlink_req.get(), path.c_str(), nullptr); in Unlink()
|
Completed in 5 milliseconds