Lines Matching refs:subject
28 Vector<const uc16> subject) { in BackRefMatchesNoCase() argument
30 unibrow::uchar old_char = subject[from++]; in BackRefMatchesNoCase()
31 unibrow::uchar new_char = subject[current++]; in BackRefMatchesNoCase()
49 Vector<const uint8_t> subject) { in BackRefMatchesNoCase() argument
51 unsigned int old_char = subject[from++]; in BackRefMatchesNoCase()
52 unsigned int new_char = subject[current++]; in BackRefMatchesNoCase()
161 Vector<const Char> subject, in RawMatch() argument
275 if (pos >= subject.length()) { in RawMatch()
278 current_char = subject[pos]; in RawMatch()
285 current_char = subject[pos]; in RawMatch()
291 if (pos + 2 > subject.length()) { in RawMatch()
294 Char next = subject[pos + 1]; in RawMatch()
296 (subject[pos] | (next << (kBitsPerByte * sizeof(Char)))); in RawMatch()
303 Char next = subject[pos + 1]; in RawMatch()
304 current_char = (subject[pos] | (next << (kBitsPerByte * sizeof(Char)))); in RawMatch()
311 if (pos + 4 > subject.length()) { in RawMatch()
314 Char next1 = subject[pos + 1]; in RawMatch()
315 Char next2 = subject[pos + 2]; in RawMatch()
316 Char next3 = subject[pos + 3]; in RawMatch()
317 current_char = (subject[pos] | in RawMatch()
328 Char next1 = subject[pos + 1]; in RawMatch()
329 Char next2 = subject[pos + 2]; in RawMatch()
330 Char next3 = subject[pos + 3]; in RawMatch()
331 current_char = (subject[pos] | in RawMatch()
506 if (current + len > subject.length()) { in RawMatch()
512 if (subject[from + i] != subject[current + i]) { in RawMatch()
530 if (current + len > subject.length()) { in RawMatch()
535 from, current, len, subject)) { in RawMatch()
560 if (subject.length() - current > by) { in RawMatch()
561 current = subject.length() - by; in RawMatch()
562 current_char = subject[current - 1]; in RawMatch()
578 Handle<String> subject, in Match() argument
581 DCHECK(subject->IsFlat()); in Match()
586 String::FlatContent subject_content = subject->GetFlatContent(); in Match()