Home
last modified time | relevance | path

Searched refs:hostType (Results 1 – 3 of 3) sorted by relevance

/hardware/google/aemu/base/
DPathUtils.cpp43 HostType hostType) { in toExecutableName() argument
45 kExeNameSuffixes[hostType]); in toExecutableName()
49 bool PathUtils::isDirSeparator(int ch, HostType hostType) { in isDirSeparator() argument
50 return (ch == '/') || (hostType == HOST_WIN32 && ch == '\\'); in isDirSeparator()
54 bool PathUtils::isPathSeparator(int ch, HostType hostType) { in isPathSeparator() argument
55 return (hostType == HOST_POSIX && ch == ':') || in isPathSeparator()
56 (hostType == HOST_WIN32 && ch == ';'); in isPathSeparator()
60 size_t PathUtils::rootPrefixSize(const std::string& path, HostType hostType) { in rootPrefixSize() argument
63 if (hostType != HOST_WIN32) in rootPrefixSize()
75 } else if (isDirSeparator(path[0], hostType)) { in rootPrefixSize()
[all …]
/hardware/google/aemu/base/include/aemu/base/files/
DPathUtils.h129 static std::string toExecutableName(const char* baseName, HostType hostType);
136 static bool isDirSeparator(int ch, HostType hostType);
144 static bool isPathSeparator(int ch, HostType hostType);
152 static char getDirSeparator(HostType hostType) { in getDirSeparator() argument
153 return (hostType == HOST_WIN32) ? '\\' : '/'; in getDirSeparator()
158 HostType hostType);
167 HostType hostType);
169 HostType hostType);
184 static size_t rootPrefixSize(const std::string& path, HostType hostType);
188 static size_t rootPrefixSize(const char* path, HostType hostType) { in rootPrefixSize() argument
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DGLESv2Imp.cpp1901 GLenum hostType = 0; in s_getActiveAttribOrUniform() local
1913 &hostSize, &hostType, &hostVarName[0]); in s_getActiveAttribOrUniform()
1916 &hostSize, &hostType, &hostVarName[0]); in s_getActiveAttribOrUniform()
1939 if (type) *type = hostType; in s_getActiveAttribOrUniform()