Lines Matching refs:subject_ptr
234 String* subject_ptr = *subject; in Match() local
237 int char_length = subject_ptr->length() - start_offset; in Match()
242 if (StringShape(subject_ptr).IsCons()) { in Match()
243 DCHECK_EQ(0, ConsString::cast(subject_ptr)->second()->length()); in Match()
244 subject_ptr = ConsString::cast(subject_ptr)->first(); in Match()
245 } else if (StringShape(subject_ptr).IsSliced()) { in Match()
246 SlicedString* slice = SlicedString::cast(subject_ptr); in Match()
247 subject_ptr = slice->parent(); in Match()
250 if (StringShape(subject_ptr).IsThin()) { in Match()
251 subject_ptr = ThinString::cast(subject_ptr)->actual(); in Match()
254 bool is_one_byte = subject_ptr->IsOneByteRepresentation(); in Match()
255 DCHECK(subject_ptr->IsExternalString() || subject_ptr->IsSeqString()); in Match()
260 StringCharacterPosition(subject_ptr, start_offset + slice_offset); in Match()