Home
last modified time | relevance | path

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

/external/flac/src/libFLAC/
Dmetadata_object.c201 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_(uint32_t 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, uint32_t 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, uint32_t 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.c1520 if(block.data.vorbis_comment.num_comments > 0) in read_metadata_()
1521 for(i = 0; i < block.data.vorbis_comment.num_comments; i++) in read_metadata_()
1715 if (!FLAC__bitreader_read_uint32_little_endian(decoder->private_->input, &obj->num_comments)) in read_metadata_vorbiscomment_()
1719 if (obj->num_comments > 100000) { in read_metadata_vorbiscomment_()
1721 obj->num_comments = 0; in read_metadata_vorbiscomment_()
1724 if (obj->num_comments > 0) { in read_metadata_vorbiscomment_()
1725 …if (0 == (obj->comments = safe_malloc_mul_2op_p(obj->num_comments, /*times*/sizeof(FLAC__StreamMet… in read_metadata_vorbiscomment_()
1726 obj->num_comments = 0; in read_metadata_vorbiscomment_()
1730 for (i = 0; i < obj->num_comments; i++) { in read_metadata_vorbiscomment_()
1737 obj->num_comments = i; in read_metadata_vorbiscomment_()
[all …]
Dstream_encoder_framing.c130 …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()
Dmetadata_iterators.c2324 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_()
Dstream_encoder.c1246 vorbis_comment.data.vorbis_comment.num_comments = 0; in init_stream_internal_()
/external/flac/src/test_libFLAC/
Dmetadata_object.c175 for(i = 0; i < vc->num_comments; i++) { in vc_calc_len_()
185 if(vc->num_comments != 0) { in vc_resize_()
187 if(num < vc->num_comments) { in vc_resize_()
189 for(i = num; i < vc->num_comments; i++) { in vc_resize_()
204 if(num > vc->num_comments) in vc_resize_()
205 …memset(vc->comments+vc->num_comments, 0, sizeof(FLAC__StreamMetadata_VorbisComment_Entry)*(num-vc-… in vc_resize_()
208 vc->num_comments = num; in vc_resize_()
216 for(i = start; i < block->data.vorbis_comment.num_comments; i++) { in vc_find_from_()
244 vc_resize_(block, block->data.vorbis_comment.num_comments+1); in vc_insert_new_()
245 … sizeof(FLAC__StreamMetadata_VorbisComment_Entry)*(block->data.vorbis_comment.num_comments-1-pos)); in vc_insert_new_()
[all …]
Dmetadata_manip.c549 vorbiscomment.data.vorbis_comment.num_comments = 0; in generate_file_()
736 if(tags->data.vorbis_comment.num_comments != 0) in test_level_0_()
/external/flac/src/metaflac/
Doperations_shorthand_vorbiscomment.c88 ….value, block->data.vorbis_comment.comments, block->data.vorbis_comment.num_comments, raw, stdout); in do_shorthand_operation__vorbis_comment()
133 FLAC__ASSERT(block->data.vorbis_comment.num_comments > 0); in remove_vc_all()
141 FLAC__ASSERT(block->data.vorbis_comment.num_comments == 0); in remove_vc_all()
369 …write_vc_fields(0, 0, block->data.vorbis_comment.comments, block->data.vorbis_comment.num_comments in export_vc_to()
Doperations.c616 PPR; printf(" comments: %u\n", block->data.vorbis_comment.num_comments); in write_metadata()
617 for(i = 0; i < block->data.vorbis_comment.num_comments; i++) { in write_metadata()
/external/flac/src/test_libs_common/
Dmetadata_utils.c199 if(blockcopy->num_comments != block->num_comments) { in mutils__compare_block_data_vorbiscomment()
200 …ILED, num_comments mismatch, expected %u, got %u\n", block->num_comments, blockcopy->num_comments); in mutils__compare_block_data_vorbiscomment()
203 for(i = 0; i < block->num_comments; i++) { in mutils__compare_block_data_vorbiscomment()
508 vorbiscomment->data.vorbis_comment.num_comments = 2; in mutils__init_metadata_blocks()
509 …_comment.comments = malloc_or_die_(vorbiscomment->data.vorbis_comment.num_comments * sizeof(FLAC__… in mutils__init_metadata_blocks()
/external/flac/src/libFLAC++/
Dmetadata.cpp878 return object_->data.vorbis_comment.num_comments; in get_num_comments()
890 FLAC__ASSERT(indx < object_->data.vorbis_comment.num_comments); in get_comment()
911 FLAC__ASSERT(indx < object_->data.vorbis_comment.num_comments); in set_comment()
918 FLAC__ASSERT(indx <= object_->data.vorbis_comment.num_comments); in insert_comment()
937 FLAC__ASSERT(indx < object_->data.vorbis_comment.num_comments); in delete_comment()
/external/flac/src/plugin_common/
Dtags.c299 int n = (int)tags->data.vorbis_comment.num_comments; in FLAC_plugin__tags_delete_all()
/external/flac/include/FLAC/
Dformat.h636 FLAC__uint32 num_comments; member
/external/exoplayer/tree/extensions/flac/src/main/jni/
Dflac_parser.cc179 for (FLAC__uint32 i = 0; i < vorbisComment.num_comments; ++i) { in metadataCallback()
/external/oss-fuzz/projects/flac/
Dfuzzer_exo.cpp168 for (FLAC__uint32 i = 0; i < vorbisComment.num_comments; ++i) { in metadataCallback()
/external/flac/src/test_libFLAC++/
Dmetadata_object.cpp141 vorbiscomment_.data.vorbis_comment.num_comments = 2; in init_metadata_blocks_()
142 …orbisComment_Entry*)malloc_or_die_(vorbiscomment_.data.vorbis_comment.num_comments * sizeof(::FLAC… in init_metadata_blocks_()
Dmetadata_manip.cpp535 vorbiscomment.data.vorbis_comment.num_comments = 0; in generate_file_()
/external/flac/src/flac/
Dencode.c1842 …AC__METADATA_TYPE_VORBIS_COMMENT && options.vorbis_comment->data.vorbis_comment.num_comments > 0) { in EncoderSession_init_encoder()
1856 …if((!vc_found || options.vorbis_comment->data.vorbis_comment.num_comments > 0) && flac_decoder_dat… in EncoderSession_init_encoder()
/external/libpng/
Dlibpng-manual.txt1490 num_comments = png_get_text(png_ptr, info_ptr,
1493 num_comments - number of comments
1532 num_comments; you can put NULL here