Searched refs:TYPE (Results 1 - 25 of 69) sorted by relevance

123

/frameworks/native/include/utils/
H A DVector.h33 template <typename TYPE>
42 template <class TYPE>
46 typedef TYPE value_type;
53 Vector(const Vector<TYPE>& rhs);
54 explicit Vector(const SortedVector<TYPE>& rhs);
58 const Vector<TYPE>& operator = (const Vector<TYPE>& rhs) const;
59 Vector<TYPE>& operator = (const Vector<TYPE>& rhs);
61 const Vector<TYPE>
[all...]
H A DSortedVector.h34 template <class TYPE>
37 friend class Vector<TYPE>;
40 typedef TYPE value_type;
47 SortedVector(const SortedVector<TYPE>& rhs);
51 const SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs) const;
52 SortedVector<TYPE>& operator = (const SortedVector<TYPE>& rhs);
78 inline const TYPE* array() const;
82 TYPE* editArra
[all...]
H A DSingleton.h28 template <typename TYPE>
32 static TYPE& getInstance() {
34 TYPE* instance = sInstance;
36 instance = new TYPE();
55 static TYPE* sInstance;
59 * use ANDROID_SINGLETON_STATIC_INSTANCE(TYPE) in your implementation file
60 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'s attributes,
61 * and avoid to have a copy of them in each compilation units Singleton<TYPE>
67 #define ANDROID_SINGLETON_STATIC_INSTANCE(TYPE) \
68 template<> Mutex Singleton< TYPE >
[all...]
H A DTypeHelpers.h40 template <typename TYPE>
44 is_pointer = trait_pointer<TYPE>::value,
46 has_trivial_ctor = is_pointer || trait_trivial_ctor<TYPE>::value,
48 has_trivial_dtor = is_pointer || trait_trivial_dtor<TYPE>::value,
50 has_trivial_copy = is_pointer || trait_trivial_copy<TYPE>::value,
52 has_trivial_move = is_pointer || trait_trivial_move<TYPE>::value
117 template<typename TYPE> inline
118 int strictly_order_type(const TYPE& lhs, const TYPE& rhs) {
122 template<typename TYPE> inlin
[all...]
H A DRefBase.h456 // this class just serves as a namespace so TYPE::moveReferences can stay
464 template <typename TYPE>
466 virtual size_t getReferenceTypeSize() const { return sizeof( sp<TYPE> ); }
468 sp<TYPE> const* sptr(reinterpret_cast<sp<TYPE> const*>(p));
469 return static_cast<typename TYPE::basetype *>(sptr->get());
473 template <typename TYPE>
475 virtual size_t getReferenceTypeSize() const { return sizeof( wp<TYPE> ); }
477 wp<TYPE> const* sptr(reinterpret_cast<wp<TYPE> cons
[all...]
/frameworks/base/libs/hwui/utils/
H A DSortedList.h35 template<class TYPE>
38 typedef TYPE value_type;
41 SortedList(const SortedList<TYPE>& rhs);
44 const SortedList<TYPE>& operator =(const SortedList<TYPE>& rhs) const;
45 SortedList<TYPE>& operator =(const SortedList<TYPE>& rhs);
67 inline const TYPE* array() const;
69 TYPE* editArray();
71 ssize_t indexOf(const TYPE
[all...]
/frameworks/native/services/sensorservice/
H A Dquat.h29 template <typename TYPE>
30 mat<TYPE, 3, 3> quatToMatrix(const vec<TYPE, 4>& q) {
31 mat<TYPE, 3, 3> R;
32 TYPE q0(q.w);
33 TYPE q1(q.x);
34 TYPE q2(q.y);
35 TYPE q3(q.z);
36 TYPE sq_q1 = 2 * q1 * q1;
37 TYPE sq_q
[all...]
H A Dvec.h36 template <typename TYPE, size_t SIZE>
39 template <typename TYPE, size_t SIZE>
48 typename TYPE, size_t SIZE, size_t S>
49 vec<TYPE, SIZE>& doAssign(
50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) {
64 typename TYPE,
67 VLHS<TYPE, SIZE> PURE doAdd(
68 const VLHS<TYPE, SIZE>& lhs,
69 const VRHS<TYPE, SIZ
[all...]
H A Dmat.h27 template <typename TYPE, size_t C, size_t R>
32 template <typename TYPE, size_t C, size_t R>
33 mat<TYPE, C, R>& doAssign(
34 mat<TYPE, C, R>& lhs,
35 typename TypeTraits<TYPE>::ParameterType rhs) {
42 template <typename TYPE, size_t C, size_t R, size_t D>
43 mat<TYPE, C, R> PURE doMul(
44 const mat<TYPE, D, R>& lhs,
45 const mat<TYPE, C, D>& rhs)
47 mat<TYPE,
[all...]
/frameworks/compile/linkloader/lib/
H A DELFSymbol.cpp25 #define CASE(TYPE) \
26 case STT_##TYPE: return #TYPE;
49 #define CASE(TYPE) \
50 case STB_##TYPE: return #TYPE;
68 #define CASE(TYPE) \
69 case STV_##TYPE: return #TYPE;
H A DELFTypes.cpp23 #define ELF_TYPE_PRINT_OPERATOR(TYPE, FORMAT_WIDTH) \
24 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, TYPE const &val) { \
H A DELFSectionHeader.cpp42 #define CASE(TYPE) \
43 case SHT_##TYPE: return #TYPE;
/frameworks/compile/linkloader/utils/
H A Dtraits.h35 #define TYPE_TRAITS_SPECIALIZE(TYPE, SIZE, ALIGN) \
37 struct TypeTraits<TYPE> { \
/frameworks/base/libs/hwui/
H A DPathRenderer.h43 template <class TYPE>
44 TYPE* alloc(int size) {
46 mBuffer = (void*)new TYPE[size];
47 mCleanupMethod = &(cleanup<TYPE>);
49 return (TYPE*)mBuffer;
56 template <class TYPE>
58 delete[] (TYPE*)buffer;
/frameworks/base/core/java/android/annotation/
H A DTargetApi.java20 import static java.lang.annotation.ElementType.TYPE;
28 @Target({TYPE, METHOD, CONSTRUCTOR})
H A DWidget.java34 @Target({ ElementType.TYPE })
H A DSuppressLint.java23 import static java.lang.annotation.ElementType.TYPE;
30 @Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR, LOCAL_VARIABLE})
/frameworks/native/include/ui/
H A DANativeObjectBase.h57 template <typename NATIVE_TYPE, typename TYPE, typename REF>
70 typedef ANativeObjectBase<NATIVE_TYPE, TYPE, REF> BASE;
75 static inline TYPE* getSelf(NATIVE_TYPE* self) {
76 return static_cast<TYPE*>(self);
78 static inline TYPE const* getSelf(NATIVE_TYPE const* self) {
79 return static_cast<TYPE const *>(self);
81 static inline TYPE* getSelf(android_native_base_t* base) {
84 static inline TYPE const * getSelf(android_native_base_t const* base) {
/frameworks/native/include/private/ui/
H A DRegionHelper.h30 typedef typename RECT::value_type TYPE; typedef in class:android::region_operator
31 static const TYPE max_value = 0x7FFFFFF;
52 TYPE dx;
53 TYPE dy;
58 inline region(RECT const* r, size_t c, TYPE dx, TYPE dy)
81 TYPE left, right;
111 TYPE lhs_head;
112 TYPE lhs_tail;
113 TYPE rhs_hea
[all...]
/frameworks/base/core/java/android/test/suitebuilder/annotation/
H A DLargeTest.java28 @Target({ElementType.METHOD, ElementType.TYPE})
H A DMediumTest.java29 @Target({ElementType.METHOD, ElementType.TYPE})
H A DSmallTest.java28 @Target({ElementType.METHOD, ElementType.TYPE})
H A DSmoke.java32 @Target({ElementType.METHOD, ElementType.TYPE})
H A DSuppress.java31 @Target({ElementType.METHOD, ElementType.TYPE})
/frameworks/base/core/java/com/android/internal/annotations/
H A DImmutable.java27 @Target(ElementType.TYPE)

Completed in 436 milliseconds

123