Home
last modified time | relevance | path

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

12

/third_party/node/deps/v8/src/utils/
Ddetachable-vector.h57 size_t new_capacity = std::max(kMinimumCapacity, 2 * capacity_); in push_back() local
81 size_t new_capacity = std::max(size_, kMinimumCapacity); in shrink_to_fit() local
90 void Resize(size_t new_capacity) { in Resize()
Didentity-map.cc296 void IdentityMapBase::Resize(int new_capacity) { in Resize()
/third_party/node/deps/v8/src/builtins/
Dgrowable-fixed-array-gen.cc76 const TNode<IntPtrT> new_capacity = in NewCapacity() local
84 const TNode<IntPtrT> element_count, const TNode<IntPtrT> new_capacity) { in ResizeFixedArray()
/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/node/deps/v8/src/execution/
Dmicrotask-queue.cc104 intptr_t new_capacity = std::max(kMinimumCapacity, capacity_ << 1); in EnqueueMicrotask() local
217 intptr_t new_capacity = capacity_; in IterateMicrotasks() local
260 void MicrotaskQueue::ResizeBuffer(intptr_t new_capacity) { in ResizeBuffer()
/third_party/node/deps/v8/src/zone/
Dzone-list-inl.h58 int new_capacity = 1 + 2 * capacity_; in ResizeAddInternal() local
67 void ZoneList<T>::Resize(int new_capacity, Zone* zone) { in Resize()
/third_party/node/deps/v8/src/heap/
Dnew-spaces.cc176 bool SemiSpace::GrowTo(size_t new_capacity) { in GrowTo()
220 void SemiSpace::ShrinkTo(size_t new_capacity) { in ShrinkTo()
498 size_t new_capacity = std::min( in Grow() local
513 size_t new_capacity = std::max(InitialTotalCapacity(), 2 * Size()); in Shrink() local
/third_party/node/deps/v8/src/sandbox/
Dexternal-pointer-table.cc67 uint32_t new_capacity = old_capacity + kEntriesPerBlock; in Grow() local
/third_party/node/deps/v8/src/objects/
Dordered-hash-table.cc76 int new_capacity; in EnsureGrowable() local
251 IsolateT* isolate, Handle<Derived> table, int new_capacity) { in Rehash()
303 int new_capacity) { in Rehash()
319 int new_capacity) { in Rehash()
325 IsolateT* isolate, Handle<OrderedNameDictionary> table, int new_capacity) { in Rehash()
921 int new_capacity) { in Rehash()
957 Isolate* isolate, Handle<SmallOrderedHashSet> table, int new_capacity) { in Rehash()
963 Isolate* isolate, Handle<SmallOrderedHashMap> table, int new_capacity) { in Rehash()
970 int new_capacity) { in Rehash()
991 int new_capacity = capacity; in Grow() local
Dswiss-name-dictionary.cc43 IsolateT* isolate, Handle<SwissNameDictionary> table, int new_capacity) { in Rehash()
192 int new_capacity = std::max(capacity / 2, kInitialCapacity); in Shrink() local
Dstring-table.cc65 int new_capacity = ComputeStringTableCapacity(at_least_room_for); in ComputeStringTableCapacityWithShrink() local
601 int new_capacity = -1; in EnsureCapacity() local
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_cs.c117 uint32_t new_capacity = MAX2(4, 2 * cs->bo_capacity); in tu_cs_add_bo() local
161 uint32_t new_capacity = MAX2(4, cs->entry_capacity * 2); in tu_cs_reserve_entry() 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/vixl/src/
Dcode-buffer-vixl.cc178 void CodeBuffer::Grow(size_t new_capacity) { in Grow()
/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/node/src/
Daliased_buffer-inl.h180 void AliasedBufferBase<NativeT, V8T>::reserve(size_t new_capacity) { in reserve()
/third_party/node/deps/v8/src/base/
Dsmall-vector.h161 size_t new_capacity = in Grow() local
/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/node/deps/uv/src/win/
Dcore.c95 int new_capacity, i; in uv__loops_add() local
/third_party/libuv/src/win/
Dcore.c95 int new_capacity, i; in uv__loops_add() local
/third_party/selinux/libsepol/src/
Doptimize.c62 unsigned int new_capacity = v->capacity * 2; in type_vec_append() local
/third_party/node/deps/v8/src/strings/
Dstring-stream.cc43 unsigned new_capacity = capacity_; in Put() local
/third_party/libphonenumber/cpp/src/phonenumbers/utf/
Dunicodetext.cc109 void UnicodeText::Repr::reserve(int new_capacity) { in reserve()

12