Searched refs:NumberOfElements (Results 1 – 9 of 9) sorted by relevance
/external/v8/test/cctest/ |
D | test-weakmaps.cc | 88 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()
|
D | test-dictionary.cc | 49 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()
|
D | test-api.cc | 16015 elements = map_cache->NumberOfElements(); in THREADED_TEST() 16023 CHECK_GT(elements, map_cache->NumberOfElements()); in THREADED_TEST()
|
/external/v8/src/ |
D | objects-debug.cc | 788 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()
|
D | objects.cc | 9820 *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 …]
|
D | objects.h | 2724 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()
|
D | mark-compact.cc | 2410 int existing_elements = map_cache->NumberOfElements(); in ProcessMapCaches()
|
D | runtime.cc | 9922 int result = SeededNumberDictionary::cast(elements)->NumberOfElements(); in RUNTIME_FUNCTION() 13269 ASSERT(StringDictionary::cast(dictionary)->NumberOfElements() == 0); in InitializeIntrinsicFunctionNames()
|
D | heap.cc | 435 symbol_table()->NumberOfElements()); in GarbageCollectionEpilogue()
|