Searched refs:parentDir (Results 1 – 3 of 3) sorted by relevance
41 public static File createSubFile(File parentDir, String name) throws IOException { in createSubFile() argument44 File subFile = new File(parentDir, name).getCanonicalFile(); in createSubFile()45 if (!subFile.getPath().startsWith(parentDir.getCanonicalPath())) { in createSubFile()46 throw new IOException(name + " must exist beneath " + parentDir + in createSubFile()
310 private static void assertCreateSubFileThrows(File parentDir, String name) { in assertCreateSubFileThrows() argument312 FileUtils.createSubFile(parentDir, name); in assertCreateSubFileThrows()353 private File createDir(File parentDir, String name) { in createDir() argument354 File dir = new File(parentDir, name); in createDir()
154 std::string parentDir = dirname(cMutableDirName); in getParentDir() local156 return parentDir; in getParentDir()