Lines Matching refs:subject
42 String* subject,
44 if (subject->IsConsString()) {
45 subject = ConsString::cast(subject)->first();
46 } else if (subject->IsSlicedString()) {
47 start_index += SlicedString::cast(subject)->offset();
48 subject = SlicedString::cast(subject)->parent();
51 DCHECK(start_index <= subject->length());
52 if (subject->IsSeqOneByteString()) {
54 SeqOneByteString::cast(subject)->GetChars() + start_index);
55 } else if (subject->IsSeqTwoByteString()) {
57 SeqTwoByteString::cast(subject)->GetChars() + start_index);
58 } else if (subject->IsExternalOneByteString()) {
60 ExternalOneByteString::cast(subject)->GetChars() + start_index);
63 ExternalTwoByteString::cast(subject)->GetChars() + start_index);
70 Address* return_address, Code* re_code, String** subject,
78 Handle<String> subject_handle(*subject);
104 // If we continue, we need to update the subject string addresses.
113 *subject = *subject_handle;
115 *input_start = StringCharacterPosition(*subject, start_index);
125 Handle<String> subject,
131 DCHECK(subject->IsFlat());
133 DCHECK(previous_index <= subject->length());
139 String* subject_ptr = *subject;
166 *subject,