Lines Matching refs:__LINE__
76 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ;
77 test_write_short_or_die (file, 0, data_out.s, ARRAY_LEN (data_out.s), __LINE__) ;
83 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
84 test_read_short_or_die (file, 0, data_in.s, ARRAY_LEN (data_in.s), __LINE__) ;
92 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
94 test_seek_or_die (file, 10, SEEK_SET, 10, sfinfo.channels, __LINE__) ;
95 test_read_short_or_die (file, 0, seek_data, ARRAY_LEN (seek_data), __LINE__) ;
96 compare_short_or_die (seek_data, data_in.s + 10, ARRAY_LEN (seek_data), __LINE__) ;
99 test_seek_or_die (file, 0, SEEK_END, sfinfo.frames, sfinfo.channels, __LINE__) ;
134 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ;
135 test_write_int_or_die (file, 0, data_out.i, ARRAY_LEN (data_out.i), __LINE__) ;
141 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
142 test_read_int_or_die (file, 0, data_in.i, ARRAY_LEN (data_in.i), __LINE__) ;
150 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
152 test_seek_or_die (file, 10, SEEK_SET, 10, sfinfo.channels, __LINE__) ;
153 test_read_int_or_die (file, 0, seek_data, ARRAY_LEN (seek_data), __LINE__) ;
154 compare_int_or_die (seek_data, data_in.i + 10, ARRAY_LEN (seek_data), __LINE__) ;
183 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ;
184 test_write_float_or_die (file, 0, data_out.f, ARRAY_LEN (data_out.f), __LINE__) ;
190 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
191 test_read_float_or_die (file, 0, data_in.f, ARRAY_LEN (data_in.f), __LINE__) ;
199 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
201 test_seek_or_die (file, 10, SEEK_SET, 10, sfinfo.channels, __LINE__) ;
202 test_read_float_or_die (file, 0, seek_data, ARRAY_LEN (seek_data), __LINE__) ;
203 compare_float_or_die (seek_data, data_in.f + 10, ARRAY_LEN (seek_data), __LINE__) ;
232 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ;
233 test_write_double_or_die (file, 0, data_out.d, ARRAY_LEN (data_out.d), __LINE__) ;
239 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
240 test_read_double_or_die (file, 0, data_in.d, ARRAY_LEN (data_in.d), __LINE__) ;
248 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
250 test_seek_or_die (file, 10, SEEK_SET, 10, sfinfo.channels, __LINE__) ;
251 test_read_double_or_die (file, 0, seek_data, ARRAY_LEN (seek_data), __LINE__) ;
252 compare_double_or_die (seek_data, data_in.d + 10, ARRAY_LEN (seek_data), __LINE__) ;
288 file = test_open_file_or_die (filename, SFM_WRITE, &sfinfo, SF_FALSE, __LINE__) ;
289 test_write_float_or_die (file, 0, stereo_out, ARRAY_LEN (stereo_out), __LINE__) ;
294 file = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_FALSE, __LINE__) ;
297 test_read_float_or_die (file, 0, stereo_out, ARRAY_LEN (stereo_out), __LINE__) ;
300 test_seek_or_die (file, 234, SEEK_SET, 234, sfinfo.channels, __LINE__) ;
301 test_readf_float_or_die (file, 0, data, 10, __LINE__) ;
302 compare_float_or_die (data, stereo_out + (234 * sfinfo.channels), 10, __LINE__) ;
304 test_seek_or_die (file, 442, SEEK_SET, 442, sfinfo.channels, __LINE__) ;
305 test_readf_float_or_die (file, 0, data, 10, __LINE__) ;
306 compare_float_or_die (data, stereo_out + (442 * sfinfo.channels), 10, __LINE__) ;
308 test_seek_or_die (file, 12, SEEK_CUR, 442 + 10 + 12, sfinfo.channels, __LINE__) ;
309 test_readf_float_or_die (file, 0, data, 10, __LINE__) ;
310 compare_float_or_die (data, stereo_out + ((442 + 10 + 12) * sfinfo.channels), 10, __LINE__) ;
312 test_seek_or_die (file, 12, SEEK_CUR, 442 + 20 + 24, sfinfo.channels, __LINE__) ;
313 test_readf_float_or_die (file, 0, data, 10, __LINE__) ;
314 compare_float_or_die (data, stereo_out + ((442 + 20 + 24) * sfinfo.channels), 10, __LINE__) ;
317 test_seek_or_die (file, pos, SEEK_END, 500, sfinfo.channels, __LINE__) ;
318 test_readf_float_or_die (file, 0, data, 10, __LINE__) ;
319 compare_float_or_die (data, stereo_out + (500 * sfinfo.channels), 10, __LINE__) ;
322 test_seek_or_die (file, pos, SEEK_END, 10, sfinfo.channels, __LINE__) ;
323 test_readf_float_or_die (file, 0, data, 10, __LINE__) ;
324 compare_float_or_die (data, stereo_out + (10 * sfinfo.channels), 10, __LINE__) ;