• Home
  • Raw
  • Download

Lines Matching refs:filelength

248 	if (psf->file.mode == SFM_READ || (psf->file.mode == SFM_RDWR && psf->filelength > 0))  in aiff_open()
272 if (psf->file.mode != SFM_RDWR || psf->filelength < 40) in aiff_open()
273 { psf->filelength = 0 ; in aiff_open()
407 if (psf->filelength > 0xFFFFFFFFLL) in aiff_read_header()
463 if (psf->fileoffset > 0 && psf->filelength > FORMsize + 8) in aiff_read_header()
465 psf->filelength = FORMsize + 8 ; in aiff_read_header()
468 else if (FORMsize != psf->filelength - 2 * SIGNED_SIZEOF (chunk_size)) in aiff_read_header()
469 { chunk_size = psf->filelength - 2 * sizeof (chunk_size) ; in aiff_read_header()
550 if (psf->datalength > psf->filelength - psf->dataoffset || psf->datalength < 0) in aiff_read_header()
551 …{ psf_log_printf (psf, " SSND : %u (should be %D)\n", SSNDsize, psf->filelength - psf->dataoffset … in aiff_read_header()
552 psf->datalength = psf->filelength - psf->dataoffset ; in aiff_read_header()
572 if (psf->datalength + psf->dataoffset < psf->filelength) in aiff_read_header()
914 if (chunk_size >= psf->filelength) in aiff_read_header()
915 …rintf (psf, "*** Chunk size %u > file length %D. Exiting parser.\n", chunk_size, psf->filelength) ; in aiff_read_header()
922 if (psf_ftell (psf) >= psf->filelength - (2 * SIGNED_SIZEOF (int32_t))) in aiff_read_header()
1041 …n", comm_fmt->numSampleFrames, (comm_fmt->numSampleFrames == 0 && psf->filelength > 104) ? " (Shou… in aiff_read_comm_chunk()
1175 psf_binheader_writef (psf, "Etm8", BHWm (FORM_MARKER), BHW8 (psf->filelength - 8)) ; in aiff_rewrite_header()
1226 { psf->filelength = psf_get_filelen (psf) ; in aiff_write_header()
1228 psf->datalength = psf->filelength - psf->dataoffset ; in aiff_write_header()
1230 psf->datalength -= psf->filelength - psf->dataend ; in aiff_write_header()
1412 psf_binheader_writef (psf, "Etm8", BHWm (FORM_MARKER), BHW8 (psf->filelength - 8)) ; in aiff_write_header()