/external/flac/src/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_(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 …]
|
D | stream_decoder.c | 1520 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 …]
|
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 | 1246 vorbis_comment.data.vorbis_comment.num_comments = 0; in init_stream_internal_()
|
/external/flac/src/test_libFLAC/ |
D | metadata_object.c | 175 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 …]
|
D | metadata_manip.c | 549 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/ |
D | operations_shorthand_vorbiscomment.c | 88 ….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()
|
D | operations.c | 616 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/ |
D | metadata_utils.c | 199 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++/ |
D | metadata.cpp | 878 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/ |
D | tags.c | 299 int n = (int)tags->data.vorbis_comment.num_comments; in FLAC_plugin__tags_delete_all()
|
/external/flac/include/FLAC/ |
D | format.h | 636 FLAC__uint32 num_comments; member
|
/external/exoplayer/tree/extensions/flac/src/main/jni/ |
D | flac_parser.cc | 179 for (FLAC__uint32 i = 0; i < vorbisComment.num_comments; ++i) { in metadataCallback()
|
/external/oss-fuzz/projects/flac/ |
D | fuzzer_exo.cpp | 168 for (FLAC__uint32 i = 0; i < vorbisComment.num_comments; ++i) { in metadataCallback()
|
/external/flac/src/test_libFLAC++/ |
D | metadata_object.cpp | 141 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_()
|
D | metadata_manip.cpp | 535 vorbiscomment.data.vorbis_comment.num_comments = 0; in generate_file_()
|
/external/flac/src/flac/ |
D | encode.c | 1842 …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/ |
D | libpng-manual.txt | 1490 num_comments = png_get_text(png_ptr, info_ptr, 1493 num_comments - number of comments 1532 num_comments; you can put NULL here
|