Home | History | Annotate | Download | only in libasm

Lines Matching defs:SIZE

38 #ifndef SIZE
39 # define SIZE 8
42 #define FCT(size) _FCT(size)
43 #define _FCT(size) asm_addint##size
44 #define TYPE(size) _TYPE(size)
45 #define _TYPE(size) int##size##_t
46 #define BSWAP(size) _BSWAP(size)
47 #define _BSWAP(size) bswap_##size
51 FCT(SIZE) (asmscn, num)
53 TYPE(SIZE) num;
67 if (SIZE == 8)
69 else if (SIZE == 16)
72 else if (SIZE == 32)
91 #if SIZE > 8
95 TYPE(SIZE) var = num;
98 if (__libasm_ensure_section_space (asmscn, SIZE / 8) != 0)
101 #if SIZE > 8
104 var = BSWAP(SIZE) (var);
109 memcpy (&asmscn->content->data[asmscn->content->len], &var, SIZE / 8);
112 asmscn->content->len += SIZE / 8;
115 asmscn->offset += SIZE / 8;
120 INTDEF(FCT(SIZE))