Home
last modified time | relevance | path

Searched refs:traits (Results 1 – 11 of 11) sorted by relevance

/frameworks/rs/cpp/util/
DTypeHelpers.h42 struct traits {
62 traits<T>::has_trivial_ctor && traits<U>::has_trivial_ctor,
64 traits<T>::has_trivial_dtor && traits<U>::has_trivial_dtor,
66 traits<T>::has_trivial_copy && traits<U>::has_trivial_copy,
68 traits<T>::has_trivial_move && traits<U>::has_trivial_move
134 if (!traits<TYPE>::has_trivial_ctor) {
143 if (!traits<TYPE>::has_trivial_dtor) {
153 if (!traits<TYPE>::has_trivial_copy) {
165 if (!traits<TYPE>::has_trivial_copy) {
179 if ((traits<TYPE>::has_trivial_dtor && traits<TYPE>::has_trivial_copy)
[all …]
/frameworks/hardware/interfaces/bufferhub/1.0/vts/functional/
DVtsHalBufferHubV1_0TargetTest.cpp124 const auto& traits) { in TEST_F() argument
127 bufferTraits = std::move(traits); in TEST_F()
147 const auto& traits) { in TEST_F() argument
150 bufferTraits = std::move(traits); in TEST_F()
176 const auto& traits) { in TEST_F() argument
179 bufferTraits = std::move(traits); in TEST_F()
207 const auto& traits) { in TEST_F() argument
210 bufferTraits = std::move(traits); in TEST_F()
231 const auto& traits) { in TEST_F() argument
234 bufferTraits2 = std::move(traits); in TEST_F()
[all …]
/frameworks/av/media/codec2/vndk/
DC2Store.cpp724 std::shared_ptr<C2Component::Traits> traits(new (std::nothrow) C2Component::Traits); in init() local
725 if (traits) { in init()
726 traits->name = intf->getName(); in init()
733 traits->kind = kind.value; in init()
734 traits->domain = domain.value; in init()
739 traits->kind = in init()
740 (traits->name.find("encoder") != std::string::npos) ? C2Component::KIND_ENCODER : in init()
741 (traits->name.find("decoder") != std::string::npos) ? C2Component::KIND_DECODER : in init()
746traits->kind == C2Component::KIND_ENCODER ? C2PortMediaTypeSetting::output::PARAM_TYPE in init()
763 traits->mediaType = in init()
[all …]
DC2AllocatorIon.cpp498 Traits traits = { "android.allocator.ion", id, LINEAR, minUsage, maxUsage }; in C2AllocatorIon() local
499 mTraits = std::make_shared<Traits>(traits); in C2AllocatorIon()
531 Traits traits = { in setUsageMapper() local
535 mTraits = std::make_shared<Traits>(traits); in setUsageMapper()
DC2AllocatorGralloc.cpp917 Traits traits = { "android.allocator.gralloc", id, C2Allocator::GRAPHIC, minUsage, maxUsage }; in Impl() local
918 mTraits = std::make_shared<C2Allocator::Traits>(traits); in Impl()
/frameworks/compile/mclinker/include/mcld/ADT/
DBinTree.h91 typedef Traits traits; typedef
92 typedef typename traits::pointer pointer;
93 typedef typename traits::reference reference;
98 typedef typename traits::nonconst_traits nonconst_traits;
99 typedef typename traits::const_traits const_traits;
183 typedef Traits traits; typedef
184 typedef typename traits::pointer pointer;
185 typedef typename traits::reference reference;
190 typedef typename traits::nonconst_traits nonconst_traits;
192 typedef typename traits::const_traits const_traits;
DHashIterator.h246 typedef Traits traits; typedef
247 typedef typename traits::pointer pointer;
248 typedef typename traits::reference reference;
255 typedef typename traits::nonconst_traits nonconst_traits;
258 typedef typename traits::const_traits const_traits;
/frameworks/compile/mclinker/include/mcld/Support/
DGCFactory.h60 typedef Traits traits; typedef
61 typedef typename traits::pointer pointer;
62 typedef typename traits::reference reference;
66 typedef typename traits::nonconst_traits nonconst_traits;
68 typedef typename traits::const_traits const_traits;
/frameworks/av/media/codec2/hidl/1.0/utils/
DComponentStore.cpp199 hidl_vec<IComponentStore::ComponentTraits> traits(c2traits.size()); in listComponents() local
203 if (objcpy(&traits[ix], *c2trait)) { in listComponents()
210 traits.resize(ix); in listComponents()
211 _hidl_cb(Status::OK, traits); in listComponents()
400 for (const auto& traits : traitsList) { in debug() local
401 dump(out, traits) << std::endl; in debug()
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp651 std::vector<C2Component::Traits> traits; in _listComponents() local
654 [&traits, &serviceName](Status s, in _listComponents()
661 traits.resize(t.size()); in _listComponents()
663 if (!objcpy(&traits[i], t[i])) { in _listComponents()
667 traits[i].owner = serviceName; in _listComponents()
676 return traits; in _listComponents()
974 std::vector<C2Component::Traits> const& traits = cache.getTraits(); in ListComponents() local
975 list.insert(list.end(), traits.begin(), traits.end()); in ListComponents()
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp320 std::vector<Traits> traits = Codec2Client::ListComponents(); in buildMediaCodecList() local
350 for (const Traits& trait : traits) { in buildMediaCodecList()