Home
last modified time | relevance | path

Searched refs:key_map (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Devp_test.cc147 static bool ImportKey(FileTest *t, KeyMap *key_map, in ImportKey() argument
243 EXPECT_EQ(0u, key_map->count(key_name)) << "Duplicate key: " << key_name; in ImportKey()
244 (*key_map)[key_name] = std::move(pkey); in ImportKey()
250 static bool SetupContext(FileTest *t, KeyMap *key_map, EVP_PKEY_CTX *ctx) { in SetupContext() argument
292 if (key_map->count(derive_peer) == 0) { in SetupContext()
296 EVP_PKEY *derive_peer_key = (*key_map)[derive_peer].get(); in SetupContext()
304 static bool TestDerive(FileTest *t, KeyMap *key_map, EVP_PKEY *key) { in TestDerive() argument
308 !SetupContext(t, key_map, ctx.get())) { in TestDerive()
361 static bool TestEVP(FileTest *t, KeyMap *key_map) { in TestEVP() argument
363 return ImportKey(t, key_map, EVP_parse_private_key, in TestEVP()
[all …]
/external/boringssl/src/crypto/evp/
Devp_test.cc147 static bool ImportKey(FileTest *t, KeyMap *key_map, in ImportKey() argument
243 EXPECT_EQ(0u, key_map->count(key_name)) << "Duplicate key: " << key_name; in ImportKey()
244 (*key_map)[key_name] = std::move(pkey); in ImportKey()
250 static bool SetupContext(FileTest *t, KeyMap *key_map, EVP_PKEY_CTX *ctx) { in SetupContext() argument
292 if (key_map->count(derive_peer) == 0) { in SetupContext()
296 EVP_PKEY *derive_peer_key = (*key_map)[derive_peer].get(); in SetupContext()
304 static bool TestDerive(FileTest *t, KeyMap *key_map, EVP_PKEY *key) { in TestDerive() argument
308 !SetupContext(t, key_map, ctx.get())) { in TestDerive()
361 static bool TestEVP(FileTest *t, KeyMap *key_map) { in TestEVP() argument
363 return ImportKey(t, key_map, EVP_parse_private_key, in TestEVP()
[all …]
/external/python/cpython2/Lib/bsddb/test/
Dtest_dbshelve.py350 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/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5-0x.cpp178 static map key_map; in foo() local
179 key_map["line"]; in foo()
/external/llvm-project/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
Dp5-0x.cpp178 static map key_map; in foo() local
179 key_map["line"]; in foo()
/external/perfetto/src/trace_processor/
Dexport_json.cc1470 std::unordered_map<StringId, metadata::KeyId> key_map; in ExportMetadata() local
1473 key_map[id] = static_cast<metadata::KeyId>(i); in ExportMetadata()
1477 auto key_it = key_map.find(keys[pos]); in ExportMetadata()
1481 if (key_it == key_map.end()) in ExportMetadata()