Home
last modified time | relevance | path

Searched refs:FLAC__StreamMetadata_CueSheet_Index (Results 1 – 13 of 13) sorted by relevance

/external/flac/src/libFLAC/
Dmetadata_object.c154 FLAC__StreamMetadata_CueSheet_Index *x; in copy_track_()
156 …= safe_malloc_mul_2op_p(from->num_indices, /*times*/sizeof(FLAC__StreamMetadata_CueSheet_Index))) … in copy_track_()
158 memcpy(x, from->indices, from->num_indices * sizeof(FLAC__StreamMetadata_CueSheet_Index)); in copy_track_()
343 static FLAC__StreamMetadata_CueSheet_Index *cuesheet_track_index_array_new_(uint32_t num_indices) in cuesheet_track_index_array_new_()
347 return safe_calloc_(num_indices, sizeof(FLAC__StreamMetadata_CueSheet_Index)); in cuesheet_track_index_array_new_()
398 FLAC__StreamMetadata_CueSheet_Index *save; in cuesheet_set_track_()
1492 const size_t old_size = track->num_indices * sizeof(FLAC__StreamMetadata_CueSheet_Index); in FLAC__metadata_object_cuesheet_track_resize_indices()
1493 const size_t new_size = new_num_indices * sizeof(FLAC__StreamMetadata_CueSheet_Index); in FLAC__metadata_object_cuesheet_track_resize_indices()
1496 if (new_num_indices > UINT32_MAX / sizeof(FLAC__StreamMetadata_CueSheet_Index)) in FLAC__metadata_object_cuesheet_track_resize_indices()
1519 …mMetadata *object, uint32_t track_num, uint32_t index_num, FLAC__StreamMetadata_CueSheet_Index ind… in FLAC__metadata_object_cuesheet_track_insert_index()
[all …]
Dstream_encoder_framing.c170 const FLAC__StreamMetadata_CueSheet_Index *indx = track->indices + j; in FLAC__add_metadata_block()
Dstream_decoder.c1848 … (track->indices = safe_calloc_(track->num_indices, sizeof(FLAC__StreamMetadata_CueSheet_Index))))… in read_metadata_cuesheet_()
1853 FLAC__StreamMetadata_CueSheet_Index *indx = &track->indices[j]; in read_metadata_cuesheet_()
Dmetadata_iterators.c2399 …if(0 == (track->indices = calloc(track->num_indices, sizeof(FLAC__StreamMetadata_CueSheet_Index)))) in read_metadata_block_data_cuesheet_track_cb_()
2821 FLAC__StreamMetadata_CueSheet_Index *indx = track->indices + j; in write_metadata_block_data_cuesheet_cb_()
/external/flac/include/FLAC/
Dformat.h655 } FLAC__StreamMetadata_CueSheet_Index; typedef
685 FLAC__StreamMetadata_CueSheet_Index *indices;
Dmetadata.h1912 …mMetadata *object, uint32_t track_num, uint32_t index_num, FLAC__StreamMetadata_CueSheet_Index ind…
/external/flac/src/test_libFLAC/
Dmetadata_object.c300 size_t bytes = sizeof(FLAC__StreamMetadata_CueSheet_Index) * track->num_indices; in track_clone_()
301 FLAC__StreamMetadata_CueSheet_Index *x = malloc(bytes); in track_clone_()
356 tr->indices = realloc(tr->indices, sizeof(FLAC__StreamMetadata_CueSheet_Index)*num); in tr_resize_()
359 …memset(tr->indices+tr->num_indices, 0, sizeof(FLAC__StreamMetadata_CueSheet_Index)*(num-tr->num_in… in tr_resize_()
366 …__StreamMetadata *block, uint32_t track_num, uint32_t pos, FLAC__StreamMetadata_CueSheet_Index ind… in tr_set_new_()
381 …__StreamMetadata *block, uint32_t track_num, uint32_t pos, FLAC__StreamMetadata_CueSheet_Index ind… in tr_insert_new_()
392 …memmove(&tr->indices[pos+1], &tr->indices[pos], sizeof(FLAC__StreamMetadata_CueSheet_Index)*(tr->n… in tr_insert_new_()
407 …memmove(&tr->indices[pos], &tr->indices[pos+1], sizeof(FLAC__StreamMetadata_CueSheet_Index)*(tr->n… in tr_delete_()
508 FLAC__StreamMetadata_CueSheet_Index indx; in test_metadata_object()
/external/flac/include/FLAC++/
Dmetadata.h754 ::FLAC__StreamMetadata_CueSheet_Index get_index(uint32_t i) const;
764 void set_index(uint32_t i, const ::FLAC__StreamMetadata_CueSheet_Index &index);
824 … set_index(uint32_t track_num, uint32_t index_num, const ::FLAC__StreamMetadata_CueSheet_Index &in…
830 …sert_index(uint32_t track_num, uint32_t index_num, const ::FLAC__StreamMetadata_CueSheet_Index &in…
/external/flac/src/test_libFLAC++/
Dmetadata_object.cpp59 …tic bool index_is_equal_(const ::FLAC__StreamMetadata_CueSheet_Index &indx, const ::FLAC__StreamMe… in index_is_equal_()
191 …s = (FLAC__StreamMetadata_CueSheet_Index*)malloc_or_die_(cuesheet_.data.cue_sheet.tracks[0].num_in… in init_metadata_blocks_()
202 …s = (FLAC__StreamMetadata_CueSheet_Index*)malloc_or_die_(cuesheet_.data.cue_sheet.tracks[1].num_in… in init_metadata_blocks_()
1738 ::FLAC__StreamMetadata_CueSheet_Index index0; in test_metadata_object_cuesheet()
/external/flac/src/libFLAC++/
Dmetadata.cpp995 ::FLAC__StreamMetadata_CueSheet_Index CueSheet::Track::get_index(uint32_t i) const in get_index()
1017 void CueSheet::Track::set_index(uint32_t i, const ::FLAC__StreamMetadata_CueSheet_Index &indx) in set_index()
1087 …:set_index(uint32_t track_num, uint32_t index_num, const ::FLAC__StreamMetadata_CueSheet_Index &in… in set_index()
1102 …sert_index(uint32_t track_num, uint32_t index_num, const ::FLAC__StreamMetadata_CueSheet_Index &in… in insert_index()
/external/flac/src/test_libs_common/
Dmetadata_utils.c558 …die_(cuesheet->data.cue_sheet.tracks[0].num_indices * sizeof(FLAC__StreamMetadata_CueSheet_Index)); in mutils__init_metadata_blocks()
569 …die_(cuesheet->data.cue_sheet.tracks[1].num_indices * sizeof(FLAC__StreamMetadata_CueSheet_Index)); in mutils__init_metadata_blocks()
/external/flac/src/share/grabbag/
Dcuesheet.c640 const FLAC__StreamMetadata_CueSheet_Index *indx = track->indices + index_num; in grabbag__cuesheet_emit()
/external/flac/src/metaflac/
Doperations.c645 const FLAC__StreamMetadata_CueSheet_Index *indx = track->indices+j; in write_metadata()