Lines Matching refs:packed
2 FFI 021: packed enums
16 test(1, "enum __attribute__((packed)) {a2, b2}");
24 test(1, "enum __attribute__((packed)) {a8=0, b8=0xff}");
25 test(2, "enum __attribute__((packed)) {a9=0, b9=0x100}");
27 test(1, "enum __attribute__((packed)) {a10=-1, b10=0x7f}");
28 test(2, "enum __attribute__((packed)) {a11=-1, b11=0x80}");
29 test(1, "enum __attribute__((packed)) {a12=0x7f, b12=-0x80}");
30 test(2, "enum __attribute__((packed)) {a13=0x7f, b13=-0x81}");
32 test(2, "enum __attribute__((packed)) {a8=0, b8=0xffff}");
33 test(4, "enum __attribute__((packed)) {a9=0, b9=0x10000}");
35 test(2, "enum __attribute__((packed)) {a10=-1, b10=0x7f00}");
36 test(4, "enum __attribute__((packed)) {a11=-1, b11=0x8000}");
37 test(2, "enum __attribute__((packed)) {a12=0x7f00, b12=-0x8000}");
38 test(4, "enum __attribute__((packed)) {a13=0x7f00, b13=-0x8001}");
40 test(4, "enum __attribute__((packed)) {a8=0, b8=0xffffffff}");
41 test(8, "enum __attribute__((packed)) {a9=0, b9=0x100000000}");
43 test(4, "enum __attribute__((packed)) {a10=-1, b10=0x7f000000}");
44 test(8, "enum __attribute__((packed)) {a11=-1, b11=0x80000000}");
45 test(4, "enum __attribute__((packed)) {a12=0x7f000000, b12=-0x80000000}");
46 test(8, "enum __attribute__((packed)) {a13=0x7f000000, b13=-0x80000001}");
48 test(1, "enum __attribute__((packed)) {a14=-0x80}");
49 test(2, "enum __attribute__((packed)) {a14=-0x81}");
50 test(2, "enum __attribute__((packed)) {a14=-0x8000}");
51 test(4, "enum __attribute__((packed)) {a14=-0x8001}");
52 test(4, "enum __attribute__((packed)) {a14=-0x80000000}");
53 test(8, "enum __attribute__((packed)) {a14=-0x80000001}");