Lines Matching refs:pattern_length
3775 int pattern_length = pattern.length(); in FindStringIndices() local
3782 index += pattern_length; in FindStringIndices()
4253 int pattern_length = pat->length(); in StringMatch() local
4254 if (pattern_length == 0) return start_index; in StringMatch()
4257 if (start_index + pattern_length > subject_length) return -1; in StringMatch()
4317 int pattern_length = pattern.length(); in StringMatchBackwards() local
4318 ASSERT(pattern_length >= 1); in StringMatchBackwards()
4319 ASSERT(idx + pattern_length <= subject.length()); in StringMatchBackwards()
4322 for (int i = 0; i < pattern_length; i++) { in StringMatchBackwards()
4334 while (j < pattern_length) { in StringMatchBackwards()
4340 if (j == pattern_length) { in StringMatchBackwards()
6594 int pattern_length = pattern->length(); in RUNTIME_FUNCTION() local
6595 RUNTIME_ASSERT(pattern_length > 0); in RUNTIME_FUNCTION()
6659 part_start = part_end + pattern_length; in RUNTIME_FUNCTION()