Home
last modified time | relevance | path

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

/external/chromium_org/v8/test/cctest/
Dtest-strings.cc319 int left_length = cons_string->first()->length(); in AccumulateStats() local
321 CHECK(cons_string->length() == left_length + right_length); in AccumulateStats()
328 CHECK_NE(left_length, 0); in AccumulateStats()
330 stats->chars_ += left_length; in AccumulateStats()
/external/chromium_org/v8/src/
Dfactory.cc473 int left_length = left->length(); in NewConsString() local
474 if (left_length == 0) return right; in NewConsString()
478 int length = left_length + right_length; in NewConsString()
525 for (int i = 0; i < left_length; i++) *dest++ = src[i]; in NewConsString()
Dhydrogen.cc2050 HValue* HGraphBuilder::BuildAddStringLengths(HValue* left_length, in BuildAddStringLengths() argument
2053 HValue* length = AddUncasted<HAdd>(left_length, right_length); in BuildAddStringLengths()
2185 HValue* left_length = AddLoadStringLength(left); in BuildUncheckedStringAdd() local
2189 HValue* length = BuildAddStringLengths(left_length, right_length); in BuildUncheckedStringAdd()
2192 if (left_length->IsConstant()) { in BuildUncheckedStringAdd()
2193 HConstant* c_left_length = HConstant::cast(left_length); in BuildUncheckedStringAdd()
2302 left_length); in BuildUncheckedStringAdd()
2307 result, left_length, String::TWO_BYTE_ENCODING, in BuildUncheckedStringAdd()
2316 left_length); in BuildUncheckedStringAdd()
2321 result, left_length, String::ONE_BYTE_ENCODING, in BuildUncheckedStringAdd()
[all …]
Dhydrogen.h1390 HValue* BuildAddStringLengths(HValue* left_length, HValue* right_length);
/external/chromium_org/v8/src/arm64/
Dcode-stubs-arm64.cc3800 Register left_length = scratch1; in GenerateFlatOneByteStringEquals() local
3806 __ Ldr(left_length, FieldMemOperand(left, String::kLengthOffset)); in GenerateFlatOneByteStringEquals()
3808 __ Cmp(left_length, right_length); in GenerateFlatOneByteStringEquals()
3819 __ Cbnz(left_length, &compare_chars); in GenerateFlatOneByteStringEquals()
3825 GenerateOneByteCharsCompareLoop(masm, left, right, left_length, scratch2, in GenerateFlatOneByteStringEquals()