Lines Matching defs:indx
663 psf->header.indx = 0 ;
745 pad_size = psf->dataoffset - 16 - psf->header.indx ;
754 psf_fwrite (psf->header.ptr, psf->header.indx, 1, psf) ;
758 if (has_data && psf->dataoffset != psf->header.indx)
759 { psf_log_printf (psf, "Oooops : has_data && psf->dataoffset != psf->header.indx\n") ;
763 psf->dataoffset = psf->header.indx ;
778 psf->header.indx = 0 ;
797 if (psf->header.indx > 0)
798 psf_fwrite (psf->header.ptr, psf->header.indx, 1, psf) ;
864 { int indx ;
866 if ((indx = psf_find_read_chunk_iterator (&psf->rchunks, iterator)) < 0)
869 chunk_info->datalen = psf->rchunks.chunks [indx].len ;
876 { int indx ;
879 if ((indx = psf_find_read_chunk_iterator (&psf->rchunks, iterator)) < 0)
885 chunk_info->id_size = psf->rchunks.chunks [indx].id_size ;
886 memcpy (chunk_info->id, psf->rchunks.chunks [indx].id, sizeof (chunk_info->id) / sizeof (*chunk_info->id)) ;
889 psf_fseek (psf, psf->rchunks.chunks [indx].offset, SEEK_SET) ;
890 psf_fread (chunk_info->data, SF_MIN (chunk_info->datalen, psf->rchunks.chunks [indx].len), 1, psf) ;