/third_party/node/deps/v8/src/objects/ |
H A D | swiss-name-dictionary-inl.h | 112 // 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 D | hash-table-inl.h | 116 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 D | string-table.cc | 49 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 D | hash-table.h | 94 static inline int ComputeCapacity(int at_least_space_for); 134 IsolateT* isolate, int at_least_space_for,
|
H A D | swiss-name-dictionary.h | 186 inline static int CapacityFor(int at_least_space_for);
|
H A D | dictionary.h | 149 IsolateT* isolate, int at_least_space_for,
|
H A D | objects.cc | 5702 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 D | builtins-collections-gen.h | 85 Variant variant, TNode<IntPtrT> at_least_space_for) = 0; 158 TNode<IntPtrT> at_least_space_for) override;
|
H A D | builtins-collections-gen.cc | 52 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 D | factory-base.h | 261 int at_least_space_for = kSwissNameDictionaryInitialCapacity,
|
H A D | factory-base.cc | 1026 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 D | factory.cc | 608 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 D | factory.h | 154 // |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 D | runtime-object.cc | 1540 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 D | code-stub-assembler.h | 1917 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 D | code-stub-assembler.cc | 3611 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...] |