/external/libffi/testsuite/libffi.call/ |
nested_struct.c | 103 struct cls_struct_16byte1 e_dbl = { 9.0, 2.0, 6}; local 132 args_dbl[0] = &e_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 | 107 struct cls_struct_16byte1 e_dbl = { 9.0, 2.0, 6}; local 138 args_dbl[0] = &e_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 | 93 struct A e_dbl = { 1LL, 7}; local 121 args_dbl[0] = &e_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_struct2.c | 78 struct A e_dbl = { 1, 7}; local 99 args_dbl[0] = &e_dbl; 105 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); 106 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); 107 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); 111 res_dbl = ((B(*)(A, B))(pcl))(e_dbl, f_dbl); 113 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); 114 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); 115 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b));
|
nested_struct3.c | 79 struct A e_dbl = { 1LL, 7}; local 100 args_dbl[0] = &e_dbl; 106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); 107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); 108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); 113 res_dbl = ((B(*)(A, B))(pcl))(e_dbl, f_dbl); 115 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); 116 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); 117 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b));
|
nested_struct4.c | 79 struct A e_dbl = { 1.0, 7}; local 100 args_dbl[0] = &e_dbl; 106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); 107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); 108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); 112 res_dbl = ((B(*)(A, B))(pcl))(e_dbl, f_dbl); 114 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); 115 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); 116 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b));
|
nested_struct5.c | 79 struct A e_dbl = { 1.0, 7}; local 100 args_dbl[0] = &e_dbl; 106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); 107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); 108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); 113 res_dbl = ((B(*)(A, B))(pcl))(e_dbl, f_dbl); 115 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); 116 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); 117 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b));
|
nested_struct6.c | 92 struct A e_dbl = { 1.0, 7}; local 119 args_dbl[0] = &e_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_struct7.c | 79 struct A e_dbl = { 1LL, 7}; local 100 args_dbl[0] = &e_dbl; 106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); 107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); 108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); 112 res_dbl = ((B(*)(A, B))(pcl))(e_dbl, f_dbl); 114 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); 115 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); 116 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b));
|
nested_struct8.c | 92 struct A e_dbl = { 1LL, 7}; local 119 args_dbl[0] = &e_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 | 92 struct A e_dbl = { 1, 7LL}; local 119 args_dbl[0] = &e_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_24byte.c | 77 struct cls_struct_24byte e_dbl = { 9.0, 2.0, 6, 5.0 }; local 98 args_dbl[0] = &e_dbl; 115 (pcl))(e_dbl, f_dbl, g_dbl, h_dbl);
|
cls_64byte.c | 82 struct cls_struct_64byte e_dbl = { 9.0, 2.0, 6.0, 5.0, 3.0, 4.0, 8.0, 1.0 }; local 107 args_dbl[0] = &e_dbl; 125 (pcl))(e_dbl, f_dbl, g_dbl, h_dbl);
|