Home
last modified time | relevance | path

Searched refs:ContainerType (Results 1 – 20 of 20) sorted by relevance

/system/utest/fbl/include/fbl/tests/intrusive_containers/
A Dtest_environment_utils.h20 template <typename ContainerType, typename Enable = void>
23 template <typename ContainerType>
24 struct ContainerUtils<ContainerType,
26 using PtrTraits = typename ContainerType::PtrTraits;
34 template <typename ContainerType>
35 struct ContainerUtils<ContainerType,
37 using PtrTraits = typename ContainerType::PtrTraits;
48 template <typename ContainerType>
49 struct SizeUtils<ContainerType,
54 template <typename ContainerType>
[all …]
A Dintrusive_hash_table_checker.h21 template <typename ContainerType>
22 static bool SanityCheck(const ContainerType& container) { in SanityCheck()
23 using BucketType = typename ContainerType::BucketType; in SanityCheck()
25 using HashType = typename ContainerType::HashType; in SanityCheck()
26 using HashTraits = typename ContainerType::HashTraits; in SanityCheck()
27 using KeyTraits = typename ContainerType::KeyTraits; in SanityCheck()
34 for (size_t i = 0; i < ContainerType::kNumBuckets; ++i) { in SanityCheck()
A Dintrusive_singly_linked_list_checker.h22 template <typename ContainerType>
23 static bool SanityCheck(const ContainerType& container) { in SanityCheck()
24 using NodeTraits = typename ContainerType::NodeTraits; in SanityCheck()
25 using PtrTraits = typename ContainerType::PtrTraits; in SanityCheck()
A Dordered_associative_container_test_environment.h26 using ContainerType = typename ACTE::ContainerType; variable
27 using KeyTraits = typename ContainerType::KeyTraits;
28 using KeyType = typename ContainerType::KeyType;
29 using RawPtrType = typename ContainerType::RawPtrType;
32 using ContainerType = typename ACTE::ContainerType; member
33 using IterType = typename ACTE::ContainerType::iterator;
37 using ContainerType = const typename ACTE::ContainerType; member
38 using IterType = typename ACTE::ContainerType::const_iterator;
44 typename ContainerTraits::ContainerType& container, in Search()
57 typename ContainerTraits::ContainerType& container, in Search()
[all …]
A Dintrusive_doubly_linked_list_checker.h22 template <typename ContainerType>
23 static bool SanityCheck(const ContainerType& container) { in SanityCheck()
24 using NodeTraits = typename ContainerType::NodeTraits; in SanityCheck()
25 using PtrTraits = typename ContainerType::PtrTraits; in SanityCheck()
A Dobjects.h183 using ContainerType = typename ObjType::ContainerTraits::ContainerType; member
210 using ContainerType = typename ObjType::ContainerTraits::ContainerType; member
236 using ContainerType = typename ObjType::ContainerTraits::ContainerType; member
262 using ContainerType = typename ObjType::ContainerTraits::ContainerType; member
295 using ContainerType = typename ObjType::ContainerTraits::ContainerType; member
A Dbase_test_environments.h31 using ContainerType = typename TestEnvTraits::ContainerType; variable
32 using PtrTraits = typename ContainerType::PtrTraits;
53 ContainerType container_;
201 using ContainerType = typename ContainerTraits::ContainerType; variable
387 bool check_ndx = ContainerType::IsSequenced; in IterErase()
441 bool check_ndx = ContainerType::IsSequenced; in ReverseIterErase()
740 if (ContainerType::IsSequenced) { in MakeIterator()
932 ContainerType other_container(container()); in RvalueOps()
979 ContainerUtils<ContainerType>::MoveInto( in RvalueOps()
1037 ContainerType container; in Scope()
[all …]
A Dassociative_container_test_environment.h25 using ContainerType = typename ContainerTraits::ContainerType; variable
26 using ContainerChecker = typename ContainerType::CheckerType;
29 using PtrTraits = typename ContainerType::PtrTraits;
32 using KeyTraits = typename ContainerType::KeyTraits;
33 using KeyType = typename ContainerType::KeyType;
95 bool Populate(ContainerType& container,
158 bool Populate(ContainerType& container, RefAction ref_action = RefAction::HoldSome) override {
297 typename ContainerType::iterator iter; in DoInsertOrFind()
357 typename ContainerType::iterator iter; in DoInsertOrFind()
504 ContainerType& container() { return this->container_; } in container()
[all …]
A Dsequence_container_test_environment.h27 using ContainerType = typename ContainerTraits::ContainerType; variable
28 using ContainerChecker = typename ContainerType::CheckerType;
30 using PtrTraits = typename ContainerType::PtrTraits;
42 bool Populate(ContainerType& container, RefAction ref_action = RefAction::HoldSome) override {
168 auto& ns = ContainerType::NodeTraits::node_state(*tmp); in PopFront()
223 auto& ns = ContainerType::NodeTraits::node_state(*tmp); in PopBack()
277 auto& ns = ContainerType::NodeTraits::node_state(*tmp); in EraseNext()
598 static_assert(ContainerType::IsSequenced && ContainerType::SupportsConstantOrderErase, in BidirectionalEquals()
631 ContainerType target; in Splice()
1179 ContainerType& container() { return this->container_; } in container()
[all …]
/system/ulib/fbl/include/fbl/
A Dintrusive_container_utils.h62 template <typename ContainerType, typename Enable = void>
65 template <typename ContainerType>
67 ContainerType,
69 using PtrTraits = typename ContainerType::PtrTraits;
81 template <typename ContainerType>
83 ContainerType,
85 using PtrTraits = typename ContainerType::PtrTraits;
102 template <typename ContainerType, typename KeyTraits>
104 ContainerType,
120 template <typename ContainerType, typename KeyTraits>
[all …]
A Dintrusive_hash_table.h98 using ContainerType = HashTable<_KeyType, _PtrType, _BucketType, _HashType, variable
441 friend ContainerType;
447 iterator_impl(const ContainerType* hash_table, BeginTag) in iterator_impl()
454 iterator_impl(const ContainerType* hash_table, EndTag) in iterator_impl()
459 iterator_impl(const ContainerType* hash_table, HashType bucket_ndx, const IterType& iter) in iterator_impl()
465 return const_cast<ContainerType*>(hash_table_)->buckets_[ndx]; in GetBucket()
487 const ContainerType* hash_table_ = nullptr;
A Dintrusive_wavl_tree.h142 using ContainerType = WAVLTree<KeyType, PtrType, KeyTraits, NodeTraits, Observer>;
323 const_iterator citer = const_cast<const ContainerType*>(this)->find(key);
336 const_iterator citer = const_cast<const ContainerType*>(this)->upper_bound(key);
349 const_iterator citer = const_cast<const ContainerType*>(this)->lower_bound(key);
501 const_iterator citer = const_cast<const ContainerType*>(this)->find_if(fn);
541 static RawPtrType& LRMost(ContainerType& tree) { return tree.left_most_; }
542 static RawPtrType& RLMost(ContainerType& tree) { return tree.right_most_; }
553 static RawPtrType& LRMost(ContainerType& tree) { return tree.right_most_; }
554 static RawPtrType& RLMost(ContainerType& tree) { return tree.left_most_; }
601 node_ = internal::unmake_sentinel<ContainerType*>(node_)->right_most_;
[all …]
A Dintrusive_single_list.h233 using ContainerType = SinglyLinkedList<T, NodeTraits>;
474 const_iterator citer = const_cast<const ContainerType*>(this)->find_if(fn);
A Dintrusive_double_list.h107 using ContainerType = DoublyLinkedList<T, NodeTraits>;
392 const_iterator citer = const_cast<const ContainerType*>(this)->find_if(fn);
/system/utest/fbl/
A Dintrusive_hash_table_sll_tests.cpp68 using ContainerType = HashTable<size_t, PtrType>; typedef in fbl::tests::intrusive_containers::HTSLLTraits
71 using KeyType = typename ContainerType::KeyType;
72 using HashType = typename ContainerType::HashType;
85 using TestObjBaseType = HashedTestObjBase<typename ContainerType::KeyType,
86 typename ContainerType::HashType,
87 ContainerType::kNumBuckets>;
A Dintrusive_hash_table_dll_tests.cpp68 using ContainerType = HashTable<size_t, PtrType, DoublyLinkedList<PtrType>>; typedef in fbl::tests::intrusive_containers::HTDLLTraits
71 using KeyType = typename ContainerType::KeyType;
72 using HashType = typename ContainerType::HashType;
85 using TestObjBaseType = HashedTestObjBase<typename ContainerType::KeyType,
86 typename ContainerType::HashType,
87 ContainerType::kNumBuckets>;
A Dintrusive_singly_linked_list_tests.cpp28 using ContainerType = SinglyLinkedList<PtrType>; typedef in fbl::tests::intrusive_containers::SLLTraits
A Dintrusive_doubly_linked_list_tests.cpp28 using ContainerType = DoublyLinkedList<PtrType>; typedef in fbl::tests::intrusive_containers::DLLTraits
A Dintrusive_wavl_tree_tests.cpp62 using ContainerType = WAVLTree<KeyType, PtrType>; typedef in fbl::tests::intrusive_containers::WAVLTraits
/system/utest/fvm-host/
A Dmain.cpp520 template <container_t ContainerType, size_t SliceSize>
523 ASSERT_TRUE(CreateReportDestroy(ContainerType, SliceSize)); in TestPartitions()
538 template <container_t ContainerType, size_t SliceSize>
543 ASSERT_TRUE(GetSparseInfo(ContainerType, &flags, &path)); in TestDiskSizeCalculation()
675 template <PaveCreateType CreateType, PaveSizeType SizeType, container_t ContainerType,
682 ASSERT_TRUE(GetSparseInfo(ContainerType, &sparse_flags, &src_path)); in TestPave()

Completed in 48 milliseconds