Home
last modified time | relevance | path

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

/external/deqp/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 …]
/external/python/cpython3/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.c405 #define TYPENAME long macro
420 #undef TYPENAME
433 #define TYPENAME long long macro
448 #undef TYPENAME
/external/python/cpython2/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()
37 : (unsigned TYPENAME)(-(TYPENAME)base); in TESTNAME()
43 uin += (unsigned TYPENAME)(TYPENAME)(j % 3 - 1); in TESTNAME()
51 if (uout == (unsigned TYPENAME)-1 && PyErr_Occurred()) in TESTNAME()
59 in = (TYPENAME)uin; in TESTNAME()
66 if (out == (TYPENAME)-1 && PyErr_Occurred()) in TESTNAME()
82 TYPENAME out; in TESTNAME()
[all …]
D_testcapimodule.c510 #define TYPENAME long macro
525 #undef TYPENAME
540 #define TYPENAME PY_LONG_LONG macro
555 #undef TYPENAME
/external/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()
/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc1069 #define DEFINE_PRIMITIVE_ACCESSORS(TYPENAME, TYPE, PASSTYPE, CPPTYPE) \ argument
1070 PASSTYPE GeneratedMessageReflection::Get##TYPENAME( \
1072 USAGE_CHECK_ALL(Get##TYPENAME, SINGULAR, CPPTYPE); \
1074 return GetExtensionSet(message).Get##TYPENAME( \
1081 void GeneratedMessageReflection::Set##TYPENAME( \
1084 USAGE_CHECK_ALL(Set##TYPENAME, SINGULAR, CPPTYPE); \
1086 return MutableExtensionSet(message)->Set##TYPENAME( \
1093 PASSTYPE GeneratedMessageReflection::GetRepeated##TYPENAME( \
1096 USAGE_CHECK_ALL(GetRepeated##TYPENAME, REPEATED, CPPTYPE); \
1098 return GetExtensionSet(message).GetRepeated##TYPENAME( \
[all …]
/external/u-boot/tools/buildman/
Dkconfiglib.py1722 "Type : " + TYPENAME[sc.type],
1782 "Type : " + TYPENAME[sc.type],
2485 .format(v, self.name, TYPENAME[self.type]))
3521 TYPENAME = {UNKNOWN: "unknown", BOOL: "bool", TRISTATE: "tristate", variable