/frameworks/av/media/libmediahelper/include/media/ |
D | TypeConverter.h | 85 template <class Traits> 86 static void collectionFromString(const std::string &str, typename Traits::Collection &collection, 91 typename Traits::Type value; 92 if (utilities::convertTo<std::string, typename Traits::Type >(cstr, value)) { 93 Traits::add(collection, value); 99 template <class Traits> 103 static bool toString(const typename Traits::Type &value, std::string &str); 105 static bool fromString(const std::string &str, typename Traits::Type &result); 108 typename Traits::Collection &collection, 120 typename Traits::Type value; [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;
|
/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/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/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/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>
|
/frameworks/av/media/codec2/vndk/include/ |
D | C2AllocatorIon.h | 44 virtual std::shared_ptr<const Traits> getTraits() const override; 87 std::shared_ptr<const Traits> mTraits;
|
D | C2AllocatorGralloc.h | 71 virtual std::shared_ptr<const Traits> getTraits() const override;
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/master/ |
D | VtsHalMediaC2V1_0TargetMasterTest.cpp | 53 void displayComponentInfo(const std::vector<C2Component::Traits>& compList) { in displayComponentInfo() 68 const std::vector<C2Component::Traits> listTraits = in TEST_F()
|
/frameworks/av/media/codec2/vndk/ |
D | C2Store.cpp | 64 virtual std::vector<std::shared_ptr<const C2Allocator::Traits>> listAllocators_nb() in listAllocators_nb() 66 return std::vector<std::shared_ptr<const C2Allocator::Traits>>(); /// \todo in listAllocators_nb() 458 virtual std::vector<std::shared_ptr<const C2Component::Traits>> listComponents() override; 502 std::shared_ptr<const C2Component::Traits> getTraits(); 539 std::shared_ptr<C2Component::Traits> mTraits; ///< cached component traits 681 std::vector<std::shared_ptr<const C2Component::Traits>> mComponentList; 724 std::shared_ptr<C2Component::Traits> traits(new (std::nothrow) C2Component::Traits); in init() 858 std::shared_ptr<const C2Component::Traits> C2PlatformComponentStore::ComponentModule::getTraits() { in getTraits() 936 std::shared_ptr<const C2Component::Traits> traits = module->getTraits(); in visitComponents() 949 std::vector<std::shared_ptr<const C2Component::Traits>> C2PlatformComponentStore::listComponents() { in listComponents()
|
D | C2AllocatorIon.cpp | 498 Traits traits = { "android.allocator.ion", id, LINEAR, minUsage, maxUsage }; in C2AllocatorIon() 499 mTraits = std::make_shared<Traits>(traits); in C2AllocatorIon() 520 std::shared_ptr<const C2Allocator::Traits> C2AllocatorIon::getTraits() const { in getTraits() 531 Traits traits = { in setUsageMapper() 535 mTraits = std::make_shared<Traits>(traits); in setUsageMapper()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 56 using Traits = C2Component::Traits; typedef 74 const Traits& trait, const std::string &mediaType) { in addSupportedProfileLevels() 191 const Traits& trait, const std::string &mediaType) { in addSupportedColorFormats() 320 std::vector<Traits> traits = Codec2Client::ListComponents(); in buildMediaCodecList() 350 for (const Traits& trait : traits) { in buildMediaCodecList()
|
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/ |
D | client.h | 162 std::vector<C2Component::Traits> const& listComponents() const; 199 static std::vector<C2Component::Traits> const& ListComponents(); 234 mutable std::vector<C2Component::Traits> mTraitsList; 241 std::vector<C2Component::Traits> _listComponents(bool* success) const;
|
/frameworks/av/media/codec2/core/include/ |
D | C2Component.h | 405 struct Traits { struct 746 virtual std::vector<std::shared_ptr<const C2Allocator::Traits>> listAllocators_nb() const = 0; 838 virtual std::vector<std::shared_ptr<const C2Component::Traits>> listComponents() = 0;
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | ComponentStore.cpp | 197 std::vector<std::shared_ptr<const C2Component::Traits>> c2traits = in listComponents() 201 for (const std::shared_ptr<const C2Component::Traits> &c2trait : c2traits) { in listComponents() 321 const std::shared_ptr<const C2Component::Traits>& comp) { in dump() 392 std::vector<std::shared_ptr<const C2Component::Traits>> traitsList = in debug()
|
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | types.h | 120 const C2Component::Traits& s); 124 C2Component::Traits* d,
|
D | ComponentStore.h | 135 const std::shared_ptr<const C2Component::Traits>& comp);
|
/frameworks/av/media/codec2/hidl/client/ |
D | client.cpp | 104 std::vector<C2Component::Traits> mTraits; 145 std::vector<C2Component::Traits> const& getTraits() { in getTraits() 645 std::vector<C2Component::Traits> const& Codec2Client::listComponents() const { in listComponents() 649 std::vector<C2Component::Traits> Codec2Client::_listComponents( in _listComponents() 651 std::vector<C2Component::Traits> traits; in _listComponents() 970 std::vector<C2Component::Traits> const& Codec2Client::ListComponents() { in ListComponents() 971 static std::vector<C2Component::Traits> sList{[]() { in ListComponents() 972 std::vector<C2Component::Traits> list; in ListComponents() 974 std::vector<C2Component::Traits> const& traits = cache.getTraits(); in ListComponents()
|
/frameworks/av/media/tests/benchmark/src/native/common/ |
D | BenchmarkC2Common.cpp | 56 const std::vector<C2Component::Traits> listTraits = mClient->ListComponents(); in getSupportedComponentList()
|
/frameworks/av/media/codec2/hidl/services/ |
D | vendor.cpp | 65 virtual std::vector<std::shared_ptr<const C2Component::Traits>>
|