Lines Matching refs:test
9 function test($size, $type) {
15 test(4, "enum {a1, b1}");
16 test(1, "enum __attribute__((packed)) {a2, b2}");
18 test(4, "enum {a3=0, b3=0x80000000}");
19 test(8, "enum {a4=-1, b4=0x80000000}");
20 test(8, "enum {a5=0x80000000, b5=-1}");
21 test(4, "enum {a6=-1, b6=0x7fffffff}");
22 test(8, "enum {a7=-1, b7=0x7fffffff, c7}");
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}");