Lines Matching refs:buf

103   char buf[4];  in do_test()  local
124 buf[0] = b0; \ in do_test()
125 buf[1] = b1; \ in do_test()
126 buf[2] = b2; \ in do_test()
127 buf[3] = b3; \ in do_test()
128 fails += run_conversion ("UCS4", "UTF-8", buf, 4, err, line); \ in do_test()
129 fails += run_conversion ("UCS4", "UTF-16LE", buf, 4, err, line); \ in do_test()
130 fails += run_conversion ("UCS4", "UTF-16BE", buf, 4, err, line); \ in do_test()
131 fails += run_conversion ("UCS4", "UTF-32LE", buf, 4, err, line); \ in do_test()
132 fails += run_conversion ("UCS4", "UTF-32BE", buf, 4, err, line); \ in do_test()
133 fails += run_conversion ("UTF-32BE", "WCHAR_T", buf, 4, err, line); \ in do_test()
134 fails += run_conversion ("UTF-32BE", "UTF-8", buf, 4, err, line); \ in do_test()
135 fails += run_conversion ("UTF-32BE", "UTF-16LE", buf, 4, err, line); \ in do_test()
136 fails += run_conversion ("UTF-32BE", "UTF-16BE", buf, 4, err, line); \ in do_test()
137 buf[0] = b3; \ in do_test()
138 buf[1] = b2; \ in do_test()
139 buf[2] = b1; \ in do_test()
140 buf[3] = b0; \ in do_test()
141 fails += run_conversion ("UTF-32LE", "WCHAR_T", buf, 4, err, line); \ in do_test()
142 fails += run_conversion ("UTF-32LE", "UTF-8", buf, 4, err, line); \ in do_test()
143 fails += run_conversion ("UTF-32LE", "UTF-16LE", buf, 4, err, line); \ in do_test()
144 fails += run_conversion ("UTF-32LE", "UTF-16BE", buf, 4, err, line); in do_test()
170 buf[0] = b0; \ in do_test()
171 buf[1] = b1; \ in do_test()
172 buf[2] = b2; \ in do_test()
173 buf[3] = b3; \ in do_test()
174 fails += run_conversion ("UTF-16BE", "WCHAR_T", buf, len, err, line); \ in do_test()
175 fails += run_conversion ("UTF-16BE", "UTF-8", buf, len, err, line); \ in do_test()
176 fails += run_conversion ("UTF-16BE", "UTF-32LE", buf, len, err, line); \ in do_test()
177 fails += run_conversion ("UTF-16BE", "UTF-32BE", buf, len, err, line); \ in do_test()
178 buf[0] = b1; \ in do_test()
179 buf[1] = b0; \ in do_test()
180 buf[2] = b3; \ in do_test()
181 buf[3] = b2; \ in do_test()
182 fails += run_conversion ("UTF-16LE", "WCHAR_T", buf, len, err, line); \ in do_test()
183 fails += run_conversion ("UTF-16LE", "UTF-8", buf, len, err, line); \ in do_test()
184 fails += run_conversion ("UTF-16LE", "UTF-32LE", buf, len, err, line); \ in do_test()
185 fails += run_conversion ("UTF-16LE", "UTF-32BE", buf, len, err, line); in do_test()
232 buf[0] = b0; \ in do_test()
233 buf[1] = b1; \ in do_test()
234 buf[2] = b2; \ in do_test()
235 fails += run_conversion ("UTF-8", "WCHAR_T", buf, 3, err, line); \ in do_test()
236 fails += run_conversion ("UTF-8", "UTF-16LE", buf, 3, err, line); \ in do_test()
237 fails += run_conversion ("UTF-8", "UTF-16BE", buf, 3, err, line); \ in do_test()
238 fails += run_conversion ("UTF-8", "UTF-32LE", buf, 3, err, line); \ in do_test()
239 fails += run_conversion ("UTF-8", "UTF-32BE", buf, 3, err, line); in do_test()