/external/deqp/framework/delibs/debase/ |
D | deMath.h | 65 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 …]
|
D | deInt32.h | 51 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 int deSignBit32 (int a) in deSignBit32() [all …]
|
D | deMemory.h | 51 DE_INLINE void deMemset (void* ptr, int value, int numBytes) in deMemset() 57 DE_INLINE int deMemCmp (const void* a, const void* b, int numBytes) in deMemCmp() 69 DE_INLINE void* deMemcpy (void* dst, const void* src, int numBytes) in deMemcpy() 74 DE_INLINE void* deMemmove (void* dst, const void* src, int numBytes) in deMemmove()
|
D | deDefs.h | 234 # define DE_INLINE __forceinline macro 236 # define DE_INLINE static __inline__ macro 238 # define DE_INLINE inline /*!< Function inline. */ macro 266 DE_INLINE deBool deGetFalse (void) { return DE_FALSE; } in deGetFalse() 267 DE_INLINE deBool deGetTrue (void) { return DE_TRUE; } in deGetTrue()
|
/external/deqp/framework/delibs/depool/ |
D | dePoolArray.h | 106 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 …]
|
D | dePoolHeap.h | 66 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 …]
|
D | dePoolHashSet.h | 66 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 …]
|
D | dePoolHash.h | 104 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 …]
|
D | dePoolHashArray.h | 74 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) \
|
D | dePoolSet.h | 102 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 …]
|
D | dePoolMultiSet.h | 76 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) \
|
D | dePoolHeap.c | 36 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()
|
D | deMemPool.c | 426 DE_INLINE void* deMemPool_allocInternal (deMemPool* pool, int numBytes, deUint32 alignBytes) in deMemPool_allocInternal()
|
/external/deqp/framework/delibs/destream/ |
D | deOutStream.h | 38 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()
|
D | deInStream.h | 38 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()
|
D | deIOStream.h | 77 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/deimage/ |
D | deARGB.h | 32 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/delibs/dethread/ |
D | deAtomic.h | 39 DE_INLINE deInt32 deAtomicIncrement32 (deInt32 volatile* dstAddr) in deAtomicIncrement32() 55 DE_INLINE deInt32 deAtomicDecrement32 (deInt32 volatile* dstAddr) in deAtomicDecrement32() 80 DE_INLINE deUint32 deAtomicCompareExchange32 (deUint32 volatile* dstAddr, deUint32 compare, deUint3… in deAtomicCompareExchange32() 97 DE_INLINE void deMemoryReadWriteFence (void) in deMemoryReadWriteFence()
|
/external/deqp/framework/qphelper/ |
D | qpXmlWriter.h | 52 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()
|
D | qpTestLog.c | 65 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, int bufSize) in floatToString() 287 DE_INLINE void doubleToString (double value, char* buf, int bufSize) in doubleToString()
|
/external/deqp/framework/delibs/dethread/unix/ |
D | deThreadLocalUnix.c | 38 DE_INLINE deThreadLocal keyToThreadLocal (pthread_key_t key) in keyToThreadLocal() 43 DE_INLINE pthread_key_t threadLocalToKey (deThreadLocal threadLocal) in threadLocalToKey()
|
/external/deqp/modules/glshared/ |
D | glsShaderLibrary.cpp | 62 DE_INLINE deBool isWhitespace (char c) in isWhitespace() 67 DE_INLINE deBool isEOL (char c) in isEOL() 72 DE_INLINE deBool isNumeric (char c) in isNumeric() 77 DE_INLINE deBool isAlpha (char c) in isAlpha() 82 DE_INLINE deBool isCaseNameChar (char c) in isCaseNameChar()
|
/external/deqp/framework/delibs/deutil/ |
D | deSocket.c | 198 DE_INLINE deBool deSocketHandleIsValid (deSocketHandle handle) in deSocketHandleIsValid() 743 DE_INLINE void deSocket_setChannelsClosed (deSocket* sock, deUint32 channels) in deSocket_setChannelsClosed()
|
D | deProcess.c | 79 DE_INLINE deBool beginsWithPath (const char* fileName, const char* pathPrefix) in beginsWithPath()
|