Home | History | Annotate | Download | only in regexp

Lines Matching refs:subject

190                                      Handle<String> subject,
195 return AtomExec(regexp, subject, index, last_match_info);
197 return IrregexpExec(regexp, subject, index, last_match_info);
222 String* subject,
227 RegExpImpl::SetLastSubject(array, subject);
228 RegExpImpl::SetLastInput(array, subject);
235 Handle<String> subject,
242 DCHECK(index <= subject->length());
244 subject = String::Flatten(subject);
252 if (index + needle_len > subject->length()) {
258 String::FlatContent subject_content = subject->GetFlatContent();
287 Handle<String> subject,
296 int res = AtomExecRaw(re, subject, index, output_registers, kNumRegisters);
303 SetAtomLastCapture(array, *subject, output_registers[0], output_registers[1]);
311 // source for either one-byte or two-byte subject strings.
450 Handle<String> subject) {
451 subject = String::Flatten(subject);
454 bool is_one_byte = subject->IsOneByteRepresentationUnderneath();
455 if (!EnsureCompiledIrregexp(regexp, subject, is_one_byte)) return -1;
473 Handle<String> subject,
482 DCHECK(index <= subject->length());
483 DCHECK(subject->IsFlat());
485 bool is_one_byte = subject->IsOneByteRepresentationUnderneath();
490 EnsureCompiledIrregexp(regexp, subject, is_one_byte);
498 subject,
517 // the, potentially, different subject (the string can switch between
520 IrregexpPrepare(regexp, subject);
521 is_one_byte = subject->IsOneByteRepresentationUnderneath();
544 subject,
561 Handle<String> subject,
572 PrintF("\n\nSubject string: '%s'\n\n", subject->ToCString().get());
575 int required_registers = RegExpImpl::IrregexpPrepare(regexp, subject);
592 regexp, subject, previous_index, output_registers, required_registers);
597 last_match_info, subject, capture_count, output_registers);
616 Handle<String> subject,
631 SetLastSubject(array, *subject);
632 SetLastInput(array, *subject);
638 Handle<String> subject,
644 subject_(subject) {
1629 // This can't match. Must be an one-byte subject and a non-one-byte
3656 // calculated using the frequency distribution of the sample subject string.
3706 // occur in the subject string in the range between min_lookahead and