Home
last modified time | relevance | path

Searched refs:user_key (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/third_party/leveldatabase/src/db/
Ddbformat.cc19 result->append(key.user_key.data(), key.user_key.size()); in AppendInternalKey()
29 result += EscapeString(user_key.ToString()); in DebugString()
88 Slice user_key = ExtractUserKey(*key); in FindShortSuccessor() local
89 std::string tmp(user_key.data(), user_key.size()); in FindShortSuccessor()
91 if (tmp.size() < user_key.size() && in FindShortSuccessor()
92 user_comparator_->Compare(user_key, tmp) < 0) { in FindShortSuccessor()
121 LookupKey::LookupKey(const Slice& user_key, SequenceNumber s) { in LookupKey() argument
122 size_t usize = user_key.size(); in LookupKey()
133 memcpy(dst, user_key.data(), usize); in LookupKey()
Ddbformat.h71 Slice user_key; member
77 : user_key(u), sequence(seq), type(t) { } in ParsedInternalKey()
83 return key.user_key.size() + 8; in InternalKeyEncodingLength()
149 InternalKey(const Slice& user_key, SequenceNumber s, ValueType t) { in InternalKey() argument
150 AppendInternalKey(&rep_, ParsedInternalKey(user_key, s, t)); in InternalKey()
159 Slice user_key() const { return ExtractUserKey(rep_); } in user_key() function
184 result->user_key = Slice(internal_key.data(), n - 8); in ParseInternalKey()
193 LookupKey(const Slice& user_key, SequenceNumber sequence);
204 Slice user_key() const { return Slice(kstart_, end_ - kstart_ - 8); } in user_key() function
Dversion_set.cc113 const Slice* user_key, const FileMetaData* f) { in AfterFile() argument
115 return (user_key != NULL && in AfterFile()
116 ucmp->Compare(*user_key, f->largest.user_key()) > 0); in AfterFile()
120 const Slice* user_key, const FileMetaData* f) { in BeforeFile() argument
122 return (user_key != NULL && in BeforeFile()
123 ucmp->Compare(*user_key, f->smallest.user_key()) < 0); in BeforeFile()
269 Slice user_key; member
279 if (s->ucmp->Compare(parsed_key.user_key, s->user_key) == 0) { in SaveValue()
292 void Version::ForEachOverlapping(Slice user_key, Slice internal_key, in ForEachOverlapping() argument
303 if (ucmp->Compare(user_key, f->smallest.user_key()) >= 0 && in ForEachOverlapping()
[all …]
Ddbformat_test.cc11 static std::string IKey(const std::string& user_key, in IKey() argument
15 AppendInternalKey(&encoded, ParsedInternalKey(user_key, seq, vt)); in IKey()
40 ASSERT_EQ(key, decoded.user_key.ToString()); in TestKey()
Ddb_iter.cc184 SaveKey(ikey.user_key, skip); in FindNextUserEntry()
189 user_comparator_->Compare(ikey.user_key, *skip) <= 0) { in FindNextUserEntry()
241 user_comparator_->Compare(ikey.user_key, saved_key_) < 0) { in FindPrevUserEntry()
Dwrite_batch_test.cc29 state.append(ikey.user_key.ToString()); in PrintContents()
37 state.append(ikey.user_key.ToString()); in PrintContents()
Dversion_set.h128 void ForEachOverlapping(Slice user_key, Slice internal_key,
353 bool IsBaseLevelForKey(const Slice& user_key);
Ddb_impl.cc487 const Slice min_user_key = meta.smallest.user_key(); in WriteLevel0Table()
488 const Slice max_user_key = meta.largest.user_key(); in WriteLevel0Table()
915 user_comparator()->Compare(ikey.user_key, in DoCompactionWork()
918 current_user_key.assign(ikey.user_key.data(), ikey.user_key.size()); in DoCompactionWork()
928 compact->compaction->IsBaseLevelForKey(ikey.user_key)) { in DoCompactionWork()
945 ikey.user_key.ToString().c_str(), in DoCompactionWork()
947 compact->compaction->IsBaseLevelForKey(ikey.user_key), in DoCompactionWork()
Dmemtable.cc127 key.user_key()) == 0) { in Get()
Dleveldb_main.cc167 EscapeString(key.user_key).c_str(), in DumpTable()
/external/chromium/chrome/browser/sync/util/
Dnigori.cc109 bool Nigori::InitByImport(const std::string& user_key, in InitByImport() argument
112 user_key_.reset(SymmetricKey::Import(SymmetricKey::AES, user_key)); in InitByImport()
248 bool Nigori::ExportKeys(std::string* user_key, in ExportKeys() argument
251 DCHECK(user_key); in ExportKeys()
255 return user_key_->GetRawKey(user_key) && in ExportKeys()
Dnigori.h41 bool InitByImport(const std::string& user_key,
60 bool ExportKeys(std::string* user_key,
Dnigori_unittest.cc143 std::string user_key; in TEST() local
146 EXPECT_TRUE(nigori1.ExportKeys(&user_key, &encryption_key, &mac_key)); in TEST()
149 EXPECT_TRUE(nigori2.InitByImport(user_key, encryption_key, mac_key)); in TEST()
Dcryptographer_unittest.cc164 std::string user_key, encryption_key, mac_key; in TEST() local
165 ASSERT_TRUE(unpacked->ExportKeys(&user_key, &encryption_key, &mac_key)); in TEST()
167 EXPECT_EQ(expected_user, user_key); in TEST()
Dcryptographer.cc235 if (!nigori->InitByImport(key.user_key(), key.encryption_key(), in UnpackBootstrapToken()
252 if (!new_nigori->InitByImport(key.user_key(), in InstallKeys()
/external/chromium_org/sync/util/
Dnigori.cc104 bool Nigori::InitByImport(const std::string& user_key, in InitByImport() argument
107 user_key_.reset(SymmetricKey::Import(SymmetricKey::AES, user_key)); in InitByImport()
238 bool Nigori::ExportKeys(std::string* user_key, in ExportKeys() argument
241 DCHECK(user_key); in ExportKeys()
245 return user_key_->GetRawKey(user_key) && in ExportKeys()
Dnigori.h44 bool InitByImport(const std::string& user_key,
63 bool ExportKeys(std::string* user_key,
Dnigori_unittest.cc143 std::string user_key; in TEST() local
146 EXPECT_TRUE(nigori1.ExportKeys(&user_key, &encryption_key, &mac_key)); in TEST()
149 EXPECT_TRUE(nigori2.InitByImport(user_key, encryption_key, mac_key)); in TEST()
Dcryptographer.cc295 if (!new_nigori->InitByImport(key.user_key(), in InstallKeyBag()
350 if (!nigori->InitByImport(key.user_key(), key.encryption_key(), in ImportNigoriKey()
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_leveldb_coding.h356 const IndexedDBKey& user_key);
357 scoped_ptr<IndexedDBKey> user_key() const;
377 const IndexedDBKey& user_key);
378 scoped_ptr<IndexedDBKey> user_key() const;
402 const IndexedDBKey& user_key);
406 const IndexedDBKey& user_key,
417 scoped_ptr<IndexedDBKey> user_key() const;
Dindexed_db_leveldb_coding.cc1689 const IndexedDBKey& user_key) { in Encode() argument
1691 EncodeIDBKey(user_key, &encoded_key); in Encode()
1695 scoped_ptr<IndexedDBKey> ObjectStoreDataKey::user_key() const { in user_key() function in content::ObjectStoreDataKey
1733 const IndexedDBKey& user_key) { in Encode() argument
1735 EncodeIDBKey(user_key, &encoded_key); in Encode()
1739 scoped_ptr<IndexedDBKey> ExistsEntryKey::user_key() const { in user_key() function in content::ExistsEntryKey
1805 const IndexedDBKey& user_key) { in Encode() argument
1807 EncodeIDBKey(user_key, &encoded_key); in Encode()
1815 const IndexedDBKey& user_key, in Encode() argument
1818 EncodeIDBKey(user_key, &encoded_key); in Encode()
[all …]
Dindexed_db_backing_store.cc1346 scoped_ptr<IndexedDBKey> user_key = data_key.user_key(); in GetKeyGeneratorCurrentNumber() local
1347 if (user_key->type() == blink::WebIDBKeyTypeNumber) { in GetKeyGeneratorCurrentNumber()
1348 int64 n = static_cast<int64>(user_key->number()); in GetKeyGeneratorCurrentNumber()
2056 current_key_ = object_store_data_key.user_key(); in LoadCurrentRow()
2113 current_key_ = object_store_data_key.user_key(); in LoadCurrentRow()
2187 current_key_ = index_data_key.user_key(); in LoadCurrentRow()
2295 current_key_ = index_data_key.user_key(); in LoadCurrentRow()
/external/chromium/chrome/browser/sync/protocol/
Dnigori_specifics.proto22 optional bytes user_key = 2; field
/external/chromium_org/sync/protocol/
Dnigori_specifics.proto21 optional bytes user_key = 2; field
/external/openssh/
Dssh-keygen.0357 $ ssh-keygen -s /path/to/ca_key -I key_id /path/to/user_key.pub
359 The resultant certificate will be placed in /path/to/user_key-cert.pub.
380 $ ssh-keygen -s ca_key -I key_id -n user1,user2 user_key.pub
381 $ ssh-keygen -s ca_key -I key_id -h -n host.domain user_key.pub

12