Searched refs:right_length (Results 1 – 5 of 5) sorted by relevance
/external/v8/test/cctest/ |
D | test-strings.cc | 322 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/ |
D | factory.cc | 516 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/ |
D | hydrogen.cc | 2410 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()
|
D | hydrogen.h | 1441 HValue* BuildAddStringLengths(HValue* left_length, HValue* right_length);
|
/external/v8/src/arm64/ |
D | code-stubs-arm64.cc | 3134 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()
|