Searched defs:initial_capacity (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/sdch/open-vcdiff/src/
H A Doutput_string_test.cc58 const size_t initial_capacity = string_.capacity(); local
60 EXPECT_EQ(initial_capacity, string_.capacity());
62 EXPECT_LE(initial_capacity + 1, string_.capacity());
/external/chromium_org/third_party/boringssl/src/crypto/bytestring/
H A Dcbb.c42 int CBB_init(CBB *cbb, size_t initial_capacity) { argument
45 buf = OPENSSL_malloc(initial_capacity);
46 if (initial_capacity > 0 && buf == NULL) {
50 return cbb_init(cbb, buf, initial_capacity);
/external/chromium_org/v8/src/
H A Dhashmap.h26 // initial_capacity is the size of the initial hash map;
100 MatchFun match, uint32_t initial_capacity, AllocationPolicy allocator) {
102 Initialize(initial_capacity, allocator);
99 TemplateHashMapImpl( MatchFun match, uint32_t initial_capacity, AllocationPolicy allocator) argument
H A Dutils.h470 explicit Collector(int initial_capacity = kMinCapacity)
472 current_chunk_ = Vector<T>::New(initial_capacity);
622 explicit SequenceCollector(int initial_capacity) argument
623 : Collector<T, growth_factor, max_growth>(initial_capacity),
H A Druntime.cc3186 explicit FixedArrayBuilder(Isolate* isolate, int initial_capacity) argument
3187 : array_(isolate->factory()->NewFixedArrayWithHoles(initial_capacity)),
3192 DCHECK(initial_capacity > 0);
6807 int initial_capacity = Min<uint32_t>(kMaxInitialListCapacity, limit);
6808 ZoneList<int> indices(initial_capacity, zone_scope.zone());
H A Dhydrogen.h1780 int initial_capacity() { function in class:v8::internal::HGraphBuilder::FINAL
H A Dhydrogen.cc2538 const int initial_capacity = JSArray::kPreallocatedArrayElements; local
2539 HConstant* initial_capacity_node = Add<HConstant>(initial_capacity);
2782 int initial_capacity = -1; local
2788 initial_capacity = constant_to;
2798 if (initial_capacity >= 0) {
2799 for (int i = 0; i < initial_capacity; i++) {
3214 HConstant* capacity = builder()->Add<HConstant>(initial_capacity());
/external/stlport/src/
H A Dstrstream.cpp34 strstreambuf::strstreambuf(streamsize initial_capacity) argument
38 (max)(initial_capacity, streamsize(16))))
39 : __STATIC_CAST(size_t, (max)(initial_capacity, streamsize(16)));
/external/chromium_org/media/filters/
H A Daudio_renderer_impl_unittest.cc494 OutputFrames initial_capacity = buffer_capacity(); local
499 EXPECT_GT(buffer_capacity().value, initial_capacity.value);
501 // Verify that the buffer capacity is restored to the |initial_capacity|.
503 EXPECT_EQ(buffer_capacity().value, initial_capacity.value);
/external/chromium_org/v8/src/heap/
H A Dspaces.cc1460 void SemiSpace::SetUp(Address start, int initial_capacity, argument
1469 initial_total_capacity_ = RoundDown(initial_capacity, Page::kPageSize);
1470 total_capacity_ = initial_capacity;

Completed in 3390 milliseconds