Home | History | Annotate | Download | only in libasm

Lines Matching refs:SIZE

26 #ifndef SIZE
27 # define SIZE 8
30 #define FCT(size) _FCT(size)
31 #define _FCT(size) asm_addint##size
32 #define TYPE(size) _TYPE(size)
33 #define _TYPE(size) int##size##_t
34 #define BSWAP(size) _BSWAP(size)
35 #define _BSWAP(size) bswap_##size
39 FCT(SIZE) (asmscn, num)
41 TYPE(SIZE) num;
55 if (SIZE == 8)
57 else if (SIZE == 16)
59 else if (SIZE == 32)
76 #if SIZE > 8
80 TYPE(SIZE) var = num;
83 if (__libasm_ensure_section_space (asmscn, SIZE / 8) != 0)
86 #if SIZE > 8
89 var = BSWAP(SIZE) (var);
94 memcpy (&asmscn->content->data[asmscn->content->len], &var, SIZE / 8);
97 asmscn->content->len += SIZE / 8;
100 asmscn->offset += SIZE / 8;
105 INTDEF(FCT(SIZE))