Lines Matching refs:my_ffi_struct
10 typedef struct my_ffi_struct { struct
14 } my_ffi_struct; argument
16 my_ffi_struct callee(struct my_ffi_struct a1, struct my_ffi_struct a2) in callee()
18 struct my_ffi_struct result; in callee()
33 struct my_ffi_struct a1; in stub()
34 struct my_ffi_struct a2; in stub()
36 a1 = *(struct my_ffi_struct*)(args[0]); in stub()
37 a2 = *(struct my_ffi_struct*)(args[1]); in stub()
39 *(my_ffi_struct *)resp = callee(a1, a2); in stub()
53 struct my_ffi_struct g = { 1.0, 2.0, 3.0 }; in main()
54 struct my_ffi_struct f = { 1.0, 2.0, 3.0 }; in main()
55 struct my_ffi_struct res; in main()
84 res = ((my_ffi_struct(*)(struct my_ffi_struct, struct my_ffi_struct))(code))(g, f); in main()