Home
last modified time | relevance | path

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

/development/tools/etc1tool/
Detc1tool.cpp66 int changeExtension(char* pPath, size_t pathCapacity, const char* pExtension) { in changeExtension() argument
67 size_t pathLen = strlen(pPath); in changeExtension()
74 if ((pathLen == 1 && pPath[0] == '.') || (pathLen == 2 && pPath[0] == '.' in changeExtension()
75 && pPath[1] == '.') || (pathLen >= 2 && pPath[pathLen - 2] == '/' in changeExtension()
76 && pPath[pathLen - 1] == '.') || (pathLen >= 3 in changeExtension()
77 && pPath[pathLen - 3] == '/' && pPath[pathLen - 2] == '.' in changeExtension()
78 && pPath[pathLen - 1] == '.')) { in changeExtension()
84 char c = pPath[index]; in changeExtension()
87 strcpy(pPath + pathLen, pExtension); in changeExtension()
90 strcpy(pPath + index, pExtension); in changeExtension()
[all …]