Home
last modified time | relevance | path

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

/external/chromium_org/v8/test/cctest/
Dtest-ordered-hash-table.cc47 CHECK_EQ(0, ordered_set->NumberOfElements()); in TEST()
54 CHECK_EQ(1, ordered_set->NumberOfElements()); in TEST()
59 CHECK_EQ(0, ordered_set->NumberOfElements()); in TEST()
73 CHECK_EQ(3, ordered_set->NumberOfElements()); in TEST()
87 CHECK_EQ(5, ordered_set->NumberOfElements()); in TEST()
100 CHECK_EQ(1, ordered_set->NumberOfElements()); in TEST()
112 CHECK_EQ(0, ordered_map->NumberOfElements()); in TEST()
120 CHECK_EQ(1, ordered_map->NumberOfElements()); in TEST()
126 CHECK_EQ(0, ordered_map->NumberOfElements()); in TEST()
139 CHECK_EQ(3, ordered_map->NumberOfElements()); in TEST()
[all …]
Dtest-weaksets.cc107 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST()
112 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST()
131 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST()
136 CHECK_EQ(0, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST()
167 CHECK_EQ(32, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST()
171 CHECK_EQ(0, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST()
Dtest-weakmaps.cc107 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
112 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
131 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
136 CHECK_EQ(0, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
167 CHECK_EQ(32, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
171 CHECK_EQ(0, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
Dtest-dictionary.cc52 CHECK_EQ(table->NumberOfElements(), 1); in TestHashMap()
59 CHECK_EQ(table->NumberOfElements(), 1); in TestHashMap()
65 CHECK_EQ(table->NumberOfElements(), 1); in TestHashMap()
72 CHECK_EQ(table->NumberOfElements(), 0); in TestHashMap()
81 CHECK_EQ(table->NumberOfElements(), i + 1); in TestHashMap()
Dtest-object-observe.cc351 static int NumberOfElements(i::Handle<i::JSWeakMap> map) { in NumberOfElements() function
352 return i::ObjectHashTable::cast(map->table())->NumberOfElements(); in NumberOfElements()
377 CHECK_EQ(1, NumberOfElements(callbackInfoMap)); in TEST()
378 CHECK_EQ(1, NumberOfElements(objectInfoMap)); in TEST()
379 CHECK_EQ(1, NumberOfElements(notifierObjectInfoMap)); in TEST()
381 CHECK_EQ(0, NumberOfElements(callbackInfoMap)); in TEST()
382 CHECK_EQ(0, NumberOfElements(objectInfoMap)); in TEST()
383 CHECK_EQ(0, NumberOfElements(notifierObjectInfoMap)); in TEST()
Dtest-heap.cc4033 elements = t->NumberOfElements(); in TEST()
Dtest-api.cc20431 elements = map_cache->NumberOfElements(); in THREADED_TEST()
20440 CHECK_GT(elements, map_cache->NumberOfElements()); in THREADED_TEST()
/external/chromium_org/v8/src/
Dobjects-debug.cc1055 info->number_of_slow_used_properties_ += dict->NumberOfElements(); in IncrementSpillStatistics()
1057 dict->Capacity() - dict->NumberOfElements(); in IncrementSpillStatistics()
1093 info->number_of_slow_used_elements_ += dict->NumberOfElements(); in IncrementSpillStatistics()
1095 dict->Capacity() - dict->NumberOfElements(); in IncrementSpillStatistics()
Dobjects.cc4278 int number_of_elements = dictionary->NumberOfElements(); in MigrateSlowToFast()
12878 *used = dictionary->NumberOfElements(); in GetElementsCapacityAndUsage()
12901 *used = dictionary->NumberOfElements(); in GetElementsCapacityAndUsage()
13801 DCHECK(NumberOfElements() < new_table->Capacity()); in Rehash()
13827 new_table->SetNumberOfElements(NumberOfElements()); in Rehash()
13909 int nof = table->NumberOfElements() + n; in EnsureCapacity()
13938 int nof = table->NumberOfElements(); in Shrink()
14137 SeededNumberDictionary::New(isolate, dict->NumberOfElements()); in PrepareSlowElementsForSort()
14243 isolate->factory()->NewFixedArray(dict->NumberOfElements(), tenure); in PrepareElementsForSort()
14892 int length = dictionary->NumberOfElements(); in GenerateNewEnumerationIndices()
[all …]
Dobjects.h3207 int NumberOfElements() { in NumberOfElements() function
3223 void ElementAdded() { SetNumberOfElements(NumberOfElements() + 1); } in ElementAdded()
3228 SetNumberOfElements(NumberOfElements() - 1); in ElementRemoved()
3232 SetNumberOfElements(NumberOfElements() - n); in ElementsRemoved()
3860 int NumberOfElements() { in NumberOfElements() function
3868 int UsedCapacity() { return NumberOfElements() + NumberOfDeletedElements(); } in UsedCapacity()
Druntime.cc1590 return Smi::FromInt(table->NumberOfElements()); in RUNTIME_FUNCTION()
1694 return Smi::FromInt(table->NumberOfElements()); in RUNTIME_FUNCTION()
1721 isolate->factory()->NewFixedArray(table->NumberOfElements() * 2); in RUNTIME_FUNCTION()
1733 DCHECK_EQ(table->NumberOfElements() * 2, number_of_non_hole_elements); in RUNTIME_FUNCTION()
1833 isolate->factory()->NewFixedArray(table->NumberOfElements()); in RUNTIME_FUNCTION()
1843 DCHECK_EQ(table->NumberOfElements(), number_of_non_hole_elements); in RUNTIME_FUNCTION()
10794 Handle<SeededNumberDictionary>::cast(elements)->NumberOfElements(); in RUNTIME_FUNCTION()
15729 DCHECK(dict->NumberOfElements() == 0); in InitializeIntrinsicFunctionNames()
/external/chromium_org/v8/src/heap/
Dmark-compact.cc2407 int existing_elements = map_cache->NumberOfElements(); in ProcessMapCaches()
Dheap.cc630 string_table()->NumberOfElements()); in GarbageCollectionEpilogue()