/external/libffi/testsuite/libffi.call/ |
nested_struct.c | 105 struct cls_struct_combined g_dbl = {{4.0, 5.0, 6}, local 134 args_dbl[2] = &g_dbl; 139 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); 140 CHECK( res_dbl.d.b == (e_dbl.b + f_dbl.ff + g_dbl.d.b)); 141 CHECK( res_dbl.d.c == (e_dbl.c + f_dbl.ii + g_dbl.d.c)); 142 CHECK( res_dbl.e.ii == (e_dbl.c + f_dbl.ii + g_dbl.e.ii)); 143 CHECK( res_dbl.e.dd == (e_dbl.a + f_dbl.dd + g_dbl.e.dd)); 144 CHECK( res_dbl.e.ff == (e_dbl.b + f_dbl.ff + g_dbl.e.ff)); 151 (pcl))(e_dbl, f_dbl, g_dbl); 153 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)) [all...] |
nested_struct1.c | 109 struct cls_struct_combined g_dbl = {{4.0, 5.0, 6}, local 140 args_dbl[2] = &g_dbl; 146 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); 147 CHECK( res_dbl.d.b == (e_dbl.b + f_dbl.ff + g_dbl.d.b)); 148 CHECK( res_dbl.d.c == (e_dbl.c + f_dbl.ii + g_dbl.d.c)); 149 CHECK( res_dbl.e.ii == (e_dbl.c + f_dbl.ii + g_dbl.e.ii)); 150 CHECK( res_dbl.e.dd == (e_dbl.a + f_dbl.dd + g_dbl.e.dd)); 151 CHECK( res_dbl.e.ff == (e_dbl.b + f_dbl.ff + g_dbl.e.ff)); 159 (pcl))(e_dbl, f_dbl, g_dbl, h_dbl); 161 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)) [all...] |
nested_struct10.c | 95 struct C g_dbl = { 2LL, 9}; local 123 args_dbl[2] = &g_dbl; 128 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + f_dbl.z + g_dbl.d)); 129 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); 130 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); 134 res_dbl = ((B(*)(A, B, C))(pcl))(e_dbl, f_dbl, g_dbl); 136 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + f_dbl.z + g_dbl.d)); 137 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); 138 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e));
|
nested_struct6.c | 94 struct C g_dbl = { 2, 9}; local 121 args_dbl[2] = &g_dbl; 126 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); 127 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); 128 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); 132 res_dbl = ((B(*)(A, B, C))(pcl))(e_dbl, f_dbl, g_dbl); 134 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); 135 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); 136 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e));
|
nested_struct8.c | 94 struct C g_dbl = { 2LL, 9}; local 121 args_dbl[2] = &g_dbl; 126 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); 127 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); 128 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); 132 res_dbl = ((B(*)(A, B, C))(pcl))(e_dbl, f_dbl, g_dbl); 134 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); 135 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); 136 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e));
|
nested_struct9.c | 94 struct C g_dbl = { 2, 9}; local 121 args_dbl[2] = &g_dbl; 126 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); 127 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); 128 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); 132 res_dbl = ((B(*)(A, B, C))(pcl))(e_dbl, f_dbl, g_dbl); 134 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); 135 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); 136 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e));
|
cls_1_1byte.c | 66 struct cls_struct_1_1byte g_dbl = { 12 }; local 80 args_dbl[0] = &g_dbl; 91 res_dbl = ((cls_struct_1_1byte(*)(cls_struct_1_1byte, cls_struct_1_1byte))(pcl))(g_dbl, f_dbl);
|
cls_2byte.c | 66 struct cls_struct_2byte g_dbl = { 12, 127 }; local 81 args_dbl[0] = &g_dbl; 92 res_dbl = ((cls_struct_2byte(*)(cls_struct_2byte, cls_struct_2byte))(pcl))(g_dbl, f_dbl);
|
cls_3byte1.c | 66 struct cls_struct_3byte g_dbl = { 12, 119 }; local 81 args_dbl[0] = &g_dbl; 92 res_dbl = ((cls_struct_3byte(*)(cls_struct_3byte, cls_struct_3byte))(pcl))(g_dbl, f_dbl);
|
cls_3byte2.c | 66 struct cls_struct_3byte_1 g_dbl = { 15, 125 }; local 81 args_dbl[0] = &g_dbl; 92 res_dbl = ((cls_struct_3byte_1(*)(cls_struct_3byte_1, cls_struct_3byte_1))(pcl))(g_dbl, f_dbl);
|
cls_4byte.c | 66 struct cls_struct_4byte g_dbl = { 127, 120 }; local 81 args_dbl[0] = &g_dbl; 92 res_dbl = ((cls_struct_4byte(*)(cls_struct_4byte, cls_struct_4byte))(pcl))(g_dbl, f_dbl);
|
cls_8byte.c | 65 struct cls_struct_8byte g_dbl = { 1, 2.0 }; local 80 args_dbl[0] = &g_dbl; 90 res_dbl = ((cls_struct_8byte(*)(cls_struct_8byte, cls_struct_8byte))(pcl))(g_dbl, f_dbl);
|
cls_18byte.c | 70 struct cls_struct_18byte g_dbl = { 1.0, 127, 126, 3.0 }; local 87 args_dbl[0] = &g_dbl; 98 res_dbl = ((cls_struct_18byte(*)(cls_struct_18byte, cls_struct_18byte))(pcl))(g_dbl, f_dbl);
|
cls_19byte.c | 73 struct cls_struct_19byte g_dbl = { 1.0, 127, 126, 3.0, 120 }; local 91 args_dbl[0] = &g_dbl; 103 res_dbl = ((cls_struct_19byte(*)(cls_struct_19byte, cls_struct_19byte))(pcl))(g_dbl, f_dbl);
|
cls_20byte.c | 66 struct cls_struct_20byte g_dbl = { 1.0, 2.0, 3 }; local 82 args_dbl[0] = &g_dbl; 93 res_dbl = ((cls_struct_20byte(*)(cls_struct_20byte, cls_struct_20byte))(pcl))(g_dbl, f_dbl);
|
cls_20byte1.c | 68 struct cls_struct_20byte g_dbl = { 1, 2.0, 3.0 }; local 84 args_dbl[0] = &g_dbl; 95 res_dbl = ((cls_struct_20byte(*)(cls_struct_20byte, cls_struct_20byte))(pcl))(g_dbl, f_dbl);
|
cls_3_1byte.c | 70 struct cls_struct_3_1byte g_dbl = { 12, 13, 14 }; local 86 args_dbl[0] = &g_dbl; 97 res_dbl = ((cls_struct_3_1byte(*)(cls_struct_3_1byte, cls_struct_3_1byte))(pcl))(g_dbl, f_dbl);
|
cls_4_1byte.c | 72 struct cls_struct_4_1byte g_dbl = { 12, 13, 14, 15 }; local 89 args_dbl[0] = &g_dbl; 100 res_dbl = ((cls_struct_4_1byte(*)(cls_struct_4_1byte, cls_struct_4_1byte))(pcl))(g_dbl, f_dbl);
|
cls_5_1_byte.c | 74 struct cls_struct_5byte g_dbl = { 127, 120, 1, 3, 4 }; local 92 args_dbl[0] = &g_dbl; 110 res_dbl = ((cls_struct_5byte(*)(cls_struct_5byte, cls_struct_5byte))(pcl))(g_dbl, f_dbl);
|
cls_5byte.c | 69 struct cls_struct_5byte g_dbl = { 127, 120, 1 }; local 85 args_dbl[0] = &g_dbl; 100 res_dbl = ((cls_struct_5byte(*)(cls_struct_5byte, cls_struct_5byte))(pcl))(g_dbl, f_dbl);
|
cls_6byte.c | 72 struct cls_struct_6byte g_dbl = { 127, 120, 1, 128 }; local 89 args_dbl[0] = &g_dbl; 100 res_dbl = ((cls_struct_6byte(*)(cls_struct_6byte, cls_struct_6byte))(pcl))(g_dbl, f_dbl);
|
cls_7byte.c | 71 struct cls_struct_7byte g_dbl = { 127, 120, 1, 254 }; local 88 args_dbl[0] = &g_dbl; 99 res_dbl = ((cls_struct_7byte(*)(cls_struct_7byte, cls_struct_7byte))(pcl))(g_dbl, f_dbl);
|
cls_align_double.c | 68 struct cls_struct_align g_dbl = { 12, 4951, 127 }; local 84 args_dbl[0] = &g_dbl; 95 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(pcl))(g_dbl, f_dbl);
|
cls_align_float.c | 66 struct cls_struct_align g_dbl = { 12, 4951, 127 }; local 82 args_dbl[0] = &g_dbl; 93 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(pcl))(g_dbl, f_dbl);
|
cls_align_longdouble.c | 67 struct cls_struct_align g_dbl = { 12, 4951, 127 }; local 83 args_dbl[0] = &g_dbl; 94 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(pcl))(g_dbl, f_dbl);
|