Home
last modified time | relevance | path

Searched refs:raw_key (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/crypto/
Dsymmetric_key_unittest.cc18 std::string raw_key; in TEST() local
19 EXPECT_TRUE(key->GetRawKey(&raw_key)); in TEST()
20 EXPECT_EQ(32U, raw_key.size()); in TEST()
30 EXPECT_NE(raw_key, raw_key2); in TEST()
89 std::string raw_key; in TEST_P() local
90 key->GetRawKey(&raw_key); in TEST_P()
91 EXPECT_EQ(test_data.key_size_in_bits / 8, raw_key.size()); in TEST_P()
93 base::ToLowerASCII(base::HexEncode(raw_key.data(), in TEST_P()
94 raw_key.size()))); in TEST_P()
Dsymmetric_key.cc89 const std::string& raw_key) { in Import() argument
94 if (raw_key.size() != 128/8 && raw_key.size() != 256/8) in Import()
99 key->key_ = raw_key; in Import()
103 bool SymmetricKey::GetRawKey(std::string* raw_key) { in GetRawKey() argument
104 *raw_key = key_; in GetRawKey()
Dhmac.cc53 std::string raw_key; in Init() local
54 bool result = key->GetRawKey(&raw_key) && Init(raw_key); in Init()
57 std::fill(raw_key.begin(), raw_key.end(), 0); in Init()
Dsymmetric_key.h56 const std::string& raw_key);
63 bool GetRawKey(std::string* raw_key);
/external/v8/src/
Delements.cc1529 int entry, Object* raw_key, PropertyFilter filter) { in FilterKey() argument
1531 DCHECK(raw_key->IsNumber()); in FilterKey()
1532 DCHECK_LE(raw_key->Number(), kMaxUInt32); in FilterKey()
1536 return static_cast<uint32_t>(raw_key->Number()); in FilterKey()
1543 Object* raw_key = dictionary->KeyAt(entry); in GetKeyForEntryImpl() local
1544 if (!dictionary->IsKey(isolate, raw_key)) return kMaxUInt32; in GetKeyForEntryImpl()
1545 return FilterKey(dictionary, entry, raw_key, filter); in GetKeyForEntryImpl()
1561 Object* raw_key = dictionary->KeyAt(i); in CollectElementIndicesImpl() local
1562 if (!dictionary->IsKey(isolate, raw_key)) continue; in CollectElementIndicesImpl()
1563 uint32_t key = FilterKey(dictionary, i, raw_key, filter); in CollectElementIndicesImpl()
[all …]
Dbootstrapper.cc4683 Object* raw_key = properties->KeyAt(key_index); in TransferNamedProperties() local
4684 DCHECK(properties->IsKey(isolate(), raw_key)); in TransferNamedProperties()
4685 DCHECK(raw_key->IsName()); in TransferNamedProperties()
4687 Handle<Name> key(Name::cast(raw_key), isolate()); in TransferNamedProperties()
4709 Object* raw_key = properties->KeyAt(key_index); in TransferNamedProperties() local
4710 DCHECK(properties->IsKey(isolate(), raw_key)); in TransferNamedProperties()
4711 DCHECK(raw_key->IsName()); in TransferNamedProperties()
4713 Handle<Name> key(Name::cast(raw_key), isolate()); in TransferNamedProperties()
Dobjects.cc18425 Object* raw_key = *key; in HasKey() local
18426 int entry = table->KeyToFirstEntry(isolate, raw_key); in HasKey()
18430 if (candidate_key->SameValueZero(raw_key)) return true; in HasKey()