Home
last modified time | relevance | path

Searched refs:cons_string (Results 1 – 14 of 14) sorted by relevance

/external/v8/test/cctest/
Dtest-strings.cc320 void AccumulateStats(ConsString* cons_string, ConsStringStats* stats) { in AccumulateStats() argument
321 int left_length = cons_string->first()->length(); in AccumulateStats()
322 int right_length = cons_string->second()->length(); in AccumulateStats()
323 CHECK(cons_string->length() == left_length + right_length); in AccumulateStats()
325 bool left_is_cons = cons_string->first()->IsConsString(); in AccumulateStats()
328 AccumulateStats(ConsString::cast(cons_string->first()), stats); in AccumulateStats()
335 if (cons_string->second()->IsConsString()) { in AccumulateStats()
337 AccumulateStats(ConsString::cast(cons_string->second()), stats); in AccumulateStats()
349 void AccumulateStats(Handle<String> cons_string, ConsStringStats* stats) { in AccumulateStats() argument
351 if (cons_string->IsConsString()) { in AccumulateStats()
[all …]
Dtest-heap-profiler.cc436 i::Handle<i::String> cons_string = in TEST() local
439 global->SetInternalField(0, v8::ToApiHandle<v8::String>(cons_string)); in TEST()
/external/v8/src/x64/
Dcodegen-x64.cc413 Label cons_string; in Generate() local
415 __ j(zero, &cons_string, Label::kNear); in Generate()
429 __ bind(&cons_string); in Generate()
/external/v8/src/x87/
Dcodegen-x87.cc502 Label cons_string; in Generate() local
504 __ j(zero, &cons_string, Label::kNear); in Generate()
519 __ bind(&cons_string); in Generate()
/external/v8/src/arm64/
Dcodegen-arm64.cc446 Label cons_string; in Generate() local
447 __ TestAndBranchIfAllClear(result, kSlicedNotConsMask, &cons_string); in Generate()
462 __ Bind(&cons_string); in Generate()
/external/v8/src/ppc/
Dcodegen-ppc.cc445 Label cons_string; in Generate() local
448 __ beq(&cons_string, cr0); in Generate()
463 __ bind(&cons_string); in Generate()
/external/v8/src/arm/
Dcodegen-arm.cc723 Label cons_string; in Generate() local
725 __ b(eq, &cons_string); in Generate()
739 __ bind(&cons_string); in Generate()
/external/v8/src/ia32/
Dcodegen-ia32.cc843 Label cons_string; in Generate() local
845 __ j(zero, &cons_string, Label::kNear); in Generate()
860 __ bind(&cons_string); in Generate()
/external/v8/src/
Dapi.cc1864 i::ConsString* cons_string = i::String::VisitFlat(this, string, 0); in Check() local
1865 if (cons_string == NULL) return is_identifier_; in Check()
4591 i::ConsString* cons_string = i::String::VisitFlat(this, string, 0); in Check() local
4592 if (cons_string == NULL) return is_one_byte_; in Check()
4593 return CheckCons(cons_string); in Check()
4631 bool CheckCons(i::ConsString* cons_string) { in CheckCons() argument
4634 i::String* left = cons_string->first(); in CheckCons()
4639 i::String* right = cons_string->second(); in CheckCons()
4647 cons_string = right_as_cons; in CheckCons()
4650 cons_string = left_as_cons; in CheckCons()
[all …]
Dobjects.cc11355 void ConsStringIterator::Initialize(ConsString* cons_string, int offset) { in Initialize() argument
11356 DCHECK(cons_string != NULL); in Initialize()
11357 root_ = cons_string; in Initialize()
11385 ConsString* cons_string = root_; in Search() local
11389 frames_[0] = cons_string; in Search()
11394 String* string = cons_string->first(); in Search()
11402 cons_string = ConsString::cast(string); in Search()
11403 PushLeft(cons_string); in Search()
11413 string = cons_string->second(); in Search()
11416 cons_string = ConsString::cast(string); in Search()
[all …]
Dobjects.h452 V(CONS_STRING_TYPE, ConsString::kSize, cons_string, ConsString) \
8365 void VisitConsString(ConsString* cons_string);
9295 inline explicit ConsStringIterator(ConsString* cons_string, int offset = 0) {
9296 Reset(cons_string, offset);
9298 inline void Reset(ConsString* cons_string, int offset = 0) {
9301 if (cons_string == NULL) return;
9302 Initialize(cons_string, offset);
9323 void Initialize(ConsString* cons_string, int offset);
Dobjects-inl.h3939 ConsString* cons_string = String::VisitFlat(this, string, offset); in Reset() local
3940 iter_.Reset(cons_string, offset); in Reset()
3941 if (cons_string != NULL) { in Reset()
6918 ConsString* cons_string = String::VisitFlat(&hasher, string); in Hash() local
6919 if (cons_string == nullptr) return hasher.GetHashField(); in Hash()
6920 hasher.VisitConsString(cons_string); in Hash()
/external/v8/src/mips/
Dcodegen-mips.cc1020 Label cons_string; in Generate() local
1022 __ Branch(&cons_string, eq, at, Operand(zero_reg)); in Generate()
1037 __ bind(&cons_string); in Generate()
/external/v8/src/mips64/
Dcodegen-mips64.cc1016 Label cons_string; in Generate() local
1018 __ Branch(&cons_string, eq, at, Operand(zero_reg)); in Generate()
1033 __ bind(&cons_string); in Generate()