Home
last modified time | relevance | path

Searched refs:f_dbl (Results 1 – 25 of 142) sorted by relevance

123456

/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/
Dnested_struct10.c71 struct B f_dbl = { 99, {12LL , 127}, 255}; in main() local
114 args_dbl[1] = &f_dbl; in main()
120 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + f_dbl.z + g_dbl.d)); in main()
121 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main()
122 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main()
126 res_dbl = ((B(*)(A, B, C))(code))(e_dbl, f_dbl, g_dbl); in main()
128 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + f_dbl.z + g_dbl.d)); in main()
129 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main()
130 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main()
Dnested_struct5.c62 struct B f_dbl = {{12.0 , 127}, 99}; in main() local
93 args_dbl[1] = &f_dbl; in main()
98 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
99 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
100 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
105 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
107 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
108 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
109 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct3.c62 struct B f_dbl = {{12LL , 127}, 99}; in main() local
93 args_dbl[1] = &f_dbl; in main()
98 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
99 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
100 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
105 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
107 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
108 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
109 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct4.c62 struct B f_dbl = {{12.0 , 127}, 99}; in main() local
93 args_dbl[1] = &f_dbl; in main()
98 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
99 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
100 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
104 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct7.c62 struct B f_dbl = {{12.0 , 127}, 99}; in main() local
93 args_dbl[1] = &f_dbl; in main()
98 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
99 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
100 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
104 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct2.c61 struct B f_dbl = {{12 , 127}, 99}; in main() local
92 args_dbl[1] = &f_dbl; in main()
97 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
98 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
99 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
103 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
105 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
106 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
107 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct.c81 struct cls_struct_16byte2 f_dbl = { 1, 2.0, 3.0}; in main() local
125 args_dbl[1] = &f_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()
143 (code))(e_dbl, f_dbl, g_dbl); in main()
145 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main()
[all …]
Dnested_struct1.c85 struct cls_struct_16byte2 f_dbl = { 1, 2.0, 3.0}; in main() local
131 args_dbl[1] = &f_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()
151 (code))(e_dbl, f_dbl, g_dbl, h_dbl); in main()
153 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main()
[all …]
Dnested_struct9.c70 struct B f_dbl = {{12.0 , 127}, 99}; in main() local
112 args_dbl[1] = &f_dbl; in main()
118 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); in main()
119 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main()
120 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main()
124 res_dbl = ((B(*)(A, B, C))(code))(e_dbl, f_dbl, g_dbl); in main()
126 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + g_dbl.d)); in main()
127 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main()
128 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main()
/external/libffi/testsuite/libffi.closures/
Dnested_struct10.c72 struct B f_dbl = { 99, {12LL , 127}, 255}; in main() local
115 args_dbl[1] = &f_dbl; in main()
121 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + f_dbl.z + g_dbl.d)); in main()
122 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main()
123 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main()
127 res_dbl = ((B(*)(A, B, C))(code))(e_dbl, f_dbl, g_dbl); in main()
129 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + f_dbl.z + g_dbl.d)); in main()
130 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main()
131 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main()
Dnested_struct2.c61 struct B f_dbl = {{12 , 127}, 99}; in main() local
92 args_dbl[1] = &f_dbl; in main()
97 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
98 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
99 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
103 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
105 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
106 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
107 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct7.c62 struct B f_dbl = {{12.0 , 127}, 99}; in main() local
93 args_dbl[1] = &f_dbl; in main()
98 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
99 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
100 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
104 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct5.c62 struct B f_dbl = {{12.0 , 127}, 99}; in main() local
93 args_dbl[1] = &f_dbl; in main()
98 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
99 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
100 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
105 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
107 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
108 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
109 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct4.c62 struct B f_dbl = {{12.0 , 127}, 99}; in main() local
93 args_dbl[1] = &f_dbl; in main()
98 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
99 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
100 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
104 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct3.c62 struct B f_dbl = {{12LL , 127}, 99}; in main() local
93 args_dbl[1] = &f_dbl; in main()
98 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
99 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
100 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
105 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
107 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
108 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
109 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct.c81 struct cls_struct_16byte2 f_dbl = { 1, 2.0, 3.0}; in main() local
125 args_dbl[1] = &f_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()
143 (code))(e_dbl, f_dbl, g_dbl); in main()
145 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main()
[all …]
Dnested_struct1.c85 struct cls_struct_16byte2 f_dbl = { 1, 2.0, 3.0}; in main() local
131 args_dbl[1] = &f_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()
151 (code))(e_dbl, f_dbl, g_dbl, h_dbl); in main()
153 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main()
[all …]
/external/libffi/testsuite/libffi.call/
Dnested_struct10.c71 struct B f_dbl = { 99, {12LL , 127}, 255}; in main() local
114 args_dbl[1] = &f_dbl; in main()
120 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + f_dbl.z + g_dbl.d)); in main()
121 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main()
122 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main()
126 res_dbl = ((B(*)(A, B, C))(code))(e_dbl, f_dbl, g_dbl); in main()
128 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a + f_dbl.z + g_dbl.d)); in main()
129 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y + g_dbl.e)); in main()
130 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b + g_dbl.e)); in main()
Dnested_struct2.c61 struct B f_dbl = {{12 , 127}, 99}; in main() local
92 args_dbl[1] = &f_dbl; in main()
97 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
98 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
99 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
103 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
105 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
106 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
107 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct4.c62 struct B f_dbl = {{12.0 , 127}, 99}; in main() local
93 args_dbl[1] = &f_dbl; in main()
98 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
99 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
100 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
104 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct5.c62 struct B f_dbl = {{12.0 , 127}, 99}; in main() local
93 args_dbl[1] = &f_dbl; in main()
98 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
99 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
100 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
105 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
107 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
108 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
109 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct3.c62 struct B f_dbl = {{12LL , 127}, 99}; in main() local
93 args_dbl[1] = &f_dbl; in main()
98 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
99 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
100 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
105 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
107 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
108 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
109 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct7.c62 struct B f_dbl = {{12.0 , 127}, 99}; in main() local
93 args_dbl[1] = &f_dbl; in main()
98 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
99 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
100 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
104 res_dbl = ((B(*)(A, B))(code))(e_dbl, f_dbl); in main()
106 CHECK( res_dbl.x.a == (e_dbl.a + f_dbl.x.a)); in main()
107 CHECK( res_dbl.x.b == (e_dbl.b + f_dbl.x.b + f_dbl.y)); in main()
108 CHECK( res_dbl.y == (e_dbl.b + f_dbl.x.b)); in main()
Dnested_struct.c81 struct cls_struct_16byte2 f_dbl = { 1, 2.0, 3.0}; in main() local
125 args_dbl[1] = &f_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()
143 (code))(e_dbl, f_dbl, g_dbl); in main()
145 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main()
[all …]
Dnested_struct1.c85 struct cls_struct_16byte2 f_dbl = { 1, 2.0, 3.0}; in main() local
131 args_dbl[1] = &f_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()
151 (code))(e_dbl, f_dbl, g_dbl, h_dbl); in main()
153 CHECK( res_dbl.d.a == (e_dbl.a + f_dbl.dd + g_dbl.d.a)); in main()
[all …]

123456