Home
last modified time | relevance | path

Searched refs:value_type (Results 1 – 25 of 205) sorted by relevance

123456789

/aosp12/frameworks/compile/mclinker/include/mcld/ADT/
H A DBinTree.h90 typedef DataType value_type; typedef
182 typedef DataType value_type; typedef
340 typedef DataType value_type; typedef
341 typedef value_type* pointer;
342 typedef value_type& reference;
347 typedef TreeIterator<value_type, NonConstTraits<value_type> > iterator;
348 typedef TreeIterator<value_type, ConstTraits<value_type> > const_iterator;
350 typedef PolicyIterator<value_type, NonConstTraits<value_type>, DFSIterator>
352 typedef PolicyIterator<value_type, ConstTraits<value_type>, DFSIterator>
355 typedef PolicyIterator<value_type, NonConstTraits<value_type>, BFSIterator>
[all …]
H A DStringEntry.h30 typedef DataType value_type; typedef
37 value_type& value() { return m_Value; } in value()
39 const value_type& value() const { return m_Value; } in value()
69 typedef llvm::StringRef value_type; typedef
76 value_type& value() { return m_Value; } in value()
78 const value_type& value() const { return m_Value; } in value()
113 typedef typename StringEntry<DataType>::value_type value_type; typedef
H A DTypeTraits.h21 typedef DataType value_type; typedef
31 typedef DataType value_type; typedef
41 typedef DataType value_type; typedef
52 typedef DataType value_type; typedef
H A DHashEntry.h36 typedef ValueType value_type; typedef
70 typedef typename HashEntryTy::value_type value_type; typedef
/aosp12/frameworks/compile/mclinker/include/mcld/Support/
H A DAllocators.h27 typedef DataType value_type; typedef
34 static void construct(value_type* pPtr) { new (pPtr) value_type(); } in construct()
36 static void construct(value_type* pPtr, const value_type& pValue) { in construct()
37 new (pPtr) value_type(pValue); in construct()
51 typedef DataType value_type; typedef
70 static void construct(value_type* pPtr) { new (pPtr) value_type(); } in construct()
72 static void construct(value_type* pPtr, const value_type& pValue) { in construct()
76 static void destroy(value_type* pPtr) { pPtr->~value_type(); } in destroy()
92 typedef typename ChunkType::value_type value_type; typedef
313 typedef DataType value_type; typedef
[all …]
H A DGCFactory.h59 typedef typename ChunkType::value_type value_type; typedef
106 NonConstTraits<typename Alloc::value_type> > iterator;
108 ConstTraits<typename Alloc::value_type> > const_iterator;
110 typedef typename Alloc::value_type value_type; typedef
124 value_type* allocate(size_t N) { in allocate()
125 value_type* result = Alloc::allocate(N); in allocate()
131 value_type* allocate() { in allocate()
/aosp12/frameworks/compile/mclinker/include/mcld/
H A DInputTree.h70 typedef Input value_type; typedef
71 typedef value_type* pointer;
72 typedef value_type& reference;
73 typedef const value_type* const_pointer;
77 typedef TreeIterator<value_type, NonConstTraits<value_type> > iterator;
78 typedef TreeIterator<value_type, ConstTraits<value_type> > const_iterator;
80 typedef PolicyIterator<value_type, NonConstTraits<value_type>, DFSIterator>
82 typedef PolicyIterator<value_type, ConstTraits<value_type>, DFSIterator>
84 typedef PolicyIterator<value_type, NonConstTraits<value_type>, BFSIterator>
86 typedef PolicyIterator<value_type, ConstTraits<value_type>, BFSIterator>
[all …]
/aosp12/system/keymaster/include/keymaster/
H A Dkeymaster_tags.h81 template <> struct TagValueType<KM_ULONG> { typedef uint64_t value_type; };
82 template <> struct TagValueType<KM_ULONG_REP> { typedef uint64_t value_type; };
83 template <> struct TagValueType<KM_DATE> { typedef uint64_t value_type; };
84 template <> struct TagValueType<KM_UINT> { typedef uint32_t value_type; };
85 template <> struct TagValueType<KM_UINT_REP> { typedef uint32_t value_type; };
86 template <> struct TagValueType<KM_INVALID> { typedef Void value_type; };
87 template <> struct TagValueType<KM_BOOL> { typedef bool value_type; };
88 template <> struct TagValueType<KM_BYTES> { typedef keymaster_blob_t value_type; };
89 template <> struct TagValueType<KM_BIGNUM> { typedef keymaster_blob_t value_type; };
99 typedef typename TagValueType<tag_type>::value_type value_type;
[all …]
/aosp12/frameworks/native/include/ftl/
H A Darray_traits.h30 using value_type = T; member
34 using pointer = value_type*;
35 using reference = value_type&;
39 using const_pointer = const value_type*;
40 using const_reference = const value_type&;
47 if constexpr (std::is_constructible_v<value_type, Args...>) { in construct_at()
49 return new (ptr) value_type(std::forward<Args>(args)...); in construct_at()
52 return new (ptr) value_type{std::forward<Args>(args)...}; in construct_at()
H A Dsmall_vector.h85 FTL_ARRAY_TRAIT(T, value_type);
198 void push_back(const value_type& v) { in push_back()
200 static_cast<bool (Static::*)(const value_type&)>(&Static::push_back); in push_back()
202 static_cast<bool (Dynamic::*)(const value_type&)>(&Dynamic::push_back); in push_back()
206 void push_back(value_type&& v) { in push_back()
207 constexpr auto kInsertStatic = static_cast<bool (Static::*)(value_type &&)>(&Static::push_back); in push_back()
209 static_cast<bool (Dynamic::*)(value_type &&)>(&Dynamic::push_back); in push_back()
280 FTL_ARRAY_TRAIT(T, value_type);
327 value_type element{std::forward<Args>(args)...}; in replace()
338 bool push_back(const value_type& v) { in push_back()
[all …]
H A Dstatic_vector.h96 FTL_ARRAY_TRAIT(T, value_type);
135 using V = typename std::iterator_traits<Iterator>::value_type; in StaticVector()
136 static_assert(std::is_constructible_v<value_type, V>, "Incompatible iterator range"); in StaticVector()
159 typename = std::enable_if_t<std::is_constructible_v<value_type, E>>>
242 value_type element{std::forward<Args>(args)...}; in replace()
265 bool push_back(const value_type& v) { in push_back()
271 bool push_back(value_type&& v) { in push_back()
339 std::aligned_storage_t<sizeof(value_type), alignof(value_type)> data_[N];
/aosp12/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Dstring_wrapper.h19 template <typename CharT = std::string::value_type,
25 typedef typename Traits::char_type value_type; typedef
27 typedef value_type& reference;
28 typedef const value_type& const_reference;
29 typedef value_type* pointer;
30 typedef const value_type* const_pointer;
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioProfileVectorHelper.cpp370 std::vector<typename T::value_type> intersectFilterAndOrder( in intersectFilterAndOrder()
373 std::set<typename T::value_type> set1{input1.begin(), input1.end()}; in intersectFilterAndOrder()
374 std::set<typename T::value_type> set2{input2.begin(), input2.end()}; in intersectFilterAndOrder()
375 std::set<typename T::value_type> common; in intersectFilterAndOrder()
378 std::vector<typename T::value_type> result; in intersectFilterAndOrder()
388 std::vector<typename T::value_type> intersectAndOrder( in intersectAndOrder()
391 std::set<typename T::value_type, Compare> set1{input1.begin(), input1.end(), comp}; in intersectAndOrder()
392 std::set<typename T::value_type, Compare> set2{input2.begin(), input2.end(), comp}; in intersectAndOrder()
393 std::vector<typename T::value_type> result; in intersectAndOrder()
423 std::greater<typename SampleRateSet::value_type>()) : in findBestMatchingOutputConfig()
[all …]
/aosp12/art/libartbase/base/
H A Dtransform_array_ref.h47 using value_type = typename Iter::value_type;
181 TransformArrayRef<typename Container::value_type, Function> MakeTransformArrayRef( in MakeTransformArrayRef()
183 return TransformArrayRef<typename Container::value_type, Function>( in MakeTransformArrayRef()
184 ArrayRef<typename Container::value_type>(container.data(), container.size()), f); in MakeTransformArrayRef()
188 TransformArrayRef<const typename Container::value_type, Function> MakeTransformArrayRef( in MakeTransformArrayRef()
190 return TransformArrayRef<const typename Container::value_type, Function>( in MakeTransformArrayRef()
191 ArrayRef<const typename Container::value_type>(container.data(), container.size()), f); in MakeTransformArrayRef()
H A Darray_ref.h43 using value_type = T;
79 std::is_same<typename Vector::value_type, value_type>::value>::type>
87 typename std::add_const<typename Vector::value_type>::type,
88 value_type>::value>::type>
168 value_type* data() { return array_; } in data()
169 const value_type* data() const { return array_; } in data()
H A Ddchecked_vector.h44 using typename Base::value_type;
65 const value_type& value,
81 dchecked_vector(std::initializer_list<value_type> il,
93 dchecked_vector& operator=(std::initializer_list<value_type> il) {
150 iterator insert(const_iterator position, const value_type& value) { in insert()
154 iterator insert(const_iterator position, size_type n, const value_type& value) { in insert()
163 iterator insert(const_iterator position, value_type&& value) { in insert()
167 iterator insert(const_iterator position, std::initializer_list<value_type> il) { in insert()
H A Dintrusive_forward_list_test.cc143 using ValueType = typename ListType::value_type; in IteratorOperators()
168 using ValueType = typename ListType::value_type; in ConstructRange()
183 using ValueType = typename ListType::value_type; in Assign()
203 using ValueType = typename ListType::value_type; in PushPop()
234 using ValueType = typename ListType::value_type; in InsertAfter1()
277 using ValueType = typename ListType::value_type; in InsertAfter2()
311 using ValueType = typename ListType::value_type; in EraseAfter1()
374 using ValueType = typename ListType::value_type; in EraseAfter2()
414 using ValueType = typename ListType::value_type; in SwapClear()
449 using ValueType = typename ListType::value_type; in SpliceAfter()
[all …]
H A Dstl_util.h161 std::pair<typename IterLeft::value_type, typename IterRight::value_type>> {
180 std::pair<typename IterLeft::value_type, typename IterRight::value_type> operator*() const {
242 : public std::iterator<std::forward_iterator_tag, typename RealIter::value_type> {
271 typename RealIter::value_type operator*() const {
300 using FilterNull = FilterIterator<InnerIter, NonNullFilter<typename InnerIter::value_type>>;
304 return Filter(inner, NonNullFilter<typename InnerIter::value_type>()); in FilterOutNull()
H A Dtransform_iterator_test.cc50 static_assert(std::is_same<int, vector_titer::value_type>::value, "value_type"); in TEST()
57 static_assert(std::is_same<int, vector_ctiter::value_type>::value, "value_type"); in TEST()
64 static_assert(std::is_same<int, vector_rtiter::value_type>::value, "value_type"); in TEST()
71 static_assert(std::is_same<int, vector_crtiter::value_type>::value, "value_type"); in TEST()
153 static_assert(std::is_same<int, list_titer::value_type>::value, "value_type"); in TEST()
160 static_assert(std::is_same<int, list_ctiter::value_type>::value, "value_type"); in TEST()
167 static_assert(std::is_same<int, list_rtiter::value_type>::value, "value_type"); in TEST()
174 static_assert(std::is_same<int, list_crtiter::value_type>::value, "value_type"); in TEST()
217 static_assert(std::is_same<int, flist_titer::value_type>::value, "value_type"); in TEST()
224 static_assert(std::is_same<int, flist_ctiter::value_type>::value, "value_type"); in TEST()
[all …]
/aosp12/frameworks/base/media/mca/filterfw/native/base/
H A Dutilities.h62 const typename Collection::value_type::second_type*
64 const typename Collection::value_type::first_type& key) { in FindOrNull()
116 const typename Collection::value_type::second_type
118 const typename Collection::value_type::first_type& key) { in FindPtrOrNull()
141 collection->insert(typename Collection::value_type(key, value)); in InsertIfNotPresent()
/aosp12/frameworks/base/media/mca/filterpacks/native/base/
H A Dutilities.h74 const typename Collection::value_type::second_type*
76 const typename Collection::value_type::first_type& key) { in FindOrNull()
128 const typename Collection::value_type::second_type
130 const typename Collection::value_type::first_type& key) { in FindPtrOrNull()
153 collection->insert(typename Collection::value_type(key, value)); in InsertIfNotPresent()
/aosp12/art/libdexfile/dex/
H A Dclass_iterator.h46 using value_type = std::iterator<std::forward_iterator_tag, ClassIteratorData>::value_type;
47 using difference_type = std::iterator<std::forward_iterator_tag, value_type>::difference_type;
65 const value_type& operator*() const {
H A Ddex_instruction_iterator.h63 using value_type = std::iterator<std::forward_iterator_tag, DexInstructionPcPair>::value_type;
64 using difference_type = std::iterator<std::forward_iterator_tag, value_type>::difference_type;
143 const value_type& operator*() const {
195 const value_type& operator*() const {
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
H A DOutput.h76 using value_type = decltype(std::declval<T>().getOutputLayerOrderedByZByIndex(0)); variable
78 using pointer = std::conditional_t<IsConstIter, const value_type*, value_type*>;
79 using reference = std::conditional_t<IsConstIter, const value_type&, value_type&>;
84 value_type operator*() const {
87 value_type operator->() const {
/aosp12/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/
H A DMessageDefinition.h42 using std::map<std::optional<nlattrtype_t>, AttributeDefinition>::value_type;
44 AttributeMap(const std::initializer_list<value_type> attrTypes);
185 const std::initializer_list<MessageDescriptor::MessageDetailsMap::value_type> msgDet,
186 const std::initializer_list<AttributeMap::value_type> attrTypes = {})

123456789