/third_party/libffi/testsuite/libffi.closures/ |
D | stret_large2.c | 91 struct_116byte res_dbl; in main() local 130 ffi_call(&cif, FFI_FN(cls_struct_116byte_fn), &res_dbl, args_dbl); in main() 132 printf("res: %g %g %g %g %g %g %g %g %g %g %g %g %g %g %d\n", res_dbl.a, res_dbl.b, in main() 133 res_dbl.c, res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g, res_dbl.h, res_dbl.i, in main() 134 res_dbl.j, res_dbl.k, res_dbl.l, res_dbl.m, res_dbl.n, res_dbl.o); in main() 139 res_dbl = ((struct_116byte(*)(struct_116byte, struct_116byte, in main() 142 printf("res: %g %g %g %g %g %g %g %g %g %g %g %g %g %g %d\n", res_dbl.a, res_dbl.b, in main() 143 res_dbl.c, res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g, res_dbl.h, res_dbl.i, in main() 144 res_dbl.j, res_dbl.k, res_dbl.l, res_dbl.m, res_dbl.n, res_dbl.o); in main()
|
D | stret_large.c | 89 struct_108byte res_dbl; in main() local 127 ffi_call(&cif, FFI_FN(cls_struct_108byte_fn), &res_dbl, args_dbl); in main() 129 printf("res: %g %g %g %g %g %g %g %g %g %g %g %g %g %d\n", res_dbl.a, res_dbl.b, in main() 130 res_dbl.c, res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g, res_dbl.h, res_dbl.i, in main() 131 res_dbl.j, res_dbl.k, res_dbl.l, res_dbl.m, res_dbl.n); in main() 136 res_dbl = ((struct_108byte(*)(struct_108byte, struct_108byte, in main() 139 printf("res: %g %g %g %g %g %g %g %g %g %g %g %g %g %d\n", res_dbl.a, res_dbl.b, in main() 140 res_dbl.c, res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g, res_dbl.h, res_dbl.i, in main() 141 res_dbl.j, res_dbl.k, res_dbl.l, res_dbl.m, res_dbl.n); in main()
|
D | cls_7_1_byte.c | 67 struct cls_struct_7byte res_dbl = { 0, 0, 0, 0, 0, 0, 0 }; in main() local 94 ffi_call(&cif, FFI_FN(cls_struct_7byte_fn), &res_dbl, args_dbl); in main() 96 printf("res: %d %d %d %d %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c, in main() 97 res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g); in main() 100 res_dbl.a = 0; in main() 101 res_dbl.b = 0; in main() 102 res_dbl.c = 0; in main() 103 res_dbl.d = 0; in main() 104 res_dbl.e = 0; in main() 105 res_dbl.f = 0; in main() [all …]
|
D | cls_6_1_byte.c | 65 struct cls_struct_6byte res_dbl = { 0, 0, 0, 0, 0, 0 }; in main() local 91 ffi_call(&cif, FFI_FN(cls_struct_6byte_fn), &res_dbl, args_dbl); in main() 93 printf("res: %d %d %d %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c, in main() 94 res_dbl.d, res_dbl.e, res_dbl.f); in main() 97 res_dbl.a = 0; in main() 98 res_dbl.b = 0; in main() 99 res_dbl.c = 0; in main() 100 res_dbl.d = 0; in main() 101 res_dbl.e = 0; in main() 102 res_dbl.f = 0; in main() [all …]
|
D | cls_5_1_byte.c | 63 struct cls_struct_5byte res_dbl = { 0, 0, 0, 0, 0 }; in main() local 88 ffi_call(&cif, FFI_FN(cls_struct_5byte_fn), &res_dbl, args_dbl); in main() 90 printf("res: %d %d %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c, in main() 91 res_dbl.d, res_dbl.e); in main() 94 res_dbl.a = 0; in main() 95 res_dbl.b = 0; in main() 96 res_dbl.c = 0; in main() 97 res_dbl.d = 0; in main() 98 res_dbl.e = 0; in main() 102 res_dbl = ((cls_struct_5byte(*)(cls_struct_5byte, cls_struct_5byte))(code))(g_dbl, f_dbl); in main() [all …]
|
D | stret_medium.c | 75 struct_72byte res_dbl; in main() local 108 ffi_call(&cif, FFI_FN(cls_struct_72byte_fn), &res_dbl, args_dbl); in main() 110 printf("res: %g %g %g %g %g %g %g %g %g\n", res_dbl.a, res_dbl.b, res_dbl.c, in main() 111 res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g, res_dbl.h, res_dbl.i); in main() 116 res_dbl = ((struct_72byte(*)(struct_72byte, struct_72byte, in main() 119 printf("res: %g %g %g %g %g %g %g %g %g\n", res_dbl.a, res_dbl.b, res_dbl.c, in main() 120 res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g, res_dbl.h, res_dbl.i); in main()
|
D | stret_medium2.c | 76 struct_72byte res_dbl; in main() local 109 ffi_call(&cif, FFI_FN(cls_struct_72byte_fn), &res_dbl, args_dbl); in main() 111 printf("res: %g %g %g %g %g %g %g %g %" PRIdLL "\n", res_dbl.a, res_dbl.b, res_dbl.c, in main() 112 res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g, res_dbl.h, res_dbl.i); in main() 117 res_dbl = ((struct_72byte(*)(struct_72byte, struct_72byte, in main() 120 printf("res: %g %g %g %g %g %g %g %g %" PRIdLL "\n", res_dbl.a, res_dbl.b, res_dbl.c, in main() 121 res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g, res_dbl.h, res_dbl.i); in main()
|
D | cls_64byte.c | 73 struct cls_struct_64byte res_dbl; in main() local 105 ffi_call(&cif, FFI_FN(cls_struct_64byte_fn), &res_dbl, args_dbl); in main() 107 printf("res: %g %g %g %g %g %g %g %g\n", res_dbl.a, res_dbl.b, res_dbl.c, in main() 108 res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g, res_dbl.h); in main() 113 res_dbl = ((cls_struct_64byte(*)(cls_struct_64byte, in main() 119 printf("res: %g %g %g %g %g %g %g %g\n", res_dbl.a, res_dbl.b, res_dbl.c, in main() 120 res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g, res_dbl.h); in main()
|
D | cls_align_longdouble_split2.c | 70 struct cls_struct_align res_dbl; in main() local 97 ffi_call(&cif, FFI_FN(cls_struct_align_fn), &res_dbl, args_dbl); in main() 99 printf("res: %Lg %Lg %Lg %Lg %Lg %g %Lg\n", res_dbl.a, res_dbl.b, in main() 100 res_dbl.c, res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g); in main() 105 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(code))(g_dbl, f_dbl); in main() 107 printf("res: %Lg %Lg %Lg %Lg %Lg %g %Lg\n", res_dbl.a, res_dbl.b, in main() 108 res_dbl.c, res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g); in main()
|
D | cls_align_longdouble_split.c | 90 struct cls_struct_align res_dbl; in main() local 117 ffi_call(&cif, FFI_FN(cls_struct_align_fn), &res_dbl, args_dbl); in main() 119 printf("res: %Lg %Lg %Lg %Lg %Lg %Lg %Lg\n", res_dbl.a, res_dbl.b, in main() 120 res_dbl.c, res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g); in main() 125 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(code))(g_dbl, f_dbl); in main() 127 printf("res: %Lg %Lg %Lg %Lg %Lg %Lg %Lg\n", res_dbl.a, res_dbl.b, in main() 128 res_dbl.c, res_dbl.d, res_dbl.e, res_dbl.f, res_dbl.g); in main()
|
D | cls_19byte.c | 62 struct cls_struct_19byte res_dbl; in main() local 87 ffi_call(&cif, FFI_FN(cls_struct_19byte_fn), &res_dbl, args_dbl); in main() 89 printf("res: %g %d %d %g %d\n", res_dbl.a, res_dbl.b, res_dbl.c, in main() 90 res_dbl.d, res_dbl.e); in main() 95 res_dbl = ((cls_struct_19byte(*)(cls_struct_19byte, cls_struct_19byte))(code))(g_dbl, f_dbl); in main() 97 printf("res: %g %d %d %g %d\n", res_dbl.a, res_dbl.b, res_dbl.c, in main() 98 res_dbl.d, res_dbl.e); in main()
|
D | cls_12byte.c | 54 struct cls_struct_12byte res_dbl; in main() local 77 ffi_call(&cif, FFI_FN(cls_struct_12byte_fn), &res_dbl, args_dbl); in main() 79 printf("res: %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c); in main() 84 res_dbl.a = 0; in main() 85 res_dbl.b = 0; in main() 86 res_dbl.c = 0; in main() 88 res_dbl = ((cls_struct_12byte(*)(cls_struct_12byte, cls_struct_12byte))(code))(h_dbl, j_dbl); in main() 90 printf("res: %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c); in main()
|
D | cls_5byte.c | 58 struct cls_struct_5byte res_dbl = { 0, 0, 0 }; in main() local 81 ffi_call(&cif, FFI_FN(cls_struct_5byte_fn), &res_dbl, args_dbl); in main() 83 printf("res: %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c); in main() 86 res_dbl.a = 0; in main() 87 res_dbl.b = 0; in main() 88 res_dbl.c = 0; in main() 92 res_dbl = ((cls_struct_5byte(*)(cls_struct_5byte, cls_struct_5byte))(code))(g_dbl, f_dbl); in main() 94 printf("res: %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c); in main()
|
D | cls_16byte.c | 55 struct cls_struct_16byte res_dbl; in main() local 78 ffi_call(&cif, FFI_FN(cls_struct_16byte_fn), &res_dbl, args_dbl); in main() 80 printf("res: %d %g %d\n", res_dbl.a, res_dbl.b, res_dbl.c); in main() 83 res_dbl.a = 0; in main() 84 res_dbl.b = 0.0; in main() 85 res_dbl.c = 0; in main() 89 res_dbl = ((cls_struct_16byte(*)(cls_struct_16byte, cls_struct_16byte))(code))(h_dbl, j_dbl); in main() 91 printf("res: %d %g %d\n", res_dbl.a, res_dbl.b, res_dbl.c); in main()
|
D | cls_18byte.c | 59 struct cls_struct_18byte res_dbl; in main() local 83 ffi_call(&cif, FFI_FN(cls_struct_18byte_fn), &res_dbl, args_dbl); in main() 85 printf("res: %g %d %d %g\n", res_dbl.a, res_dbl.b, res_dbl.c, res_dbl.d); in main() 90 res_dbl = ((cls_struct_18byte(*)(cls_struct_18byte, cls_struct_18byte))(code))(g_dbl, f_dbl); in main() 92 printf("res: %g %d %d %g\n", res_dbl.a, res_dbl.b, res_dbl.c, res_dbl.d); in main()
|
D | cls_4_1byte.c | 61 struct cls_struct_4_1byte res_dbl; in main() local 85 ffi_call(&cif, FFI_FN(cls_struct_4_1byte_fn), &res_dbl, args_dbl); in main() 87 printf("res: %d %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c, res_dbl.d); in main() 92 res_dbl = ((cls_struct_4_1byte(*)(cls_struct_4_1byte, cls_struct_4_1byte))(code))(g_dbl, f_dbl); in main() 94 printf("res: %d %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c, res_dbl.d); in main()
|
D | cls_6byte.c | 61 struct cls_struct_6byte res_dbl; in main() local 85 ffi_call(&cif, FFI_FN(cls_struct_6byte_fn), &res_dbl, args_dbl); in main() 87 printf("res: %d %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c, res_dbl.d); in main() 92 res_dbl = ((cls_struct_6byte(*)(cls_struct_6byte, cls_struct_6byte))(code))(g_dbl, f_dbl); in main() 94 printf("res: %d %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c, res_dbl.d); in main()
|
D | cls_7byte.c | 60 struct cls_struct_7byte res_dbl; in main() local 84 ffi_call(&cif, FFI_FN(cls_struct_7byte_fn), &res_dbl, args_dbl); in main() 86 printf("res: %d %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c, res_dbl.d); in main() 91 res_dbl = ((cls_struct_7byte(*)(cls_struct_7byte, cls_struct_7byte))(code))(g_dbl, f_dbl); in main() 93 printf("res: %d %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c, res_dbl.d); in main()
|
D | nested_struct.c | 84 struct cls_struct_combined res_dbl; in main() local 129 ffi_call(&cif, FFI_FN(cls_struct_combined_fn), &res_dbl, args_dbl); in main() 131 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main() 132 CHECK( res_dbl.d.b == (e_dbl.b + f_dbl.ff + g_dbl.d.b)); in main() 133 CHECK( res_dbl.d.c == (e_dbl.c + f_dbl.ii + g_dbl.d.c)); in main() 134 CHECK( res_dbl.e.ii == (e_dbl.c + f_dbl.ii + g_dbl.e.ii)); in main() 135 CHECK( res_dbl.e.dd == (e_dbl.a + f_dbl.dd + g_dbl.e.dd)); in main() 136 CHECK( res_dbl.e.ff == (e_dbl.b + f_dbl.ff + g_dbl.e.ff)); in main() 140 res_dbl = ((cls_struct_combined(*)(cls_struct_16byte1, in main() 145 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main() [all …]
|
D | cls_24byte.c | 68 struct cls_struct_24byte res_dbl; in main() local 96 ffi_call(&cif, FFI_FN(cls_struct_24byte_fn), &res_dbl, args_dbl); in main() 98 printf("res: %g %g %d %g\n", res_dbl.a, res_dbl.b, res_dbl.c, res_dbl.d); in main() 103 res_dbl = ((cls_struct_24byte(*)(cls_struct_24byte, in main() 109 printf("res: %g %g %d %g\n", res_dbl.a, res_dbl.b, res_dbl.c, res_dbl.d); in main()
|
D | nested_struct1.c | 89 struct cls_struct_combined res_dbl; in main() local 136 ffi_call(&cif, FFI_FN(cls_struct_combined_fn), &res_dbl, args_dbl); in main() 138 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main() 139 CHECK( res_dbl.d.b == (e_dbl.b + f_dbl.ff + g_dbl.d.b)); in main() 140 CHECK( res_dbl.d.c == (e_dbl.c + f_dbl.ii + g_dbl.d.c)); in main() 141 CHECK( res_dbl.e.ii == (e_dbl.c + f_dbl.ii + g_dbl.e.ii)); in main() 142 CHECK( res_dbl.e.dd == (e_dbl.a + f_dbl.dd + g_dbl.e.dd)); in main() 143 CHECK( res_dbl.e.ff == (e_dbl.b + f_dbl.ff + g_dbl.e.ff)); in main() 147 res_dbl = ((cls_struct_combined(*)(cls_struct_16byte1, in main() 153 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main() [all …]
|
D | cls_3_1byte.c | 59 struct cls_struct_3_1byte res_dbl; in main() local 82 ffi_call(&cif, FFI_FN(cls_struct_3_1byte_fn), &res_dbl, args_dbl); in main() 84 printf("res: %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c); in main() 89 res_dbl = ((cls_struct_3_1byte(*)(cls_struct_3_1byte, cls_struct_3_1byte))(code))(g_dbl, f_dbl); in main() 91 printf("res: %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c); in main()
|
D | cls_align_sint16.c | 55 struct cls_struct_align res_dbl; in main() local 78 ffi_call(&cif, FFI_FN(cls_struct_align_fn), &res_dbl, args_dbl); in main() 80 printf("res: %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c); in main() 85 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(code))(g_dbl, f_dbl); in main() 87 printf("res: %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c); in main()
|
D | cls_align_sint32.c | 55 struct cls_struct_align res_dbl; in main() local 78 ffi_call(&cif, FFI_FN(cls_struct_align_fn), &res_dbl, args_dbl); in main() 80 printf("res: %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c); in main() 85 res_dbl = ((cls_struct_align(*)(cls_struct_align, cls_struct_align))(code))(g_dbl, f_dbl); in main() 87 printf("res: %d %d %d\n", res_dbl.a, res_dbl.b, res_dbl.c); in main()
|
D | cls_20byte1.c | 57 struct cls_struct_20byte res_dbl; in main() local 80 ffi_call(&cif, FFI_FN(cls_struct_20byte_fn), &res_dbl, args_dbl); in main() 82 printf("res: %d %g %g\n", res_dbl.a, res_dbl.b, res_dbl.c); in main() 87 res_dbl = ((cls_struct_20byte(*)(cls_struct_20byte, cls_struct_20byte))(code))(g_dbl, f_dbl); in main() 89 printf("res: %d %g %g\n", res_dbl.a, res_dbl.b, res_dbl.c); in main()
|