Searched refs:num_comments (Results 1 – 7 of 7) sorted by relevance
/external/flac/libFLAC/ |
D | metadata_object.c | 201 for (i = 0; i < object->data.vorbis_comment.num_comments; i++) { in vorbiscomment_calculate_length_() 207 …tic FLAC__StreamMetadata_VorbisComment_Entry *vorbiscomment_entry_array_new_(unsigned num_comments) in vorbiscomment_entry_array_new_() argument 209 FLAC__ASSERT(num_comments > 0); in vorbiscomment_entry_array_new_() 211 return safe_calloc_(num_comments, sizeof(FLAC__StreamMetadata_VorbisComment_Entry)); in vorbiscomment_entry_array_new_() 214 …_entry_array_delete_(FLAC__StreamMetadata_VorbisComment_Entry *object_array, unsigned num_comments) in vorbiscomment_entry_array_delete_() argument 218 FLAC__ASSERT(object_array != NULL && num_comments > 0); in vorbiscomment_entry_array_delete_() 220 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 …]
|
D | stream_decoder.c | 1524 if(block.data.vorbis_comment.num_comments > 0) in read_metadata_() 1525 for(i = 0; i < block.data.vorbis_comment.num_comments; i++) in read_metadata_() 1717 if (!FLAC__bitreader_read_uint32_little_endian(decoder->private_->input, &obj->num_comments)) in read_metadata_vorbiscomment_() 1721 if (obj->num_comments > 100000) { in read_metadata_vorbiscomment_() 1723 obj->num_comments = 0; in read_metadata_vorbiscomment_() 1726 if (obj->num_comments > 0) { in read_metadata_vorbiscomment_() 1727 …if (0 == (obj->comments = safe_malloc_mul_2op_p(obj->num_comments, /*times*/sizeof(FLAC__StreamMet… in read_metadata_vorbiscomment_() 1728 obj->num_comments = 0; in read_metadata_vorbiscomment_() 1732 for (i = 0; i < obj->num_comments; i++) { in read_metadata_vorbiscomment_() 1739 obj->num_comments = i; in read_metadata_vorbiscomment_() [all …]
|
D | stream_encoder_framing.c | 130 …if(!FLAC__bitwriter_write_raw_uint32_little_endian(bw, metadata->data.vorbis_comment.num_comments)) in FLAC__add_metadata_block() 132 for(i = 0; i < metadata->data.vorbis_comment.num_comments; i++) { in FLAC__add_metadata_block()
|
D | metadata_iterators.c | 2324 block->num_comments = unpack_uint32_little_endian_(buffer, num_comments_len); in read_metadata_block_data_vorbis_comment_cb_() 2326 if(block->num_comments == 0) { in read_metadata_block_data_vorbis_comment_cb_() 2329 …else if(0 == (block->comments = calloc(block->num_comments, sizeof(FLAC__StreamMetadata_VorbisComm… in read_metadata_block_data_vorbis_comment_cb_() 2330 block->num_comments = 0; in read_metadata_block_data_vorbis_comment_cb_() 2334 for(i = 0; i < block->num_comments; i++) { in read_metadata_block_data_vorbis_comment_cb_() 2338 block->num_comments = i; in read_metadata_block_data_vorbis_comment_cb_() 2737 pack_uint32_little_endian_(block->num_comments, buffer, num_comments_len); in write_metadata_block_data_vorbis_comment_cb_() 2741 for(i = 0; i < block->num_comments; i++) { in write_metadata_block_data_vorbis_comment_cb_()
|
D | stream_encoder.c | 1216 vorbis_comment.data.vorbis_comment.num_comments = 0; in init_stream_internal_()
|
/external/flac/include/FLAC/ |
D | format.h | 636 FLAC__uint32 num_comments; member
|
/external/libpng/ |
D | libpng-manual.txt | 1489 num_comments = png_get_text(png_ptr, info_ptr, 1492 num_comments - number of comments 1531 num_comments; you can put NULL here
|