Lines Matching refs:subject_ptr
381 String subject_ptr = *subject;
384 int char_length = subject_ptr.length() - start_offset;
389 if (StringShape(subject_ptr).IsCons()) {
390 DCHECK_EQ(0, ConsString::cast(subject_ptr).second().length());
391 subject_ptr = ConsString::cast(subject_ptr).first();
392 } else if (StringShape(subject_ptr).IsSliced()) {
393 SlicedString slice = SlicedString::cast(subject_ptr);
394 subject_ptr = slice.parent();
397 if (StringShape(subject_ptr).IsThin()) {
398 subject_ptr = ThinString::cast(subject_ptr).actual();
401 bool is_one_byte = subject_ptr.IsOneByteRepresentation();
402 DCHECK(subject_ptr.IsExternalString() || subject_ptr.IsSeqString());
408 subject_ptr.AddressOfCharacterAt(start_offset + slice_offset, no_gc);