Lines Matching defs:pathLen
67 size_t pathLen = strlen(pPath);
69 if (pathLen + extensionLen + 1 > pathCapacity) {
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] == '.')) {
83 for (index = pathLen - 1; index > 0; index--) {
87 strcpy(pPath + pathLen, pExtension);
96 strcpy(pPath + pathLen, pExtension);