Home
last modified time | relevance | path

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

/ohos5.0/base/request/request/frameworks/cj/ffi/src/
H A Dcj_request_task.cpp130 std::string childDir = filepath.substr(0, filepath.rfind("/")); in SetPathPermission() local
131 if (AclSetAccess(childDir, SA_PERMISSION_RWX) != ACL_SUCC) { in SetPathPermission()
184 std::string childDir(filepath); in AddPathMap() local
186 while (childDir.length() > baseDir.length()) { in AddPathMap()
187 parentDir = childDir.substr(0, childDir.rfind("/")); in AddPathMap()
195 childDir = parentDir; in AddPathMap()
219 std::string childDir(filepath); in RemovePathMap() local
221 while (childDir.length() > baseDir.length()) { in RemovePathMap()
222 parentDir = childDir.substr(0, childDir.rfind("/")); in RemovePathMap()
233 childDir = parentDir; in RemovePathMap()
/ohos5.0/base/request/request/frameworks/js/napi/src/
H A Djs_task.cpp1034 std::string childDir(filepath); in AddPathMap() local
1036 while (childDir.length() > baseDir.length()) { in AddPathMap()
1037 parentDir = childDir.substr(0, childDir.rfind("/")); in AddPathMap()
1045 childDir = parentDir; in AddPathMap()
1081 std::string childDir(filepath); in RemovePathMap() local
1083 while (childDir.length() > baseDir.length()) { in RemovePathMap()
1084 parentDir = childDir.substr(0, childDir.rfind("/")); in RemovePathMap()
1095 childDir = parentDir; in RemovePathMap()