/external/libffi/testsuite/libffi.call/ |
return_fl.c | 19 float fl, rfl; local 30 ffi_call(&cif, FFI_FN(return_fl), &rfl, values); 31 printf ("%f vs %f\n", rfl, return_fl(fl)); 32 CHECK(rfl == 2 * fl);
|
return_fl1.c | 19 float fl1, fl2, rfl; local 32 ffi_call(&cif, FFI_FN(return_fl), &rfl, values); 33 printf ("%f vs %f\n", rfl, return_fl(fl1, fl2)); 34 CHECK(rfl == fl1 + fl2);
|
return_fl2.c | 23 float fl1, fl2, fl3, fl4, rfl; local 43 ffi_call(&cif, FFI_FN(return_fl), &rfl, values); 44 printf ("%f vs %f\n", rfl, return_fl(fl1, fl2, fl3, fl4)); 47 CHECK(rfl == sum);
|
return_fl3.c | 19 float fl1, fl2, fl4, rfl; local 38 ffi_call(&cif, FFI_FN(return_fl), &rfl, values); 39 printf ("%f vs %f\n", rfl, return_fl(fl1, fl2, in3, fl4)); 40 CHECK(rfl == fl1 + fl2 + in3 + fl4);
|