Home
last modified time | relevance | path

Searched refs:right_length (Results 1 – 5 of 5) sorted by relevance

/external/v8/test/cctest/
Dtest-strings.cc322 int right_length = cons_string->second()->length(); in AccumulateStats() local
323 CHECK(cons_string->length() == left_length + right_length); in AccumulateStats()
339 if (right_length == 0) { in AccumulateStats()
344 stats->chars_ += right_length; in AccumulateStats()
/external/v8/src/
Dfactory.cc516 int right_length = right->length(); in NewConsString() local
517 if (right_length == 0) return left; in NewConsString()
519 int length = left_length + right_length; in NewConsString()
571 for (int i = 0; i < right_length; i++) *dest++ = src[i]; in NewConsString()
/external/v8/src/crankshaft/
Dhydrogen.cc2410 HValue* right_length) { in BuildAddStringLengths() argument
2412 HValue* length = AddUncasted<HAdd>(left_length, right_length); in BuildAddStringLengths()
2545 HValue* right_length = AddLoadStringLength(right); in BuildUncheckedStringAdd() local
2548 HValue* length = BuildAddStringLengths(left_length, right_length); in BuildUncheckedStringAdd()
2558 } else if (right_length->IsConstant()) { in BuildUncheckedStringAdd()
2559 HConstant* c_right_length = HConstant::cast(right_length); in BuildUncheckedStringAdd()
2670 left_length, String::TWO_BYTE_ENCODING, right_length); in BuildUncheckedStringAdd()
2682 left_length, String::ONE_BYTE_ENCODING, right_length); in BuildUncheckedStringAdd()
2723 HValue* right_length = AddLoadStringLength(right); in BuildStringAdd() local
2742 right_length, graph()->GetConstant0(), Token::EQ); in BuildStringAdd()
Dhydrogen.h1441 HValue* BuildAddStringLengths(HValue* left_length, HValue* right_length);
/external/v8/src/arm64/
Dcode-stubs-arm64.cc3134 Register right_length = scratch2; in GenerateFlatOneByteStringEquals() local
3140 __ Ldr(right_length, FieldMemOperand(right, String::kLengthOffset)); in GenerateFlatOneByteStringEquals()
3141 __ Cmp(left_length, right_length); in GenerateFlatOneByteStringEquals()