Home
last modified time | relevance | path

Searched refs:kInitialCapacity (Results 1 – 21 of 21) sorted by relevance

/third_party/node/deps/v8/src/compiler/
Dvalue-numbering-reducer.cc35 capacity_ = kInitialCapacity; in Reduce()
36 entries_ = temp_zone()->NewArray<Node*>(kInitialCapacity); in Reduce()
37 memset(entries_, 0, sizeof(*entries_) * kInitialCapacity); in Reduce()
38 entries_[hash & (kInitialCapacity - 1)] = node; in Reduce()
Dvalue-numbering-reducer.h27 enum { kInitialCapacity = 256u }; in NON_EXPORTED_BASE() enumerator
Djs-create-lowering.cc1365 NameDictionary::ComputeCapacity(NameDictionary::kInitialCapacity); in ReduceJSCreateObject()
/third_party/node/deps/v8/src/strings/
Dstring-stream.h144 capacity_(kInitialCapacity), in allocator_()
146 buffer_(allocator_->allocate(kInitialCapacity)) { in allocator_()
200 static const int kInitialCapacity = 16; variable
/third_party/node/deps/v8/src/objects/
Dswiss-name-dictionary.cc192 int new_capacity = std::max(capacity / 2, kInitialCapacity); in Shrink()
315 constexpr int SwissNameDictionary::kInitialCapacity; member in v8::internal::SwissNameDictionary
Dswiss-name-dictionary-inl.h74 return capacity == 0 || (capacity >= kInitialCapacity && in IsValidCapacity()
347 int new_capacity = capacity == 0 ? kInitialCapacity : capacity * 2; in EnsureGrowable()
Dswiss-name-dictionary.h217 static constexpr int kInitialCapacity = kSwissNameDictionaryInitialCapacity; variable
Ddictionary.h195 static const int kInitialCapacity = 2; in EXTERN_DECLARE_BASE_NAME_DICTIONARY() local
Dordered-hash-table.cc28 base::bits::RoundUpToPowerOfTwo32(std::max({kInitialCapacity, capacity})); in Allocate()
79 new_capacity = kInitialCapacity; in EnsureGrowable()
113 Allocate(isolate, kInitialCapacity, allocation_type).ToHandleChecked(); in Clear()
Dordered-hash-table.h148 static const int kInitialCapacity = 4; variable
Djs-objects.cc2313 ? SwissNameDictionary::kInitialCapacity in New()
2314 : NameDictionary::kInitialCapacity; in New()
3207 ? SwissNameDictionary::kInitialCapacity in MigrateFastToSlow()
3208 : NameDictionary::kInitialCapacity; in MigrateFastToSlow()
/third_party/node/deps/v8/src/parsing/
Dliteral-buffer.h76 static const int kInitialCapacity = 16;
Dliteral-buffer.cc34 int min_capacity = std::max({kInitialCapacity, backing_store_.length()}); in ExpandBuffer()
/third_party/node/deps/v8/src/builtins/
Dregexp-replace.tq87 const kInitialCapacity: intptr = 16;
93 kInitialCapacity, kInitialLength));
Dbuiltins-constructor-gen.cc330 AllocateSwissNameDictionary(SwissNameDictionary::kInitialCapacity); in FastNewObject()
332 properties = AllocateNameDictionary(NameDictionary::kInitialCapacity); in FastNewObject()
Dbuiltins-object-gen.cc1112 AllocateSwissNameDictionary(SwissNameDictionary::kInitialCapacity); in TF_BUILTIN()
1115 AllocateNameDictionary(NameDictionary::kInitialCapacity); in TF_BUILTIN()
Dbase.tq495 constexpr int32 generates 'NameDictionary::kInitialCapacity';
497 constexpr int32 generates 'SwissNameDictionary::kInitialCapacity';
/third_party/node/deps/v8/src/heap/
Dfactory.h160 int capacity = OrderedNameDictionary::kInitialCapacity);
533 int number_of_slow_properties = NameDictionary::kInitialCapacity,
540 int number_of_slow_properties = NameDictionary::kInitialCapacity,
Dfactory.cc591 return OrderedHashSet::Allocate(isolate(), OrderedHashSet::kInitialCapacity, in NewOrderedHashSet()
597 return OrderedHashMap::Allocate(isolate(), OrderedHashMap::kInitialCapacity, in NewOrderedHashMap()
/third_party/node/deps/v8/src/codegen/
Dcode-stub-assembler.cc3702 IntPtrMax(capacity, IntPtrConstant(CollectionType::kInitialCapacity)); in AllocateOrderedHashTable()
3712 capacity, IntPtrConstant(CollectionType::kInitialCapacity))); in AllocateOrderedHashTableWithCapacity()
3754 const_capacity == CollectionType::kInitialCapacity) { in AllocateOrderedHashTableWithCapacity()
3833 IntPtrConstant(OrderedHashSet::kInitialCapacity)); in AllocateOrderedHashSet()
3838 IntPtrConstant(OrderedHashMap::kInitialCapacity)); in AllocateOrderedHashMap()
15454 IntPtrMax(IntPtrConstant(SwissNameDictionary::kInitialCapacity), in AllocateSwissNameDictionary()
15472 IntPtrConstant(SwissNameDictionary::kInitialCapacity))); in AllocateSwissNameDictionaryWithCapacity()
15552 STATIC_ASSERT(SwissNameDictionary::kInitialCapacity % 4 == 0); in AllocateSwissNameDictionaryWithCapacity()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp97844 static const size_t kInitialCapacity = 4096; member in JSStructuredCloneData
97864 : BufferList(kInitialSize, kInitialCapacity, kStandardCapacity, aAP) in JSStructuredCloneData()