Lines Matching refs:packed
25 test_size(5, "struct __attribute__((packed)) {char a; uint32_t b;}");
26 test_size(5, "struct __attribute__((packed)) {uint32_t a; char b;}");
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]");
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));}");