Lines Matching refs:subject
11067 Handle<Object> String::ToNumber(Handle<String> subject) {
11068 Isolate* const isolate = subject->GetIsolate();
11070 // Flatten {subject} string first.
11071 subject = String::Flatten(subject);
11075 if (subject->AsArrayIndex(&index)) {
11080 if (subject->IsSeqOneByteString()) {
11081 int len = subject->length();
11085 uint8_t const* data = Handle<SeqOneByteString>::cast(subject)->GetChars();
11106 } else if (!subject->HasHashCode() && len <= String::kMaxArrayIndexSize &&
11112 subject->Hash(); // Force hash calculation.
11113 DCHECK_EQ(static_cast<int>(subject->hash_field()),
11116 subject->set_hash_field(hash);
11125 StringToDouble(isolate->unicode_cache(), subject, flags));