Lines Matching refs:key_map
32 ACCESSORS(JSFinalizationRegistry, key_map, Object, kKeyMapOffset) in TQ_OBJECT_CONSTRUCTORS_IMPL()
43 Handle<SimpleNumberDictionary> key_map; in TQ_OBJECT_CONSTRUCTORS_IMPL() local
44 if (finalization_registry->key_map().IsUndefined(isolate)) { in TQ_OBJECT_CONSTRUCTORS_IMPL()
45 key_map = SimpleNumberDictionary::New(isolate, 1); in TQ_OBJECT_CONSTRUCTORS_IMPL()
47 key_map = in TQ_OBJECT_CONSTRUCTORS_IMPL()
48 handle(SimpleNumberDictionary::cast(finalization_registry->key_map()), in TQ_OBJECT_CONSTRUCTORS_IMPL()
56 InternalIndex entry = key_map->FindEntry(isolate, key); in TQ_OBJECT_CONSTRUCTORS_IMPL()
58 Object value = key_map->ValueAt(entry); in TQ_OBJECT_CONSTRUCTORS_IMPL()
63 key_map = SimpleNumberDictionary::Set(isolate, key_map, key, weak_cell); in TQ_OBJECT_CONSTRUCTORS_IMPL()
64 finalization_registry->set_key_map(*key_map); in TQ_OBJECT_CONSTRUCTORS_IMPL()
89 if (key_map().IsUndefined(isolate)) { in RemoveUnregisterToken()
93 SimpleNumberDictionary key_map = in RemoveUnregisterToken() local
94 SimpleNumberDictionary::cast(this->key_map()); in RemoveUnregisterToken()
102 InternalIndex entry = key_map.FindEntry(isolate, key); in RemoveUnregisterToken()
107 Object value = key_map.ValueAt(entry); in RemoveUnregisterToken()
148 key_map.ClearEntry(entry); in RemoveUnregisterToken()
149 key_map.ElementRemoved(); in RemoveUnregisterToken()
151 key_map.ValueAtPut(entry, new_key_list_head); in RemoveUnregisterToken()
152 gc_notify_updated_slot(key_map, key_map.RawFieldOfValueAt(entry), in RemoveUnregisterToken()