Home
last modified time | relevance | path

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

/external/v8/src/
Dobjects-debug.cc662 if (GlobalDictionary::cast(properties())->NumberOfElements() == 0 && in JSGlobalObjectVerify()
822 uint32_t nof_elements = static_cast<uint32_t>(dict->NumberOfElements()); in JSArrayVerify()
1294 info->number_of_slow_used_properties_ += dict->NumberOfElements(); in IncrementSpillStatistics()
1296 dict->Capacity() - dict->NumberOfElements(); in IncrementSpillStatistics()
1299 info->number_of_slow_used_properties_ += dict->NumberOfElements(); in IncrementSpillStatistics()
1301 dict->Capacity() - dict->NumberOfElements(); in IncrementSpillStatistics()
1338 info->number_of_slow_used_elements_ += dict->NumberOfElements(); in IncrementSpillStatistics()
1340 dict->Capacity() - dict->NumberOfElements(); in IncrementSpillStatistics()
Delements.h58 virtual uint32_t NumberOfElements(JSObject* holder) = 0;
Dobjects.cc5591 int number_of_elements = dictionary->NumberOfElements(); in MigrateSlowToFast()
16343 DCHECK(NumberOfElements() < new_table->Capacity()); in Rehash()
16372 new_table->SetNumberOfElements(NumberOfElements()); in Rehash()
16464 int nof = table->NumberOfElements() + n; in EnsureCapacity()
16486 int nof = NumberOfElements() + number_of_additional_elements; in HasSufficientCapacityToAdd()
16503 int nof = table->NumberOfElements(); in Shrink()
16749 SeededNumberDictionary::New(isolate, dict->NumberOfElements()); in PrepareSlowElementsForSort()
16860 isolate->factory()->NewFixedArray(dict->NumberOfElements(), tenure); in PrepareElementsForSort()
17747 int length = dictionary->NumberOfElements(); in GenerateNewEnumerationIndices()
17773 DCHECK_EQ(0, DerivedHashTable::NumberOfElements()); in SetRequiresCopyOnCapacityChange()
[all …]
Dvalue-serializer.cc683 int length = table->NumberOfElements() * 2; in WriteJSMap()
714 int length = table->NumberOfElements(); in WriteJSSet()
Dobjects-inl.h3088 int HashTableBase::NumberOfElements() { in NumberOfElements() function
3104 SetNumberOfElements(NumberOfElements() + 1); in ElementAdded()
3109 SetNumberOfElements(NumberOfElements() - 1); in ElementRemoved()
3115 SetNumberOfElements(NumberOfElements() - n); in ElementsRemoved()
Delements.cc794 uint32_t NumberOfElements(JSObject* receiver) final { in NumberOfElements() function in v8::internal::__anon51de3a750111::ElementsAccessorBase
1345 return dict->NumberOfElements(); in NumberOfElementsImpl()
Dapi.cc7129 return i::OrderedHashMap::cast(obj->table())->NumberOfElements(); in Size()
7201 if (offset >= table->NumberOfElements()) return factory->NewJSArray(0); in MapAsArray()
7202 int length = (table->NumberOfElements() - offset) * in MapAsArray()
7251 return i::OrderedHashSet::cast(obj->table())->NumberOfElements(); in Size()
7307 int length = table->NumberOfElements() - offset; in SetAsArray()
Dobjects.h3293 inline int NumberOfElements();
4076 int NumberOfElements() { in NumberOfElements() function
4086 int UsedCapacity() { return NumberOfElements() + NumberOfDeletedElements(); } in UsedCapacity()
/external/v8/src/heap/
Dobject-stats.cc378 int used = array->NumberOfElements() * HashTable::kEntrySize * kPointerSize; in RecordHashTableHelper()
423 int used = table->NumberOfElements() * ObjectHashTable::kEntrySize; in RecordJSWeakCollectionDetails()
Dheap.cc680 string_table()->NumberOfElements()); in GarbageCollectionEpilogue()
/external/clang/lib/Parse/
DParseOpenMP.cpp1366 enum { Modifier1, Modifier2, ScheduleKind, NumberOfElements }; in ParseOpenMPSingleExprWithArgClause() enumerator
1367 Arg.resize(NumberOfElements); in ParseOpenMPSingleExprWithArgClause()
1368 KLoc.resize(NumberOfElements); in ParseOpenMPSingleExprWithArgClause()
/external/v8/src/runtime/
Druntime-array.cc166 Handle<SeededNumberDictionary>::cast(elements)->NumberOfElements(); in RUNTIME_FUNCTION()
/external/clang/lib/Sema/
DSemaOpenMP.cpp7697 enum { Modifier1, Modifier2, ScheduleKind, NumberOfElements }; in ActOnOpenMPSingleExprWithArgClause() enumerator
7698 assert(Argument.size() == NumberOfElements && in ActOnOpenMPSingleExprWithArgClause()
7699 ArgumentLoc.size() == NumberOfElements); in ActOnOpenMPSingleExprWithArgClause()