/external/chromium_org/third_party/leveldatabase/src/db/ |
dbformat.cc | 19 result->append(key.user_key.data(), key.user_key.size()); 29 result += EscapeString(user_key.ToString()); 88 Slice user_key = ExtractUserKey(*key); local 89 std::string tmp(user_key.data(), user_key.size()); 91 if (tmp.size() < user_key.size() && 92 user_comparator_->Compare(user_key, tmp) < 0) { 121 LookupKey::LookupKey(const Slice& user_key, SequenceNumber s) { 122 size_t usize = user_key.size() [all...] |
dbformat.h | 71 Slice user_key; member in struct:leveldb::ParsedInternalKey 77 : user_key(u), sequence(seq), type(t) { } 83 return key.user_key.size() + 8; 149 InternalKey(const Slice& user_key, SequenceNumber s, ValueType t) { 150 AppendInternalKey(&rep_, ParsedInternalKey(user_key, s, t)); 159 Slice user_key() const { return ExtractUserKey(rep_); } function in class:leveldb::InternalKey 184 result->user_key = Slice(internal_key.data(), n - 8); 191 // Initialize *this for looking up user_key at a snapshot with 193 LookupKey(const Slice& user_key, SequenceNumber sequence); 204 Slice user_key() const { return Slice(kstart_, end_ - kstart_ - 8); function in class:leveldb::LookupKey [all...] |
dbformat_test.cc | 11 static std::string IKey(const std::string& user_key, 15 AppendInternalKey(&encoded, ParsedInternalKey(user_key, seq, vt)); 40 ASSERT_EQ(key, decoded.user_key.ToString());
|
version_set.cc | 113 const Slice* user_key, const FileMetaData* f) { 114 // NULL user_key occurs before all keys and is therefore never after *f 115 return (user_key != NULL && 116 ucmp->Compare(*user_key, f->largest.user_key()) > 0); 120 const Slice* user_key, const FileMetaData* f) { 121 // NULL user_key occurs after all keys and is therefore never before *f 122 return (user_key != NULL && 123 ucmp->Compare(*user_key, f->smallest.user_key()) < 0) 269 Slice user_key; member in struct:leveldb::__anon11698::Saver 342 Slice user_key = k.user_key(); local [all...] |
write_batch_test.cc | 29 state.append(ikey.user_key.ToString()); 37 state.append(ikey.user_key.ToString());
|
db_iter.cc | 184 SaveKey(ikey.user_key, skip); 189 user_comparator_->Compare(ikey.user_key, *skip) <= 0) { 241 user_comparator_->Compare(ikey.user_key, saved_key_) < 0) {
|
version_set.h | 123 // Call func(arg, level, f) for every file that overlaps user_key in 127 // REQUIRES: user portion of internal_key == user_key. 128 void ForEachOverlapping(Slice user_key, Slice internal_key, 353 bool IsBaseLevelForKey(const Slice& user_key);
|
memtable.cc | 127 key.user_key()) == 0) {
|
db_impl.cc | 487 const Slice min_user_key = meta.smallest.user_key(); 488 const Slice max_user_key = meta.largest.user_key(); 915 user_comparator()->Compare(ikey.user_key, 918 current_user_key.assign(ikey.user_key.data(), ikey.user_key.size()); 928 compact->compaction->IsBaseLevelForKey(ikey.user_key)) { 945 ikey.user_key.ToString().c_str(), 947 compact->compaction->IsBaseLevelForKey(ikey.user_key), [all...] |
leveldb_main.cc | 167 EscapeString(key.user_key).c_str(),
|
db_test.cc | 336 std::string AllEntriesFor(const Slice& user_key) { 338 InternalKey target(user_key, kMaxSequenceNumber, kTypeValue); 351 if (last_options_.comparator->Compare(ikey.user_key, user_key) != 0) { [all...] |
/external/chromium/chrome/browser/sync/util/ |
nigori.h | 41 bool InitByImport(const std::string& user_key, 60 bool ExportKeys(std::string* user_key,
|
nigori.cc | 109 bool Nigori::InitByImport(const std::string& user_key, 112 user_key_.reset(SymmetricKey::Import(SymmetricKey::AES, user_key)); 248 bool Nigori::ExportKeys(std::string* user_key, 251 DCHECK(user_key); 255 return user_key_->GetRawKey(user_key) &&
|
cryptographer_unittest.cc | 164 std::string user_key, encryption_key, mac_key; local 165 ASSERT_TRUE(unpacked->ExportKeys(&user_key, &encryption_key, &mac_key)); 167 EXPECT_EQ(expected_user, user_key);
|
nigori_unittest.cc | 143 std::string user_key; local 146 EXPECT_TRUE(nigori1.ExportKeys(&user_key, &encryption_key, &mac_key)); 149 EXPECT_TRUE(nigori2.InitByImport(user_key, encryption_key, mac_key));
|
cryptographer.cc | 235 if (!nigori->InitByImport(key.user_key(), key.encryption_key(), 252 if (!new_nigori->InitByImport(key.user_key(),
|
/external/chromium_org/sync/util/ |
nigori.h | 44 bool InitByImport(const std::string& user_key, 63 bool ExportKeys(std::string* user_key,
|
nigori.cc | 104 bool Nigori::InitByImport(const std::string& user_key, 107 user_key_.reset(SymmetricKey::Import(SymmetricKey::AES, user_key)); 238 bool Nigori::ExportKeys(std::string* user_key, 241 DCHECK(user_key); 245 return user_key_->GetRawKey(user_key) &&
|
nigori_unittest.cc | 143 std::string user_key; local 146 EXPECT_TRUE(nigori1.ExportKeys(&user_key, &encryption_key, &mac_key)); 149 EXPECT_TRUE(nigori2.InitByImport(user_key, encryption_key, mac_key));
|
cryptographer.cc | 295 if (!new_nigori->InitByImport(key.user_key(), 350 if (!nigori->InitByImport(key.user_key(), key.encryption_key(),
|
/external/chromium_org/content/browser/indexed_db/ |
indexed_db_leveldb_coding.h | 356 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;
|
indexed_db_leveldb_coding.cc | 1695 scoped_ptr<IndexedDBKey> ObjectStoreDataKey::user_key() const { function in class:content::ObjectStoreDataKey 1739 scoped_ptr<IndexedDBKey> ExistsEntryKey::user_key() const { function in class:content::ExistsEntryKey 1862 scoped_ptr<IndexedDBKey> IndexDataKey::user_key() const { function in class:content::IndexDataKey [all...] |
indexed_db_backing_store.cc | 1346 scoped_ptr<IndexedDBKey> user_key = data_key.user_key(); local [all...] |
/external/chromium_org/third_party/leveldatabase/src/table/ |
table_test.cc | 299 return key.user_key;
|