Lines Matching defs:file
61 SNDFILE * file ;
71 file = sf_wchar_open (filename, SFM_WRITE, &info) ;
72 exit_if_true (file == NULL, "\n\nLine %d : sf_wchar_open failed : %s\n\n", __LINE__, sf_strerror (NULL)) ;
73 sf_close (file) ;
75 /* This should check that the file did in fact get created with a
83 /* Use this because the file was created with CreateFileW. */
136 SNDFILE *file ;
152 file = test_open_file_or_die (ldata->filename, SFM_WRITE, &sfinfo, 0, __LINE__) ;
153 test_write_short_or_die (file, 0, wdata, ARRAY_LEN (wdata), __LINE__) ;
154 sf_close (file) ;
156 file = test_open_file_or_die (ldata->filename, SFM_READ, &sfinfo, 0, __LINE__) ;
157 test_read_short_or_die (file, 0, rdata, ARRAY_LEN (rdata), __LINE__) ;
158 sf_close (file) ;