Home
last modified time | relevance | path

Searched refs:old_capacity (Results 1 – 6 of 6) sorted by relevance

/external/v8/test/cctest/
Dtest-heap.cc1714 intptr_t old_capacity, new_capacity; in TEST() local
1715 old_capacity = new_space->TotalCapacity(); in TEST()
1718 CHECK(2 * old_capacity == new_capacity); in TEST()
1720 old_capacity = new_space->TotalCapacity(); in TEST()
1723 CHECK(old_capacity == new_capacity); in TEST()
1726 old_capacity = new_space->TotalCapacity(); in TEST()
1729 CHECK(old_capacity == new_capacity); in TEST()
1733 CHECK_LE(new_space->Size(), old_capacity); in TEST()
1736 old_capacity = new_space->TotalCapacity(); in TEST()
1739 CHECK(old_capacity == 2 * new_capacity); in TEST()
[all …]
/external/v8/src/
Delements.cc874 uint32_t old_capacity = backing_store->length(); in SetLengthWithoutNormalize() local
887 if (length <= old_capacity) { in SetLengthWithoutNormalize()
891 if (2 * length <= old_capacity) { in SetLengthWithoutNormalize()
897 *backing_store, old_capacity - length); in SetLengthWithoutNormalize()
910 uint32_t min = JSObject::NewElementsCapacity(old_capacity); in SetLengthWithoutNormalize()
Dobjects.h1908 static int NewElementsCapacity(int old_capacity) { in NewElementsCapacity() argument
1910 return old_capacity + (old_capacity >> 1) + 16; in NewElementsCapacity()
Dhydrogen.h1732 HValue* BuildNewElementsCapacity(HValue* old_capacity);
Dobjects.cc4471 int old_capacity = 0; in NormalizeElements() local
4473 object->GetElementsCapacityAndUsage(&old_capacity, &used_elements); in NormalizeElements()
12964 int old_capacity = 0; in ShouldConvertToSlowElements() local
12966 GetElementsCapacityAndUsage(&old_capacity, &used_elements); in ShouldConvertToSlowElements()
Dhydrogen.cc2731 HValue* HGraphBuilder::BuildNewElementsCapacity(HValue* old_capacity) { in BuildNewElementsCapacity() argument
2732 HValue* half_old_capacity = AddUncasted<HShr>(old_capacity, in BuildNewElementsCapacity()
2735 HValue* new_capacity = AddUncasted<HAdd>(half_old_capacity, old_capacity); in BuildNewElementsCapacity()