Lines Matching refs:subject
75 String* subject,
78 ASSERT(subject->IsExternalString() || subject->IsSeqString());
80 ASSERT(start_index <= subject->length());
81 if (subject->IsAsciiRepresentation()) {
83 if (StringShape(subject).IsExternal()) {
84 const char* data = ExternalAsciiString::cast(subject)->GetChars();
87 ASSERT(subject->IsSeqAsciiString());
88 char* data = SeqAsciiString::cast(subject)->GetChars();
94 if (StringShape(subject).IsExternal()) {
95 data = ExternalTwoByteString::cast(subject)->GetChars();
97 ASSERT(subject->IsSeqTwoByteString());
98 data = SeqTwoByteString::cast(subject)->GetChars();
106 Handle<String> subject,
112 ASSERT(subject->IsFlat());
114 ASSERT(previous_index <= subject->length());
120 String* subject_ptr = *subject;
147 *subject,