/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
D | testclosure.c | 10 typedef struct cls_struct_combined { struct 15 } cls_struct_combined; typedef 17 void cls_struct_combined_fn(struct cls_struct_combined arg) in cls_struct_combined_fn() 29 struct cls_struct_combined a0; in cls_struct_combined_gn() 31 a0 = *(struct cls_struct_combined*)(args[0]); in cls_struct_combined_gn() 46 struct cls_struct_combined g_dbl = {4.0, 5.0, 1.0, 8.0}; in main() 67 ((void(*)(cls_struct_combined)) (code))(g_dbl); in main()
|
D | nested_struct.c | 23 typedef struct cls_struct_combined { struct 26 } cls_struct_combined; argument 28 cls_struct_combined cls_struct_combined_fn(struct cls_struct_16byte1 b0, in cls_struct_combined_fn() 30 struct cls_struct_combined b2) in cls_struct_combined_fn() 32 struct cls_struct_combined result; in cls_struct_combined_fn() 58 struct cls_struct_combined b2; in cls_struct_combined_gn() 62 b2 = *(struct cls_struct_combined*)(args[2]); in cls_struct_combined_gn() 65 *(cls_struct_combined*)resp = cls_struct_combined_fn(b0, b1, b2); in cls_struct_combined_gn() 82 struct cls_struct_combined g_dbl = {{4.0, 5.0, 6}, in main() 84 struct cls_struct_combined res_dbl; in main() [all …]
|
D | nested_struct1.c | 23 typedef struct cls_struct_combined { struct 26 } cls_struct_combined; typedef 28 cls_struct_combined cls_struct_combined_fn(struct cls_struct_16byte1 b0, in cls_struct_combined_fn() 30 struct cls_struct_combined b2, in cls_struct_combined_fn() 33 struct cls_struct_combined result; in cls_struct_combined_fn() 60 struct cls_struct_combined b2; in cls_struct_combined_gn() 65 b2 = *(struct cls_struct_combined*)(args[2]); in cls_struct_combined_gn() 69 *(cls_struct_combined*)resp = cls_struct_combined_fn(b0, b1, b2, b3); in cls_struct_combined_gn() 86 struct cls_struct_combined g_dbl = {{4.0, 5.0, 6}, in main() 89 struct cls_struct_combined res_dbl; in main() [all …]
|
/external/libffi/testsuite/libffi.closures/ |
D | testclosure.c | 10 typedef struct cls_struct_combined { struct 15 } cls_struct_combined; argument 17 void cls_struct_combined_fn(struct cls_struct_combined arg) in cls_struct_combined_fn() 29 struct cls_struct_combined a0; in cls_struct_combined_gn() 31 a0 = *(struct cls_struct_combined*)(args[0]); in cls_struct_combined_gn() 46 struct cls_struct_combined g_dbl = {4.0, 5.0, 1.0, 8.0}; in main() 67 ((void(*)(cls_struct_combined)) (code))(g_dbl); in main()
|
D | nested_struct.c | 23 typedef struct cls_struct_combined { struct 26 } cls_struct_combined; argument 28 cls_struct_combined cls_struct_combined_fn(struct cls_struct_16byte1 b0, in cls_struct_combined_fn() 30 struct cls_struct_combined b2) in cls_struct_combined_fn() 32 struct cls_struct_combined result; in cls_struct_combined_fn() 58 struct cls_struct_combined b2; in cls_struct_combined_gn() 62 b2 = *(struct cls_struct_combined*)(args[2]); in cls_struct_combined_gn() 65 *(cls_struct_combined*)resp = cls_struct_combined_fn(b0, b1, b2); in cls_struct_combined_gn() 82 struct cls_struct_combined g_dbl = {{4.0, 5.0, 6}, in main() 84 struct cls_struct_combined res_dbl; in main() [all …]
|
D | nested_struct1.c | 23 typedef struct cls_struct_combined { struct 26 } cls_struct_combined; argument 28 cls_struct_combined cls_struct_combined_fn(struct cls_struct_16byte1 b0, in cls_struct_combined_fn() 30 struct cls_struct_combined b2, in cls_struct_combined_fn() 33 struct cls_struct_combined result; in cls_struct_combined_fn() 60 struct cls_struct_combined b2; in cls_struct_combined_gn() 65 b2 = *(struct cls_struct_combined*)(args[2]); in cls_struct_combined_gn() 69 *(cls_struct_combined*)resp = cls_struct_combined_fn(b0, b1, b2, b3); in cls_struct_combined_gn() 86 struct cls_struct_combined g_dbl = {{4.0, 5.0, 6}, in main() 89 struct cls_struct_combined res_dbl; in main() [all …]
|
/external/libffi/testsuite/libffi.call/ |
D | testclosure.c | 10 typedef struct cls_struct_combined { struct 15 } cls_struct_combined; argument 17 void cls_struct_combined_fn(struct cls_struct_combined arg) in cls_struct_combined_fn() 29 struct cls_struct_combined a0; in cls_struct_combined_gn() 31 a0 = *(struct cls_struct_combined*)(args[0]); in cls_struct_combined_gn() 46 struct cls_struct_combined g_dbl = {4.0, 5.0, 1.0, 8.0}; in main() 67 ((void(*)(cls_struct_combined)) (code))(g_dbl); in main()
|
D | nested_struct.c | 23 typedef struct cls_struct_combined { struct 26 } cls_struct_combined; argument 28 cls_struct_combined cls_struct_combined_fn(struct cls_struct_16byte1 b0, in cls_struct_combined_fn() 30 struct cls_struct_combined b2) in cls_struct_combined_fn() 32 struct cls_struct_combined result; in cls_struct_combined_fn() 58 struct cls_struct_combined b2; in cls_struct_combined_gn() 62 b2 = *(struct cls_struct_combined*)(args[2]); in cls_struct_combined_gn() 65 *(cls_struct_combined*)resp = cls_struct_combined_fn(b0, b1, b2); in cls_struct_combined_gn() 82 struct cls_struct_combined g_dbl = {{4.0, 5.0, 6}, in main() 84 struct cls_struct_combined res_dbl; in main() [all …]
|
D | nested_struct1.c | 23 typedef struct cls_struct_combined { struct 26 } cls_struct_combined; argument 28 cls_struct_combined cls_struct_combined_fn(struct cls_struct_16byte1 b0, in cls_struct_combined_fn() 30 struct cls_struct_combined b2, in cls_struct_combined_fn() 33 struct cls_struct_combined result; in cls_struct_combined_fn() 60 struct cls_struct_combined b2; in cls_struct_combined_gn() 65 b2 = *(struct cls_struct_combined*)(args[2]); in cls_struct_combined_gn() 69 *(cls_struct_combined*)resp = cls_struct_combined_fn(b0, b1, b2, b3); in cls_struct_combined_gn() 86 struct cls_struct_combined g_dbl = {{4.0, 5.0, 6}, in main() 89 struct cls_struct_combined res_dbl; in main() [all …]
|