Lines Matching refs:answer
4082 Handle<ResultSeqString> answer;
4084 answer = Handle<ResultSeqString>::cast(
4087 answer = Handle<ResultSeqString>::cast(
4098 // Add substring subject[prev;start] to answer string.
4099 String::WriteToFlat(*subject, answer->GetChars() + position, prev, start);
4115 // Add substring subject[prev;length] to answer string.
4117 *subject, answer->GetChars() + position, prev, subject_length);
4128 answer->set_length(position);
4129 if (delta == 0) return *answer;
4131 Address end_of_string = answer->address() + string_size;
4133 answer))) {
4134 MemoryChunk::IncrementLiveBytesFromMutator(answer->address(), -delta);
4137 return *answer;
4428 // No need to flatten if we are going to find the answer on the first
6522 Object* answer;
6525 if (!maybe_answer->ToObject(&answer)) return maybe_answer;
6527 if (answer->IsSmi()) {
6528 int new_length = Smi::cast(answer)->value();
6535 if (!maybe_answer->ToObject(&answer)) return maybe_answer;
6537 return answer;
7128 SeqOneByteString* answer = SeqOneByteString::cast(object);
7130 answer->GetChars(),
7133 return answer;
7139 SeqTwoByteString* answer = SeqTwoByteString::cast(object);
7141 answer->GetChars(),
7144 return answer;
7203 SeqTwoByteString* answer = SeqTwoByteString::cast(object);
7205 uc16* sink = answer->GetChars();
7229 ASSERT(!answer->IsOneByteRepresentation());
7230 return answer;