Home
last modified time | relevance | path

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

/external/flac/libFLAC/
Dmetadata_object.c199 object->length += object->data.vorbis_comment.vendor_string.length; in vorbiscomment_calculate_length_()
464 object->data.vorbis_comment.vendor_string.length = (unsigned)strlen(FLAC__VENDOR_STRING); in FLAC__metadata_object_new()
465 …ect->data.vorbis_comment.vendor_string.entry, (const FLAC__byte*)FLAC__VENDOR_STRING, object->data… in FLAC__metadata_object_new()
559 if (to->data.vorbis_comment.vendor_string.entry != NULL) { in FLAC__metadata_object_clone()
560 free(to->data.vorbis_comment.vendor_string.entry); in FLAC__metadata_object_clone()
561 to->data.vorbis_comment.vendor_string.entry = 0; in FLAC__metadata_object_clone()
563 …if (!copy_vcentry_(&to->data.vorbis_comment.vendor_string, &object->data.vorbis_comment.vendor_str… in FLAC__metadata_object_clone()
647 if (object->data.vorbis_comment.vendor_string.entry != NULL) { in FLAC__metadata_object_delete_data()
648 free(object->data.vorbis_comment.vendor_string.entry); in FLAC__metadata_object_delete_data()
649 object->data.vorbis_comment.vendor_string.entry = 0; in FLAC__metadata_object_delete_data()
[all …]
Dstream_decoder.c1522 if(0 != block.data.vorbis_comment.vendor_string.entry) in read_metadata_()
1523 free(block.data.vorbis_comment.vendor_string.entry); in read_metadata_()
1694 …if (!FLAC__bitreader_read_uint32_little_endian(decoder->private_->input, &obj->vendor_string.lengt… in read_metadata_vorbiscomment_()
1696 if (obj->vendor_string.length > 0) { in read_metadata_vorbiscomment_()
1697 if (length < obj->vendor_string.length) { in read_metadata_vorbiscomment_()
1698 obj->vendor_string.length = 0; in read_metadata_vorbiscomment_()
1699 obj->vendor_string.entry = 0; in read_metadata_vorbiscomment_()
1703 length -= obj->vendor_string.length; in read_metadata_vorbiscomment_()
1704 if (0 == (obj->vendor_string.entry = safe_malloc_add_2op_(obj->vendor_string.length, /*+*/1))) { in read_metadata_vorbiscomment_()
1708 …byte_block_aligned_no_crc(decoder->private_->input, obj->vendor_string.entry, obj->vendor_string.l… in read_metadata_vorbiscomment_()
[all …]
Dstream_encoder_framing.c63 …_ASSERT(metadata->data.vorbis_comment.vendor_string.length == 0 || 0 != metadata->data.vorbis_comm… in FLAC__add_metadata_block()
64 i -= metadata->data.vorbis_comment.vendor_string.length; in FLAC__add_metadata_block()
Dmetadata_iterators.c2312 …status = read_metadata_block_data_vorbis_comment_entry_cb_(handle, read_cb, &(block->vendor_string in read_metadata_block_data_vorbis_comment_cb_()
2319 block_length -= block->vendor_string.length; in read_metadata_block_data_vorbis_comment_cb_()
2731 pack_uint32_little_endian_(block->vendor_string.length, buffer, entry_length_len); in write_metadata_block_data_vorbis_comment_cb_()
2734 …if(write_cb(block->vendor_string.entry, 1, block->vendor_string.length, handle) != block->vendor_s… in write_metadata_block_data_vorbis_comment_cb_()
Dstream_encoder.c1214 vorbis_comment.data.vorbis_comment.vendor_string.length = 0; in init_stream_internal_()
1215 vorbis_comment.data.vorbis_comment.vendor_string.entry = 0; in init_stream_internal_()
/external/scapy/test/
Dpptp.uts474 vendor_string='test vendor string')
494 assert start_control_connection_pkt.vendor_string == b'test vendor string' + b'\0' * (64-len('test …
502 vendor_string='vendor')
522 assert start_control_connection_reply_pkt.vendor_string == b'vendor' + b'\0' * (64-len('vendor'))
/external/flac/include/FLAC/
Dformat.h635 FLAC__StreamMetadata_VorbisComment_Entry vendor_string; member