Home
last modified time | relevance | path

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

/aosp14/system/core/libutils/
H A DString8.cpp442 if (len > 0 && buf[len - 1] == OS_PATH_SEPARATOR) len--; in setPathName()
453 cp = strrchr(buf, OS_PATH_SEPARATOR); in getPathLeaf()
465 cp = strrchr(str, OS_PATH_SEPARATOR); in getPathDir()
478 cp = strchr(buf, OS_PATH_SEPARATOR); in walkPath()
482 cp = strchr(buf, OS_PATH_SEPARATOR); in walkPath()
508 lastSlash = strrchr(str, OS_PATH_SEPARATOR); in find_extension()
549 if (name[0] != OS_PATH_SEPARATOR) { in appendPath()
568 if (buf[len-1] != OS_PATH_SEPARATOR) in appendPath()
569 buf[len++] = OS_PATH_SEPARATOR; in appendPath()
585 #if OS_PATH_SEPARATOR != RES_PATH_SEPARATOR in convertToResPath()
[all …]
/aosp14/system/core/libutils/include/utils/
H A DCompat.h88 #define OS_PATH_SEPARATOR '\\' macro
90 #define OS_PATH_SEPARATOR '/' macro
/aosp14/frameworks/base/tools/aapt/
H A DCrunchCache.cpp50 if (rPathPtr[0] == OS_PATH_SEPARATOR) in crunch()
H A DMain.cpp45 if (path != NULL && OS_PATH_SEPARATOR != '/') { in convertPath()
48 *path = OS_PATH_SEPARATOR; in convertPath()
/aosp14/frameworks/base/libs/androidfw/
H A DAssetsProvider.cpp314 if (path.back() != OS_PATH_SEPARATOR) { in Create()
315 path += OS_PATH_SEPARATOR; in Create()