Searched refs:old_capacity (Results 1 – 6 of 6) sorted by relevance
1714 intptr_t old_capacity, new_capacity; in TEST() local1715 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 …]
874 uint32_t old_capacity = backing_store->length(); in SetLengthWithoutNormalize() local887 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()
1908 static int NewElementsCapacity(int old_capacity) { in NewElementsCapacity() argument1910 return old_capacity + (old_capacity >> 1) + 16; in NewElementsCapacity()
1732 HValue* BuildNewElementsCapacity(HValue* old_capacity);
4471 int old_capacity = 0; in NormalizeElements() local4473 object->GetElementsCapacityAndUsage(&old_capacity, &used_elements); in NormalizeElements()12964 int old_capacity = 0; in ShouldConvertToSlowElements() local12966 GetElementsCapacityAndUsage(&old_capacity, &used_elements); in ShouldConvertToSlowElements()
2731 HValue* HGraphBuilder::BuildNewElementsCapacity(HValue* old_capacity) { in BuildNewElementsCapacity() argument2732 HValue* half_old_capacity = AddUncasted<HShr>(old_capacity, in BuildNewElementsCapacity()2735 HValue* new_capacity = AddUncasted<HAdd>(half_old_capacity, old_capacity); in BuildNewElementsCapacity()