Searched refs:access_req (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | move.cpp | 157 uv_fs_t access_req; in MoveFile() local 158 int ret = uv_fs_access(nullptr, &access_req, src.c_str(), W_OK, nullptr); in MoveFile() 161 uv_fs_req_cleanup(&access_req); in MoveFile() 165 ret = uv_fs_access(nullptr, &access_req, dest.c_str(), 0, nullptr); in MoveFile() 166 uv_fs_req_cleanup(&access_req); in MoveFile() 176 uv_fs_req_cleanup(&access_req); in MoveFile()
|
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() local 109 if (!access_req) { in UvAccess() 113 return uv_fs_access(nullptr, access_req.get(), path.c_str(), mode, nullptr); in UvAccess()
|
/ohos5.0/foundation/filemanagement/user_file_service/utils/ |
H A D | file_util.h | 121 unique_ptr<uv_fs_t, decltype(fs_req_cleanup)*> access_req = { new uv_fs_t, fs_req_cleanup }; in Access() local 122 if (!access_req) { in Access() 126 int ret = uv_fs_access(nullptr, access_req.get(), path.c_str(), 0, nullptr); in Access()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | ability_stage_context.cpp | 247 std::unique_ptr<uv_fs_t, decltype(AbilityStageContext::FsReqCleanup)*> access_req = { in Access() local 249 if (!access_req) { in Access() 254 return (uv_fs_access(nullptr, access_req.get(), path.c_str(), 0, nullptr) == 0); in Access()
|