Home
last modified time | relevance | path

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

/development/tools/etc1tool/
Detc1tool.cpp67 size_t pathLen = strlen(pPath); in changeExtension() local
69 if (pathLen + extensionLen + 1 > pathCapacity) { 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()
83 for (index = pathLen - 1; index > 0; index--) { in changeExtension()
87 strcpy(pPath + pathLen, pExtension); in changeExtension()
96 strcpy(pPath + pathLen, pExtension); in changeExtension()