Lines Matching refs:pattern_length
2822 int pattern_length = pattern.length(); in FindStringIndices() local
2829 index += pattern_length; in FindStringIndices()
3359 int pattern_length = pat->length(); in StringMatch() local
3360 if (pattern_length == 0) return start_index; in StringMatch()
3363 if (start_index + pattern_length > subject_length) return -1; in StringMatch()
3423 int pattern_length = pattern.length(); in StringMatchBackwards() local
3424 ASSERT(pattern_length >= 1); in StringMatchBackwards()
3425 ASSERT(idx + pattern_length <= subject.length()); in StringMatchBackwards()
3428 for (int i = 0; i < pattern_length; i++) { in StringMatchBackwards()
3440 while (j < pattern_length) { in StringMatchBackwards()
3446 if (j == pattern_length) { in StringMatchBackwards()
3671 int pattern_length = pattern.length(); in SearchStringMultiple() local
3672 int max_search_start = subject_length - pattern_length; in SearchStringMultiple()
3680 int match_end = pos + pattern_length; in SearchStringMultiple()
3698 pos + pattern_length, in SearchStringMultiple()
6272 int pattern_length = pattern->length(); in RUNTIME_FUNCTION() local
6273 RUNTIME_ASSERT(pattern_length > 0); in RUNTIME_FUNCTION()
6334 part_start = part_end + pattern_length; in RUNTIME_FUNCTION()