Lines Matching refs:pattern
33 // Number of distinct parts of the replacement pattern.
71 // the replacement pattern, otherwise it's a value from PartType.
283 void FindOneByteStringIndices(Vector<const uint8_t> subject, uint8_t pattern,
286 // Collect indices of pattern in subject using memchr.
293 memchr(pos, pattern, subject_end - pos));
301 void FindTwoByteStringIndices(const Vector<const uc16> subject, uc16 pattern,
307 if (*pos == pattern) {
316 Vector<const PatternChar> pattern, List<int>* indices,
319 // Collect indices of pattern in subject.
321 int pattern_length = pattern.length();
323 StringSearch<PatternChar, SubjectChar> search(isolate, pattern);
334 String* pattern, List<int>* indices,
339 String::FlatContent pattern_content = pattern->GetFlatContent();
411 String* pattern =
414 int pattern_len = pattern->length();
417 FindStringIndicesDispatch(isolate, *subject, pattern, indices, 0xffffffff);
706 CONVERT_ARG_HANDLE_CHECKED(String, pattern, 1);
711 int pattern_length = pattern->length();
717 RegExpResultsCache::Lookup(isolate->heap(), *subject, *pattern,
729 // The limit can be very large (0xffffffffu), but since the pattern
734 pattern = String::Flatten(pattern);
738 FindStringIndicesDispatch(isolate, *subject, *pattern, indices, limit);
772 RegExpResultsCache::Enter(isolate, subject, pattern, elements,