Lines Matching refs:DEFINE
36 #define __STDC_FORMAT_MACROS
46 #define offsetof( type, member ) ((size_t) &((type *)0)->member)
49 #define OFFSET_HEADER( x ) \
60 #define DEFINE_HEADER( x ) \
69 #define OFFSET( s, t, m ) \
70 printf( "#define %s\t%lu\n", s, (unsigned long) offsetof( t, m ) );
72 #define SIZEOF( s, t ) \
73 printf( "#define %s\t%lu\n", s, (unsigned long) sizeof(t) );
75 #define DEFINE( s, d ) \
76 printf( "#define %s\t0x%" PRIx64 "\n", s, (uint64_t) d );
88 printf( "#define __ASM_TYPES_H__\n" );
139 DEFINE( "VERT_BIT_OBJ ", VERT_BIT_POS );
140 DEFINE( "VERT_BIT_NORM ", VERT_BIT_NORMAL );
141 DEFINE( "VERT_BIT_RGBA ", VERT_BIT_COLOR0 );
142 DEFINE( "VERT_BIT_SPEC_RGB ", VERT_BIT_COLOR1 );
143 DEFINE( "VERT_BIT_FOG_COORD ", VERT_BIT_FOG );
144 DEFINE( "VERT_BIT_TEX0 ", VERT_BIT_TEX0 );
145 DEFINE( "VERT_BIT_TEX1 ", VERT_BIT_TEX1 );
146 DEFINE( "VERT_BIT_TEX2 ", VERT_BIT_TEX2 );
147 DEFINE( "VERT_BIT_TEX3 ", VERT_BIT_TEX3 );
163 DEFINE( "VEC_MALLOC ", VEC_MALLOC );
164 DEFINE( "VEC_NOT_WRITEABLE ", VEC_NOT_WRITEABLE );
165 DEFINE( "VEC_BAD_STRIDE ", VEC_BAD_STRIDE );
167 DEFINE( "VEC_SIZE_1 ", VEC_SIZE_1 );
168 DEFINE( "VEC_SIZE_2 ", VEC_SIZE_2 );
169 DEFINE( "VEC_SIZE_3 ", VEC_SIZE_3 );
170 DEFINE( "VEC_SIZE_4 ", VEC_SIZE_4 );
219 DEFINE( "LIGHT_SPOT ", LIGHT_SPOT );
220 DEFINE( "LIGHT_LOCAL_VIEWER ", LIGHT_LOCAL_VIEWER );
221 DEFINE( "LIGHT_POSITIONAL ", LIGHT_POSITIONAL );
223 DEFINE( "LIGHT_NEED_VERTICES ", LIGHT_NEED_VERTICES );