Searched refs:patLen (Results 1 – 1 of 1) sorted by relevance
358 size_t patLen = strlen(pattern); in PatternMatch() local360 patLen--; in PatternMatch()361 if (target.size() < patLen) { in PatternMatch()364 return strcmp(pattern+1, target.c_str() + (target.size()-patLen)) == 0; in PatternMatch()365 } else if (pattern[patLen-1] == '*') { in PatternMatch()366 return strncmp(pattern, target.c_str(), patLen-1) == 0; in PatternMatch()