Home
last modified time | relevance | path

Searched refs:NumberOfElements (Results 1 – 9 of 9) sorted by relevance

/external/v8/test/cctest/
Dtest-weakmaps.cc88 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
93 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
111 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
116 CHECK_EQ(0, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
144 CHECK_EQ(32, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
148 CHECK_EQ(0, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
Dtest-dictionary.cc49 CHECK_EQ(table->NumberOfElements(), 1); in TEST()
55 CHECK_EQ(table->NumberOfElements(), 1); in TEST()
61 CHECK_EQ(table->NumberOfElements(), 1); in TEST()
66 CHECK_EQ(table->NumberOfElements(), 0); in TEST()
76 CHECK_EQ(table->NumberOfElements(), i + 1); in TEST()
Dtest-api.cc16015 elements = map_cache->NumberOfElements(); in THREADED_TEST()
16023 CHECK_GT(elements, map_cache->NumberOfElements()); in THREADED_TEST()
/external/v8/src/
Dobjects-debug.cc788 info->number_of_slow_used_properties_ += dict->NumberOfElements(); in IncrementSpillStatistics()
790 dict->Capacity() - dict->NumberOfElements(); in IncrementSpillStatistics()
815 info->number_of_slow_used_elements_ += dict->NumberOfElements(); in IncrementSpillStatistics()
817 dict->Capacity() - dict->NumberOfElements(); in IncrementSpillStatistics()
Dobjects.cc9820 *used = dictionary->NumberOfElements(); in GetElementsCapacityAndUsage()
9836 *used = dictionary->NumberOfElements(); in GetElementsCapacityAndUsage()
10954 ASSERT(NumberOfElements() < new_table->Capacity()); in Rehash()
10980 new_table->SetNumberOfElements(NumberOfElements()); in Rehash()
10989 int nof = NumberOfElements() + n; in EnsureCapacity()
11015 int nof = NumberOfElements(); in Shrink()
11188 SeededNumberDictionary::Allocate(dict->NumberOfElements()); in PrepareSlowElementsForSort()
11292 heap->AllocateFixedArray(dict->NumberOfElements(), tenure); in PrepareElementsForSort()
11967 int length = HashTable<Shape, Key>::NumberOfElements(); in GenerateNewEnumerationIndices()
12344 if (NumberOfElements() > DescriptorArray::kMaxNumberOfDescriptors) return obj; in TransformPropertiesToFastFor()
[all …]
Dobjects.h2724 int NumberOfElements() { in NumberOfElements() function
2740 void ElementAdded() { SetNumberOfElements(NumberOfElements() + 1); } in ElementAdded()
2745 SetNumberOfElements(NumberOfElements() - 1); in ElementRemoved()
2749 SetNumberOfElements(NumberOfElements() - n); in ElementsRemoved()
Dmark-compact.cc2410 int existing_elements = map_cache->NumberOfElements(); in ProcessMapCaches()
Druntime.cc9922 int result = SeededNumberDictionary::cast(elements)->NumberOfElements(); in RUNTIME_FUNCTION()
13269 ASSERT(StringDictionary::cast(dictionary)->NumberOfElements() == 0); in InitializeIntrinsicFunctionNames()
Dheap.cc435 symbol_table()->NumberOfElements()); in GarbageCollectionEpilogue()