/frameworks/native/include/input/ |
D | RingBuffer.h | 39 using value_type = T; 42 using reference = value_type&; 43 using const_reference = const value_type&; 44 using pointer = value_type*; 45 using const_pointer = const value_type*; 54 : mBuffer(std::allocator<value_type>().allocate(capacity)), mCapacity(capacity) {} in RingBuffer() 75 std::allocator<value_type>().deallocate(mBuffer, mCapacity); in ~RingBuffer() 87 std::allocator<value_type>().deallocate(mBuffer, mCapacity); 120 value_type popFront() { in popFront() 121 value_type element = mBuffer[mBegin]; in popFront() [all …]
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | Allocators.h | 27 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() 40 static void destroy(value_type* pPtr) {} in destroy() 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() 73 new (pPtr) value_type(pValue); in construct() 76 static void destroy(value_type* pPtr) { pPtr->~value_type(); } in destroy() [all …]
|
D | GCFactory.h | 59 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()
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | BinTree.h | 90 typedef DataType value_type; typedef 95 typedef PolicyIteratorBase<value_type, Traits, IteratorType> Self; 96 typedef Node<value_type> node_type; 101 typedef PolicyIteratorBase<value_type, nonconst_traits, IteratorType> 103 typedef PolicyIteratorBase<value_type, const_traits, IteratorType> 182 typedef DataType value_type; typedef 187 typedef TreeIterator<value_type, Traits> Self; 188 typedef Node<value_type> node_type; 191 typedef TreeIterator<value_type, nonconst_traits> iterator; 193 typedef TreeIterator<value_type, const_traits> const_iterator; [all …]
|
D | StringEntry.h | 30 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
|
D | TypeTraits.h | 21 typedef DataType value_type; typedef 31 typedef DataType value_type; typedef 41 typedef DataType value_type; typedef 52 typedef DataType value_type; typedef
|
D | HashEntry.h | 36 typedef ValueType value_type; typedef 70 typedef typename HashEntryTy::value_type value_type; typedef
|
D | TreeBase.h | 101 typedef DataType value_type; typedef 104 value_type* data; 109 explicit Node(const value_type& pValue) : NodeBase(), data(&pValue) {} in Node()
|
/frameworks/compile/mclinker/include/mcld/ |
D | InputTree.h | 70 typedef Input value_type; typedef 71 typedef value_type* pointer; 72 typedef value_type& reference; 73 typedef const value_type* const_pointer; 74 typedef const value_type& const_reference; 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> [all …]
|
/frameworks/native/include/ftl/details/ |
D | array_traits.h | 30 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() 59 value_type element{std::forward<Args>(args)...}; in replace_at() 64 static reference replace_at(const_iterator it, value_type&& value) { in replace_at() [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | string_wrapper.h | 19 template <typename CharT = std::string::value_type, 25 typedef CharT 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;
|
D | buffer_wrapper.h | 23 typedef T value_type; typedef 103 using value_type = typename BufferType::value_type; variable
|
/frameworks/base/media/mca/filterfw/native/base/ |
D | utilities.h | 62 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()
|
/frameworks/base/media/mca/filterpacks/native/base/ |
D | utilities.h | 74 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()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioProfileVectorHelper.cpp | 416 std::vector<typename T::value_type> intersectFilterAndOrder( in intersectFilterAndOrder() 419 std::set<typename T::value_type> set1{input1.begin(), input1.end()}; in intersectFilterAndOrder() 420 std::set<typename T::value_type> set2{input2.begin(), input2.end()}; in intersectFilterAndOrder() 421 std::set<typename T::value_type> common; in intersectFilterAndOrder() 424 std::vector<typename T::value_type> result; in intersectFilterAndOrder() 434 std::vector<typename T::value_type> intersectAndOrder( in intersectAndOrder() 437 std::set<typename T::value_type, Compare> set1{input1.begin(), input1.end(), comp}; in intersectAndOrder() 438 std::set<typename T::value_type, Compare> set2{input2.begin(), input2.end(), comp}; in intersectAndOrder() 439 std::vector<typename T::value_type> result; in intersectAndOrder() 469 std::greater<typename SampleRateSet::value_type>()) : in findBestMatchingOutputConfig() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | Output.h | 82 using value_type = decltype(std::declval<T>().getOutputLayerOrderedByZByIndex(0)); variable 84 using pointer = std::conditional_t<IsConstIter, const value_type*, value_type*>; 85 using reference = std::conditional_t<IsConstIter, const value_type&, value_type&>; 90 value_type operator*() const { 93 value_type operator->() const {
|
/frameworks/native/include/ftl/ |
D | algorithm.h | 44 template <typename Container, typename Predicate, typename V = typename Container::value_type> 71 template <typename Map, typename Pair = typename Map::value_type, 77 template <typename Map, typename Pair = typename Map::value_type,
|
D | small_vector.h | 85 FTL_ARRAY_TRAIT(T, value_type); 194 void push_back(const value_type& v) { in push_back() 196 static_cast<bool (Static::*)(const value_type&)>(&Static::push_back); in push_back() 198 static_cast<bool (Dynamic::*)(const value_type&)>(&Dynamic::push_back); in push_back() 202 void push_back(value_type&& v) { in push_back() 203 constexpr auto kInsertStatic = static_cast<bool (Static::*)(value_type &&)>(&Static::push_back); in push_back() 205 static_cast<bool (Dynamic::*)(value_type &&)>(&Dynamic::push_back); in push_back() 302 FTL_ARRAY_TRAIT(T, value_type); 379 bool push_back(const value_type& v) { in push_back() 384 bool push_back(value_type&& v) { in push_back()
|
D | static_vector.h | 106 FTL_ARRAY_TRAIT(T, value_type); 149 using V = typename std::iterator_traits<Iterator>::value_type; in StaticVector() 150 static_assert(std::is_constructible_v<value_type, V>, "Incompatible iterator range"); in StaticVector() 184 typename = std::enable_if_t<std::is_constructible_v<value_type, E>>> 288 bool push_back(const value_type& v) { in push_back() 294 bool push_back(value_type&& v) { in push_back() 371 std::aligned_storage_t<sizeof(value_type), alignof(value_type)> data_[N];
|
/frameworks/native/libs/math/include/math/ |
D | vec2.h | 44 typedef T value_type; typedef 101 constexpr value_type cross(const TVec2& u, const TVec2<RT>& v) { in cross() 102 return value_type(u.x*v.y - u.y*v.x); in cross()
|
D | TMatHelpers.h | 82 typedef typename MATRIX::value_type T; in gaussJordanInverse() 131 typedef typename MATRIX::value_type T; in fastInverse2() 165 typedef typename MATRIX::value_type T; in fastInverse3() 278 CONSTEXPR typename MATRIX::value_type PURE trace(const MATRIX& m) { in trace() 280 typename MATRIX::value_type result(0); in trace() 301 TQuaternion<typename MATRIX::value_type> extractQuat(const MATRIX& mat) { in extractQuat() 302 typedef typename MATRIX::value_type T; in extractQuat() 507 typename VEC::value_type x = nabout.x; in rotate() 508 typename VEC::value_type y = nabout.y; in rotate() 509 typename VEC::value_type z = nabout.z; in rotate()
|
/frameworks/native/libs/arect/include/android/ |
D | rect.h | 47 typedef int32_t value_type; typedef
|
/frameworks/native/libs/tracing_perfetto/tests/ |
D | utils.h | 124 using value_type = const PerfettoPbDecoderField; variable 125 using pointer = value_type; 126 using reference = value_type; 188 using value_type = const PerfettoPbDecoderField; variable
|
/frameworks/av/media/codec2/sfplugin/ |
D | PipelineWatcher.cpp | 121 [](const decltype(mFramesInPipeline)::value_type &value) { in pipelineFull() 153 for (const decltype(mFramesInPipeline)::value_type &value : mFramesInPipeline) { in elapsed()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | ShaderCacheTests.cpp | 298 identity.data(), identity.size() * sizeof(decltype(identity)::value_type)); in TEST() 330 identity.data(), identity.size() * sizeof(decltype(identity)::value_type)); in TEST() 343 nullptr, identity.size() * sizeof(decltype(identity)::value_type)); in TEST() 350 identity.data(), identity.size() * sizeof(decltype(identity)::value_type)); in TEST() 362 identity.data(), identity.size() * sizeof(decltype(identity)::value_type)); in TEST()
|