Searched refs:NumberOfElements (Results 1 – 15 of 15) sorted by relevance
/external/v8/src/runtime/ |
D | runtime-collections.cc | 238 if (max_entries == 0 || max_entries > table->NumberOfElements()) { in RUNTIME_FUNCTION() 239 max_entries = table->NumberOfElements(); in RUNTIME_FUNCTION() 244 if (max_entries > table->NumberOfElements()) { in RUNTIME_FUNCTION() 245 max_entries = table->NumberOfElements(); in RUNTIME_FUNCTION() 353 if (max_values == 0 || max_values > table->NumberOfElements()) { in RUNTIME_FUNCTION() 354 max_values = table->NumberOfElements(); in RUNTIME_FUNCTION() 358 if (max_values > table->NumberOfElements()) { in RUNTIME_FUNCTION() 359 max_values = table->NumberOfElements(); in RUNTIME_FUNCTION()
|
D | runtime.cc | 63 DCHECK(dict->NumberOfElements() == 0); in InitializeIntrinsicFunctionNames()
|
D | runtime-array.cc | 146 Handle<SeededNumberDictionary>::cast(elements)->NumberOfElements(); in RUNTIME_FUNCTION()
|
/external/v8/test/cctest/ |
D | test-weaksets.cc | 95 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST() 100 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST() 116 CHECK_EQ(0, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST() 149 CHECK_EQ(32, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST() 153 CHECK_EQ(0, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST()
|
D | test-dictionary.cc | 53 CHECK_EQ(table->NumberOfElements(), 1); in TestHashMap() 60 CHECK_EQ(table->NumberOfElements(), 1); in TestHashMap() 66 CHECK_EQ(table->NumberOfElements(), 1); in TestHashMap() 73 CHECK_EQ(table->NumberOfElements(), 0); in TestHashMap() 82 CHECK_EQ(table->NumberOfElements(), i + 1); in TestHashMap()
|
D | test-weakmaps.cc | 96 CHECK_EQ(2, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST() 101 CHECK_EQ(2, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST() 117 CHECK_EQ(0, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST() 150 CHECK_EQ(32, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST() 154 CHECK_EQ(0, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
|
D | test-api.cc | 13959 if (i::GlobalDictionary::cast(g->properties())->NumberOfElements() != 0) { in GetGlobalObjectsCount()
|
/external/v8/src/ |
D | objects-debug.cc | 601 if (GlobalDictionary::cast(properties())->NumberOfElements() == 0 && in JSGlobalObjectVerify() 1057 info->number_of_slow_used_properties_ += dict->NumberOfElements(); in IncrementSpillStatistics() 1059 dict->Capacity() - dict->NumberOfElements(); in IncrementSpillStatistics() 1062 info->number_of_slow_used_properties_ += dict->NumberOfElements(); in IncrementSpillStatistics() 1064 dict->Capacity() - dict->NumberOfElements(); in IncrementSpillStatistics() 1101 info->number_of_slow_used_elements_ += dict->NumberOfElements(); in IncrementSpillStatistics() 1103 dict->Capacity() - dict->NumberOfElements(); in IncrementSpillStatistics()
|
D | objects.cc | 5748 int number_of_elements = dictionary->NumberOfElements(); in MigrateSlowToFast() 16226 DCHECK(NumberOfElements() < new_table->Capacity()); in Rehash() 16255 new_table->SetNumberOfElements(NumberOfElements()); in Rehash() 16347 int nof = table->NumberOfElements() + n; in EnsureCapacity() 16369 int nof = NumberOfElements() + number_of_additional_elements; in HasSufficientCapacityToAdd() 16386 int nof = table->NumberOfElements(); in Shrink() 16604 SeededNumberDictionary::New(isolate, dict->NumberOfElements()); in PrepareSlowElementsForSort() 16715 isolate->factory()->NewFixedArray(dict->NumberOfElements(), tenure); in PrepareElementsForSort() 17267 int length = dictionary->NumberOfElements(); in BuildIterationIndicesArray() 17296 int length = dictionary->NumberOfElements(); in GenerateNewEnumerationIndices() [all …]
|
D | objects-inl.h | 3009 int HashTableBase::NumberOfElements() { in NumberOfElements() function 3025 SetNumberOfElements(NumberOfElements() + 1); in ElementAdded() 3030 SetNumberOfElements(NumberOfElements() - 1); in ElementRemoved() 3036 SetNumberOfElements(NumberOfElements() - n); in ElementsRemoved()
|
D | objects.h | 3133 inline int NumberOfElements(); 3869 int NumberOfElements() { in NumberOfElements() function 3879 int UsedCapacity() { return NumberOfElements() + NumberOfDeletedElements(); } in UsedCapacity()
|
D | api.cc | 6361 return i::OrderedHashMap::cast(obj->table())->NumberOfElements(); in Size() 6436 int length = table->NumberOfElements() * 2; in AsArray() 6469 return i::OrderedHashSet::cast(obj->table())->NumberOfElements(); in Size() 6528 int length = table->NumberOfElements(); in AsArray()
|
D | elements.cc | 1108 return dict->NumberOfElements(); in GetMaxNumberOfEntries()
|
/external/v8/src/heap/ |
D | heap.cc | 676 string_table()->NumberOfElements()); in GarbageCollectionEpilogue()
|
/external/v8/test/cctest/heap/ |
D | test-heap.cc | 4867 elements = t->NumberOfElements(); in TEST()
|