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 | 520 int right_length = right->length(); in NewConsString() local 521 if (right_length == 0) return left; in NewConsString() 523 int length = left_length + right_length; in NewConsString() 575 for (int i = 0; i < right_length; i++) *dest++ = src[i]; in NewConsString()
|
/external/v8/src/crankshaft/ |
D | hydrogen.cc | 2177 HValue* right_length) { in BuildAddStringLengths() argument 2179 HValue* length = AddUncasted<HAdd>(left_length, right_length); in BuildAddStringLengths() 2312 HValue* right_length = AddLoadStringLength(right); in BuildUncheckedStringAdd() local 2315 HValue* length = BuildAddStringLengths(left_length, right_length); in BuildUncheckedStringAdd() 2325 } else if (right_length->IsConstant()) { in BuildUncheckedStringAdd() 2326 HConstant* c_right_length = HConstant::cast(right_length); in BuildUncheckedStringAdd() 2437 left_length, String::TWO_BYTE_ENCODING, right_length); in BuildUncheckedStringAdd() 2449 left_length, String::ONE_BYTE_ENCODING, right_length); in BuildUncheckedStringAdd() 2490 HValue* right_length = AddLoadStringLength(right); in BuildStringAdd() local 2509 right_length, graph()->GetConstant0(), Token::EQ); in BuildStringAdd()
|
D | hydrogen.h | 1368 HValue* BuildAddStringLengths(HValue* left_length, HValue* right_length);
|
/external/v8/src/arm64/ |
D | code-stubs-arm64.cc | 3868 Register right_length = scratch2; in GenerateFlatOneByteStringEquals() local 3874 __ Ldr(right_length, FieldMemOperand(right, String::kLengthOffset)); in GenerateFlatOneByteStringEquals() 3875 __ Cmp(left_length, right_length); in GenerateFlatOneByteStringEquals()
|