Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DVector.h43 template <typename TYPE>
54 template <class TYPE>
58 typedef TYPE value_type;
65 Vector(const Vector<TYPE>& rhs);
66 explicit Vector(const SortedVector<TYPE>& rhs);
70 const Vector<TYPE>& operator = (const Vector<TYPE>& rhs) const;
71 Vector<TYPE>& operator = (const Vector<TYPE>& rhs);
73 const Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const;
74 Vector<TYPE>& operator = (const SortedVector<TYPE>& rhs);
106 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.h647 template<typename TYPE> static inline
648 void move_references(sp<TYPE>* dest, sp<TYPE> const* src, size_t n) { in move_references()
651 sp<TYPE>* d_; in move_references()
652 sp<TYPE> const* s_; in move_references()
655 TYPE::renameRefId(d_[i].get(), &s_[i], &d_[i]); in move_references()
658 Renamer(sp<TYPE>* d, sp<TYPE> const* s) : d_(d), s_(s) { } in move_references()
662 memmove(dest, src, n*sizeof(sp<TYPE>)); in move_references()
663 TYPE::renameRefs(n, Renamer(dest, src)); in move_references()
667 template<typename TYPE> static inline
668 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.h65 #define DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, usr, grp, md) \ argument
67 .type = BPF_MAP_TYPE_##TYPE, \
90 #define DEFINE_BPF_MAP(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \ argument
91 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, AID_ROOT, 0600)
93 #define DEFINE_BPF_MAP_GWO(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, gid) \ argument
94 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, gid, 0620)
96 #define DEFINE_BPF_MAP_GRO(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, gid) \ argument
97 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, gid, 0640)
99 #define DEFINE_BPF_MAP_GRW(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, gid) \ argument
100 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, gid, 0660)
/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.ll62 return token::TYPE; \
131 "death_recipient" { yylval->type = new DeathRecipientType(*scope); return token::TYPE; }
132 "handle" { yylval->type = new HandleType(*scope); return token::TYPE; }
133 "memory" { yylval->type = new MemoryType(*scope); return token::TYPE; }
134 "pointer" { yylval->type = new PointerType(*scope); return token::TYPE; }
135 "string" { yylval->type = new StringType(*scope); return token::TYPE; }
Dhidl-gen_y.yy246 %token<type> TYPE "type"
512 | TYPE
/system/keymaster/include/keymaster/
DList.h71 template <typename TYPE>
74 typedef const TYPE Type;
77 template <typename TYPE>
80 typedef TYPE Type;
/system/bt/gd/security/
Dpairing_handler_le.h66 enum TYPE { EXIT, L2CAP, HCI_EVENT, UI }; enum
67 TYPE type;
77 PairingEvent(TYPE type) : type(type) {} in PairingEvent()
/system/sepolicy/tools/sepolicy-analyze/
DREADME6 TYPE EQUIVALENCE (typecmp)
27 TYPE DIFFERENCE (typecmp)