Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/framework/delibs/debase/
DdeMath.h67 DE_INLINE int deFloatIsInf (float x) { return (x > FLT_MAX) - (x < -FLT_MAX); } in deFloatIsInf()
68 DE_INLINE deBool deFloatIsNaN (float x) { return (x != x); } in deFloatIsNaN()
70 DE_INLINE int deIsInf (double x) { return (x > DBL_MAX) - (x < -DBL_MAX); } in deIsInf()
71 DE_INLINE deBool deIsNaN (double x) { return (x != x); } in deIsNaN()
73 DE_INLINE deUint32 deFloatBitsToUint32(float x) in deFloatBitsToUint32()
80 DE_INLINE deUint64 deDoubleBitsToUint64(double x) in deDoubleBitsToUint64()
87 DE_INLINE deBool deFloatIsPositiveZero(float x) in deFloatIsPositiveZero()
92 DE_INLINE deBool deDoubleIsPositiveZero(double x) in deDoubleIsPositiveZero()
97 DE_INLINE deBool deFloatIsNegativeZero(float x) in deFloatIsNegativeZero()
102 DE_INLINE deBool deDoubleIsNegativeZero(double x) in deDoubleIsNegativeZero()
[all …]
DdeInt32.h52 DE_INLINE int deAbs32 (int a) in deAbs32()
64 DE_INLINE int deMin32 (int a, int b) in deMin32()
75 DE_INLINE int deMax32 (int a, int b) in deMax32()
86 DE_INLINE deUint32 deMinu32 (deUint32 a, deUint32 b) in deMinu32()
97 DE_INLINE deUint64 deMinu64 (deUint64 a, deUint64 b) in deMinu64()
108 DE_INLINE deUint32 deMaxu32 (deUint32 a, deUint32 b) in deMaxu32()
122 DE_INLINE deBool deInRange32 (int a, int mn, int mx) in deInRange32()
136 DE_INLINE deBool deInBounds32 (int a, int mn, int mx) in deInBounds32()
148 DE_INLINE int deClamp32 (int a, int mn, int mx) in deClamp32()
161 DE_INLINE int deSign32 (int a) in deSign32()
[all …]
DdeFloat16.h63 DE_INLINE deBool deHalfIsPositiveZero(deFloat16 x) in deHalfIsPositiveZero()
68 DE_INLINE deBool deHalfIsNegativeZero(deFloat16 x) in deHalfIsNegativeZero()
76 DE_INLINE deBool deHalfIsIEEENaN(deFloat16 x) in deHalfIsIEEENaN()
83 DE_INLINE deBool deHalfIsSignalingNaN(deFloat16 x) in deHalfIsSignalingNaN()
88 DE_INLINE deBool deHalfIsQuietNaN(deFloat16 x) in deHalfIsQuietNaN()
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.h240 # define DE_INLINE __forceinline macro
242 # define DE_INLINE static __inline__ macro
244 # define DE_INLINE inline /*!< Function inline. */ macro
279 DE_INLINE deBool deGetFalse (void) { return DE_FALSE; } in deGetFalse()
280 DE_INLINE deBool deGetTrue (void) { return DE_TRUE; } in deGetTrue()
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeMath.hpp31 DE_INLINE double deToDouble (deFloat16 x) { return deFloat16To64(x); } in deToDouble()
32 DE_INLINE double deToDouble (float x) { return x; } in deToDouble()
33 DE_INLINE double deToDouble (double x) { return x; } in deToDouble()
50 DE_INLINE deBool deIsPositiveZero (deFloat16 x) { return deHalfIsPositiveZero(x); } in deIsPositiveZero()
51 DE_INLINE deBool deIsPositiveZero (float x) { return deFloatIsPositiveZero(x); } in deIsPositiveZero()
52 DE_INLINE deBool deIsPositiveZero (double x) { return deDoubleIsPositiveZero(x); } in deIsPositiveZero()
53 DE_INLINE deBool deIsNegativeZero (deFloat16 x) { return deHalfIsNegativeZero(x); } in deIsNegativeZero()
54 DE_INLINE deBool deIsNegativeZero (float x) { return deFloatIsNegativeZero(x); } in deIsNegativeZero()
55 DE_INLINE deBool deIsNegativeZero (double x) { return deDoubleIsNegativeZero(x); } in deIsNegativeZero()
56 DE_INLINE deBool deIsIEEENaN (deFloat16 x) { return deHalfIsIEEENaN(x); } in deIsIEEENaN()
[all …]
/third_party/vk-gl-cts/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 (DE_PTR_TYPE(TYPENAME) arr, int capacity) DE_UNUSED_FUNCTI…
109 DE_INLINE deBool TYPENAME##_setSize (DE_PTR_TYPE(TYPENAME) arr, int size) DE_UNUSED_FUNCTION;…
110 DE_INLINE void TYPENAME##_reset (DE_PTR_TYPE(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 (DE_PTR_TYPE(TYPENAME) arr, int ndx, VALUETYPE elem) DE_UNUSED_FU…
113 DE_INLINE deBool TYPENAME##_pushBack (DE_PTR_TYPE(TYPENAME) arr, VALUETYPE elem) DE_UNUSED_FUN…
114 DE_INLINE VALUETYPE TYPENAME##_popBack (DE_PTR_TYPE(TYPENAME) arr) DE_UNUSED_FUNCTION; \
115 DE_INLINE deBool TYPENAME##_copy (DE_PTR_TYPE(TYPENAME) dst, const TYPENAME* src) DE_UNUSED_FUN…
[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 (DE_PTR_TYPE(TYPENAME) heap, int capacity) DE_UNUSED_FUNCTIO…
69 DE_INLINE void TYPENAME##_reset (DE_PTR_TYPE(TYPENAME) heap) DE_UNUSED_FUNCTION; \
70 DE_INLINE void TYPENAME##_moveDown (DE_PTR_TYPE(TYPENAME) heap, int ndx) DE_UNUSED_FUNCTION; \
71 DE_INLINE void TYPENAME##_moveUp (DE_PTR_TYPE(TYPENAME) heap, int ndx) DE_UNUSED_FUNCTION; \
72 DE_INLINE deBool TYPENAME##_push (DE_PTR_TYPE(TYPENAME) heap, VALUETYPE elem) DE_UNUSED_FUNCTION…
73 DE_INLINE VALUETYPE TYPENAME##_popMin (DE_PTR_TYPE(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_FUNCTIO…
69 DE_INLINE deBool TYPENAME##_insert (DE_PTR_TYPE(TYPENAME) hashSet, KEYTYPE key, VALUETYPE value…
70 DE_INLINE deBool TYPENAME##_safeInsert (DE_PTR_TYPE(TYPENAME) hashSet, KEYTYPE key, VALUETYPE va…
71 DE_INLINE TYPENAME##Set* TYPENAME##_find (const TYPENAME* hashSet, KEYTYPE key) DE_UNUSED_…
72 DE_INLINE void TYPENAME##_delete (DE_PTR_TYPE(TYPENAME) hashSet, KEYTYPE key, VALUETYPE value)…
73 DE_INLINE deBool TYPENAME##_exists (const TYPENAME* hashSet, KEYTYPE key, VALUETYPE value) DE…
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 (DE_PTR_TYPE(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 (DE_PTR_TYPE(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 (DE_PTR_TYPE(TYPENAME) set, KEYTYPE key) DE_UNUSED_FUNCTIO…
108 DE_INLINE void TYPENAME##_safeDelete (DE_PTR_TYPE(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 (DE_PTR_TYPE(TYPENAME) set, KEYTYPE key) \
100 DE_INLINE void TYPENAME##_delete (DE_PTR_TYPE(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()
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
282 DE_INLINE void int32ToString (int val, char buf[32]) in int32ToString()
287 DE_INLINE void int64ToString (deInt64 val, char buf[32]) in int64ToString()
292 DE_INLINE void floatToString (float value, char* buf, size_t bufSize) in floatToString()
297 DE_INLINE void doubleToString (double value, char* buf, size_t bufSize) in doubleToString()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDriverPropertiesTests.cpp94 DE_INLINE bool isNullTerminated(const char* str, const deUint32 maxSize) in isNullTerminated()
99 DE_INLINE bool operator==(const VkConformanceVersion& a, const VkConformanceVersion& b) in operator ==()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderLibrary.cpp60 DE_INLINE deBool isWhitespace(char c) in isWhitespace()
65 DE_INLINE deBool isEOL(char c) in isEOL()
70 DE_INLINE deBool isNumeric(char c) in isNumeric()
75 DE_INLINE deBool isAlpha(char c) in isAlpha()
80 DE_INLINE deBool isCaseNameChar(char c) in isCaseNameChar()
/third_party/vk-gl-cts/framework/opengl/
DgluDefs.hpp46 DE_INLINE void* BufferOffsetAsPointer (uintptr_t byteOffset) in BufferOffsetAsPointer()

12