Searched refs:childPath (Results 1 – 4 of 4) sorted by relevance
217 string childPath = pathStr + name; in deleteRecursive() local220 deleteRecursive(childPath.c_str()); in deleteRecursive()221 success = rmdir(childPath.c_str()); in deleteRecursive()223 success = unlink(childPath.c_str()); in deleteRecursive()225 access_ok(childPath.c_str()); in deleteRecursive()227 PLOG(ERROR) << "Deleting path " << childPath << " failed"; in deleteRecursive()
43 String childPath = child.getCanonicalPath(); in isContainedIn() local44 return childPath.startsWith(parentPath); in isContainedIn()
164 private static boolean isChild(@NonNull File base, @NonNull String childPath) { in isChild() argument168 File parentFile = new File(childPath).getCanonicalFile(); in isChild()
125 private static boolean isParentPath(int parentPath, int childPath) { in isParentPath() argument129 int nibble = (childPath >> i) & 0xF; in isParentPath()132 return parentNibble == 0 && (childPath >> i + 4) == (parentPath >> i + 4); in isParentPath()