Searched refs:compLen (Results 1 – 3 of 3) sorted by relevance
47 int compLen = 0; in getFirstComponentLength() local48 while (path[compLen] != 0 && path[compLen] != '.') in getFirstComponentLength()49 compLen++; in getFirstComponentLength()50 return compLen; in getFirstComponentLength()53 static bool compareNameToPathComponent (const char* name, const char* path, int compLen) in compareNameToPathComponent() argument55 for (int pos = 0; pos < compLen; pos++) in compareNameToPathComponent()61 if (name[compLen] != 0) in compareNameToPathComponent()156 int compLen = getFirstComponentLength(path); in find() local157 XE_CHECK(compLen > 0); in find()159 if (compareNameToPathComponent(getName(), path, compLen)) in find()[all …]
170 int compLen; in patternMatch() local183 compLen = pattLen - 1; in patternMatch()184 offset = (int)strlen(classname) - compLen; in patternMatch()194 return strncmp(pattern, start, compLen) == 0; in patternMatch()
250 int compLen; in patternStringMatch() local263 compLen = pattLen - 1; in patternStringMatch()264 offset = (int)strlen(classname) - compLen; in patternStringMatch()274 return strncmp(pattern, start, compLen) == 0; in patternStringMatch()