Home
last modified time | relevance | path

Searched refs:realpath_req (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dfile_impl.cpp279 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> realpath_req = { in RealPathCore() local
281 if (!realpath_req) { in RealPathCore()
283 return { ENOMEM, move(realpath_req)}; in RealPathCore()
285 int ret = uv_fs_realpath(nullptr, realpath_req.get(), srcPath.c_str(), nullptr); in RealPathCore()
288 return { ret, move(realpath_req)}; in RealPathCore()
290 return { ERRNO_NOERR, move(realpath_req) }; in RealPathCore()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_file/
H A Dfile_n_exporter.cpp75 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> realpath_req = { in RealPathCore() local
77 if (!realpath_req) { in RealPathCore()
79 return { ENOMEM, move(realpath_req)}; in RealPathCore()
81 int ret = uv_fs_realpath(nullptr, realpath_req.get(), srcPath.c_str(), nullptr); in RealPathCore()
82 return { ret, move(realpath_req) }; in RealPathCore()