Searched refs:num_indices (Results 1 – 6 of 6) sorted by relevance
/external/flac/libFLAC/ |
D | metadata_object.c | 149 FLAC__ASSERT(from->num_indices == 0); in copy_track_() 153 FLAC__ASSERT(from->num_indices > 0); in copy_track_() 154 …if(0 == (x = (FLAC__StreamMetadata_CueSheet_Index*)safe_malloc_mul_2op_(from->num_indices, /*times… in copy_track_() 156 memcpy(x, from->indices, from->num_indices * sizeof(FLAC__StreamMetadata_CueSheet_Index)); in copy_track_() 336 object->length += object->data.cue_sheet.tracks[i].num_indices * ( in cuesheet_calculate_length_() 344 static FLAC__StreamMetadata_CueSheet_Index *cuesheet_track_index_array_new_(unsigned num_indices) in cuesheet_track_index_array_new_() argument 346 FLAC__ASSERT(num_indices > 0); in cuesheet_track_index_array_new_() 348 …return (FLAC__StreamMetadata_CueSheet_Index*)safe_calloc_(num_indices, sizeof(FLAC__StreamMetadata… in cuesheet_track_index_array_new_() 366 FLAC__ASSERT(object_array[i].num_indices > 0); in cuesheet_track_array_delete_() 406 …FLAC__ASSERT((0 != src->indices && src->num_indices > 0) || (0 == src->indices && src->num_indices… in cuesheet_set_track_() [all …]
|
D | format.c | 465 if(cue_sheet->tracks[i].num_indices == 0) { in FLAC__format_cuesheet_is_legal() 476 for(j = 0; j < cue_sheet->tracks[i].num_indices; j++) { in FLAC__format_cuesheet_is_legal()
|
D | stream_encoder_framing.c | 166 …if(!FLAC__bitwriter_write_raw_uint32(bw, track->num_indices, FLAC__STREAM_METADATA_CUESHEET_TRACK_… in FLAC__add_metadata_block() 168 for(j = 0; j < track->num_indices; j++) { in FLAC__add_metadata_block()
|
D | metadata_iterators.c | 2307 track->num_indices = (FLAC__byte)unpack_uint32_(buffer, len); in read_metadata_block_data_cuesheet_track_cb_() 2309 if(track->num_indices == 0) { in read_metadata_block_data_cuesheet_track_cb_() 2312 …else if(0 == (track->indices = (FLAC__StreamMetadata_CueSheet_Index*)calloc(track->num_indices, si… in read_metadata_block_data_cuesheet_track_cb_() 2315 for(i = 0; i < track->num_indices; i++) { in read_metadata_block_data_cuesheet_track_cb_() 2726 pack_uint32_(track->num_indices, buffer, len); in write_metadata_block_data_cuesheet_cb_() 2730 for(j = 0; j < track->num_indices; j++) { in write_metadata_block_data_cuesheet_cb_()
|
D | stream_decoder.c | 1830 track->num_indices = (FLAC__byte)x; in read_metadata_cuesheet_() 1832 if(track->num_indices > 0) { in read_metadata_cuesheet_() 1833 …if(0 == (track->indices = (FLAC__StreamMetadata_CueSheet_Index*)safe_calloc_(track->num_indices, s… in read_metadata_cuesheet_() 1837 for(j = 0; j < track->num_indices; j++) { in read_metadata_cuesheet_()
|
/external/flac/include/FLAC/ |
D | format.h | 679 FLAC__byte num_indices; member
|