Lines Matching refs:__LINE__
75 sndfile = test_open_file_or_die (filename, SFM_RDWR, &sfinfo, SF_TRUE, __LINE__) ;
82 test_write_short_or_die (sndfile, 0, data, BUFFER_LEN, __LINE__) ;
86 sndfile = test_open_file_or_die (filename, SFM_READ, &sfinfo, SF_TRUE, __LINE__) ;
87 check_log_buffer_or_die (sndfile, __LINE__) ;
90 { printf ("\n\nLine %d : Incorrect sample count (%" PRId64 " should be %d)\n", __LINE__, sfinfo.frames, BUFFER_LEN) ;
96 test_read_short_or_die (sndfile, 0, data, BUFFER_LEN, __LINE__) ;
99 printf ("Error : line %d\n", __LINE__) ;
106 test_seek_or_die (sndfile, 0, SEEK_SET, 0, sfinfo.channels, __LINE__) ;
109 test_read_short_or_die (sndfile, 0, data, BUFFER_LEN - 1, __LINE__) ;
112 { printf ("Error : line %d\n", __LINE__) ;
121 test_seek_or_die (sndfile, 0, SEEK_SET, 0, sfinfo.channels, __LINE__) ;
124 test_read_short_or_die (sndfile, 0, data, BUFFER_LEN - 2, __LINE__) ;
127 { printf ("Error : line %d\n", __LINE__) ;
136 test_seek_or_die (sndfile, 0, SEEK_SET, 0, sfinfo.channels, __LINE__) ;
139 test_read_short_or_die (sndfile, 0, data, BUFFER_LEN, __LINE__) ;
142 { printf ("Error : line %d\n", __LINE__) ;
162 { printf ("\n\nLine %d : not able to open text file for write.\n", __LINE__) ;
174 { printf ("\n\nLine %d : Error, file should not have opened.\n", __LINE__ - 1) ;
181 { printf ("\n\nLine %d : Error bad error string : %s.\n", __LINE__ - 1, errorstr) ;