Home
last modified time | relevance | path

Searched refs:OS_PATH_SEPARATOR (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/libs/androidfw/
DPathUtils.cpp27 cp = strrchr(buf, OS_PATH_SEPARATOR); in getPathLeaf()
38 cp = strrchr(str, OS_PATH_SEPARATOR); in getPathDir()
51 lastSlash = strrchr(str, OS_PATH_SEPARATOR); in findExtension()
94 if (len > 0 && buf[len - 1] == OS_PATH_SEPARATOR) len--; in setPathName()
102 if (name[0] != OS_PATH_SEPARATOR) { in appendPath()
121 if (buf[len-1] != OS_PATH_SEPARATOR) in appendPath()
122 buf[len++] = OS_PATH_SEPARATOR; in appendPath()
DAssetsProvider.cpp314 if (path.back() != OS_PATH_SEPARATOR) { in Create()
315 path += OS_PATH_SEPARATOR; in Create()
/frameworks/base/tools/aapt/
DUtils.cpp28 #if OS_PATH_SEPARATOR != RES_PATH_SEPARATOR in convertToResPath()
33 if (*buf == OS_PATH_SEPARATOR) *buf = RES_PATH_SEPARATOR; in convertToResPath()
45 cp = strchr(buf, OS_PATH_SEPARATOR); in walkPath()
49 cp = strchr(buf, OS_PATH_SEPARATOR); in walkPath()
DCrunchCache.cpp51 if (rPathPtr[0] == OS_PATH_SEPARATOR) in crunch()
DMain.cpp45 if (path != NULL && OS_PATH_SEPARATOR != '/') { in convertPath()
48 *path = OS_PATH_SEPARATOR; in convertPath()
/frameworks/compile/slang/
Dos_sep.h22 #define OS_PATH_SEPARATOR '\\' macro
28 #define OS_PATH_SEPARATOR '/' macro
Dslang_rs_reflect_utils.cpp39 if (*slash == OS_PATH_SEPARATOR) { in GetFileNameStem()
55 (packaged_path[packaged_path.length() - 1] != OS_PATH_SEPARATOR)) { in ComputePackagedPath()
62 packaged_path[s] = OS_PATH_SEPARATOR; in ComputePackagedPath()
73 if (*slash == OS_PATH_SEPARATOR) { in InternalFileNameConvert()
298 if (fullPath[fullPath.length() - 1] != OS_PATH_SEPARATOR) { in JoinPath()
299 fullPath += OS_PATH_SEPARATOR; in JoinPath()
301 if (path2[0] == OS_PATH_SEPARATOR) { in JoinPath()
Dllvm-rs-cc.cpp81 (OutputFile[OutputFile.size() - 1]) != OS_PATH_SEPARATOR) in DetermineOutputFile()
82 OutputFile.append(1, OS_PATH_SEPARATOR); in DetermineOutputFile()
86 OutputFile.append(1, OS_PATH_SEPARATOR); in DetermineOutputFile()
/frameworks/rs/
DrsCppUtils.h51 #define OS_PATH_SEPARATOR '\\' macro
53 #define OS_PATH_SEPARATOR '/' macro
DrsScriptC.cpp32 #define OS_PATH_SEPARATOR '\\' macro
38 #define OS_PATH_SEPARATOR '/' macro
82 int nextPos = cacheDirString.find(OS_PATH_SEPARATOR, currPos + 1); in createCacheDir()