Home
last modified time | relevance | path

Searched refs:at_least_space_for (Results 1 - 16 of 16) sorted by relevance

/third_party/node/deps/v8/src/objects/
H A Dswiss-name-dictionary-inl.h112 // Returns |at_least_space_for| * 8/7 for non-special cases. Similar to Abseil's
115 int SwissNameDictionary::CapacityFor(int at_least_space_for) { in CapacityFor() argument
116 if (at_least_space_for <= 4) { in CapacityFor()
117 if (at_least_space_for == 0) { in CapacityFor()
119 } else if (at_least_space_for < 4) { in CapacityFor()
122 DCHECK_EQ(4, at_least_space_for); in CapacityFor()
125 DCHECK_EQ(4, at_least_space_for); in CapacityFor()
130 int non_normalized = at_least_space_for + at_least_space_for / 7; in CapacityFor()
H A Dhash-table-inl.h116 int HashTableBase::ComputeCapacity(int at_least_space_for) { in ComputeCapacity() argument
120 int raw_cap = at_least_space_for + (at_least_space_for >> 1); in ComputeCapacity()
H A Dstring-table.cc49 int ComputeStringTableCapacity(int at_least_space_for) { in ComputeStringTableCapacity() argument
52 int raw_capacity = at_least_space_for + (at_least_space_for >> 1); in ComputeStringTableCapacity()
H A Dhash-table.h94 static inline int ComputeCapacity(int at_least_space_for);
134 IsolateT* isolate, int at_least_space_for,
H A Dswiss-name-dictionary.h186 inline static int CapacityFor(int at_least_space_for);
H A Ddictionary.h149 IsolateT* isolate, int at_least_space_for,
H A Dobjects.cc5702 IsolateT* isolate, int at_least_space_for, AllocationType allocation, in New()
5704 DCHECK_LE(0, at_least_space_for); in New()
5706 base::bits::IsPowerOfTwo(at_least_space_for)); in New()
5709 ? at_least_space_for in New()
5710 : ComputeCapacity(at_least_space_for); in New()
6024 IsolateT* isolate, int at_least_space_for, AllocationType allocation, in New()
6026 DCHECK_LE(0, at_least_space_for); in New()
6028 isolate, at_least_space_for, allocation, capacity_option); in New()
5701 New( IsolateT* isolate, int at_least_space_for, AllocationType allocation, MinimumCapacity capacity_option) New() argument
6023 New( IsolateT* isolate, int at_least_space_for, AllocationType allocation, MinimumCapacity capacity_option) New() argument
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-collections-gen.h85 Variant variant, TNode<IntPtrT> at_least_space_for) = 0;
158 TNode<IntPtrT> at_least_space_for) override;
H A Dbuiltins-collections-gen.cc52 TNode<IntPtrT> at_least_space_for = in AddConstructorEntries() local
59 TNode<HeapObject> table = AllocateTable(variant, at_least_space_for); in AddConstructorEntries()
505 TNode<IntPtrT> at_least_space_for) override;
738 Variant variant, TNode<IntPtrT> at_least_space_for) {
2352 Variant variant, TNode<IntPtrT> at_least_space_for) {
2355 IntPtrLessThanOrEqual(IntPtrConstant(0), at_least_space_for));
2356 TNode<IntPtrT> capacity = HashTableComputeCapacity(at_least_space_for);
/third_party/node/deps/v8/src/heap/
H A Dfactory-base.h261 int at_least_space_for = kSwissNameDictionaryInitialCapacity,
H A Dfactory-base.cc1026 int at_least_space_for, AllocationType allocation) { in NewSwissNameDictionary()
1028 SwissNameDictionary::CapacityFor(at_least_space_for), allocation); in NewSwissNameDictionary()
1025 NewSwissNameDictionary( int at_least_space_for, AllocationType allocation) NewSwissNameDictionary() argument
H A Dfactory.cc608 Handle<NameDictionary> Factory::NewNameDictionary(int at_least_space_for) { in NewNameDictionary() argument
609 return NameDictionary::New(isolate(), at_least_space_for); in NewNameDictionary()
2466 int at_least_space_for = map->NumberOfOwnDescriptors() * 2 + initial_size; in NewJSGlobalObject() local
2468 GlobalDictionary::New(isolate(), at_least_space_for); in NewJSGlobalObject()
H A Dfactory.h154 // |at_least_space_for| entries can be added without reallocating.
155 Handle<NameDictionary> NewNameDictionary(int at_least_space_for);
/third_party/node/deps/v8/src/runtime/
H A Druntime-object.cc1540 int at_least_space_for = args.smi_value_at(0); in RUNTIME_FUNCTION() local
1542 return *isolate->factory()->NewSwissNameDictionary(at_least_space_for, in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/codegen/
H A Dcode-stub-assembler.h1917 TNode<NameDictionary> AllocateNameDictionary(int at_least_space_for);
1919 TNode<IntPtrT> at_least_space_for,
3072 TNode<IntPtrT> HashTableComputeCapacity(TNode<IntPtrT> at_least_space_for);
4047 TNode<IntPtrT> at_least_space_for);
4049 int at_least_space_for);
H A Dcode-stub-assembler.cc3611 int at_least_space_for) {
3612 return AllocateNameDictionary(IntPtrConstant(at_least_space_for));
3616 TNode<IntPtrT> at_least_space_for, AllocationFlags flags) {
3618 at_least_space_for,
3620 TNode<IntPtrT> capacity = HashTableComputeCapacity(at_least_space_for);
8443 TNode<IntPtrT> at_least_space_for) {
8445 IntPtrAdd(at_least_space_for, WordShr(at_least_space_for, 1)));
15449 TNode<IntPtrT> at_least_space_for) {
15451 // (non-zero) capacity even if |at_least_space_for| i
[all...]

Completed in 53 milliseconds