Home
last modified time | relevance | path

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

/aosp_15_r20/external/tensorflow/tensorflow/core/lib/io/
H A Dcache_test.cc28 static std::string EncodeKey(int k) { in EncodeKey() function
57 Cache::Handle* handle = cache_->Lookup(EncodeKey(key)); in Lookup()
66 cache_->Release(cache_->Insert(EncodeKey(key), EncodeValue(value), charge, in Insert()
71 return cache_->Insert(EncodeKey(key), EncodeValue(value), charge, in InsertAndReturnHandle()
75 void Erase(int key) { cache_->Erase(EncodeKey(key)); } in Erase()
124 Cache::Handle* h1 = cache_->Lookup(EncodeKey(100)); in TEST_F()
128 Cache::Handle* h2 = cache_->Lookup(EncodeKey(100)); in TEST_F()
151 Cache::Handle* h = cache_->Lookup(EncodeKey(300)); in TEST_F()
220 Cache::Handle* handle = cache_->Lookup(EncodeKey(1)); in TEST_F()
/aosp_15_r20/external/leveldb/util/
H A Dcache_test.cc15 static std::string EncodeKey(int k) { in EncodeKey() function
44 Cache::Handle* handle = cache_->Lookup(EncodeKey(key)); in Lookup()
53 cache_->Release(cache_->Insert(EncodeKey(key), EncodeValue(value), charge, in Insert()
58 return cache_->Insert(EncodeKey(key), EncodeValue(value), charge, in InsertAndReturnHandle()
62 void Erase(int key) { cache_->Erase(EncodeKey(key)); } in Erase()
111 Cache::Handle* h1 = cache_->Lookup(EncodeKey(100)); in TEST_F()
115 Cache::Handle* h2 = cache_->Lookup(EncodeKey(100)); in TEST_F()
138 Cache::Handle* h = cache_->Lookup(EncodeKey(300)); in TEST_F()
207 Cache::Handle* handle = cache_->Lookup(EncodeKey(1)); in TEST_F()
/aosp_15_r20/external/leveldb/db/
H A Dmemtable.cc39 static const char* EncodeKey(std::string* scratch, const Slice& target) { in EncodeKey() function
56 void Seek(const Slice& k) override { iter_.Seek(EncodeKey(&tmp_, k)); } in Seek()
/aosp_15_r20/hardware/interfaces/rebootescrow/aidl/default/
H A DHadamardUtils.h41 std::vector<uint8_t> EncodeKey(const std::vector<uint8_t>& input);
H A DHadamardUtilsTest.cpp45 auto encoded = EncodeKey(key); in TEST_F()
H A DRebootEscrow.cpp39 auto encoded = hadamard::EncodeKey(ukek); in storeKey()
H A DHadamardUtils.cpp53 std::vector<uint8_t> EncodeKey(const std::vector<uint8_t>& input) { in EncodeKey() function