Home
last modified time | relevance | path

Searched refs:GetKey (Results 1 – 25 of 42) sorted by relevance

12

/system/utest/fbl/include/fbl/tests/intrusive_containers/
A Dordered_associative_container_test_environment.h81 auto iter_key = KeyTraits::GetKey(*iter); in DoOrderedIter()
82 auto prev_key = KeyTraits::GetKey(*prev); in DoOrderedIter()
120 auto iter_key = KeyTraits::GetKey(*iter); in DoOrderedReverseIter()
121 auto prev_key = KeyTraits::GetKey(*prev); in DoOrderedReverseIter()
165 { .key = KeyTraits::GetKey(*ptr) - 1, .bound = nullptr }, // prev (key - 1) in DoBoundTest()
166 { .key = KeyTraits::GetKey(*ptr), .bound = nullptr }, // this (key) in DoBoundTest()
167 { .key = KeyTraits::GetKey(*ptr) + 1, .bound = nullptr }, // next (key + 1) in DoBoundTest()
176 KeyType tmp_key = KeyTraits::GetKey(*tmp); in DoBoundTest()
183 KeyTraits::LessThan(tmp_key, KeyTraits::GetKey(*test.bound)))) in DoBoundTest()
A Dassociative_container_test_environment.h127 KeyType obj_key = KeyTraits::GetKey(*new_object);
193 KeyType key = objects()[i]->GetKey(); in DoFindByKey()
199 EXPECT_EQ(key, iter->GetKey(), ""); in DoFindByKey()
241 KeyType key = objects()[i]->GetKey(); in DoEraseByKey()
258 KeyType key = objects()[i]->GetKey(); in DoEraseByKey()
351 new_object->SetKey(KeyTraits::GetKey(*objects()[i])); in DoInsertOrFind()
389 EXPECT_TRUE(KeyTraits::EqualTo(KeyTraits::GetKey(*iter), in DoInsertOrFind()
390 KeyTraits::GetKey(*new_object)), ""); in DoInsertOrFind()
443 EXPECT_TRUE(KeyTraits::EqualTo(KeyTraits::GetKey(*replaced), i)); in DoInsertOrReplace()
444 EXPECT_TRUE(KeyTraits::EqualTo(KeyTraits::GetKey(*replaced), replaced->value())); in DoInsertOrReplace()
A Dintrusive_hash_table_checker.h41 ASSERT_EQ(HashTraits::GetHash(KeyTraits::GetKey(obj)), in SanityCheck()
/system/ulib/blobfs/include/blobfs/
A Dblob-cache.h145 static const uint8_t* GetKey(const CacheNode& obj) { return obj.GetKey(); } in GetKey() function
A Dcache-node.h83 const uint8_t* GetKey() const { in GetKey() function
/system/ulib/trace-reader/include/trace-reader/
A Dreader.h122 trace_string_index_t GetKey() const { return index; } in GetKey() function
136 trace_thread_index_t GetKey() const { return index; } in GetKey() function
152 ProviderId GetKey() const { return id; } in GetKey() function
/system/ulib/fbl/include/fbl/
A Dintrusive_hash_table.h131 HashType ndx = GetHash(KeyTraits::GetKey(obj)); in make_iterator()
138 KeyType key = KeyTraits::GetKey(*ptr); in insert()
169 KeyType key = KeyTraits::GetKey(*ptr);
198 KeyType key = KeyTraits::GetKey(*ptr); in insert_or_replace()
205 return KeyTraits::EqualTo(key, KeyTraits::GetKey(other)); in insert_or_replace()
505 return KeyTraits::EqualTo(key, KeyTraits::GetKey(other)); in FindInBucket()
513 return KeyTraits::EqualTo(key, KeyTraits::GetKey(other)); in FindInBucket()
528 BucketType& GetBucket(const ValueType& obj) { return GetBucket(KeyTraits::GetKey(obj)); } in GetBucket()
A Dintrusive_container_utils.h47 static KeyType GetKey(const ObjType& obj) { return obj.GetKey(); } in GetKey() function
115 return KeyTraits::EqualTo(key, KeyTraits::GetKey(other));
/system/dev/display/display/
A Did-map.h18 uint64_t GetKey() const { return id; } in GetKey() function
/system/ulib/blobfs/
A Dblob-cache.cpp64 auto current = open_hash_.lower_bound(old_vnode->GetKey()); in ForAllOpenNodes()
157 const uint8_t* key = vnode->GetKey(); in Add()
185 ZX_ASSERT(closed_hash_.find(vnode->GetKey()).CopyPointer() == nullptr); in EvictUnsafe()
/system/uapp/ihda/
A Dintel_hda_controller.h24 uint32_t GetKey() const { return id(); } in GetKey() function
A Dintel_hda_codec.h35 uint32_t GetKey() const { return id(); } in GetKey() function
/system/ulib/fs/include/fs/
A Dpseudo-dir.h93 static uint64_t GetKey(const Entry& entry) { in GetKey() function
101 static fbl::String GetKey(const Entry& entry) { in GetKey() function
/system/dev/block/fvm/
A Dslice-extent.h21 size_t GetKey() const { return vslice_start_; } in GetKey() function
/system/ulib/fuzz-utils/include/fuzz-utils/
A Dstring-map.h65 static const char* GetKey(const StringElement& element) { return element.key.c_str(); } in GetKey() function
/system/ulib/logger/include/lib/logger/
A Dlogger.h35 LoggerImpl* GetKey() const { return const_cast<LoggerImpl*>(this); } in GetKey() function
/system/ulib/process-launcher/
A Dlauncher.h34 LauncherImpl* GetKey() const { return const_cast<LauncherImpl*>(this); } in GetKey() function
/system/ulib/trace-provider/
A Dsession.h80 static CString GetKey(const StringSetEntry& obj) { in GetKey() function
/system/dev/block/ftl/test/
A Dftl-test.cpp196 uint32_t GetKey(uint32_t page_num) { in GetKey() function in __anon3db14d6f0111::FtlTest
279 uint32_t value = GetKey(page_num); in PrepareBuffer()
299 uint32_t value = GetKey(page); in CheckVolume()
/system/ulib/dispatcher-pool/include/dispatcher-pool/
A Ddispatcher-thread-pool.h41 uint32_t GetKey() const { return priority_; } in GetKey() function
/system/dev/bus/platform/
A Dplatform-proxy.h65 inline uint32_t GetKey() const { return proto_id_; } in GetKey() function
/system/dev/tee/optee/
A Doptee-client.h62 uint32_t GetKey() const { return id; } in GetKey() function
/system/ulib/runtests-utils/include/runtests-utils/
A Druntests-utils.h51 fbl::String GetKey() const { return name; } in GetKey() function
/system/ulib/region-alloc/include/region-alloc/
A Dregion-alloc.h284 static const ralloc_region_t& GetKey(const Region& r) { return r; } in GetKey() function
329 uint64_t GetKey() const { return base; } in GetKey() function
/system/utest/fbl/
A Dintrusive_wavl_tree_tests.cpp31 static KeyType GetKey(typename PtrTraits::ConstRefType obj) { in GetKey() function
254 BalanceTestKeyType GetKey() const { return key_; } in GetKey() function in fbl::tests::intrusive_containers::BalanceTestObj
305 BalanceTestObjPtr erased = tree.erase(ptr->GetKey()); in DoBalanceTestErase()

Completed in 48 milliseconds

12