Home
last modified time | relevance | path

Searched refs:DE_INLINE (Results 1 – 25 of 25) sorted by relevance

/external/deqp/framework/delibs/debase/
DdeMath.h65 DE_INLINE int deFloatIsInf (float x) { return (x > FLT_MAX) - (x < -FLT_MAX); } in deFloatIsInf()
66 DE_INLINE deBool deFloatIsNaN (float x) { return (x != x); } in deFloatIsNaN()
68 DE_INLINE int deIsInf (double x) { return (x > DBL_MAX) - (x < -DBL_MAX); } in deIsInf()
69 DE_INLINE deBool deIsNaN (double x) { return (x != x); } in deIsNaN()
73 DE_INLINE float deFloatAbs (float x) { return (x >= 0.0f) ? x : -x; } in deFloatAbs()
74 DE_INLINE float deFloatMin (float a, float b) { return (a <= b) ? a : b; } in deFloatMin()
75 DE_INLINE float deFloatMax (float a, float b) { return (a >= b) ? a : b; } in deFloatMax()
76 DE_INLINE float deFloatClamp (float x, float mn, float mx) { return (x <= mn) ? mn : ((x >= mx) ?… in deFloatClamp()
78 DE_INLINE double deAbs (double x) { return (x >= 0.0) ? x : -x; } in deAbs()
79 DE_INLINE double deMin (double a, double b) { return (a <= b) ? a : b; } in deMin()
[all …]
DdeInt32.h51 DE_INLINE int deAbs32 (int a) in deAbs32()
63 DE_INLINE int deMin32 (int a, int b) in deMin32()
74 DE_INLINE int deMax32 (int a, int b) in deMax32()
85 DE_INLINE deUint32 deMinu32 (deUint32 a, deUint32 b) in deMinu32()
96 DE_INLINE deUint32 deMaxu32 (deUint32 a, deUint32 b) in deMaxu32()
110 DE_INLINE deBool deInRange32 (int a, int mn, int mx) in deInRange32()
124 DE_INLINE deBool deInBounds32 (int a, int mn, int mx) in deInBounds32()
136 DE_INLINE int deClamp32 (int a, int mn, int mx) in deClamp32()
149 DE_INLINE int deSign32 (int a) in deSign32()
161 DE_INLINE deInt32 deSignBit32 (deInt32 a) in deSignBit32()
[all …]
DdeMemory.h52 DE_INLINE void deMemset (void* ptr, int value, size_t numBytes) in deMemset()
58 DE_INLINE int deMemCmp (const void* a, const void* b, size_t numBytes) in deMemCmp()
70 DE_INLINE void* deMemcpy (void* dst, const void* src, size_t numBytes) in deMemcpy()
75 DE_INLINE void* deMemmove (void* dst, const void* src, size_t numBytes) in deMemmove()
DdeDefs.h234 # define DE_INLINE __forceinline macro
236 # define DE_INLINE static __inline__ macro
238 # define DE_INLINE inline /*!< Function inline. */ macro
270 DE_INLINE deBool deGetFalse (void) { return DE_FALSE; } in deGetFalse()
271 DE_INLINE deBool deGetTrue (void) { return DE_TRUE; } in deGetTrue()
DdeMemory.c126 DE_INLINE AlignedAllocHeader* getAlignedAllocHeader (void* ptr) in getAlignedAllocHeader()
/external/deqp/framework/delibs/depool/
DdePoolArray.h106 DE_INLINE TYPENAME* TYPENAME##_create (deMemPool* pool); \
107 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* arr) DE_UNUSED_FUNCTION; \
108 DE_INLINE deBool TYPENAME##_reserve (TYPENAME* arr, int capacity) DE_UNUSED_FUNCTION; \
109 DE_INLINE deBool TYPENAME##_setSize (TYPENAME* arr, int size) DE_UNUSED_FUNCTION; \
110 DE_INLINE void TYPENAME##_reset (TYPENAME* arr) DE_UNUSED_FUNCTION; \
111 DE_INLINE VALUETYPE TYPENAME##_get (const TYPENAME* arr, int ndx) DE_UNUSED_FUNCTION; \
112 DE_INLINE void TYPENAME##_set (TYPENAME* arr, int ndx, VALUETYPE elem) DE_UNUSED_FUNCTION; \
113 DE_INLINE deBool TYPENAME##_pushBack (TYPENAME* arr, VALUETYPE elem) DE_UNUSED_FUNCTION; \
114 DE_INLINE VALUETYPE TYPENAME##_popBack (TYPENAME* arr) DE_UNUSED_FUNCTION; \
115 DE_INLINE deBool TYPENAME##_copy (TYPENAME* dst, const TYPENAME* src) DE_UNUSED_FUNCTION; \
[all …]
DdePoolHeap.h66 DE_INLINE TYPENAME* TYPENAME##_create (deMemPool* pool); \
67 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* heap) DE_UNUSED_FUNCTION; \
68 DE_INLINE deBool TYPENAME##_reserve (TYPENAME* heap, int capacity) DE_UNUSED_FUNCTION; \
69 DE_INLINE void TYPENAME##_reset (TYPENAME* heap) DE_UNUSED_FUNCTION; \
70 DE_INLINE void TYPENAME##_moveDown (TYPENAME* heap, int ndx) DE_UNUSED_FUNCTION; \
71 DE_INLINE void TYPENAME##_moveUp (TYPENAME* heap, int ndx) DE_UNUSED_FUNCTION; \
72 DE_INLINE deBool TYPENAME##_push (TYPENAME* heap, VALUETYPE elem) DE_UNUSED_FUNCTION; \
73 DE_INLINE VALUETYPE TYPENAME##_popMin (TYPENAME* heap) DE_UNUSED_FUNCTION; \
75 DE_INLINE TYPENAME* TYPENAME##_create (deMemPool* pool) \
86 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* heap) \
[all …]
DdePoolHashSet.h66 DE_INLINE TYPENAME* TYPENAME##_create (deMemPool* pool); \
67 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* hashSet) DE_UNUSED_FUNCTION; \
68 DE_INLINE TYPENAME##Hash* TYPENAME##_getHash (const TYPENAME* hashSet) DE_UNUSED_FUNCTION;…
69 DE_INLINE deBool TYPENAME##_insert (TYPENAME* hashSet, KEYTYPE key, VALUETYPE value) DE_UNUSED…
70 DE_INLINE deBool TYPENAME##_safeInsert (TYPENAME* hashSet, KEYTYPE key, VALUETYPE value) DE_UNU…
71 DE_INLINE TYPENAME##Set* TYPENAME##_find (const TYPENAME* hashSet, KEYTYPE key) DE_UNUSED_FU…
72 DE_INLINE void TYPENAME##_delete (TYPENAME* hashSet, KEYTYPE key, VALUETYPE value) DE_UNUSED_…
73 DE_INLINE deBool TYPENAME##_exists (const TYPENAME* hashSet, KEYTYPE key, VALUETYPE value) DE_U…
75 DE_INLINE TYPENAME* TYPENAME##_create (deMemPool* pool) \
84 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* hashSet) \
[all …]
DdePoolHash.h104 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* hash) DE_UNUSED_FUNCTION; \
105 DE_INLINE void TYPENAME##Iter_init (const TYPENAME* hash, TYPENAME##Iter* iter) DE_UNUSED_FUNCTI…
106 DE_INLINE deBool TYPENAME##Iter_hasItem (const TYPENAME##Iter* iter) DE_UNUSED_FUNCTION; \
107 DE_INLINE void TYPENAME##Iter_next (TYPENAME##Iter* iter) DE_UNUSED_FUNCTION; \
108 DE_INLINE KEYTYPE TYPENAME##Iter_getKey (const TYPENAME##Iter* iter) DE_UNUSED_FUNCTION; \
109 DE_INLINE VALUETYPE TYPENAME##Iter_getValue (const TYPENAME##Iter* iter) DE_UNUSED_FUNCTION; \
111 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* hash) \
116 DE_INLINE void TYPENAME##Iter_init (const TYPENAME* hash, TYPENAME##Iter* iter) \
139 DE_INLINE deBool TYPENAME##Iter_hasItem (const TYPENAME##Iter* iter) \
144 DE_INLINE void TYPENAME##Iter_next (TYPENAME##Iter* iter) \
[all …]
DdePoolHashArray.h74 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* hashArray) DE_UNUSED_FUNCTION; \
75 DE_INLINE VALUETYPE* TYPENAME##_find (const TYPENAME* hashArray, KEYTYPE key) DE_UNUSED_FUNCTION…
76 DE_INLINE void TYPENAME##_reset (TYPENAME* hashArray) DE_UNUSED_FUNCTION; \
78 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* hashArray) \
83 DE_INLINE VALUETYPE* TYPENAME##_find (const TYPENAME* hashArray, KEYTYPE key) \
100 DE_INLINE void TYPENAME##_reset (TYPENAME* hashArray) \
DdePoolSet.h102 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* set) DE_UNUSED_FUNCTION; \
103 DE_INLINE void TYPENAME##Iter_init (const TYPENAME* hash, TYPENAME##Iter* iter) DE_UNUSED_FUNCTI…
104 DE_INLINE deBool TYPENAME##Iter_hasItem (const TYPENAME##Iter* iter) DE_UNUSED_FUNCTION; \
105 DE_INLINE void TYPENAME##Iter_next (TYPENAME##Iter* iter) DE_UNUSED_FUNCTION; \
106 DE_INLINE KEYTYPE TYPENAME##Iter_getKey (const TYPENAME##Iter* iter) DE_UNUSED_FUNCTION; \
107 DE_INLINE deBool TYPENAME##_safeInsert (TYPENAME* set, KEYTYPE key) DE_UNUSED_FUNCTION; \
108 DE_INLINE void TYPENAME##_safeDelete (TYPENAME* set, KEYTYPE key) DE_UNUSED_FUNCTION; \
110 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* set) \
115 DE_INLINE void TYPENAME##Iter_init (const TYPENAME* hash, TYPENAME##Iter* iter) \
138 DE_INLINE deBool TYPENAME##Iter_hasItem (const TYPENAME##Iter* iter) \
[all …]
DdePoolMultiSet.h76 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* set) \
81 DE_INLINE int TYPENAME##_getKeyCount (const TYPENAME* set, KEYTYPE key) \
89 DE_INLINE deBool TYPENAME##_exists (const TYPENAME* set, KEYTYPE key) \
94 DE_INLINE deBool TYPENAME##_insert (TYPENAME* set, KEYTYPE key) \
100 DE_INLINE void TYPENAME##_delete (TYPENAME* set, KEYTYPE key) \
DdePoolHeap.c36 DE_INLINE HeapItem HeapItem_create (int priority, int value) in HeapItem_create()
44 DE_INLINE int HeapItem_cmp (HeapItem a, HeapItem b) in HeapItem_cmp()
DdeMemPool.c426 DE_INLINE void* deMemPool_allocInternal (deMemPool* pool, size_t numBytes, deUint32 alignBytes) in deMemPool_allocInternal()
/external/deqp/framework/delibs/destream/
DdeOutStream.h38 DE_INLINE deStreamResult deOutStream_write (deOutStream* stream, const void* buf, deInt32 bufSize,…
39 DE_INLINE deStreamResult deOutStream_flush (deOutStream* stream);
40 DE_INLINE deStreamResult deOutStream_deinit (deOutStream* stream);
41 DE_INLINE const char* deOutStream_getError (deOutStream* stream);
42 DE_INLINE deStreamStatus deOutStream_getStatus (deOutStream* stream);
45 DE_INLINE deStreamResult deOutStream_write (deOutStream* stream, const void* buf, deInt32 bufSize, … in deOutStream_write()
50 DE_INLINE deStreamResult deOutStream_flush (deOutStream* stream) in deOutStream_flush()
55 DE_INLINE deStreamResult deOutStream_deinit (deOutStream* stream) in deOutStream_deinit()
60 DE_INLINE const char* deOutStream_getError (deOutStream* stream) in deOutStream_getError()
65 DE_INLINE deStreamStatus deOutStream_getStatus (deOutStream* stream) in deOutStream_getStatus()
DdeInStream.h38 DE_INLINE deStreamResult deInStream_read (deInStream* stream, void* buf, deInt32 bufSize, deInt32*…
39 DE_INLINE deStreamResult deInStream_deinit (deInStream* stream);
40 DE_INLINE const char* deInStream_getError (deInStream* stream);
41 DE_INLINE deStreamStatus deInStream_getStatus(deInStream* stream);
44 DE_INLINE deStreamResult deInStream_read (deInStream* stream, void* buf, deInt32 bufSize, deInt32* … in deInStream_read()
49 DE_INLINE deStreamResult deInStream_deinit (deInStream* stream) in deInStream_deinit()
54 DE_INLINE const char* deInStream_getError (deInStream* stream) in deInStream_getError()
59 DE_INLINE deStreamStatus deInStream_getStatus(deInStream* stream) in deInStream_getStatus()
DdeIOStream.h77 DE_INLINE deStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32…
78 DE_INLINE deStreamResult deIOStream_write (deIOStream* stream, const void* buf, deInt32 bufSize, d…
79 DE_INLINE const char* deIOStream_getError (deIOStream* stream);
80 DE_INLINE deStreamStatus deIOStream_getStatus (deIOStream* stream);
81 DE_INLINE deStreamResult deIOStream_flush (deIOStream* stream);
82 DE_INLINE deStreamResult deIOStream_deinit (deIOStream* stream);
86 DE_INLINE deStreamResult deIOStream_write (deIOStream* stream, const void* buf, deInt32 bufSize, de… in deIOStream_write()
95 DE_INLINE deStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32* … in deIOStream_read()
104 DE_INLINE const char* deIOStream_getError (deIOStream* stream) in deIOStream_getError()
113 DE_INLINE deStreamResult deIOStream_flush (deIOStream* stream) in deIOStream_flush()
[all …]
/external/deqp/framework/delibs/dethread/
DdeAtomic.h39 DE_INLINE deInt32 deAtomicIncrementInt32 (volatile deInt32* dstAddr) in deAtomicIncrementInt32()
55 DE_INLINE deUint32 deAtomicIncrementUint32 (volatile deUint32* dstAddr) in deAtomicIncrementUint32()
65 DE_INLINE deInt32 deAtomicDecrementInt32 (volatile deInt32* dstAddr) in deAtomicDecrementInt32()
81 DE_INLINE deUint32 deAtomicDecrementUint32 (volatile deUint32* dstAddr) in deAtomicDecrementUint32()
100 DE_INLINE deUint32 deAtomicCompareExchangeUint32 (volatile deUint32* dstAddr, deUint32 compare, deU… in deAtomicCompareExchangeUint32()
123 DE_INLINE deInt64 deAtomicIncrementInt64 (volatile deInt64* dstAddr) in deAtomicIncrementInt64()
139 DE_INLINE deUint64 deAtomicIncrementUint64 (volatile deUint64* dstAddr) in deAtomicIncrementUint64()
149 DE_INLINE deInt64 deAtomicDecrementInt64 (volatile deInt64* dstAddr) in deAtomicDecrementInt64()
165 DE_INLINE deUint64 deAtomicDecrementUint64 (volatile deUint64* dstAddr) in deAtomicDecrementUint64()
184 DE_INLINE deUint64 deAtomicCompareExchangeUint64 (volatile deUint64* dstAddr, deUint64 compare, deU… in deAtomicCompareExchangeUint64()
[all …]
/external/deqp/framework/delibs/deimage/
DdeARGB.h32 DE_INLINE deARGB deARGB_set (int r, int g, int b, int a) in deARGB_set()
41 DE_INLINE deARGB deARGB_white (void) { return deARGB_set(0xFF, 0xFF, 0xFF, 0xFF); } in deARGB_white()
42 DE_INLINE deARGB deARGB_black (void) { return deARGB_set(0, 0, 0, 0xFF); } in deARGB_black()
44 DE_INLINE int deARGB_getRed (deARGB argb) { return (int)((argb >> 16) & 0xFF); } in deARGB_getRed()
45 DE_INLINE int deARGB_getGreen (deARGB argb) { return (int)((argb >> 8) & 0xFF); } in deARGB_getGreen()
46 DE_INLINE int deARGB_getBlue (deARGB argb) { return (int)((argb >> 0) & 0xFF); } in deARGB_getBlue()
47 DE_INLINE int deARGB_getAlpha (deARGB argb) { return (int)((argb >> 24) & 0xFF); } in deARGB_getAlpha()
49 DE_INLINE deARGB deARGB_multiply (deARGB argb, int f) in deARGB_multiply()
61 DE_INLINE deARGB deARGB_add (deARGB a, deARGB b) in deARGB_add()
/external/deqp/framework/qphelper/
DqpXmlWriter.h52 DE_INLINE qpXmlAttribute qpSetStringAttrib (const char* name, const char* value) in qpSetStringAttrib()
63 DE_INLINE qpXmlAttribute qpSetIntAttrib (const char* name, int value) in qpSetIntAttrib()
74 DE_INLINE qpXmlAttribute qpSetBoolAttrib (const char* name, deBool value) in qpSetBoolAttrib()
DqpTestLog.c65 DE_INLINE deBool childContainersOk (ContainerType type) in childContainersOk()
81 DE_INLINE void ContainerStack_reset (ContainerStack* stack) in ContainerStack_reset()
86 DE_INLINE deBool ContainerStack_isEmpty (const ContainerStack* stack) in ContainerStack_isEmpty()
91 DE_INLINE deBool ContainerStack_push (ContainerStack* stack, ContainerType type) in ContainerStack_push()
105 DE_INLINE ContainerType ContainerStack_pop (ContainerStack* stack) in ContainerStack_pop()
112 DE_INLINE ContainerType ContainerStack_getTop (const ContainerStack* stack) in ContainerStack_getTop()
272 DE_INLINE void int32ToString (int val, char buf[32]) in int32ToString()
277 DE_INLINE void int64ToString (deInt64 val, char buf[32]) in int64ToString()
282 DE_INLINE void floatToString (float value, char* buf, size_t bufSize) in floatToString()
287 DE_INLINE void doubleToString (double value, char* buf, size_t bufSize) in doubleToString()
/external/deqp/framework/delibs/dethread/unix/
DdeThreadLocalUnix.c38 DE_INLINE deThreadLocal keyToThreadLocal (pthread_key_t key) in keyToThreadLocal()
43 DE_INLINE pthread_key_t threadLocalToKey (deThreadLocal threadLocal) in threadLocalToKey()
/external/deqp/framework/opengl/
DgluShaderLibrary.cpp240 DE_INLINE deBool isWhitespace (char c) in isWhitespace()
245 DE_INLINE deBool isEOL (char c) in isEOL()
250 DE_INLINE deBool isNumeric (char c) in isNumeric()
255 DE_INLINE deBool isAlpha (char c) in isAlpha()
260 DE_INLINE deBool isCaseNameChar (char c) in isCaseNameChar()
/external/deqp/framework/delibs/deutil/
DdeSocket.c203 DE_INLINE deBool deSocketHandleIsValid (deSocketHandle handle) in deSocketHandleIsValid()
761 DE_INLINE void deSocket_setChannelsClosed (deSocket* sock, deUint32 channels) in deSocket_setChannelsClosed()
DdeProcess.c80 DE_INLINE deBool beginsWithPath (const char* fileName, const char* pathPrefix) in beginsWithPath()