Home
last modified time | relevance | path

Searched refs:TYPE (Results 1 – 13 of 13) sorted by relevance

/system/core/libutils/include/utils/
DVector.h45 template <typename TYPE>
56 template <class TYPE>
60 typedef TYPE value_type;
67 Vector(const Vector<TYPE>& rhs);
68 explicit Vector(const SortedVector<TYPE>& rhs);
72 const Vector<TYPE>& operator = (const Vector<TYPE>& rhs) const;
73 Vector<TYPE>& operator = (const Vector<TYPE>& rhs);
75 const Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const;
76 Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs);
108 inline const TYPE* array() const;
[all …]
DSortedVector.h35 template <class TYPE>
38 friend class Vector<TYPE>;
41 typedef TYPE value_type;
48 SortedVector(const SortedVector<TYPE>& rhs);
52 const SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const;
53 SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs);
79 inline const TYPE* array() const;
83 TYPE* editArray();
86 ssize_t indexOf(const TYPE& item) const;
89 size_t orderOf(const TYPE& item) const;
[all …]
DTypeHelpers.h42 template <typename TYPE>
46 is_pointer = trait_pointer<TYPE>::value,
48 has_trivial_ctor = is_pointer || trait_trivial_ctor<TYPE>::value,
50 has_trivial_dtor = is_pointer || trait_trivial_dtor<TYPE>::value,
52 has_trivial_copy = is_pointer || trait_trivial_copy<TYPE>::value,
54 has_trivial_move = is_pointer || trait_trivial_move<TYPE>::value
119 template<typename TYPE> inline
120 int strictly_order_type(const TYPE& lhs, const TYPE& rhs) {
124 template<typename TYPE> inline
125 int compare_type(const TYPE& lhs, const TYPE& rhs) {
[all …]
DSingleton.h47 template <typename TYPE>
51 static TYPE& getInstance() { in getInstance()
53 TYPE* instance = sInstance; in getInstance()
55 instance = new TYPE(); in getInstance()
74 static TYPE* sInstance;
90 #define ANDROID_SINGLETON_STATIC_INSTANCE(TYPE) \ argument
92 (::android::Singleton< TYPE >::sLock)(::android::Mutex::PRIVATE); \
93 template<> TYPE* ::android::Singleton< TYPE >::sInstance(nullptr); /* NOLINT */ \
94 template class ::android::Singleton< TYPE >;
DRefBase.h655 template<typename TYPE> static inline
656 void move_references(sp<TYPE>* dest, sp<TYPE> const* src, size_t n) { in move_references()
659 sp<TYPE>* d_; in move_references()
660 sp<TYPE> const* s_; in move_references()
663 TYPE::renameRefId(d_[i].get(), &s_[i], &d_[i]); in move_references()
666 Renamer(sp<TYPE>* d, sp<TYPE> const* s) : d_(d), s_(s) { } in move_references()
670 memmove(dest, src, n*sizeof(sp<TYPE>)); in move_references()
671 TYPE::renameRefs(n, Renamer(dest, src)); in move_references()
675 template<typename TYPE> static inline
676 void move_references(wp<TYPE>* dest, wp<TYPE> const* src, size_t n) { in move_references()
[all …]
DList.h73 template <typename TYPE>
76 typedef const TYPE Type;
79 template <typename TYPE>
82 typedef TYPE Type;
/system/iorap/src/common/
Dintrospection.h160 #define IORAP_INTROSPECT_ADAPT_STRUCT_IMPL_1(TYPE) \
161 static constexpr auto introspect_members(::iorap::introspect::type<TYPE>) { \
164 #define IORAP_INTROSPECT_ADAPT_STRUCT_IMPL_2(TYPE, m1) \
165 static constexpr auto introspect_members(::iorap::introspect::type<TYPE>) { \
166 return std::make_tuple(::iorap::introspect::member_type<&TYPE::m1>{}\
170 #define IORAP_INTROSPECT_ADAPT_STRUCT_IMPL_3(TYPE, m1, m2) \
171 static constexpr auto introspect_members(::iorap::introspect::type<TYPE>) { \
172 return std::make_tuple(::iorap::introspect::member_type<&TYPE::m1>{},\
173 ::iorap::introspect::member_type<&TYPE::m2>{}\
177 #define IORAP_INTROSPECT_ADAPT_STRUCT_IMPL_4(TYPE, m1, m2, m3) \
[all …]
/system/bpf/progs/include/
Dbpf_helpers.h46 #define DEFINE_BPF_MAP_NO_ACCESSORS(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \ argument
48 .type = BPF_MAP_TYPE_##TYPE, \
54 #define DEFINE_BPF_MAP(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \ argument
55 DEFINE_BPF_MAP_NO_ACCESSORS(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \
/system/libufdt/sysdeps/
Dlibufdt_sysdeps_vendor.c62 #define swapcode(TYPE, parmi, parmj, n) \ argument
64 long i = (n) / sizeof(TYPE); \
65 TYPE *pi = (TYPE *)(parmi); \
66 TYPE *pj = (TYPE *)(parmj); \
68 TYPE t = *pi; \
/system/tools/hidl/
Dhidl-gen_l.ll63 return token::TYPE; \
130 "death_recipient" { yylval->type = new DeathRecipientType(*scope); return token::TYPE; }
131 "handle" { yylval->type = new HandleType(*scope); return token::TYPE; }
132 "memory" { yylval->type = new MemoryType(*scope); return token::TYPE; }
133 "pointer" { yylval->type = new PointerType(*scope); return token::TYPE; }
134 "string" { yylval->type = new StringType(*scope); return token::TYPE; }
Dhidl-gen_y.yy241 %token<type> TYPE "type"
527 | TYPE
/system/keymaster/include/keymaster/
DList.h71 template <typename TYPE>
74 typedef const TYPE Type;
77 template <typename TYPE>
80 typedef TYPE Type;
/system/sepolicy/tools/sepolicy-analyze/
DREADME6 TYPE EQUIVALENCE (typecmp)
27 TYPE DIFFERENCE (typecmp)