Searched refs:GetKey (Results 1 - 25 of 46) sorted by relevance

12

/fuchsia/zircon/system/dev/display/display/
H A Did-map.h18 uint64_t GetKey() const { return id; } function in class:display::IdMappable
/fuchsia/zircon/system/utest/fbl/include/fbl/tests/intrusive_containers/
H A Dordered_associative_container_test_environment.h81 auto iter_key = KeyTraits::GetKey(*iter);
82 auto prev_key = KeyTraits::GetKey(*prev);
120 auto iter_key = KeyTraits::GetKey(*iter);
121 auto prev_key = KeyTraits::GetKey(*prev);
165 { .key = KeyTraits::GetKey(*ptr) - 1, .bound = nullptr }, // prev (key - 1)
166 { .key = KeyTraits::GetKey(*ptr), .bound = nullptr }, // this (key)
167 { .key = KeyTraits::GetKey(*ptr) + 1, .bound = nullptr }, // next (key + 1)
176 KeyType tmp_key = KeyTraits::GetKey(*tmp);
183 KeyTraits::LessThan(tmp_key, KeyTraits::GetKey(*test.bound))))
H A Dintrusive_hash_table_checker.h41 ASSERT_EQ(HashTraits::GetHash(KeyTraits::GetKey(obj)),
H A Dassociative_container_test_environment.h127 KeyType obj_key = KeyTraits::GetKey(*new_object);
188 KeyType key = objects()[i]->GetKey();
194 EXPECT_EQ(key, iter->GetKey(), "");
230 KeyType key = objects()[i]->GetKey();
245 KeyType key = objects()[i]->GetKey();
333 new_object->SetKey(KeyTraits::GetKey(*objects()[i]));
371 EXPECT_TRUE(KeyTraits::EqualTo(KeyTraits::GetKey(*iter),
372 KeyTraits::GetKey(*new_object)), "");
418 EXPECT_TRUE(KeyTraits::EqualTo(KeyTraits::GetKey(*replaced), i));
419 EXPECT_TRUE(KeyTraits::EqualTo(KeyTraits::GetKey(*replace
[all...]
/fuchsia/zircon/kernel/object/
H A Dfutex_context.cpp118 DEBUG_ASSERT(node->GetKey() == futex_key);
124 DEBUG_ASSERT(remaining_waiters->GetKey() == futex_key);
153 // nodes below, because operations on futex_table_ look at the GetKey
178 DEBUG_ASSERT(requeue_head->GetKey() == requeue_key);
185 DEBUG_ASSERT(node->GetKey() == wake_key);
218 uintptr_t futex_key = node->GetKey();
H A Dfutex_node.cpp85 DEBUG_ASSERT(node->GetKey() == old_hash_key);
127 DEBUG_ASSERT(node->GetKey() == old_hash_key);
/fuchsia/zircon/system/ulib/fbl/include/fbl/
H A Dintrusive_container_utils.h19 // GetKey : A static method which takes a constant reference to an object (the
29 // ++ The type of key returned by GetKey must be compatible with the key which
41 // treated as a keyed-object by implementing a const GetKey method which returns
47 static KeyType GetKey(const ObjType& obj) { return obj.GetKey(); } function in struct:fbl::DefaultKeyedObjectTraits
115 return KeyTraits::EqualTo(key, KeyTraits::GetKey(other));
H A Dintrusive_hash_table.h129 HashType ndx = GetHash(KeyTraits::GetKey(obj));
136 KeyType key = KeyTraits::GetKey(*ptr);
167 KeyType key = KeyTraits::GetKey(*ptr);
196 KeyType key = KeyTraits::GetKey(*ptr);
203 return KeyTraits::EqualTo(key, KeyTraits::GetKey(other));
502 return KeyTraits::EqualTo(key, KeyTraits::GetKey(other));
510 return KeyTraits::EqualTo(key, KeyTraits::GetKey(other));
525 BucketType& GetBucket(const ValueType& obj) { return GetBucket(KeyTraits::GetKey(obj)); }
/fuchsia/zircon/system/uapp/ihda/
H A Dintel_hda_controller.h24 uint32_t GetKey() const { return id(); } function in class:audio::intel_hda::IntelHDAController
H A Dintel_hda_codec.h35 uint32_t GetKey() const { return id(); } function in class:audio::intel_hda::IntelHDACodec
/fuchsia/zircon/kernel/dev/pcie/include/dev/
H A Dpcie_root.h51 uint GetKey() const { return managed_bus_id(); } function in class:PcieRoot
/fuchsia/zircon/kernel/object/include/object/
H A Dfutex_node.h54 uintptr_t GetKey() const { return hash_key_; } function in class:FutexNode
/fuchsia/zircon/system/ulib/fuzz-utils/include/fuzz-utils/
H A Dstring-map.h61 static const char* GetKey(const StringElement& element) { return element.key.c_str(); } function in struct:fuzzing::final::KeyTraits
/fuchsia/zircon/system/ulib/fs/include/fs/
H A Dpseudo-dir.h93 static uint64_t GetKey(const Entry& entry) { function in struct:fs::PseudoDir::KeyByIdTraits
101 static fbl::String GetKey(const Entry& entry) { function in struct:fs::PseudoDir::KeyByNameTraits
/fuchsia/zircon/system/ulib/logger/include/lib/logger/
H A Dlogger.h33 LoggerImpl* GetKey() const { return const_cast<LoggerImpl*>(this); } function in class:logger::LoggerImpl
/fuchsia/zircon/system/ulib/trace-reader/include/trace-reader/
H A Dreader.h120 trace_string_index_t GetKey() const { return index; } function in struct:trace::TraceReader::StringTableEntry
134 trace_thread_index_t GetKey() const { return index; } function in struct:trace::TraceReader::ThreadTableEntry
150 ProviderId GetKey() const { return id; } function in struct:trace::TraceReader::ProviderInfo
/fuchsia/zircon/kernel/lib/hypervisor/include/hypervisor/
H A Dtrap_map.h44 zx_gpaddr_t GetKey() const { return addr_; } function in class:hypervisor::Trap
/fuchsia/zircon/system/dev/bus/platform/
H A Dplatform-proxy.h62 inline uint32_t GetKey() const { return proto_id_; } function in class:platform_bus::PlatformProxy::PlatformProtocol
H A Dplatform-bus.h89 inline uint32_t GetKey() const { return proto_id_; } function in class:platform_bus::PlatformBus::ProtoProxy
/fuchsia/zircon/system/ulib/dispatcher-pool/include/dispatcher-pool/
H A Ddispatcher-thread-pool.h41 uint32_t GetKey() const { return priority_; } function in class:dispatcher::ThreadPool
/fuchsia/zircon/system/ulib/process-launcher/
H A Dlauncher.h32 LauncherImpl* GetKey() const { return const_cast<LauncherImpl*>(this); } function in class:launcher::LauncherImpl
/fuchsia/zircon/system/ulib/trace-provider/
H A Dhandler_impl.h80 static CString GetKey(const StringSetEntry& obj) { function in struct:trace::internal::final::CategoryStringKeyTraits
/fuchsia/zircon/system/dev/audio/intel-hda/controller/
H A Dintel-hda-stream.h56 uint16_t GetKey() const { return id(); } function in class:audio::intel_hda::IntelHDAStream
/fuchsia/zircon/system/ulib/runtests-utils/include/runtests-utils/
H A Druntests-utils.h50 fbl::String GetKey() const { return name; } function in struct:runtests::DataSink
/fuchsia/zircon/system/ulib/region-alloc/include/region-alloc/
H A Dregion-alloc.h269 static const ralloc_region_t& GetKey(const Region& r) { return r; } function in struct:RegionAllocator::Region::KeyTraitsSortBySize
288 uint64_t GetKey() const { return base; } function in class:RegionAllocator::Region

Completed in 117 milliseconds

12