Lines Matching defs:patLen
358 size_t patLen = strlen(pattern);360 patLen--;361 if (target.size() < patLen) {364 return strcmp(pattern+1, target.c_str() + (target.size()-patLen)) == 0;365 } else if (pattern[patLen-1] == '*') {366 return strncmp(pattern, target.c_str(), patLen-1) == 0;