/external/libffi/testsuite/libffi.call/ |
D | nested_struct10.c | 94 struct B f_dbl = { 99, {12LL , 127}, 255}; in main() local 122 args_dbl[1] = &f_dbl; in main() 128 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + f_dbl.z + g_dbl.d)); in main() 129 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main() 130 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main() 134 res_dbl = ((B(*)(A, B, C))(pcl))(e_dbl, f_dbl, g_dbl); in main() 136 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + f_dbl.z + g_dbl.d)); in main() 137 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main() 138 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main()
|
D | nested_struct3.c | 80 struct B f_dbl = {{12LL , 127}, 99}; in main() local 101 args_dbl[1] = &f_dbl; in main() 106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main() 107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main() 108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main() 113 res_dbl = ((B(*)(A, B))(pcl))(e_dbl, f_dbl); in main() 115 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main() 116 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main() 117 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
|
D | nested_struct5.c | 80 struct B f_dbl = {{12.0 , 127}, 99}; in main() local 101 args_dbl[1] = &f_dbl; in main() 106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main() 107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main() 108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main() 113 res_dbl = ((B(*)(A, B))(pcl))(e_dbl, f_dbl); in main() 115 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main() 116 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main() 117 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
|
D | nested_struct7.c | 80 struct B f_dbl = {{12.0 , 127}, 99}; in main() local 101 args_dbl[1] = &f_dbl; in main() 106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main() 107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main() 108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main() 112 res_dbl = ((B(*)(A, B))(pcl))(e_dbl, f_dbl); in main() 114 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main() 115 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main() 116 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
|
D | nested_struct2.c | 79 struct B f_dbl = {{12 , 127}, 99}; in main() local 100 args_dbl[1] = &f_dbl; in main() 105 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main() 106 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main() 107 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main() 111 res_dbl = ((B(*)(A, B))(pcl))(e_dbl, f_dbl); in main() 113 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main() 114 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main() 115 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
|
D | nested_struct4.c | 80 struct B f_dbl = {{12.0 , 127}, 99}; in main() local 101 args_dbl[1] = &f_dbl; in main() 106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main() 107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main() 108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main() 112 res_dbl = ((B(*)(A, B))(pcl))(e_dbl, f_dbl); in main() 114 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main() 115 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main() 116 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
|
D | nested_struct.c | 104 struct cls_struct_16byte2 f_dbl = { 1, 2.0, 3.0}; in main() local 133 args_dbl[1] = &f_dbl; in main() 139 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main() 140 CHECK( res_dbl.d.b == (e_dbl.b + f_dbl.ff + g_dbl.d.b)); in main() 141 CHECK( res_dbl.d.c == (e_dbl.c + f_dbl.ii + g_dbl.d.c)); in main() 142 CHECK( res_dbl.e.ii == (e_dbl.c + f_dbl.ii + g_dbl.e.ii)); in main() 143 CHECK( res_dbl.e.dd == (e_dbl.a + f_dbl.dd + g_dbl.e.dd)); in main() 144 CHECK( res_dbl.e.ff == (e_dbl.b + f_dbl.ff + g_dbl.e.ff)); in main() 151 (pcl))(e_dbl, f_dbl, g_dbl); in main() 153 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main() [all …]
|
D | nested_struct1.c | 108 struct cls_struct_16byte2 f_dbl = { 1, 2.0, 3.0}; in main() local 139 args_dbl[1] = &f_dbl; in main() 146 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main() 147 CHECK( res_dbl.d.b == (e_dbl.b + f_dbl.ff + g_dbl.d.b)); in main() 148 CHECK( res_dbl.d.c == (e_dbl.c + f_dbl.ii + g_dbl.d.c)); in main() 149 CHECK( res_dbl.e.ii == (e_dbl.c + f_dbl.ii + g_dbl.e.ii)); in main() 150 CHECK( res_dbl.e.dd == (e_dbl.a + f_dbl.dd + g_dbl.e.dd)); in main() 151 CHECK( res_dbl.e.ff == (e_dbl.b + f_dbl.ff + g_dbl.e.ff)); in main() 159 (pcl))(e_dbl, f_dbl, g_dbl, h_dbl); in main() 161 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main() [all …]
|
D | nested_struct9.c | 93 struct B f_dbl = {{12.0 , 127}, 99}; in main() local 120 args_dbl[1] = &f_dbl; in main() 126 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); in main() 127 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main() 128 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main() 132 res_dbl = ((B(*)(A, B, C))(pcl))(e_dbl, f_dbl, g_dbl); in main() 134 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); in main() 135 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main() 136 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main()
|
D | nested_struct6.c | 93 struct B f_dbl = {{12.0 , 127}, 99}; in main() local 120 args_dbl[1] = &f_dbl; in main() 126 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); in main() 127 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main() 128 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main() 132 res_dbl = ((B(*)(A, B, C))(pcl))(e_dbl, f_dbl, g_dbl); in main() 134 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); in main() 135 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main() 136 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main()
|
D | nested_struct8.c | 93 struct B f_dbl = {{12LL , 127}, 99}; in main() local 120 args_dbl[1] = &f_dbl; in main() 126 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); in main() 127 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main() 128 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main() 132 res_dbl = ((B(*)(A, B, C))(pcl))(e_dbl, f_dbl, g_dbl); in main() 134 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); in main() 135 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main() 136 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main()
|
D | cls_1_1byte.c | 67 struct cls_struct_1_1byte f_dbl = { 178 }; in main() local 81 args_dbl[1] = &f_dbl; in main() 91 res_dbl = ((cls_struct_1_1byte(*)(cls_struct_1_1byte, cls_struct_1_1byte))(pcl))(g_dbl, f_dbl); in main()
|
D | cls_8byte.c | 66 struct cls_struct_8byte f_dbl = { 4, 5.0 }; in main() local 81 args_dbl[1] = &f_dbl; in main() 90 res_dbl = ((cls_struct_8byte(*)(cls_struct_8byte, cls_struct_8byte))(pcl))(g_dbl, f_dbl); in main()
|
D | cls_3byte1.c | 67 struct cls_struct_3byte f_dbl = { 1, 15 }; in main() local 82 args_dbl[1] = &f_dbl; in main() 92 res_dbl = ((cls_struct_3byte(*)(cls_struct_3byte, cls_struct_3byte))(pcl))(g_dbl, f_dbl); in main()
|
D | cls_4byte.c | 67 struct cls_struct_4byte f_dbl = { 12, 128 }; in main() local 82 args_dbl[1] = &f_dbl; in main() 92 res_dbl = ((cls_struct_4byte(*)(cls_struct_4byte, cls_struct_4byte))(pcl))(g_dbl, f_dbl); in main()
|
D | cls_2byte.c | 67 struct cls_struct_2byte f_dbl = { 1, 13 }; in main() local 82 args_dbl[1] = &f_dbl; in main() 92 res_dbl = ((cls_struct_2byte(*)(cls_struct_2byte, cls_struct_2byte))(pcl))(g_dbl, f_dbl); in main()
|
D | cls_3byte2.c | 67 struct cls_struct_3byte_1 f_dbl = { 9, 19 }; in main() local 82 args_dbl[1] = &f_dbl; in main() 92 res_dbl = ((cls_struct_3byte_1(*)(cls_struct_3byte_1, cls_struct_3byte_1))(pcl))(g_dbl, f_dbl); in main()
|
D | cls_align_pointer.c | 69 struct cls_struct_align f_dbl = { 1, (void *)9320, 13 }; in main() local 85 args_dbl[1] = &f_dbl; in main() 95 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(pcl))(g_dbl, f_dbl); in main()
|
D | cls_align_longdouble.c | 68 struct cls_struct_align f_dbl = { 1, 9320, 13 }; in main() local 84 args_dbl[1] = &f_dbl; in main() 94 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(pcl))(g_dbl, f_dbl); in main()
|
D | cls_align_float.c | 67 struct cls_struct_align f_dbl = { 1, 9320, 13 }; in main() local 83 args_dbl[1] = &f_dbl; in main() 93 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(pcl))(g_dbl, f_dbl); in main()
|
D | cls_align_sint32.c | 67 struct cls_struct_align f_dbl = { 1, 9320, 13 }; in main() local 83 args_dbl[1] = &f_dbl; in main() 93 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(pcl))(g_dbl, f_dbl); in main()
|
D | cls_align_sint64.c | 67 struct cls_struct_align f_dbl = { 1, 9320, 13 }; in main() local 83 args_dbl[1] = &f_dbl; in main() 93 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(pcl))(g_dbl, f_dbl); in main()
|
D | cls_align_uint32.c | 67 struct cls_struct_align f_dbl = { 1, 9320, 13 }; in main() local 83 args_dbl[1] = &f_dbl; in main() 93 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(pcl))(g_dbl, f_dbl); in main()
|
D | cls_align_uint16.c | 67 struct cls_struct_align f_dbl = { 1, 9320, 13 }; in main() local 83 args_dbl[1] = &f_dbl; in main() 93 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(pcl))(g_dbl, f_dbl); in main()
|
D | cls_align_sint16.c | 67 struct cls_struct_align f_dbl = { 1, 9320, 13 }; in main() local 83 args_dbl[1] = &f_dbl; in main() 93 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(pcl))(g_dbl, f_dbl); in main()
|