Home
last modified time | relevance | path

Searched refs:new_num_comments (Results 1 – 2 of 2) sorted by relevance

/external/flac/libFLAC/
Dmetadata_object.c1160 …adata_object_vorbiscomment_resize_comments(FLAC__StreamMetadata *object, unsigned new_num_comments) in FLAC__metadata_object_vorbiscomment_resize_comments() argument
1167 if(0 == new_num_comments) in FLAC__metadata_object_vorbiscomment_resize_comments()
1169 … if(0 == (object->data.vorbis_comment.comments = vorbiscomment_entry_array_new_(new_num_comments))) in FLAC__metadata_object_vorbiscomment_resize_comments()
1174 const size_t new_size = new_num_comments * sizeof(FLAC__StreamMetadata_VorbisComment_Entry); in FLAC__metadata_object_vorbiscomment_resize_comments()
1177 if((size_t)new_num_comments > SIZE_MAX / sizeof(FLAC__StreamMetadata_VorbisComment_Entry)) in FLAC__metadata_object_vorbiscomment_resize_comments()
1183 if(new_num_comments < object->data.vorbis_comment.num_comments) { in FLAC__metadata_object_vorbiscomment_resize_comments()
1185 for(i = new_num_comments; i < object->data.vorbis_comment.num_comments; i++) in FLAC__metadata_object_vorbiscomment_resize_comments()
1202 object->data.vorbis_comment.num_comments = new_num_comments; in FLAC__metadata_object_vorbiscomment_resize_comments()
/external/flac/include/FLAC/
Dmetadata.h1606 …data_object_vorbiscomment_resize_comments(FLAC__StreamMetadata *object, unsigned new_num_comments);