Home
last modified time | relevance | path

Searched refs:ConsString (Results 1 – 25 of 64) sorted by relevance

123

/external/v8/src/
Dobjects-visiting-inl.h39 ConsString::BodyDescriptor, in Initialize()
44 ConsString::BodyDescriptor, in Initialize()
Dregexp-macro-assembler.cc129 ASSERT_EQ(0, ConsString::cast(subject_ptr)->second()->length()); in Match()
130 subject_ptr = ConsString::cast(subject_ptr)->first(); in Match()
Dobjects-debug.cc444 ConsString::cast(this)->ConsStringVerify(); in StringVerify()
451 void ConsString::ConsStringVerify() { in ConsStringVerify()
455 CHECK(this->length() >= ConsString::kMinLength); in ConsStringVerify()
Dobjects-inl.h2136 CAST_ACCESSOR(ConsString) in CAST_ACCESSOR()
2220 ConsString* cons = ConsString::cast(this); in TryFlatten()
2243 return ConsString::cast(this)->ConsStringGet(index); in Get()
2272 return ConsString::cast(this)->second()->length() == 0; in IsFlat()
2281 STATIC_ASSERT(ConsString::kFirstOffset == SlicedString::kParentOffset); in GetUnderlying()
2356 String* ConsString::first() { in SMI_ACCESSORS()
2361 Object* ConsString::unchecked_first() { in unchecked_first()
2366 void ConsString::set_first(String* value, WriteBarrierMode mode) { in set_first()
2372 String* ConsString::second() { in second()
2377 Object* ConsString::unchecked_second() { in unchecked_second()
[all …]
Dhandles.cc842 ConsString* str = ConsString::cast(input); in Utf8LengthHelper()
/external/chromium_org/v8/test/cctest/
Dtest-strings.cc158 len += ConsString::kMinLength + 1; in InitializeBuildingBlocks()
321 void AccumulateStats(ConsString* cons_string, ConsStringStats* stats) { in AccumulateStats()
329 AccumulateStats(ConsString::cast(cons_string->first()), stats); in AccumulateStats()
338 AccumulateStats(ConsString::cast(cons_string->second()), stats); in AccumulateStats()
353 return AccumulateStats(ConsString::cast(*cons_string), stats); in AccumulateStats()
361 ConsString* cons_string, ConsStringStats* stats) { in AccumulateStatsWithOperator()
389 AccumulateStats(ConsString::cast(*root), &stats); in VerifyConsString()
393 AccumulateStatsWithOperator(ConsString::cast(*root), &stats); in VerifyConsString()
688 ConsString::cast(*flat_string)->first() : in TestStringCharacterStream()
942 CHECK_GT(kMaxLength, i::ConsString::kMinLength); in TEST()
[all …]
/external/chromium_org/v8/src/
Dregexp-macro-assembler.cc128 ASSERT_EQ(0, ConsString::cast(subject_ptr)->second()->length()); in Match()
129 subject_ptr = ConsString::cast(subject_ptr)->first(); in Match()
Dobjects-visiting-inl.h39 ConsString::BodyDescriptor, in Initialize()
44 ConsString::BodyDescriptor, in Initialize()
166 ConsString::BodyDescriptor, in Initialize()
171 ConsString::BodyDescriptor, in Initialize()
Dobjects-debug.cc549 ConsString::cast(this)->ConsStringVerify(); in StringVerify()
556 void ConsString::ConsStringVerify() { in ConsStringVerify()
560 CHECK(this->length() >= ConsString::kMinLength); in ConsStringVerify()
Dobjects-inl.h2660 CAST_ACCESSOR(ConsString) in CAST_ACCESSOR()
2768 ConsString* cons = ConsString::cast(this); in TryFlatten()
2791 return ConsString::cast(this)->ConsStringGet(index); in Get()
2820 return ConsString::cast(this)->second()->length() == 0; in IsFlat()
2829 STATIC_ASSERT(ConsString::kFirstOffset == SlicedString::kParentOffset); in GetUnderlying()
2904 cons_string_ = ConsString::cast(string); in Operate()
2907 ConsString* cons_string_;
2912 ConsString* String::VisitFlat(Visitor* visitor, in VisitFlat()
2995 String* ConsString::first() { in SMI_ACCESSORS()
3000 Object* ConsString::unchecked_first() { in unchecked_first()
[all …]
Dobjects.h456 ConsString::kSize, \
458 ConsString) \
460 ConsString::kSize, \
505 ConsString::kSize, \
509 ConsString::kSize, \
970 V(ConsString) \
8535 class ConsString; variable
8818 static inline ConsString* VisitFlat(Visitor* visitor,
8825 static inline ConsString* VisitFlat(Visitor* visitor,
8962 class ConsString: public String {
[all …]
Dobjects-visiting.h87 V(ConsString) \
/external/v8/tools/
Dgrokdump.py735 class ConsString(String): class
924 "CONS_SYMBOL_TYPE": ConsString,
925 "CONS_ASCII_SYMBOL_TYPE": ConsString,
934 "CONS_STRING_TYPE": ConsString,
935 "CONS_ASCII_STRING_TYPE": ConsString,
/external/v8/src/arm/
Dcodegen-arm.cc380 __ ldr(result, FieldMemOperand(string, ConsString::kSecondOffset)); in Generate()
384 __ ldr(string, FieldMemOperand(string, ConsString::kFirstOffset)); in Generate()
/external/v8/src/mips/
Dcodegen-mips.cc391 __ lw(result, FieldMemOperand(string, ConsString::kSecondOffset)); in Generate()
395 __ lw(string, FieldMemOperand(string, ConsString::kFirstOffset)); in Generate()
/external/v8/test/cctest/
Dtest-strings.cc358 CHECK_GT(kMaxLength, i::ConsString::kMinLength); in TEST()
499 ConsString::cast(*parent)->first()); in TEST()
/external/v8/src/x64/
Dcodegen-x64.cc508 __ CompareRoot(FieldOperand(string, ConsString::kSecondOffset), in Generate()
511 __ movq(string, FieldOperand(string, ConsString::kFirstOffset)); in Generate()
/external/chromium_org/v8/src/mips/
Dcodegen-mips.cc459 __ lw(result, FieldMemOperand(string, ConsString::kSecondOffset)); in Generate()
463 __ lw(string, FieldMemOperand(string, ConsString::kFirstOffset)); in Generate()
Dcode-stubs-mips.cc3022 __ lw(a0, FieldMemOperand(subject, ConsString::kSecondOffset)); in Generate()
3025 __ lw(subject, FieldMemOperand(subject, ConsString::kFirstOffset)); in Generate()
3034 STATIC_CHECK(ExternalString::kMaxShortLength < ConsString::kMinLength); in Generate()
4197 __ lw(t1, FieldMemOperand(v0, ConsString::kSecondOffset)); in Generate()
4200 __ lw(t1, FieldMemOperand(v0, ConsString::kFirstOffset)); in Generate()
4623 __ Branch(&string_add_flat_result, lt, t2, Operand(ConsString::kMinLength)); in Generate()
4658 __ sw(a0, FieldMemOperand(t3, ConsString::kFirstOffset)); in Generate()
4660 ConsString::kFirstOffset, in Generate()
4665 __ sw(a1, FieldMemOperand(t3, ConsString::kSecondOffset)); in Generate()
4667 ConsString::kSecondOffset, in Generate()
[all …]
/external/chromium_org/v8/src/x64/
Dcode-stubs-x64.cc1849 __ CompareRoot(FieldOperand(rdi, ConsString::kSecondOffset), in Generate()
1852 __ movq(rdi, FieldOperand(rdi, ConsString::kFirstOffset)); in Generate()
1864 STATIC_CHECK(ExternalString::kMaxShortLength < ConsString::kMinLength); in Generate()
3641 __ SmiCompare(rbx, Smi::FromInt(ConsString::kMinLength)); in Generate()
3667 __ movq(FieldOperand(rcx, ConsString::kLengthOffset), rbx); in Generate()
3668 __ movq(FieldOperand(rcx, ConsString::kHashFieldOffset), in Generate()
3678 __ movq(FieldOperand(rcx, ConsString::kFirstOffset), rax); in Generate()
3680 ConsString::kFirstOffset, in Generate()
3684 __ movq(FieldOperand(rcx, ConsString::kSecondOffset), rdx); in Generate()
3686 ConsString::kSecondOffset, in Generate()
[all …]
Dcodegen-x64.cc553 __ CompareRoot(FieldOperand(string, ConsString::kSecondOffset), in Generate()
556 __ movq(string, FieldOperand(string, ConsString::kFirstOffset)); in Generate()
/external/chromium_org/v8/tools/
Dgrokdump.py1092 class ConsString(String): class
1446 "CONS_SYMBOL_TYPE": ConsString,
1447 "CONS_ASCII_SYMBOL_TYPE": ConsString,
1456 "CONS_STRING_TYPE": ConsString,
1457 "CONS_ASCII_STRING_TYPE": ConsString,
/external/v8/src/ia32/
Dcodegen-ia32.cc673 __ cmp(FieldOperand(string, ConsString::kSecondOffset), in Generate()
676 __ mov(string, FieldOperand(string, ConsString::kFirstOffset)); in Generate()
/external/chromium_org/v8/src/ia32/
Dcode-stubs-ia32.cc1992 __ cmp(FieldOperand(eax, ConsString::kSecondOffset), factory->empty_string()); in Generate()
1994 __ mov(eax, FieldOperand(eax, ConsString::kFirstOffset)); in Generate()
2006 STATIC_CHECK(ExternalString::kMaxShortLength < ConsString::kMinLength); in Generate()
3773 __ cmp(ebx, Immediate(Smi::FromInt(ConsString::kMinLength))); in Generate()
3794 __ mov(FieldOperand(ecx, ConsString::kLengthOffset), ebx); in Generate()
3795 __ mov(FieldOperand(ecx, ConsString::kHashFieldOffset), in Generate()
3804 __ mov(FieldOperand(ecx, ConsString::kFirstOffset), eax); in Generate()
3806 ConsString::kFirstOffset, in Generate()
3810 __ mov(FieldOperand(ecx, ConsString::kSecondOffset), edx); in Generate()
3812 ConsString::kSecondOffset, in Generate()
[all …]
/external/chromium_org/v8/src/arm/
Dcode-stubs-arm.cc2919 __ ldr(r0, FieldMemOperand(subject, ConsString::kSecondOffset)); in Generate()
2922 __ ldr(subject, FieldMemOperand(subject, ConsString::kFirstOffset)); in Generate()
2931 STATIC_CHECK(ExternalString::kMaxShortLength < ConsString::kMinLength); in Generate()
4093 __ ldr(r5, FieldMemOperand(r0, ConsString::kSecondOffset)); in Generate()
4096 __ ldr(r5, FieldMemOperand(r0, ConsString::kFirstOffset)); in Generate()
4510 __ cmp(r6, Operand(ConsString::kMinLength)); in Generate()
4546 __ str(r0, FieldMemOperand(r3, ConsString::kFirstOffset)); in Generate()
4548 ConsString::kFirstOffset, in Generate()
4553 __ str(r1, FieldMemOperand(r3, ConsString::kSecondOffset)); in Generate()
4555 ConsString::kSecondOffset, in Generate()
[all …]

123