/system/extras/tests/bionic/libc/other/ |
D | test_sysconf.c | 33 #define T(_name,_cond) \ macro 50 T(_SC_ARG_MAX, > 0); in main() 51 T(_SC_BC_BASE_MAX, |1 ); in main() 52 T(_SC_BC_DIM_MAX, |1 ); in main() 53 T(_SC_BC_SCALE_MAX, |1 ); in main() 54 T(_SC_BC_STRING_MAX, |1 ); in main() 55 T(_SC_CHILD_MAX, >0 ); in main() 56 T(_SC_CLK_TCK, >0 ); in main() 57 T(_SC_COLL_WEIGHTS_MAX, |1 ); in main() 58 T(_SC_EXPR_NEST_MAX, |1 ); in main() [all …]
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
D | smartpointer.h | 31 inline bool operator _op_ (const sp<T>& o) const { \ 34 inline bool operator _op_ (const T* o) const { \ 48 template <typename T> 54 sp(T* other); 55 sp(const sp<T>& other); 63 sp& operator = (T* other); 64 sp& operator = (const sp<T>& other); 74 inline T& operator* () const { return *m_ptr; } 75 inline T* operator-> () const { return m_ptr; } 76 inline T* get() const { return m_ptr; } in get() [all …]
|
D | TypeHelpers.h | 34 template <typename T> struct trait_trivial_ctor { enum { value = false }; }; 35 template <typename T> struct trait_trivial_dtor { enum { value = false }; }; 36 template <typename T> struct trait_trivial_copy { enum { value = false }; }; 37 template <typename T> struct trait_trivial_assign{ enum { value = false }; }; 39 template <typename T> struct trait_pointer { enum { value = false }; }; 40 template <typename T> struct trait_pointer<T*> { enum { value = true }; }; 42 #define ANDROID_BASIC_TYPES_TRAITS( T ) \ 43 template<> struct trait_trivial_ctor< T > { enum { value = true }; }; \ 44 template<> struct trait_trivial_dtor< T > { enum { value = true }; }; \ 45 template<> struct trait_trivial_copy< T > { enum { value = true }; }; \ [all …]
|
/system/extras/tests/bionic/libc/common/ |
D | test_cpu_set.c | 47 #define T(cond) \ macro 78 T(CPU_EQUAL(set, other)); in test_1() 79 T(CPU_EQUAL(other, set)); in test_1() 90 T(CPU_ISSET(mm, set) == (mm == nn)); in test_1() 93 T(CPU_EQUAL(set, other)); in test_1() 102 T(CPU_ISSET(mm, set) == (mm <= nn)); in test_1() 112 T(CPU_ISSET(mm, set) == (mm != nn)); in test_1() 123 T(CPU_ISSET(mm, set) == (mm < nn)); in test_1() 126 T(CPU_EQUAL(set, other)); in test_1() 139 T(CPU_EQUAL_S(setsize, set, other)); in test_1_s() [all …]
|
/system/core/include/sysutils/ |
D | List.h | 42 template<typename T> 51 explicit _Node(const T& val) : mVal(val) {} in _Node() 53 inline T& getRef() { return mVal; } in getRef() 54 inline const T& getRef() const { return mVal; } in getRef() 57 inline void setVal(const T& val) { mVal = val; } in setVal() 63 T mVal; 167 List(const List<T>& src) { // copy-constructor in List() 176 typedef _ListIterator<T, NON_CONST_ITERATOR> iterator; 177 typedef _ListIterator<T, CONST_ITERATOR> const_iterator; 179 List<T>& operator=(const List<T>& right); [all …]
|
/system/netd/ |
D | List.h | 42 template<typename T> 51 explicit _Node(const T& val) : mVal(val) {} in _Node() 53 inline T& getRef() { return mVal; } in getRef() 54 inline const T& getRef() const { return mVal; } in getRef() 57 inline void setVal(const T& val) { mVal = val; } in setVal() 63 T mVal; 167 List(const List<T>& src) { // copy-constructor in List() 176 typedef _ListIterator<T, NON_CONST_ITERATOR> iterator; 177 typedef _ListIterator<T, CONST_ITERATOR> const_iterator; 179 List<T>& operator=(const List<T>& right); [all …]
|
/system/core/libpixelflinger/codeflinger/ |
D | CodeCache.h | 41 template <typename T> 45 AssemblyKey(const T& rhs) : mKey(rhs) { } in AssemblyKey() 47 const T& rhs = static_cast<const AssemblyKey&>(key).mKey; in compare_type() 51 T mKey;
|
D | GGLAssembler.h | 345 template <typename T> 346 void modify(T& r, Scratch& regs) in modify()
|
/system/core/libpixelflinger/ |
D | fixed.cpp | 247 template <typename T> 248 static inline void swap(T& a, T& b) { in swap() 249 T t(a); in swap()
|
D | trap.cpp | 87 template <typename T> 88 static inline void swap(T& a, T& b) { in swap() 89 T t(a); in swap()
|
D | scanline.cpp | 1606 template <typename T, typename U> 1608 T interpolate(int y, T v0, U dvdx, U dvdy) { in interpolate()
|
/system/media/camera/src/ |
D | camera_metadata.c | 29 #define _Alignas(T) \ argument 30 ({struct _AlignasStruct { char c; T field; }; \
|
/system/media/camera/tests/ |
D | camera_metadata_tests.cpp | 37 #define _Alignas(T) \ argument 38 ({struct _AlignasStruct { char c; T field; }; \
|
/system/core/sh/ |
D | TOUR | 152 (AT&T has been maintaining the Bourne shell for more than ten
|