/external/v8/src/objects/ |
D | js-weak-refs-inl.h | 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() [all …]
|
D | js-weak-refs.tq | 14 key_map: Object; 36 // can remove its corresponding key from the key_map when we remove the last
|
D | js-weak-refs.h | 35 DECL_ACCESSORS(key_map, Object)
|
D | objects.cc | 6746 SimpleNumberDictionary key_map = in EXTERN_DEFINE_HASH_TABLE() local 6747 SimpleNumberDictionary::cast(finalization_registry.key_map()); in EXTERN_DEFINE_HASH_TABLE() 6750 InternalIndex entry = key_map.FindEntry(isolate, key); in EXTERN_DEFINE_HASH_TABLE() 6756 key_map.ClearEntry(entry); in EXTERN_DEFINE_HASH_TABLE() 6757 key_map.ElementRemoved(); in EXTERN_DEFINE_HASH_TABLE() 6765 key_map.ValueAtPut(entry, next); in EXTERN_DEFINE_HASH_TABLE()
|
/external/v8/src/runtime/ |
D | runtime-weak-refs.cc | 18 if (!finalization_registry->key_map().IsUndefined(isolate)) { in RUNTIME_FUNCTION() 19 Handle<SimpleNumberDictionary> key_map = in RUNTIME_FUNCTION() local 20 handle(SimpleNumberDictionary::cast(finalization_registry->key_map()), in RUNTIME_FUNCTION() 22 key_map = SimpleNumberDictionary::Shrink(isolate, key_map); in RUNTIME_FUNCTION() 23 finalization_registry->set_key_map(*key_map); in RUNTIME_FUNCTION()
|
/external/boringssl/src/crypto/evp/ |
D | evp_test.cc | 148 static bool ImportKey(FileTest *t, KeyMap *key_map, in ImportKey() argument 244 EXPECT_EQ(0u, key_map->count(key_name)) << "Duplicate key: " << key_name; in ImportKey() 245 (*key_map)[key_name] = std::move(pkey); in ImportKey() 251 static bool SetupContext(FileTest *t, KeyMap *key_map, EVP_PKEY_CTX *ctx) { in SetupContext() argument 293 if (key_map->count(derive_peer) == 0) { in SetupContext() 297 EVP_PKEY *derive_peer_key = (*key_map)[derive_peer].get(); in SetupContext() 305 static bool TestDerive(FileTest *t, KeyMap *key_map, EVP_PKEY *key) { in TestDerive() argument 309 !SetupContext(t, key_map, ctx.get())) { in TestDerive() 362 static bool TestEVP(FileTest *t, KeyMap *key_map) { in TestEVP() argument 364 return ImportKey(t, key_map, EVP_parse_private_key, in TestEVP() [all …]
|
/external/python/cpython2/Lib/bsddb/test/ |
D | test_dbshelve.py | 350 self.key_map = {} # map string keys to the number we gave them 354 if key not in self.key_map: 355 self.key_map[key] = self.key_pool.pop(0) 356 self.intkey_map[self.key_map[key]] = key 357 return self.key_map[key]
|
/external/v8/src/builtins/ |
D | finalization-registry.tq | 45 // key_map. This doesn't shrink key_map, which is done manually after 123 assert(finalizationRegistry.key_map == Undefined);
|
D | builtins-collections-gen.cc | 2162 TNode<Map> key_map = LoadMap(CAST(key)); in TF_BUILTIN() local 2163 TNode<Uint16T> key_instance_type = LoadMapInstanceType(key_map); in TF_BUILTIN() 2166 GotoIf(IsHeapNumberMap(key_map), &if_key_heap_number); in TF_BUILTIN() 2369 TNode<Map> key_map = LoadMap(CAST(key)); in TryLookupOrderedHashTableIndex() local 2370 TNode<Uint16T> key_instance_type = LoadMapInstanceType(key_map); in TryLookupOrderedHashTableIndex() 2373 GotoIf(IsHeapNumberMap(key_map), &if_key_heap_number); in TryLookupOrderedHashTableIndex()
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
D | p5-0x.cpp | 178 static map key_map; in foo() local 179 key_map["line"]; in foo()
|
/external/perfetto/src/trace_processor/ |
D | export_json.cc | 1200 std::unordered_map<StringId, metadata::KeyIDs> key_map; in ExportMetadata() local 1203 key_map[id] = static_cast<metadata::KeyIDs>(i); in ExportMetadata() 1209 metadata::KeyIDs key = key_map[keys[pos]]; in ExportMetadata()
|
/external/v8/src/diagnostics/ |
D | objects-printer.cc | 1137 os << "\n - key_map: " << Brief(key_map()); in JSFinalizationRegistryPrint()
|