Home
last modified time | relevance | path

Searched refs:my_ffi_struct (Results 1 – 3 of 3) sorted by relevance

/external/libffi/testsuite/libffi.closures/
Dproblem1.c10 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()
[all …]
/external/libffi/testsuite/libffi.call/
Dproblem1.c10 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()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dproblem1.c10 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()
[all …]