/external/chromium_org/third_party/leveldatabase/src/db/ |
D | dbformat.cc | 19 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()
|
D | dbformat.h | 71 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
|
D | version_set.cc | 99 const Slice* user_key, const FileMetaData* f) { in AfterFile() argument 101 return (user_key != NULL && in AfterFile() 102 ucmp->Compare(*user_key, f->largest.user_key()) > 0); in AfterFile() 106 const Slice* user_key, const FileMetaData* f) { in BeforeFile() argument 108 return (user_key != NULL && in BeforeFile() 109 ucmp->Compare(*user_key, f->smallest.user_key()) < 0); in BeforeFile() 255 Slice user_key; member 265 if (s->ucmp->Compare(parsed_key.user_key, s->user_key) == 0) { in SaveValue() 278 void Version::ForEachOverlapping(Slice user_key, Slice internal_key, in ForEachOverlapping() argument 289 if (ucmp->Compare(user_key, f->smallest.user_key()) >= 0 && in ForEachOverlapping() [all …]
|
D | dbformat_test.cc | 11 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()
|
D | db_iter.cc | 184 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()
|
D | write_batch_test.cc | 29 state.append(ikey.user_key.ToString()); in PrintContents() 37 state.append(ikey.user_key.ToString()); in PrintContents()
|
D | version_set.h | 128 void ForEachOverlapping(Slice user_key, Slice internal_key, 353 bool IsBaseLevelForKey(const Slice& user_key);
|
D | db_impl.cc | 487 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()
|
D | memtable.cc | 127 key.user_key()) == 0) { in Get()
|
D | leveldb_main.cc | 167 EscapeString(key.user_key).c_str(), in DumpTable()
|
D | db_test.cc | 336 std::string AllEntriesFor(const Slice& user_key) { in AllEntriesFor() argument 338 InternalKey target(user_key, kMaxSequenceNumber, kTypeValue); in AllEntriesFor() 351 if (last_options_.comparator->Compare(ikey.user_key, user_key) != 0) { in AllEntriesFor()
|
/external/chromium_org/sync/util/ |
D | nigori.cc | 104 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()
|
D | nigori.h | 44 bool InitByImport(const std::string& user_key, 63 bool ExportKeys(std::string* user_key,
|
D | nigori_unittest.cc | 143 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()
|
D | cryptographer.cc | 295 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/ |
D | indexed_db_leveldb_coding.h | 387 const IndexedDBKey& user_key); 388 scoped_ptr<IndexedDBKey> user_key() const; 408 const IndexedDBKey& user_key); 409 scoped_ptr<IndexedDBKey> user_key() const; 431 const IndexedDBKey& user_key); 463 const IndexedDBKey& user_key); 467 const IndexedDBKey& user_key, 478 scoped_ptr<IndexedDBKey> user_key() const;
|
D | indexed_db_leveldb_coding.cc | 1768 const IndexedDBKey& user_key) { in Encode() argument 1770 EncodeIDBKey(user_key, &encoded_key); in Encode() 1774 scoped_ptr<IndexedDBKey> ObjectStoreDataKey::user_key() const { in user_key() function in content::ObjectStoreDataKey 1812 const IndexedDBKey& user_key) { in Encode() argument 1814 EncodeIDBKey(user_key, &encoded_key); in Encode() 1818 scoped_ptr<IndexedDBKey> ExistsEntryKey::user_key() const { in user_key() function in content::ExistsEntryKey 1892 const IndexedDBKey& user_key) { in Encode() argument 1894 EncodeIDBKey(user_key, &encoded_key); in Encode() 1964 const IndexedDBKey& user_key) { in Encode() argument 1966 EncodeIDBKey(user_key, &encoded_key); in Encode() [all …]
|
D | indexed_db_backing_store.cc | 1357 std::string user_key = in DeleteBlobsInRange() local 1359 if (!user_key.size()) { in DeleteBlobsInRange() 1364 database_id, object_store_id, user_key, NULL, NULL); in DeleteBlobsInRange() 2072 scoped_ptr<IndexedDBKey> user_key = data_key.user_key(); in GetKeyGeneratorCurrentNumber() local 2073 if (user_key->type() == blink::WebIDBKeyTypeNumber) { in GetKeyGeneratorCurrentNumber() 2074 int64 n = static_cast<int64>(user_key->number()); in GetKeyGeneratorCurrentNumber() 3250 current_key_ = object_store_data_key.user_key(); in LoadCurrentRow() 3314 current_key_ = object_store_data_key.user_key(); in LoadCurrentRow() 3400 current_key_ = index_data_key.user_key(); in LoadCurrentRow() 3516 current_key_ = index_data_key.user_key(); in LoadCurrentRow()
|
/external/chromium_org/chrome/browser/chromeos/login/managed/ |
D | managed_user_authenticator.cc | 93 Key user_key(attempt->password); in AddKey() local 94 user_key.Transform(Key::KEY_TYPE_SALTED_SHA256_TOP_HALF, system_salt); in AddKey() 99 user_key.GetSecret(), in AddKey()
|
/external/chromium_org/sync/protocol/ |
D | nigori_specifics.proto | 21 optional bytes user_key = 2; field
|
/external/chromium_org/third_party/leveldatabase/src/table/ |
D | table_test.cc | 299 return key.user_key; in key()
|