Lines Matching refs:num_indices
71 if(from->num_indices != to->num_indices) { in compare_track_()
72 …_indices mismatch, expected %u, got %u\n", (uint32_t)to->num_indices, (uint32_t)from->num_indices); in compare_track_()
82 for(i = 0; i < to->num_indices; i++) { in compare_track_()
293 track->num_indices = 0; in track_new_()
299 if(track->num_indices > 0) { in track_clone_()
300 size_t bytes = sizeof(FLAC__StreamMetadata_CueSheet_Index) * track->num_indices; in track_clone_()
330 block->length += cs->tracks[i].num_indices * ( in cs_calc_len_()
346 if(tr->num_indices != 0) { in tr_resize_()
358 if(num > tr->num_indices) in tr_resize_()
359 …memset(tr->indices+tr->num_indices, 0, sizeof(FLAC__StreamMetadata_CueSheet_Index)*(num-tr->num_in… in tr_resize_()
362 tr->num_indices = num; in tr_resize_()
374 FLAC__ASSERT(pos < tr->num_indices); in tr_set_new_()
389 FLAC__ASSERT(pos <= tr->num_indices); in tr_insert_new_()
391 tr_resize_(block, track_num, tr->num_indices+1); in tr_insert_new_()
392 …es[pos+1], &tr->indices[pos], sizeof(FLAC__StreamMetadata_CueSheet_Index)*(tr->num_indices-1-pos)); in tr_insert_new_()
405 FLAC__ASSERT(pos <= tr->num_indices); in tr_delete_()
407 …es[pos], &tr->indices[pos+1], sizeof(FLAC__StreamMetadata_CueSheet_Index)*(tr->num_indices-pos-1)); in tr_delete_()
408 tr_resize_(block, track_num, tr->num_indices-1); in tr_delete_()
464 block->data.cue_sheet.tracks[block->data.cue_sheet.num_tracks-1].num_indices = 0; in cs_delete_()
1770 …ect_cuesheet_track_resize_indices(grow to %u)...", cuesheet->data.cue_sheet.tracks[0].num_indices); in test_metadata_object()
1771 …a_object_cuesheet_track_resize_indices(block, 0, cuesheet->data.cue_sheet.tracks[0].num_indices)) { in test_metadata_object()
1780 …t_cuesheet_track_resize_indices(shrink to %u)...", cuesheet->data.cue_sheet.tracks[0].num_indices); in test_metadata_object()
1781 …a_object_cuesheet_track_resize_indices(block, 0, cuesheet->data.cue_sheet.tracks[0].num_indices)) { in test_metadata_object()
1790 …t_cuesheet_track_resize_indices(shrink to %u)...", cuesheet->data.cue_sheet.tracks[0].num_indices); in test_metadata_object()
1791 …a_object_cuesheet_track_resize_indices(block, 0, cuesheet->data.cue_sheet.tracks[0].num_indices)) { in test_metadata_object()