Home
last modified time | relevance | path

Searched refs:TYPENAME (Results 1 – 11 of 11) sorted by relevance

/third_party/vk-gl-cts/framework/delibs/depool/
DdePoolMultiSet.h61 #define DE_DECLARE_POOL_MULTISET(TYPENAME, KEYTYPE) \ argument
63 DE_DECLARE_POOL_HASH(TYPENAME##Hash, KEYTYPE, int); \
65 typedef struct TYPENAME##_s \
69 TYPENAME##Hash* hash; \
70 } TYPENAME; /* NOLINT(TYPENAME) */ \
72 TYPENAME* TYPENAME##_create (deMemPool* pool); \
73 void TYPENAME##_reset (DE_PTR_TYPE(TYPENAME) set); \
74 deBool TYPENAME##_setKeyCount (DE_PTR_TYPE(TYPENAME) set, KEYTYPE key, int newCount); \
76 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* set) \
81 DE_INLINE int TYPENAME##_getKeyCount (const TYPENAME* set, KEYTYPE key) \
[all …]
DdePoolSet.h66 #define DE_DECLARE_POOL_SET(TYPENAME, KEYTYPE) \ argument
68 typedef struct TYPENAME##Slot_s TYPENAME##Slot; \
70 struct TYPENAME##Slot_s \
73 TYPENAME##Slot* nextSlot; \
77 typedef struct TYPENAME##_s \
83 TYPENAME##Slot** slotTable; \
84 TYPENAME##Slot* slotFreeList; \
85 } TYPENAME; /* NOLINT(TYPENAME) */ \
87 typedef struct TYPENAME##Iter_s \
89 const TYPENAME* hash; \
[all …]
DdePoolHeap.h57 #define DE_DECLARE_POOL_HEAP(TYPENAME, VALUETYPE, CMPFUNC) \ argument
59 DE_DECLARE_POOL_ARRAY(TYPENAME##Array, VALUETYPE); \
61 typedef struct TYPENAME##_s \
63 TYPENAME##Array* array; \
64 } TYPENAME; /* NOLINT(TYPENAME) */ \
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 (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; \
[all …]
DdePoolHashSet.h57 #define DE_DECLARE_POOL_HASH_SET(TYPENAME, KEYTYPE, VALUETYPE) \ argument
59 DE_DECLARE_POOL_SET(TYPENAME##Set, VALUETYPE); \
60 DE_DECLARE_POOL_HASH(TYPENAME##Hash, KEYTYPE, TYPENAME##Set*); \
61 typedef struct TYPENAME##_s \
63 TYPENAME##Hash* hash; \
64 } TYPENAME; /* NOLINT(TYPENAME) */ \
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_FUNCTIO…
69 DE_INLINE deBool TYPENAME##_insert (DE_PTR_TYPE(TYPENAME) hashSet, KEYTYPE key, VALUETYPE value…
[all …]
DdePoolArray.h92 #define DE_DECLARE_POOL_ARRAY(TYPENAME, VALUETYPE) \ argument
94 typedef struct TYPENAME##_s \
104 } TYPENAME; /* NOLINT(TYPENAME) */ \
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 (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…
[all …]
DdePoolHashArray.h59 #define DE_DECLARE_POOL_HASH_ARRAY(TYPENAME, KEYTYPE, VALUETYPE, KEYARRAYTYPE, VALUEARRAYTYPE) \ argument
61 DE_DECLARE_POOL_ARRAY(TYPENAME##Array, VALUETYPE); \
62 DE_DECLARE_POOL_HASH(TYPENAME##Hash, KEYTYPE, int); \
66 TYPENAME##Hash* hash; \
67 TYPENAME##Array* array; \
68 } TYPENAME; /* NOLINT(TYPENAME) */ \
70 TYPENAME* TYPENAME##_create (deMemPool* pool); \
71 deBool TYPENAME##_insert (DE_PTR_TYPE(TYPENAME) hashArray, KEYTYPE key, VALUETYPE value); \
72 deBool TYPENAME##_copyToArray (const TYPENAME* hashArray, DE_PTR_TYPE(KEYARRAYTYPE) keys, DE_PTR_…
74 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* hashArray) DE_UNUSED_FUNCTION; \
[all …]
DdePoolHash.h67 #define DE_DECLARE_POOL_HASH(TYPENAME, KEYTYPE, VALUETYPE) \ argument
69 typedef struct TYPENAME##Slot_s TYPENAME##Slot; \
71 struct TYPENAME##Slot_s \
74 TYPENAME##Slot* nextSlot; \
79 typedef struct TYPENAME##_s \
85 TYPENAME##Slot** slotTable; \
86 TYPENAME##Slot* slotFreeList; \
87 } TYPENAME; /* NOLINT(TYPENAME) */ \
89 typedef struct TYPENAME##Iter_s \
91 const TYPENAME* hash; \
[all …]
/third_party/python/Modules/
Dtestcapi_long.h13 const int NBITS = sizeof(TYPENAME) * 8; in TESTNAME()
14 unsigned TYPENAME base; in TESTNAME()
32 TYPENAME in, out; in TESTNAME()
33 unsigned TYPENAME uin, uout; in TESTNAME()
42 uin += (unsigned TYPENAME)(TYPENAME)(j % 3 - 1); in TESTNAME()
50 if (uout == (unsigned TYPENAME)-1 && PyErr_Occurred()) in TESTNAME()
58 in = (TYPENAME)uin; in TESTNAME()
65 if (out == (TYPENAME)-1 && PyErr_Occurred()) in TESTNAME()
81 TYPENAME out; in TESTNAME()
82 unsigned TYPENAME uout; in TESTNAME()
[all …]
D_testcapimodule.c494 #define TYPENAME long macro
509 #undef TYPENAME
522 #define TYPENAME long long macro
537 #undef TYPENAME
/third_party/elfutils/lib/
Ddynamicsizehash.c279 # define TYPENAME(name) _TYPENAME (name) in ITERATEFCT() macro
286 p = ((TYPENAME(NAME) *) p)->next; in ITERATEFCT()
305 p = ((TYPENAME(NAME) *) p)->next; in ITERATEFCT()
311 __builtin_prefetch (((TYPENAME(NAME) *) p)->next, 0, 2); in ITERATEFCT()
313 return ((TYPENAME(NAME) *) (*ptr = p))->data; in ITERATEFCT()
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc1117 #define DEFINE_PRIMITIVE_ACCESSORS(TYPENAME, TYPE, PASSTYPE, CPPTYPE) \ argument
1118 PASSTYPE Reflection::Get##TYPENAME(const Message& message, \
1120 USAGE_CHECK_ALL(Get##TYPENAME, SINGULAR, CPPTYPE); \
1122 return GetExtensionSet(message).Get##TYPENAME( \
1129 void Reflection::Set##TYPENAME( \
1131 USAGE_CHECK_ALL(Set##TYPENAME, SINGULAR, CPPTYPE); \
1133 return MutableExtensionSet(message)->Set##TYPENAME( \
1140 PASSTYPE Reflection::GetRepeated##TYPENAME( \
1142 USAGE_CHECK_ALL(GetRepeated##TYPENAME, REPEATED, CPPTYPE); \
1144 return GetExtensionSet(message).GetRepeated##TYPENAME(field->number(), \
[all …]