Home | History | Annotate | Download | only in libasm

Lines Matching refs:SIZE

41 #ifndef SIZE
42 # define SIZE 8
45 #define FCT(size) _FCT(size)
46 #define _FCT(size) asm_addint##size
47 #define TYPE(size) _TYPE(size)
48 #define _TYPE(size) int##size##_t
49 #define BSWAP(size) _BSWAP(size)
50 #define _BSWAP(size) bswap_##size
54 FCT(SIZE) (AsmScn_t *asmscn, TYPE(SIZE) num)
68 if (SIZE == 8)
70 else if (SIZE == 16)
73 else if (SIZE == 32)
92 #if SIZE > 8
96 TYPE(SIZE) var = num;
99 if (__libasm_ensure_section_space (asmscn, SIZE / 8) != 0)
102 #if SIZE > 8
105 var = BSWAP(SIZE) (var);
110 memcpy (&asmscn->content->data[asmscn->content->len], &var, SIZE / 8);
113 asmscn->content->len += SIZE / 8;
116 asmscn->offset += SIZE / 8;
121 INTDEF(FCT(SIZE))