Searched refs:initial_capacity (Results 1 – 11 of 11) sorted by relevance
/external/boringssl/src/crypto/bytestring/ |
D | cbb.c | 46 int CBB_init(CBB *cbb, size_t initial_capacity) { in CBB_init() argument 49 uint8_t *buf = OPENSSL_malloc(initial_capacity); in CBB_init() 50 if (initial_capacity > 0 && buf == NULL) { in CBB_init() 54 if (!cbb_init(cbb, buf, initial_capacity)) { in CBB_init()
|
/external/v8/src/ |
D | string-builder.h | 119 explicit FixedArrayBuilder(Isolate* isolate, int initial_capacity) in FixedArrayBuilder() argument 120 : array_(isolate->factory()->NewFixedArrayWithHoles(initial_capacity)), in FixedArrayBuilder() 125 DCHECK(initial_capacity > 0); in FixedArrayBuilder()
|
D | hashmap.h | 102 MatchFun match, uint32_t initial_capacity, AllocationPolicy allocator) { in TemplateHashMapImpl() argument 104 Initialize(initial_capacity, allocator); in TemplateHashMapImpl()
|
D | utils.h | 564 explicit Collector(int initial_capacity = kMinCapacity) 566 current_chunk_ = Vector<T>::New(initial_capacity); 723 explicit SequenceCollector(int initial_capacity) 724 : Collector<T, growth_factor, max_growth>(initial_capacity),
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common.h | 477 void Initialize(uptr initial_capacity) { in Initialize() argument 478 capacity_ = Max(initial_capacity, (uptr)1); in Initialize() 546 explicit InternalMmapVector(uptr initial_capacity) { in InternalMmapVector() argument 547 InternalMmapVectorNoCtor<T>::Initialize(initial_capacity); in InternalMmapVector()
|
/external/boringssl/src/include/openssl/ |
D | bytestring.h | 264 OPENSSL_EXPORT int CBB_init(CBB *cbb, size_t initial_capacity);
|
/external/v8/src/runtime/ |
D | runtime-regexp.cc | 722 int initial_capacity = Min<uint32_t>(kMaxInitialListCapacity, limit); in RUNTIME_FUNCTION() local 723 ZoneList<int> indices(initial_capacity, zone_scope.zone()); in RUNTIME_FUNCTION()
|
/external/v8/src/heap/ |
D | spaces.cc | 1774 void SemiSpace::SetUp(Address start, int initial_capacity, int target_capacity, in AllocateChunk() argument 1783 DCHECK(initial_capacity <= target_capacity); in AllocateChunk() 1785 initial_total_capacity_ = RoundDown(initial_capacity, Page::kPageSize); in AllocateChunk() 1786 total_capacity_ = initial_capacity; in AllocateChunk()
|
D | spaces.h | 2368 void SetUp(Address start, int initial_capacity, int target_capacity,
|
/external/v8/src/crankshaft/ |
D | hydrogen.cc | 2673 const int initial_capacity = JSArray::kPreallocatedArrayElements; in BuildAllocateArrayFromLength() local 2674 HConstant* initial_capacity_node = Add<HConstant>(initial_capacity); in BuildAllocateArrayFromLength() 2911 int initial_capacity = -1; in BuildFillElementsWithValue() local 2917 initial_capacity = constant_to; in BuildFillElementsWithValue() 2921 if (initial_capacity >= 0) { in BuildFillElementsWithValue() 2922 for (int i = 0; i < initial_capacity; i++) { in BuildFillElementsWithValue() 3445 HConstant* capacity = builder()->Add<HConstant>(initial_capacity()); in AllocateEmptyArray()
|
D | hydrogen.h | 1755 int initial_capacity() { in initial_capacity() function
|