Lines Matching refs:filelength
109 if (psf->file.mode == SFM_READ || (psf->file.mode == SFM_RDWR && psf->filelength > 0)) in au_open()
209 { psf->filelength = psf_get_filelen (psf) ; in au_write_header()
211 psf->datalength = psf->filelength - psf->dataoffset ; in au_write_header()
213 psf->datalength -= psf->filelength - psf->dataend ; in au_write_header()
321 { psf->filelength = au_fmt.dataoffset + au_fmt.datasize ; in au_read_header()
324 else if (au_fmt.datasize == -1 || au_fmt.dataoffset + au_fmt.datasize == psf->filelength) in au_read_header()
326 else if (au_fmt.dataoffset + au_fmt.datasize < psf->filelength) in au_read_header()
327 { psf->filelength = au_fmt.dataoffset + au_fmt.datasize ; in au_read_header()
331 { dword = psf->filelength - au_fmt.dataoffset ; in au_read_header()
337 psf->datalength = psf->filelength - psf->dataoffset ; in au_read_header()
450 psf->sf.frames = (psf->filelength - psf->dataoffset) / psf->blockwidth ; in au_read_header()