Searched refs:currentDir (Results 1 - 2 of 2) sorted by relevance

/frameworks/rs/
H A DrsScriptC.cpp76 std::string currentDir; local
88 // Reserve space in currentDir for the entire cacheDir path.
89 currentDir.reserve(cacheDirString.length());
100 currentDir += cacheDirString.substr(currPos, nextPos - currPos);
103 currentDir += cacheDirString.substr(currPos);
108 statReturn = stat(currentDir.c_str(), &statBuf);
112 if (mkdir(currentDir.c_str(), S_IRUSR | S_IWUSR | S_IXUSR)) {
114 currentDir.c_str());
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DMain.java132 File currentDir = workingDir;
133 if (currentDir.getName().equalsIgnoreCase("bridge")) {
134 currentDir = currentDir.getParentFile();
136 // Test if currentDir is platform/frameworks/base/tools/layoutlib. That is, root should be
139 if (currentDir != null) {
140 currentDir = currentDir.getParentFile();
143 return currentDir == null ? null : getPlatformDirFromRoot(currentDir);
[all...]

Completed in 492 milliseconds