Searched refs:weak_collection (Results 1 – 6 of 6) sorted by relevance
/external/v8/src/runtime/ |
D | runtime-collections.cc | 252 CONVERT_ARG_HANDLE_CHECKED(JSWeakCollection, weak_collection, 0); in RUNTIME_FUNCTION() 253 JSWeakCollection::Initialize(weak_collection, isolate); in RUNTIME_FUNCTION() 254 return *weak_collection; in RUNTIME_FUNCTION() 261 CONVERT_ARG_HANDLE_CHECKED(JSWeakCollection, weak_collection, 0); in RUNTIME_FUNCTION() 266 ObjectHashTable::cast(weak_collection->table())); in RUNTIME_FUNCTION() 277 CONVERT_ARG_HANDLE_CHECKED(JSWeakCollection, weak_collection, 0); in RUNTIME_FUNCTION() 282 ObjectHashTable::cast(weak_collection->table())); in RUNTIME_FUNCTION() 292 CONVERT_ARG_HANDLE_CHECKED(JSWeakCollection, weak_collection, 0); in RUNTIME_FUNCTION() 297 ObjectHashTable::cast(weak_collection->table())); in RUNTIME_FUNCTION() 299 bool was_present = JSWeakCollection::Delete(weak_collection, key, hash); in RUNTIME_FUNCTION() [all …]
|
/external/v8/src/heap/ |
D | objects-visiting-inl.h | 385 JSWeakCollection* weak_collection = in VisitWeakCollection() local 389 if (weak_collection->next() == heap->undefined_value()) { in VisitWeakCollection() 390 weak_collection->set_next(heap->encountered_weak_collections()); in VisitWeakCollection() 391 heap->set_encountered_weak_collections(weak_collection); in VisitWeakCollection() 399 if (!weak_collection->table()->IsHashTable()) return; in VisitWeakCollection()
|
D | mark-compact.cc | 2754 JSWeakCollection* weak_collection = in ProcessWeakCollections() local 2756 DCHECK(ObjectMarking::IsBlackOrGrey(weak_collection)); in ProcessWeakCollections() 2757 if (weak_collection->table()->IsHashTable()) { in ProcessWeakCollections() 2758 ObjectHashTable* table = ObjectHashTable::cast(weak_collection->table()); in ProcessWeakCollections() 2771 weak_collection_obj = weak_collection->next(); in ProcessWeakCollections() 2780 JSWeakCollection* weak_collection = in ClearWeakCollections() local 2782 DCHECK(ObjectMarking::IsBlackOrGrey(weak_collection)); in ClearWeakCollections() 2783 if (weak_collection->table()->IsHashTable()) { in ClearWeakCollections() 2784 ObjectHashTable* table = ObjectHashTable::cast(weak_collection->table()); in ClearWeakCollections() 2792 weak_collection_obj = weak_collection->next(); in ClearWeakCollections() [all …]
|
D | heap.h | 788 void set_encountered_weak_collections(Object* weak_collection) { in set_encountered_weak_collections() argument 789 encountered_weak_collections_ = weak_collection; in set_encountered_weak_collections()
|
/external/v8/src/ |
D | api.cc | 2981 i::Handle<i::JSWeakMap> weak_collection = Utils::OpenHandle(this); in Set() local 2982 i::Isolate* isolate = weak_collection->GetIsolate(); in Set() 2992 i::ObjectHashTable::cast(weak_collection->table())); in Set() 2998 i::JSWeakCollection::Set(weak_collection, key, value, hash); in Set() 3003 i::Handle<i::JSWeakMap> weak_collection = Utils::OpenHandle(this); in Get() local 3004 i::Isolate* isolate = weak_collection->GetIsolate(); in Get() 3012 i::ObjectHashTable::cast(weak_collection->table())); in Get() 3025 i::Handle<i::JSWeakMap> weak_collection = Utils::OpenHandle(this); in Has() local 3026 i::Isolate* isolate = weak_collection->GetIsolate(); in Has() 3035 i::ObjectHashTable::cast(weak_collection->table())); in Has() [all …]
|
D | objects.cc | 18703 void JSWeakCollection::Initialize(Handle<JSWeakCollection> weak_collection, in Initialize() argument 18706 weak_collection->set_table(*table); in Initialize() 18710 void JSWeakCollection::Set(Handle<JSWeakCollection> weak_collection, in Set() argument 18715 ObjectHashTable::cast(weak_collection->table())); in Set() 18719 weak_collection->set_table(*new_table); in Set() 18727 bool JSWeakCollection::Delete(Handle<JSWeakCollection> weak_collection, in Delete() argument 18731 ObjectHashTable::cast(weak_collection->table())); in Delete() 18736 weak_collection->set_table(*new_table); in Delete()
|