Home
last modified time | relevance | path

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

/external/leveldb/db/
Ddbformat.cc22 result->append(key.user_key.data(), key.user_key.size()); in AppendInternalKey()
28 ss << '\'' << EscapeString(user_key.ToString()) << "' @ " << sequence << " : " in DebugString()
85 Slice user_key = ExtractUserKey(*key); in FindShortSuccessor() local
86 std::string tmp(user_key.data(), user_key.size()); in FindShortSuccessor()
88 if (tmp.size() < user_key.size() && in FindShortSuccessor()
89 user_comparator_->Compare(user_key, tmp) < 0) { in FindShortSuccessor()
117 LookupKey::LookupKey(const Slice& user_key, SequenceNumber s) { in LookupKey() argument
118 size_t usize = user_key.size(); in LookupKey()
129 std::memcpy(dst, user_key.data(), usize); in LookupKey()
Ddbformat.h70 Slice user_key; member
76 : user_key(u), sequence(seq), type(t) {} in ParsedInternalKey()
82 return key.user_key.size() + 8; in InternalKeyEncodingLength()
140 InternalKey(const Slice& user_key, SequenceNumber s, ValueType t) { in InternalKey() argument
141 AppendInternalKey(&rep_, ParsedInternalKey(user_key, s, t)); in InternalKey()
154 Slice user_key() const { return ExtractUserKey(rep_); } in user_key() function
179 result->user_key = Slice(internal_key.data(), n - 8); in ParseInternalKey()
188 LookupKey(const Slice& user_key, SequenceNumber sequence);
202 Slice user_key() const { return Slice(kstart_, end_ - kstart_ - 8); } in user_key() function
Dversion_set.cc107 static bool AfterFile(const Comparator* ucmp, const Slice* user_key, in AfterFile() argument
110 return (user_key != nullptr && in AfterFile()
111 ucmp->Compare(*user_key, f->largest.user_key()) > 0); in AfterFile()
114 static bool BeforeFile(const Comparator* ucmp, const Slice* user_key, in BeforeFile() argument
117 return (user_key != nullptr && in BeforeFile()
118 ucmp->Compare(*user_key, f->smallest.user_key()) < 0); in BeforeFile()
258 Slice user_key; member
268 if (s->ucmp->Compare(parsed_key.user_key, s->user_key) == 0) { in SaveValue()
281 void Version::ForEachOverlapping(Slice user_key, Slice internal_key, void* arg, in ForEachOverlapping() argument
290 if (ucmp->Compare(user_key, f->smallest.user_key()) >= 0 && in ForEachOverlapping()
[all …]
Ddbformat_test.cc12 static std::string IKey(const std::string& user_key, uint64_t seq, in IKey() argument
15 AppendInternalKey(&encoded, ParsedInternalKey(user_key, seq, vt)); in IKey()
38 ASSERT_EQ(key, decoded.user_key.ToString()); in TestKey()
Ddb_iter.cc188 SaveKey(ikey.user_key, skip); in FindNextUserEntry()
193 user_comparator_->Compare(ikey.user_key, *skip) <= 0) { in FindNextUserEntry()
245 user_comparator_->Compare(ikey.user_key, saved_key_) < 0) { in FindPrevUserEntry()
Dwrite_batch_test.cc28 state.append(ikey.user_key.ToString()); in PrintContents()
36 state.append(ikey.user_key.ToString()); in PrintContents()
Dversion_set.h145 void ForEachOverlapping(Slice user_key, Slice internal_key, void* arg,
350 bool IsBaseLevelForKey(const Slice& user_key);
Ddb_impl.cc533 const Slice min_user_key = meta.smallest.user_key(); in WriteLevel0Table()
534 const Slice max_user_key = meta.largest.user_key(); in WriteLevel0Table()
953 user_comparator()->Compare(ikey.user_key, Slice(current_user_key)) != in DoCompactionWork()
956 current_user_key.assign(ikey.user_key.data(), ikey.user_key.size()); in DoCompactionWork()
966 compact->compaction->IsBaseLevelForKey(ikey.user_key)) { in DoCompactionWork()
983 ikey.user_key.ToString().c_str(), in DoCompactionWork()
985 compact->compaction->IsBaseLevelForKey(ikey.user_key), in DoCompactionWork()
Dmemtable.cc119 Slice(key_ptr, key_length - 8), key.user_key()) == 0) { in Get()
Ddumpfile.cc184 AppendEscapedStringTo(&r, key.user_key); in DumpTable()
Ddb_test.cc365 std::string AllEntriesFor(const Slice& user_key) { in AllEntriesFor() argument
367 InternalKey target(user_key, kMaxSequenceNumber, kTypeValue); in AllEntriesFor()
380 if (last_options_.comparator->Compare(ikey.user_key, user_key) != 0) { in AllEntriesFor()
/external/cronet/stable/third_party/boringssl/src/crypto/fipsmodule/aes/
Dinternal.h69 int aes_hw_set_encrypt_key(const uint8_t *user_key, int bits, AES_KEY *key);
70 int aes_hw_set_decrypt_key(const uint8_t *user_key, int bits, AES_KEY *key);
99 int aes_hw_set_encrypt_key_base(const uint8_t *user_key, int bits,
101 int aes_hw_set_encrypt_key_alt(const uint8_t *user_key, int bits, AES_KEY *key);
110 OPENSSL_INLINE int aes_hw_set_encrypt_key(const uint8_t *user_key, int bits, in aes_hw_set_encrypt_key() argument
115 OPENSSL_INLINE int aes_hw_set_decrypt_key(const uint8_t *user_key, int bits, in aes_hw_set_decrypt_key() argument
Daes.cc.inc112 int aes_hw_set_decrypt_key(const uint8_t *user_key, int bits, AES_KEY *key) {
113 int ret = aes_hw_set_encrypt_key(user_key, bits, key);
120 int aes_hw_set_encrypt_key(const uint8_t *user_key, int bits, AES_KEY *key) {
122 return aes_hw_set_encrypt_key_alt(user_key, bits, key);
124 return aes_hw_set_encrypt_key_base(user_key, bits, key);
/external/cronet/tot/third_party/boringssl/src/crypto/fipsmodule/aes/
Dinternal.h69 int aes_hw_set_encrypt_key(const uint8_t *user_key, int bits, AES_KEY *key);
70 int aes_hw_set_decrypt_key(const uint8_t *user_key, int bits, AES_KEY *key);
99 int aes_hw_set_encrypt_key_base(const uint8_t *user_key, int bits,
101 int aes_hw_set_encrypt_key_alt(const uint8_t *user_key, int bits, AES_KEY *key);
110 OPENSSL_INLINE int aes_hw_set_encrypt_key(const uint8_t *user_key, int bits, in aes_hw_set_encrypt_key() argument
115 OPENSSL_INLINE int aes_hw_set_decrypt_key(const uint8_t *user_key, int bits, in aes_hw_set_decrypt_key() argument
Daes.cc.inc112 int aes_hw_set_decrypt_key(const uint8_t *user_key, int bits, AES_KEY *key) {
113 int ret = aes_hw_set_encrypt_key(user_key, bits, key);
120 int aes_hw_set_encrypt_key(const uint8_t *user_key, int bits, AES_KEY *key) {
122 return aes_hw_set_encrypt_key_alt(user_key, bits, key);
124 return aes_hw_set_encrypt_key_base(user_key, bits, key);
/external/boringssl/src/crypto/fipsmodule/aes/
Dinternal.h92 int aes_hw_set_encrypt_key(const uint8_t *user_key, int bits, AES_KEY *key);
93 int aes_hw_set_decrypt_key(const uint8_t *user_key, int bits, AES_KEY *key);
122 int aes_hw_set_encrypt_key_base(const uint8_t *user_key, int bits,
124 int aes_hw_set_encrypt_key_alt(const uint8_t *user_key, int bits, AES_KEY *key);
133 inline int aes_hw_set_encrypt_key(const uint8_t *user_key, int bits, in aes_hw_set_encrypt_key() argument
138 inline int aes_hw_set_decrypt_key(const uint8_t *user_key, int bits, in aes_hw_set_decrypt_key() argument
Daes.cc.inc73 int aes_hw_set_decrypt_key(const uint8_t *user_key, int bits, AES_KEY *key) {
74 int ret = aes_hw_set_encrypt_key(user_key, bits, key);
81 int aes_hw_set_encrypt_key(const uint8_t *user_key, int bits, AES_KEY *key) {
83 return aes_hw_set_encrypt_key_alt(user_key, bits, key);
85 return aes_hw_set_encrypt_key_base(user_key, bits, key);
/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/fipsmodule/aes/
Dinternal.h79 int aes_hw_set_encrypt_key(const uint8_t *user_key, const int bits,
81 int aes_hw_set_decrypt_key(const uint8_t *user_key, const int bits,
96 OPENSSL_INLINE int aes_hw_set_encrypt_key(const uint8_t *user_key, int bits, in aes_hw_set_encrypt_key() argument
101 OPENSSL_INLINE int aes_hw_set_decrypt_key(const uint8_t *user_key, int bits, in aes_hw_set_decrypt_key() argument
/external/ltp/testcases/kernel/security/integrity/ima/
DREADME.md96 # user_key=$(keyctl add user kmk-user "`dd if=/dev/urandom bs=1 count=32 2>/dev/null`" @u)
97 # keyctl pipe "$user_key" > /etc/keys/kmk-user.blob
/external/rust/android-crates-io/crates/ring/src/aead/
Daes.rs38 fn $name(user_key: *const u8, bits: c::uint, key: &mut AES_KEY) -> c::int;
/external/leveldb/table/
Dtable_test.cc287 return key.user_key; in key()