Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DTypeHelpers.h43 struct traits {
63 traits<T>::has_trivial_ctor && traits<U>::has_trivial_ctor,
65 traits<T>::has_trivial_dtor && traits<U>::has_trivial_dtor,
67 traits<T>::has_trivial_copy && traits<U>::has_trivial_copy,
69 traits<T>::has_trivial_move && traits<U>::has_trivial_move
135 if (!traits<TYPE>::has_trivial_ctor) {
145 if (!traits<TYPE>::has_trivial_dtor) {
155 typename std::enable_if<traits<TYPE>::has_trivial_copy>::type
162 typename std::enable_if<!traits<TYPE>::has_trivial_copy>::type
174 if (!traits<TYPE>::has_trivial_copy) {
[all …]
DSortedVector.h161 ((traits<TYPE>::has_trivial_ctor ? HAS_TRIVIAL_CTOR : 0) in SortedVector()
162 |(traits<TYPE>::has_trivial_dtor ? HAS_TRIVIAL_DTOR : 0) in SortedVector()
163 |(traits<TYPE>::has_trivial_copy ? HAS_TRIVIAL_COPY : 0)) in SortedVector()
DVector.h229 ((traits<TYPE>::has_trivial_ctor ? HAS_TRIVIAL_CTOR : 0) in Vector()
230 |(traits<TYPE>::has_trivial_dtor ? HAS_TRIVIAL_DTOR : 0) in Vector()
231 |(traits<TYPE>::has_trivial_copy ? HAS_TRIVIAL_COPY : 0)) in Vector()
/system/libvintf/include/vintf/
DMapValueIterator.h42 using traits = std::iterator_traits<IteratorImpl>; member
43 using ptr_type = typename traits::pointer;
44 using ref_type = typename traits::reference;
45 using diff_type = typename traits::difference_type;
/system/bt/gd/rust/linux/stack/
DCargo.toml14 num-traits = "*"
/system/bt/gd/rust/linux/service/
DCargo.toml17 num-traits = "*"
/system/chre/util/tests/
Darray_queue_test.cc471 using traits = std::iterator_traits<decltype(q)::iterator>; in TEST() typedef
472 typename traits::difference_type diff = std::distance(q.begin(), q.end()); in TEST()
475 typename traits::value_type v = *q.begin(); in TEST()
478 typename traits::reference r = *q.begin(); in TEST()
482 typename traits::pointer p = &r; in TEST()
489 std::is_same<traits::iterator_category, std::forward_iterator_tag>::value, in TEST()
/system/chre/external/kiss_fft/
Dkissfft.hh8 struct traits struct
57 typename T_traits=kissfft_utils::traits<T_Scalar> argument
66 kissfft(int nfft,bool inverse,const traits_type & traits=traits_type() ) in kissfft() argument
67 :_nfft(nfft),_inverse(inverse),_traits(traits) in kissfft()
/system/bt/gd/rust/packets/
DCargo.toml28 num-traits = "*"
/system/media/audio_utils/include/audio_utils/
Dvariadic_utils.h150 template <class charT, class traits, class T, std::size_t... I>
152 std::basic_ostream<charT, traits>& os,
157 template <class charT, class traits, class T, \
159 auto& operator<<(std::basic_ostream<charT, traits>& os, const T& t) { \
164 template <class charT, class traits, class T, std::size_t... I>
166 std::basic_ostream<charT, traits>& os,
/system/bt/gd/rust/hal/
DCargo.toml37 num-traits = "*"
/system/bt/gd/rust/hci/
DCargo.toml36 num-traits = "*"
/system/bt/gd/rust/link/
DCargo.toml36 num-traits = "*"
/system/bt/gd/rust/linux/adapter/
DCargo.toml26 num-traits = "*"
/system/bt/gd/rust/topshim/
DCargo.toml34 num-traits = "*"
/system/bt/gd/rust/shim/
DCargo.toml42 num-traits = "0.2"
/system/libhidl/base/include/hidl/
DHidlSupport.h542 using traits = std::iterator_traits<iter>; member
543 using ptr_type = typename traits::pointer;
544 using ref_type = typename traits::reference;
545 using diff_type = typename traits::difference_type;