/frameworks/av/include/media/ |
D | TypeConverter.h | 105 template <class Traits> 106 static void collectionFromString(const std::string &str, typename Traits::Collection &collection, 111 typename Traits::Type value; 112 if (utilities::convertTo<std::string, typename Traits::Type >(cstr, value)) { 119 template <class Traits> 123 static bool toString(const typename Traits::Type &value, std::string &str); 125 static bool fromString(const std::string &str, typename Traits::Type &result); 128 typename Traits::Collection &collection, 140 typename Traits::Type value; 146 template <class Traits> [all …]
|
/frameworks/av/media/libmedia/include/media/ |
D | TypeConverter.h | 105 template <class Traits> 106 static void collectionFromString(const std::string &str, typename Traits::Collection &collection, 111 typename Traits::Type value; 112 if (utilities::convertTo<std::string, typename Traits::Type >(cstr, value)) { 119 template <class Traits> 123 static bool toString(const typename Traits::Type &value, std::string &str); 125 static bool fromString(const std::string &str, typename Traits::Type &result); 128 typename Traits::Collection &collection, 140 typename Traits::Type value; 146 template <class Traits> [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | remote_method_type.h | 19 typedef FunctionTraits<Signature_> Traits; typedef 23 typedef typename Traits::Signature Signature; 24 typedef typename Traits::Return Return; 25 typedef typename Traits::Args Args; 28 using RewriteArgs = typename Traits::template RewriteArgs<Params...>; 32 typename Traits::template RewriteSignature<ReturnType, Params...>; 37 typename Traits::template RewriteSignatureWrapReturn<Wrapper, ReturnType, 41 using RewriteReturn = typename Traits::template RewriteReturn<ReturnType>;
|
D | string_wrapper.h | 20 typename Traits = std::char_traits<CharT>> 24 typedef Traits traits_type; 25 typedef typename Traits::char_type value_type;
|
D | remote_method.h | 29 bool, RemoteMethodType::Traits::Arity == 1 && 30 std::is_same<typename RemoteMethodType::Traits::template Arg<0>,
|
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/ |
D | broadcast_ring.h | 142 struct Traits : public BaseTraits { struct 161 static_assert(Traits::kMinRecordCount >= 1, "Min record count too small"); 162 static_assert(!Traits::kUseStaticRecordCount || 163 Traits::kStaticRecordCount >= Traits::kMinRecordCount, 165 static_assert(!Traits::kStaticRecordCount || 166 IsPowerOfTwo(Traits::kStaticRecordCount), 191 Traits::kUseStaticRecordCount in Create() 192 ? Traits::kStaticRecordCount in Create() 228 Traits::kUseStaticRecordCount, in MemorySize() 230 return MemorySize(Traits::kStaticRecordCount); in MemorySize() [all …]
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | Path.h | 108 template <class Char, class Traits> 109 inline std::basic_ostream<Char, Traits>& operator<<( 110 std::basic_ostream<Char, Traits>& pOS, 115 template <class Char, class Traits> 116 inline std::basic_istream<Char, Traits>& operator>>( 117 std::basic_istream<Char, Traits>& pOS,
|
D | GCFactory.h | 56 template <typename ChunkType, class Traits> 60 typedef Traits traits; 63 typedef DataIterator<ChunkType, Traits> Self;
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | BinTree.h | 87 template <class DataType, class Traits, class IteratorType> 91 typedef Traits traits; 95 typedef PolicyIteratorBase<value_type, Traits, IteratorType> Self; 134 template <class DataType, class Traits, class IteratorType> 136 : public PolicyIteratorBase<DataType, Traits, IteratorType> { 138 typedef PolicyIterator<DataType, Traits, IteratorType> Self; 139 typedef PolicyIteratorBase<DataType, Traits, IteratorType> Base; 141 typename Traits::nonconst_traits, 143 typedef PolicyIterator<DataType, typename Traits::const_traits, IteratorType> 179 template <class DataType, class Traits> [all …]
|
D | HashIterator.h | 243 template <typename IteratorBase, typename Traits> 246 typedef Traits traits; 253 typedef HashIterator<IteratorBase, Traits> Self;
|
/frameworks/native/libs/vr/libbroadcastring/ |
D | broadcast_ring_test.cc | 65 struct Traits { struct 77 : public Traits<Record, StaticSize, 0, MaxReserved, MinAvailable> { 85 : public Traits<Record, true, StaticCount, MaxReserved, MinAvailable> { 132 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() 133 EXPECT_EQ(Ring::Traits::MinCount(), ring.record_count()); in TYPED_TEST() 141 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() 173 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() 199 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() 293 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); in TYPED_TEST() 334 auto mmap = CreateRing(&original_ring, OriginalRing::Traits::MinCount()); in TEST() [all …]
|
/frameworks/base/core/jni/ |
D | scoped_nullable_primitive_array.h | 53 template<typename JavaArrayType, typename PrimitiveType, class Traits, size_t preallocSize = 10> in ARRAY_TRAITS() 63 Traits::getArrayRegion(mEnv, mJavaArray, 0, mSize, mBuffer); in ARRAY_TRAITS() 66 mRawArray = Traits::getArrayElements(mEnv, mJavaArray); in ARRAY_TRAITS() 73 Traits::releaseArrayElements(mEnv, mJavaArray, mRawArray, JNI_ABORT); in ARRAY_TRAITS()
|
/frameworks/compile/mclinker/include/mcld/ |
D | InputTree.h | 25 template <typename Traits, typename IteratorType> 26 class PolicyIterator<mcld::Input, Traits, IteratorType> 27 : public PolicyIteratorBase<Input, Traits, IteratorType> { 29 typedef PolicyIterator<Input, Traits, IteratorType> Self; 30 typedef PolicyIteratorBase<Input, Traits, IteratorType> Base; 31 typedef PolicyIterator<Input, typename Traits::nonconst_traits, IteratorType> 33 typedef PolicyIterator<Input, typename Traits::const_traits, IteratorType>
|