Lines Matching refs:patLen
444 size_t patLen = strlen(pattern);446 patLen--;447 if (target.size() < patLen) {450 return strcmp(pattern+1, target.c_str() + (target.size()-patLen)) == 0;451 } else if (pattern[patLen-1] == '*') {452 return strncmp(pattern, target.c_str(), patLen-1) == 0;