Lines Matching refs:pPath
66 int changeExtension(char* pPath, size_t pathCapacity, const char* pExtension) {
67 size_t pathLen = strlen(pPath);
74 if ((pathLen == 1 && pPath[0] == '.') || (pathLen == 2 && pPath[0] == '.'
75 && pPath[1] == '.') || (pathLen >= 2 && pPath[pathLen - 2] == '/'
76 && pPath[pathLen - 1] == '.') || (pathLen >= 3
77 && pPath[pathLen - 3] == '/' && pPath[pathLen - 2] == '.'
78 && pPath[pathLen - 1] == '.')) {
84 char c = pPath[index];
87 strcpy(pPath + pathLen, pExtension);
90 strcpy(pPath + index, pExtension);
96 strcpy(pPath + pathLen, pExtension);