Searched refs:currentDir (Results 1 – 3 of 3) sorted by relevance
174 File currentDir = workingDir; in getPlatformDir() local175 if (currentDir.getName().equalsIgnoreCase("bridge")) { in getPlatformDir()176 currentDir = currentDir.getParentFile(); in getPlatformDir()180 while (currentDir != null && !"layoutlib".equals(currentDir.getName())) { in getPlatformDir()181 currentDir = currentDir.getParentFile(); in getPlatformDir()184 if (currentDir == null || in getPlatformDir()185 currentDir.getParentFile() == null || in getPlatformDir()186 !"frameworks".equals(currentDir.getParentFile().getName())) { in getPlatformDir()193 if (currentDir != null) { in getPlatformDir()194 currentDir = currentDir.getParentFile(); in getPlatformDir()[all …]
62 std::string currentDir; in createCacheDir() local75 currentDir.reserve(cacheDirString.length()); in createCacheDir()86 currentDir += cacheDirString.substr(currPos, nextPos - currPos); in createCacheDir()89 currentDir += cacheDirString.substr(currPos); in createCacheDir()94 statReturn = stat(currentDir.c_str(), &statBuf); in createCacheDir()98 if (mkdir(currentDir.c_str(), S_IRUSR | S_IWUSR | S_IXUSR)) { in createCacheDir()100 currentDir.c_str()); in createCacheDir()
978 File currentDir; in makeDirRecursive() local980 currentDir = targetDirPath.subpath(0, i).toFile(); in makeDirRecursive()981 if (currentDir.exists()) { in makeDirRecursive()984 Os.mkdir(currentDir.getAbsolutePath(), mode); in makeDirRecursive()985 Os.chmod(currentDir.getAbsolutePath(), mode); in makeDirRecursive()