Lines Matching defs:indx
322 psf->header.indx = 0 ;
524 psf->cues->cue_points [cue_index].indx = id ;
1163 psf->header.indx = 0 ;
1217 psf_binheader_writef (psf, "e44m444", BHW4 (psf->cues->cue_points [k].indx), BHW4 (psf->cues->cue_points [k].position),
1255 if (psf->header.indx + 16 < psf->dataoffset)
1257 size_t k = psf->dataoffset - (psf->header.indx + 16) ;
1262 psf_fwrite (psf->header.ptr, psf->header.indx, 1, psf) ;
1266 if (has_data && psf->dataoffset != psf->header.indx)
1267 { psf_log_printf (psf, "Oooops : has_data && psf->dataoffset != psf->header.indx\n") ;
1271 psf->dataoffset = psf->header.indx ;
1287 psf->header.indx = 0 ;
1310 if (psf->header.indx > 0)
1311 psf_fwrite (psf->header.ptr, psf->header.indx, 1, psf) ;
1623 { int indx ;
1625 if ((indx = psf_find_read_chunk_iterator (&psf->rchunks, iterator)) < 0)
1628 chunk_info->datalen = psf->rchunks.chunks [indx].len ;
1635 { int indx ;
1638 if ((indx = psf_find_read_chunk_iterator (&psf->rchunks, iterator)) < 0)
1644 chunk_info->id_size = psf->rchunks.chunks [indx].id_size ;
1645 memcpy (chunk_info->id, psf->rchunks.chunks [indx].id, sizeof (chunk_info->id) / sizeof (*chunk_info->id)) ;
1648 psf_fseek (psf, psf->rchunks.chunks [indx].offset, SEEK_SET) ;
1649 psf_fread (chunk_info->data, SF_MIN (chunk_info->datalen, psf->rchunks.chunks [indx].len), 1, psf) ;