Home
last modified time | relevance | path

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

/external/v8/src/runtime/
Druntime-collections.cc238 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()
Druntime.cc63 DCHECK(dict->NumberOfElements() == 0); in InitializeIntrinsicFunctionNames()
Druntime-array.cc146 Handle<SeededNumberDictionary>::cast(elements)->NumberOfElements(); in RUNTIME_FUNCTION()
/external/v8/test/cctest/
Dtest-weaksets.cc95 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()
Dtest-dictionary.cc53 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()
Dtest-weakmaps.cc96 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()
Dtest-api.cc13959 if (i::GlobalDictionary::cast(g->properties())->NumberOfElements() != 0) { in GetGlobalObjectsCount()
/external/v8/src/
Dobjects-debug.cc601 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()
Dobjects.cc5748 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 …]
Dobjects-inl.h3009 int HashTableBase::NumberOfElements() { in NumberOfElements() function
3025 SetNumberOfElements(NumberOfElements() + 1); in ElementAdded()
3030 SetNumberOfElements(NumberOfElements() - 1); in ElementRemoved()
3036 SetNumberOfElements(NumberOfElements() - n); in ElementsRemoved()
Dobjects.h3133 inline int NumberOfElements();
3869 int NumberOfElements() { in NumberOfElements() function
3879 int UsedCapacity() { return NumberOfElements() + NumberOfDeletedElements(); } in UsedCapacity()
Dapi.cc6361 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()
Delements.cc1108 return dict->NumberOfElements(); in GetMaxNumberOfEntries()
/external/v8/src/heap/
Dheap.cc676 string_table()->NumberOfElements()); in GarbageCollectionEpilogue()
/external/v8/test/cctest/heap/
Dtest-heap.cc4867 elements = t->NumberOfElements(); in TEST()