Home
last modified time | relevance | path

Searched refs:num_comments (Results 1 – 7 of 7) sorted by relevance

/external/flac/libFLAC/
Dmetadata_object.c199 for(i = 0; i < object->data.vorbis_comment.num_comments; i++) { in vorbiscomment_calculate_length_()
205 …tic FLAC__StreamMetadata_VorbisComment_Entry *vorbiscomment_entry_array_new_(unsigned num_comments) in vorbiscomment_entry_array_new_() argument
207 FLAC__ASSERT(num_comments > 0); in vorbiscomment_entry_array_new_()
209 …return (FLAC__StreamMetadata_VorbisComment_Entry*)safe_calloc_(num_comments, sizeof(FLAC__StreamMe… in vorbiscomment_entry_array_new_()
212 …_entry_array_delete_(FLAC__StreamMetadata_VorbisComment_Entry *object_array, unsigned num_comments) in vorbiscomment_entry_array_delete_() argument
216 FLAC__ASSERT(0 != object_array && num_comments > 0); in vorbiscomment_entry_array_delete_()
218 for(i = 0; i < num_comments; i++) in vorbiscomment_entry_array_delete_()
226 …ry_array_copy_(const FLAC__StreamMetadata_VorbisComment_Entry *object_array, unsigned num_comments) in vorbiscomment_entry_array_copy_() argument
231 FLAC__ASSERT(num_comments > 0); in vorbiscomment_entry_array_copy_()
233 return_array = vorbiscomment_entry_array_new_(num_comments); in vorbiscomment_entry_array_copy_()
[all …]
Dstream_decoder.c1537 if(block.data.vorbis_comment.num_comments > 0) in read_metadata_()
1538 for(i = 0; i < block.data.vorbis_comment.num_comments; i++) in read_metadata_()
1730 if (!FLAC__bitreader_read_uint32_little_endian(decoder->private_->input, &obj->num_comments)) in read_metadata_vorbiscomment_()
1734 if (obj->num_comments > 100000) { in read_metadata_vorbiscomment_()
1736 obj->num_comments = 0; in read_metadata_vorbiscomment_()
1739 if (obj->num_comments > 0) { in read_metadata_vorbiscomment_()
1740 …if (0 == (obj->comments = safe_malloc_mul_2op_p(obj->num_comments, /*times*/sizeof(FLAC__StreamMet… in read_metadata_vorbiscomment_()
1744 for (i = 0; i < obj->num_comments; i++) { in read_metadata_vorbiscomment_()
1751 obj->num_comments = i; in read_metadata_vorbiscomment_()
1760 obj->num_comments = i; in read_metadata_vorbiscomment_()
[all …]
Dstream_encoder_framing.c125 …if(!FLAC__bitwriter_write_raw_uint32_little_endian(bw, metadata->data.vorbis_comment.num_comments)) in FLAC__add_metadata_block()
127 for(i = 0; i < metadata->data.vorbis_comment.num_comments; i++) { in FLAC__add_metadata_block()
Dmetadata_iterators.c2252 block->num_comments = unpack_uint32_little_endian_(buffer, num_comments_len); in read_metadata_block_data_vorbis_comment_cb_()
2254 if(block->num_comments == 0) { in read_metadata_block_data_vorbis_comment_cb_()
2257 …->comments = (FLAC__StreamMetadata_VorbisComment_Entry*)calloc(block->num_comments, sizeof(FLAC__S… in read_metadata_block_data_vorbis_comment_cb_()
2260 for(i = 0; i < block->num_comments; i++) { in read_metadata_block_data_vorbis_comment_cb_()
2647 pack_uint32_little_endian_(block->num_comments, buffer, num_comments_len); in write_metadata_block_data_vorbis_comment_cb_()
2651 for(i = 0; i < block->num_comments; i++) { in write_metadata_block_data_vorbis_comment_cb_()
Dstream_encoder.c1227 vorbis_comment.data.vorbis_comment.num_comments = 0; in init_stream_internal_()
/external/flac/include/FLAC/
Dformat.h636 FLAC__uint32 num_comments; member
/external/libpng/
Dlibpng-manual.txt1448 num_comments = png_get_text(png_ptr, info_ptr,
1451 num_comments - number of comments
1490 num_comments; you can put NULL here