Lines Matching refs:matchLen
51 const size_t matchLen = fChar - wordStart; in anyOf() local
54 if (strlen(word) == matchLen && !strncmp(wordStart, word, matchLen)) { in anyOf()
82 size_t matchLen = matchEnd - matchStart; in anyWord() local
84 if (word.length() != matchLen) { in anyWord()
87 for (unsigned index = 0; index < matchLen; ++index) { in anyWord()
180 int matchLen = strlen(match); in endsWith() local
181 if (matchLen > fChar - fLine) { in endsWith()
184 return !strncmp(fChar - matchLen, match, matchLen); in endsWith()
523 size_t matchLen = strlen(match); in strnstr() local
524 SkASSERT(matchLen > 0); in strnstr()
527 if ((size_t) len < matchLen ) { in strnstr()
530 size_t count = len - matchLen; in strnstr()
532 if (0 == strncmp(&fChar[index], match, matchLen)) { in strnstr()