/external/vixl/test/ |
test-code-buffer.cc | 86 const size_t initial_capacity = 1234; local 87 CodeBuffer buffer(initial_capacity); 90 for (size_t space = 0; space < initial_capacity; space++) { 92 VIXL_CHECK(buffer.GetCapacity() == initial_capacity); 96 buffer.EnsureSpaceFor(initial_capacity + 1); 97 VIXL_CHECK(buffer.GetCapacity() > initial_capacity);
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
stream_map.cc | 29 size_t initial_capacity) { 30 GPR_ASSERT(initial_capacity > 1); 32 static_cast<uint32_t*>(gpr_malloc(sizeof(uint32_t) * initial_capacity)); 34 static_cast<void**>(gpr_malloc(sizeof(void*) * initial_capacity)); 37 map->capacity = initial_capacity;
|
stream_map.h | 41 size_t initial_capacity);
|
/external/mesa3d/src/util/ |
string_buffer.c | 47 _mesa_string_buffer_create(void *mem_ctx, uint32_t initial_capacity) 56 str->capacity = initial_capacity ? initial_capacity : 32;
|
string_buffer.h | 45 _mesa_string_buffer_create(void *mem_ctx, uint32_t initial_capacity);
|
/device/generic/goldfish-opengl/android-emu/android/base/ |
address_space.h | 298 int initial_capacity) 300 address_space_assert(initial_capacity >= 1); 304 address_space_malloc0(sizeof(struct address_block) * initial_capacity); 314 allocator->capacity = initial_capacity;
|
/external/v8/src/ |
collector.h | 28 explicit Collector(int initial_capacity = kMinCapacity) 30 current_chunk_ = Vector<T>::New(initial_capacity); 183 explicit SequenceCollector(int initial_capacity) 184 : Collector<T, growth_factor, max_growth>(initial_capacity),
|
string-builder.cc | 105 FixedArrayBuilder::FixedArrayBuilder(Isolate* isolate, int initial_capacity) 106 : array_(isolate->factory()->NewFixedArrayWithHoles(initial_capacity)), 111 DCHECK_GT(initial_capacity, 0);
|
string-builder-inl.h | 40 explicit FixedArrayBuilder(Isolate* isolate, int initial_capacity);
|
/external/perfetto/include/perfetto/base/ |
circular_queue.h | 170 CircularQueue(size_t initial_capacity = 1024) { Grow(initial_capacity); }
|
/external/boringssl/src/crypto/bytestring/ |
cbb.c | 51 int CBB_init(CBB *cbb, size_t initial_capacity) { 54 uint8_t *buf = OPENSSL_malloc(initial_capacity); 55 if (initial_capacity > 0 && buf == NULL) { 59 if (!cbb_init(cbb, buf, initial_capacity)) {
|
/art/runtime/jit/ |
jit_code_cache.cc | 384 size_t initial_capacity = Runtime::Current()->GetJITOptions()->GetCodeCacheInitialCapacity(); local 389 jit_code_cache->InitializeState(initial_capacity, max_capacity); 403 << PrettySize(initial_capacity) 432 void JitCodeCache::InitializeState(size_t initial_capacity, size_t max_capacity) { 433 CHECK_GE(max_capacity, initial_capacity); 436 initial_capacity = RoundDown(initial_capacity, 2 * kPageSize); 448 initial_capacity_ = initial_capacity; 450 current_capacity_ = initial_capacity, 451 data_end_ = initial_capacity / kCodeAndDataCapacityDivider 2255 size_t initial_capacity = Runtime::Current()->GetJITOptions()->GetCodeCacheInitialCapacity(); local [all...] |
jit_code_cache.h | 285 void InitializeState(size_t initial_capacity, size_t max_capacity) REQUIRES(lock_);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_common.h | 500 void Initialize(uptr initial_capacity) { 501 capacity_ = Max(initial_capacity, (uptr)1); 582 explicit InternalMmapVector(uptr initial_capacity) { 583 InternalMmapVectorNoCtor<T>::Initialize(initial_capacity);
|
/external/v8/src/base/ |
hashmap.h | 37 // initial_capacity is the size of the initial hash map; 133 TemplateHashMapImpl(uint32_t initial_capacity, MatchFun match, 136 Initialize(initial_capacity, allocator);
|
/external/boringssl/src/include/openssl/ |
bytestring.h | 359 // CBB_init initialises |cbb| with |initial_capacity|. Since a |CBB| grows as 360 // needed, the |initial_capacity| is just a hint. It returns one on success or 362 OPENSSL_EXPORT int CBB_init(CBB *cbb, size_t initial_capacity);
|
/external/v8/src/heap/ |
spaces.cc | [all...] |
spaces.h | [all...] |