Lines Matching refs:b

21 test_size(8, "struct {uint32_t a; uint32_t b;}");
22 test_size(3, "struct {char a; uint8_t b; uint8_t c;}");
23 test_size(8, "struct {char a; uint32_t b;}");
24 test_size(8, "struct {uint32_t a; char b;}");
25 test_size(5, "struct __attribute__((packed)) {char a; uint32_t b;}");
26 test_size(5, "struct __attribute__((packed)) {uint32_t a; char b;}");
28 test_size(16, "struct {uint32_t a; uint32_t b;}[2]");
29 test_size(6, "struct {char a; uint8_t b; uint8_t c;}[2]");
30 test_size(16, "struct {char a; uint32_t b;}[2]");
31 test_size(16, "struct {uint32_t a; char b;}[2]");
32 test_size(10, "struct __attribute__((packed)) {char a; uint32_t b;}[2]");
33 test_size(10, "struct __attribute__((packed)) {uint32_t a; char b;}[2]");
35 test_align(4, "union {uint32_t a; uint32_t b;}");
36 test_align(1, "union {char a; uint8_t b; uint8_t c;}");
37 test_align(4, "union {char a; uint32_t b;}");
38 test_align(4, "union {uint32_t a; char b;}");
39 test_align(1, "union __attribute__((packed)) {char a; uint32_t b;}");
40 test_align(1, "union __attribute__((packed)) {uint32_t a; char b;}");
42 test_size(8, "struct {char a __attribute__((packed)); uint32_t b;}");
43 test_size(5, "struct {char a; uint32_t b __attribute__((packed));}");
44 test_size(5, "struct {uint32_t a __attribute__((packed)); char b;}");
45 test_size(8, "struct {uint32_t a; char b __attribute__((packed));}");
47 test_align(4, "struct {char a __attribute__((packed)); uint32_t b;}");
48 test_align(1, "struct {char a; uint32_t b __attribute__((packed));}");
49 test_align(1, "struct {uint32_t a __attribute__((packed)); char b;}");
50 test_align(4, "struct {uint32_t a; char b __attribute__((packed));}");
52 test_size(16, "struct __attribute__((aligned(16))) {char a; uint32_t b;}");
53 test_align(16, "struct __attribute__((aligned(16))) {char a; uint32_t b;}");
55 test_size(16, "struct {char a; uint32_t b;} __attribute__((aligned(16)))");
56 test_align(16, "struct {char a; uint32_t b;} __attribute__((aligned(16)))");
58 test_size(8, "struct {char a; uint32_t b __attribute__((aligned(1)));}");
59 test_align(4, "struct {char a; uint32_t b __attribute__((aligned(1)));}");
60 test_size(32, "struct {char a; uint32_t b __attribute__((aligned(16)));}");
61 test_align(16, "struct {char a; uint32_t b __attribute__((aligned(16)));}");
64 …test_size(FFI::__BIGGEST_ALIGNMENT__ * 2, "struct {char a; uint32_t b __attribute__((aligned));}"…
65 … test_align(FFI::__BIGGEST_ALIGNMENT__, "struct {char a; uint32_t b __attribute__((aligned));}");
68 test_size(16, "struct __declspec(align(16)) {char a; uint32_t b;}");
69 test_align(16, "struct __declspec(align(16)) {char a; uint32_t b;}");