Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dcryptstring.h113 size_t old_capacity = capacity_; in EnsureStorage() local
124 if (old_capacity) { in EnsureStorage()
129 for (size_t i = 1; i < old_capacity; i++) { in EnsureStorage()
/external/v8/src/compiler/
Dvalue-numbering-reducer.cc136 size_t const old_capacity = capacity_; in Grow() local
144 for (size_t i = 0; i < old_capacity; ++i) { in Grow()
/external/v8/src/
Dlayout-descriptor.cc100 int old_capacity = layout_descriptor->capacity(); in EnsureCapacity() local
101 if (new_capacity <= old_capacity) { in EnsureCapacity()
Dobjects.h2252 static uint32_t NewElementsCapacity(uint32_t old_capacity) { in NewElementsCapacity() argument
2254 return old_capacity + (old_capacity >> 1) + 16; in NewElementsCapacity()
/external/v8/test/cctest/heap/
Dtest-heap.cc2337 intptr_t old_capacity, new_capacity; in TEST() local
2338 old_capacity = new_space->TotalCapacity(); in TEST()
2341 CHECK(2 * old_capacity == new_capacity); in TEST()
2343 old_capacity = new_space->TotalCapacity(); in TEST()
2346 CHECK(old_capacity == new_capacity); in TEST()
2349 old_capacity = new_space->TotalCapacity(); in TEST()
2352 CHECK(old_capacity == new_capacity); in TEST()
2356 CHECK_LE(new_space->Size(), old_capacity); in TEST()
2359 old_capacity = new_space->TotalCapacity(); in TEST()
2362 CHECK(old_capacity == 2 * new_capacity); in TEST()
[all …]
/external/v8/src/crankshaft/
Dhydrogen.h1779 HValue* BuildNewElementsCapacity(HValue* old_capacity);
Dhydrogen.cc3092 HValue* HGraphBuilder::BuildNewElementsCapacity(HValue* old_capacity) { in BuildNewElementsCapacity() argument
3093 HValue* half_old_capacity = AddUncasted<HShr>(old_capacity, in BuildNewElementsCapacity()
3096 HValue* new_capacity = AddUncasted<HAdd>(half_old_capacity, old_capacity); in BuildNewElementsCapacity()