Home
last modified time | relevance | path

Searched defs:new_capacity (Results 1 – 25 of 36) sorted by relevance

12

/third_party/boost/libs/container/test/
Dsmall_vector_options_test.cpp61 std::size_t new_capacity = v.capacity(); in test_growth_factor_50() local
80 std::size_t new_capacity = v.capacity(); in test_growth_factor_60() local
99 std::size_t new_capacity = v.capacity(); in test_growth_factor_100() local
Dvector_options_test.cpp71 std::size_t new_capacity = v.capacity(); in test_growth_factor_50() local
90 std::size_t new_capacity = v.capacity(); in test_growth_factor_60() local
109 std::size_t new_capacity = v.capacity(); in test_growth_factor_100() local
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dinlined_vector.h526 size_type new_capacity = ComputeCapacity(GetInlinedCapacity(), n); in InitFrom() local
553 size_type new_capacity = ComputeCapacity(GetInlinedCapacity(), new_size); variable
582 size_type new_capacity = ComputeCapacity(storage_view.capacity, new_size); variable
636 size_type new_capacity = ComputeCapacity(storage_view.capacity, new_size); variable
674 size_type new_capacity = ComputeCapacity(storage_view.capacity, new_size); variable
772 size_type new_capacity = NextCapacity(storage_view.capacity); variable
836 size_type new_capacity = variable
868 size_type new_capacity = storage_view.size; variable
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-collection.c136 const uint32_t new_capacity = collection_p->capacity + ECMA_COLLECTION_GROW_FACTOR; in ecma_collection_push_back() local
157 const uint32_t new_capacity = collection_p->capacity + count; in ecma_collection_reserve() local
/third_party/abseil-cpp/absl/container/internal/
Dinlined_vector.h482 size_type new_capacity = ComputeCapacity(GetInlinedCapacity(), new_size); variable
511 size_type new_capacity = ComputeCapacity(storage_view.capacity, new_size); variable
557 size_type new_capacity = ComputeCapacity(storage_view.capacity, new_size); variable
609 size_type new_capacity = ComputeCapacity(storage_view.capacity, new_size); variable
695 size_type new_capacity = NextCapacity(storage_view.capacity); variable
765 size_type new_capacity = variable
797 size_type new_capacity = storage_view.size; variable
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_cs.c100 uint32_t new_capacity = MAX2(4, 2 * cs->bo_capacity); in tu_cs_add_bo() local
148 uint32_t new_capacity = MAX2(4, cs->entry_capacity * 2); in tu_cs_reserve_entry() local
/third_party/boost/tools/build/src/engine/
Dstrings.cpp105 size_t new_capacity = self->capacity; in extend_full() local
120 size_t new_capacity = capacity; in maybe_reserve() local
Djam_strings.cpp108 size_t new_capacity = capacity; in maybe_reserve() local
/third_party/gn/src/base/containers/
Dcircular_deque.h584 void reserve(size_type new_capacity) { in reserve()
939 void SetCapacityTo(size_t new_capacity) { in SetCapacityTo()
957 size_t new_capacity = in ExpandCapacityIfNecessary() local
975 size_t new_capacity = in ShrinkCapacityIfNecessary() local
/third_party/mesa3d/src/util/
Dstring_buffer.c34 uint32_t new_capacity = str->capacity * 2; in ensure_capacity() local
/third_party/boost/boost/asio/detail/
Dwin_fd_set_adapter.hpp121 u_int new_capacity = capacity_ + capacity_ / 2; in reserve() local
/third_party/boost/libs/asio/include/boost/asio/detail/
Dwin_fd_set_adapter.hpp121 u_int new_capacity = capacity_ + capacity_ / 2; in reserve() local
/third_party/boost/boost/circular_buffer/
Dbase.hpp876 void set_capacity(capacity_type new_capacity) { in set_capacity()
952 void rset_capacity(capacity_type new_capacity) { in rset_capacity()
2627 void reset(pointer buff, pointer last, capacity_type new_capacity) { in reset()
2684 void assign(capacity_type new_capacity, IntegralType n, IntegralType item, const true_type&) { in assign()
2690 void assign(capacity_type new_capacity, Iterator first, Iterator last, const false_type&) { in assign()
2701 …void assign(capacity_type new_capacity, InputIterator first, InputIterator last, const std::input_… in assign()
2713 void assign(capacity_type new_capacity, ForwardIterator first, ForwardIterator last, in assign()
2727 void assign_n(capacity_type new_capacity, size_type n, const Functor& fnc) { in assign_n()
Dspace_optimized.hpp1534 size_type ensure_reserve(size_type new_capacity, size_type buffer_size) const { in ensure_reserve()
1545 size_type new_capacity = circular_buffer<T, Alloc>::capacity(); in check_low_capacity() local
1560 size_type new_capacity = circular_buffer<T, Alloc>::capacity(); in check_high_capacity() local
/third_party/boost/libs/compute/include/boost/compute/utility/
Dwait_list.hpp141 void reserve(size_t new_capacity) { in reserve()
/third_party/boost/boost/compute/utility/
Dwait_list.hpp141 void reserve(size_t new_capacity) { in reserve()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceAssembler.cpp117 intptr_t new_capacity = std::min(old_capacity * 2, old_capacity + OneMB); in extendCapacity() local
/third_party/boost/boost/signals2/detail/
Dauto_buffer.hpp91 static SizeType new_capacity( SizeType capacity ) in new_capacity() function
293 pointer move_to_new_buffer( size_type new_capacity, const boost::false_type& ) in move_to_new_buffer()
305 pointer move_to_new_buffer( size_type new_capacity, const boost::true_type& ) in move_to_new_buffer()
312 void reserve_impl( size_type new_capacity ) in reserve_impl()
325 size_type new_capacity = GrowPolicy::new_capacity( members_.capacity_ ); in new_capacity_impl() local
/third_party/node/src/
Daliased_buffer.h218 void reserve(size_t new_capacity) { in reserve()
/third_party/protobuf/src/google/protobuf/stubs/
Dbytestream.cc124 size_t new_capacity = std::max(capacity_ + amount, (3 * capacity_) / 2); in Expand() local
/third_party/boost/boost/ptr_container/
Dptr_circular_buffer.hpp171 void set_capacity( capacity_type new_capacity ) // strong in set_capacity()
180 void rset_capacity( capacity_type new_capacity ) // strong in rset_capacity()
/third_party/grpc/src/core/lib/slice/
Dslice_buffer.cc48 const size_t new_capacity = GROW(sb->capacity); in do_embiggen() local
/third_party/libuv/src/win/
Dcore.c95 int new_capacity, i; in uv__loops_add() local
/third_party/selinux/libsepol/src/
Doptimize.c59 unsigned int new_capacity = v->capacity * 2; in type_vec_append() local
/third_party/libphonenumber/cpp/src/phonenumbers/utf/
Dunicodetext.cc109 void UnicodeText::Repr::reserve(int new_capacity) { in reserve()

12