/fuchsia/zircon/system/utest/fbl/include/fbl/tests/intrusive_containers/ |
H A D | sequence_container_test_environment.h | 22 using ObjType = typename TestEnvTraits::ObjType; 24 using ContainerTraits = typename ObjType::ContainerTraits; 42 EXPECT_EQ(0U, ObjType::live_obj_count(), ""); 88 EXPECT_EQ(OBJ_COUNT, ObjType::live_obj_count(), ""); 103 EXPECT_EQ(0U, ObjType::live_obj_count(), ""); 127 EXPECT_EQ(OBJ_COUNT, ObjType::live_obj_count(), ""); 151 EXPECT_EQ(remaining, ObjType::live_obj_count(), ""); 166 EXPECT_EQ(remaining, ObjType::live_obj_count(), ""); 174 EXPECT_EQ(remaining - 1, ObjType [all...] |
H A D | objects.h | 123 using ObjType = _ObjType; 124 using PtrType = ObjType*; 125 using ConstPtrType = const ObjType*; 126 using ContainerType = typename ObjType::ContainerTraits::ContainerType; 130 auto r = new (&ac) ObjType(value); 147 using ObjType = _ObjType; 148 using PtrType = ::fbl::unique_ptr<ObjType>; 150 using ContainerType = typename ObjType::ContainerTraits::ContainerType; 154 auto r = new (&ac) ObjType(value); 170 using ObjType [all...] |
H A D | base_test_environments.h | 27 using ObjType = typename TestEnvTraits::ObjType; 52 ObjType* objects_[OBJ_COUNT] = { nullptr }; 152 using ObjType = typename TestEnvTraits::ObjType; 154 using ContainerTraits = typename ObjType::ContainerTraits; 173 bool ValidEraseTarget(ObjType& target) { return NodeTraits::node_state(target).InContainer(); } 206 EXPECT_EQ(0u, ObjType::live_obj_count(), ""); 207 ObjType::ResetLiveObjCount(); 223 EXPECT_EQ(refs_held(), ObjType [all...] |
H A D | associative_container_test_environment.h | 22 using ObjType = typename TestEnvTraits::ObjType; 24 using ContainerTraits = typename ObjType::ContainerTraits; 100 EXPECT_EQ(0U, ObjType::live_obj_count(), ""); 152 EXPECT_EQ(OBJ_COUNT, ObjType::live_obj_count(), ""); 399 ASSERT_EQ(0u, ObjType::live_obj_count(), ""); 414 EXPECT_EQ(OBJ_COUNT + 1, ObjType::live_obj_count(), ""); 424 EXPECT_EQ(OBJ_COUNT, ObjType::live_obj_count(), ""); 427 EXPECT_EQ(i + 1, ObjType::live_obj_count()); 465 ObjType** object [all...] |
/fuchsia/zircon/system/ulib/fbl/include/fbl/ |
H A D | slab_allocator.h | 336 using ObjType = T; 340 static constexpr PtrType CreatePtr(ObjType* ptr) { return ptr; } 346 using ObjType = T; 350 static constexpr PtrType CreatePtr(ObjType* ptr) { return PtrType(ptr); } 356 using ObjType = T; 360 static constexpr PtrType CreatePtr(ObjType* ptr) { return AdoptRef<ObjType>(ptr); } 366 static inline void SetOrigin(typename SATraits::ObjType* ptr, 382 static inline void SetOrigin(typename SATraits::ObjType* ptr, 528 using ObjType [all...] |
H A D | intrusive_container_utils.h | 45 template <typename KeyType, typename ObjType> 47 static KeyType GetKey(const ObjType& obj) { return obj.GetKey(); }
|
H A D | ref_ptr.h | 60 using ObjType = T; 156 static_assert(is_same<BaseRefPtr, RefPtr<typename BaseRefPtr::ObjType>>::value,
|
H A D | intrusive_hash_table.h | 34 // its KeyType, ObjType, HashType and NumBuckets from template parameters. 35 // Users of DefaultHashTraits only need to implement a static method of ObjType 43 typename ObjType, 49 return static_cast<HashType>(ObjType::GetHash(key) % kNumBuckets);
|
/fuchsia/zircon/system/utest/fbl/ |
H A D | slab_allocator_tests.cpp | 124 class ObjType; 125 using PtrType = ObjType*; 131 class ObjType : public TestBase, class in struct:__anon1351::UnmanagedTestTraits 135 ObjType() : TestBase() { } function in class:__anon1351::UnmanagedTestTraits::ObjType 136 explicit ObjType(const size_t& val) : TestBase(val) { } function in class:__anon1351::UnmanagedTestTraits::ObjType 137 explicit ObjType(size_t&& val) : TestBase(fbl::move(val)) { } function in class:__anon1351::UnmanagedTestTraits::ObjType 138 explicit ObjType(const size_t& a, size_t&& b) : TestBase(a, fbl::move(b)) { } function in class:__anon1351::UnmanagedTestTraits::ObjType 148 class ObjType; 149 using PtrType = fbl::unique_ptr<ObjType>; 155 class ObjType class in struct:__anon1351::UniquePtrTestTraits 159 ObjType() : TestBase() { } function in class:__anon1351::UniquePtrTestTraits::ObjType 160 explicit ObjType(const size_t& val) : TestBase(val) { } function in class:__anon1351::UniquePtrTestTraits::ObjType 161 explicit ObjType(size_t&& val) : TestBase(fbl::move(val)) { } function in class:__anon1351::UniquePtrTestTraits::ObjType 162 explicit ObjType(const size_t& a, size_t&& b) : TestBase(a, fbl::move(b)) { } function in class:__anon1351::UniquePtrTestTraits::ObjType 180 class ObjType : public TestBase, class in struct:__anon1351::RefPtrTestTraits 185 ObjType() : TestBase() { } function in class:__anon1351::RefPtrTestTraits::ObjType 186 explicit ObjType(const size_t& val) : TestBase(val) { } function in class:__anon1351::RefPtrTestTraits::ObjType 187 explicit ObjType(size_t&& val) : TestBase(fbl::move(val)) { } function in class:__anon1351::RefPtrTestTraits::ObjType 188 explicit ObjType(const size_t& a, size_t&& b) : TestBase(a, fbl::move(b)) { } function in class:__anon1351::RefPtrTestTraits::ObjType 380 class ObjType : public TestBase, class in struct:__anon1351::StaticUnmanagedTestTraits 384 ObjType() : TestBase() { } function in class:__anon1351::StaticUnmanagedTestTraits::ObjType 385 explicit ObjType(const size_t& val) : TestBase(val) { } function in class:__anon1351::StaticUnmanagedTestTraits::ObjType 386 explicit ObjType(size_t&& val) : TestBase(fbl::move(val)) { } function in class:__anon1351::StaticUnmanagedTestTraits::ObjType 387 explicit ObjType(const size_t& a, size_t&& b) : TestBase(a, fbl::move(b)) { } function in class:__anon1351::StaticUnmanagedTestTraits::ObjType 406 class ObjType : public TestBase, class in struct:__anon1351::StaticUniquePtrTestTraits 410 ObjType() : TestBase() { } function in class:__anon1351::StaticUniquePtrTestTraits::ObjType 411 explicit ObjType(const size_t& val) : TestBase(val) { } function in class:__anon1351::StaticUniquePtrTestTraits::ObjType 412 explicit ObjType(size_t&& val) : TestBase(fbl::move(val)) { } function in class:__anon1351::StaticUniquePtrTestTraits::ObjType 413 explicit ObjType(const size_t& a, size_t&& b) : TestBase(a, fbl::move(b)) { } function in class:__anon1351::StaticUniquePtrTestTraits::ObjType 433 class ObjType : public TestBase, class in struct:__anon1351::StaticRefPtrTestTraits 438 ObjType() : TestBase() { } function in class:__anon1351::StaticRefPtrTestTraits::ObjType 439 explicit ObjType(const size_t& val) : TestBase(val) { } function in class:__anon1351::StaticRefPtrTestTraits::ObjType 440 explicit ObjType(size_t&& val) : TestBase(fbl::move(val)) { } function in class:__anon1351::StaticRefPtrTestTraits::ObjType 441 explicit ObjType(const size_t& a, size_t&& b) : TestBase(a, fbl::move(b)) { } function in class:__anon1351::StaticRefPtrTestTraits::ObjType [all...] |
H A D | intrusive_hash_table_sll_tests.cpp | 22 using ObjType = typename ::fbl::internal::ContainerPtrTraits<PtrType>::ValueType; 26 static BucketStateType& node_state(ObjType& obj) { 31 static OtherKeyType GetKey(const ObjType& obj) { 50 static void SetKey(ObjType& obj, OtherKeyType key) { 66 using ObjType = typename ::fbl::internal::ContainerPtrTraits<PtrType>::ValueType;
|
H A D | intrusive_hash_table_dll_tests.cpp | 22 using ObjType = typename ::fbl::internal::ContainerPtrTraits<PtrType>::ValueType; 26 static BucketStateType& node_state(ObjType& obj) { 31 static OtherKeyType GetKey(const ObjType& obj) { 50 static void SetKey(ObjType& obj, OtherKeyType key) { 66 using ObjType = typename ::fbl::internal::ContainerPtrTraits<PtrType>::ValueType;
|
H A D | recycler_tests.cpp | 18 using ObjType = typename fbl::remove_cv<T>::type; 24 using ObjType = typename fbl::remove_cv<T>::type; 99 auto ptr = PtrTraits<T>::MakePointer(new (&ac) typename PtrTraits<T>::ObjType);
|
/fuchsia/zircon/third_party/lib/acpica/source/components/namespace/ |
H A D | nsdump.c | 210 ACPI_OBJECT_TYPE ObjType; local 548 ObjType = ACPI_TYPE_INVALID; 564 ObjType = ObjDesc->Common.Type; 566 if (ObjType > ACPI_TYPE_LOCAL_MAX) 570 ObjType); 578 ObjType, AcpiUtGetTypeName (ObjType)); 600 switch (ObjType) 650 ObjType = ACPI_TYPE_INVALID; /* Terminate loop after next pass */
|
/fuchsia/zircon/third_party/lib/acpica/source/include/acpica/ |
H A D | acmacros.h | 342 #define ACPI_OP(Name, PArgs, IArgs, ObjType, Class, Type, Flags) \ 343 {Name, (UINT32)(PArgs), (UINT32)(IArgs), (UINT32)(Flags), ObjType, Class, Type} 345 #define ACPI_OP(Name, PArgs, IArgs, ObjType, Class, Type, Flags) \ 346 {(UINT32)(PArgs), (UINT32)(IArgs), (UINT32)(Flags), ObjType, Class, Type}
|