Home
last modified time | relevance | path

Searched refs:ObjectHashTable (Results 1 – 10 of 10) sorted by relevance

/external/v8/test/cctest/
Dtest-weaksets.cc52 Handle<ObjectHashTable> table = ObjectHashTable::New(isolate, 1); in AllocateJSWeakSet()
61 Handle<ObjectHashTable> table = ObjectHashTable::Put( in PutIntoWeakSet()
62 Handle<ObjectHashTable>(ObjectHashTable::cast(weakset->table())), in PutIntoWeakSet()
107 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST()
112 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST()
114 0, ObjectHashTable::cast(weakset->table())->NumberOfDeletedElements()); in TEST()
131 CHECK_EQ(1, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST()
133 0, ObjectHashTable::cast(weakset->table())->NumberOfDeletedElements()); in TEST()
136 CHECK_EQ(0, ObjectHashTable::cast(weakset->table())->NumberOfElements()); in TEST()
138 1, ObjectHashTable::cast(weakset->table())->NumberOfDeletedElements()); in TEST()
[all …]
Dtest-weakmaps.cc52 Handle<ObjectHashTable> table = ObjectHashTable::New(isolate, 1); in AllocateJSWeakMap()
61 Handle<ObjectHashTable> table = ObjectHashTable::Put( in PutIntoWeakMap()
62 Handle<ObjectHashTable>(ObjectHashTable::cast(weakmap->table())), in PutIntoWeakMap()
107 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
112 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
114 0, ObjectHashTable::cast(weakmap->table())->NumberOfDeletedElements()); in TEST()
131 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
133 0, ObjectHashTable::cast(weakmap->table())->NumberOfDeletedElements()); in TEST()
136 CHECK_EQ(0, ObjectHashTable::cast(weakmap->table())->NumberOfElements()); in TEST()
138 1, ObjectHashTable::cast(weakmap->table())->NumberOfDeletedElements()); in TEST()
[all …]
Dtest-dictionary.cc112 TestHashMap(ObjectHashTable::New(isolate, 23)); in TEST()
117 class ObjectHashTableTest: public ObjectHashTable {
141 Handle<ObjectHashTable> table = ObjectHashTable::New(isolate, 100); in TEST()
154 Handle<ObjectHashTable> table = ObjectHashTable::New(isolate, 100); in TEST()
248 TestHashMapCausesGC(ObjectHashTable::New(isolate, 1)); in TEST()
Dtest-object-observe.cc352 return i::ObjectHashTable::cast(map->table())->NumberOfElements(); in NumberOfElements()
Dtest-heap.cc3111 ObjectHashTable* hashtable = ObjectHashTable::cast( in TEST()
/external/v8/src/
Dobjects.h983 V(ObjectHashTable) \
1646 class ObjectHashTable; variable
2356 static Handle<ObjectHashTable> GetOrCreateHiddenPropertiesHashtable(
3296 friend class ObjectHashTable;
3754 class ObjectHashTable: public HashTable<ObjectHashTable,
3758 ObjectHashTable, ObjectHashTableShape, Handle<Object> > DerivedHashTable;
3760 DECLARE_CAST(ObjectHashTable)
3763 MUST_USE_RESULT static inline Handle<ObjectHashTable> Shrink(
3764 Handle<ObjectHashTable> table,
3772 static Handle<ObjectHashTable> Put(Handle<ObjectHashTable> table,
[all …]
Dobjects.cc4610 ObjectHashTable* hashtable = ObjectHashTable::cast(inline_value); in GetHiddenProperty()
4645 Handle<ObjectHashTable> hashtable = in SetHiddenProperty()
4649 Handle<ObjectHashTable> new_table = ObjectHashTable::Put(hashtable, key, in SetHiddenProperty()
4680 Handle<ObjectHashTable> hashtable(ObjectHashTable::cast(inline_value)); in DeleteHiddenProperty()
4682 ObjectHashTable::Remove(hashtable, key, &was_present); in DeleteHiddenProperty()
4729 Handle<ObjectHashTable> JSObject::GetOrCreateHiddenPropertiesHashtable( in GetOrCreateHiddenPropertiesHashtable()
4736 return Handle<ObjectHashTable>::cast(inline_value); in GetOrCreateHiddenPropertiesHashtable()
4739 Handle<ObjectHashTable> hashtable = ObjectHashTable::New( in GetOrCreateHiddenPropertiesHashtable()
4745 hashtable = ObjectHashTable::Put(hashtable, in GetOrCreateHiddenPropertiesHashtable()
13992 template class HashTable<ObjectHashTable,
[all …]
Druntime.cc1719 Handle<ObjectHashTable> table(ObjectHashTable::cast(holder->table())); in RUNTIME_FUNCTION()
1752 Handle<ObjectHashTable> table = ObjectHashTable::New(isolate, 0); in WeakCollectionInitialize()
1772 Handle<ObjectHashTable> table( in RUNTIME_FUNCTION()
1773 ObjectHashTable::cast(weak_collection->table())); in RUNTIME_FUNCTION()
1786 Handle<ObjectHashTable> table( in RUNTIME_FUNCTION()
1787 ObjectHashTable::cast(weak_collection->table())); in RUNTIME_FUNCTION()
1800 Handle<ObjectHashTable> table(ObjectHashTable::cast( in RUNTIME_FUNCTION()
1804 Handle<ObjectHashTable> new_table = in RUNTIME_FUNCTION()
1805 ObjectHashTable::Remove(table, key, &was_present); in RUNTIME_FUNCTION()
1818 Handle<ObjectHashTable> table( in RUNTIME_FUNCTION()
[all …]
Dobjects-inl.h3224 CAST_ACCESSOR(ObjectHashTable) in CAST_ACCESSOR()
6911 Handle<ObjectHashTable> ObjectHashTable::Shrink( in Shrink()
6912 Handle<ObjectHashTable> table, Handle<Object> key) { in Shrink()
/external/v8/src/heap/
Dmark-compact.cc2803 ObjectHashTable* table = ObjectHashTable::cast(weak_collection->table()); in ProcessWeakCollections()
2808 table->RawFieldOfElementAt(ObjectHashTable::EntryToIndex(i)); in ProcessWeakCollections()
2811 table->RawFieldOfElementAt(ObjectHashTable::EntryToValueIndex(i)); in ProcessWeakCollections()
2831 ObjectHashTable* table = ObjectHashTable::cast(weak_collection->table()); in ClearWeakCollections()