Home
last modified time | relevance | path

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

/external/flac/src/test_libs_common/
Dmetadata_utils.c185 if(blockcopy->vendor_string.length != block->vendor_string.length) { in mutils__compare_block_data_vorbiscomment()
186 …ring.length mismatch, expected %u, got %u\n", block->vendor_string.length, blockcopy->vendor_strin… in mutils__compare_block_data_vorbiscomment()
189 if(0 == block->vendor_string.entry || 0 == blockcopy->vendor_string.entry) { in mutils__compare_block_data_vorbiscomment()
190 if(block->vendor_string.entry != blockcopy->vendor_string.entry) { in mutils__compare_block_data_vorbiscomment()
195 …else if(0 != memcmp(blockcopy->vendor_string.entry, block->vendor_string.entry, block->vendor_stri… in mutils__compare_block_data_vorbiscomment()
505 vorbiscomment->data.vorbis_comment.vendor_string.length = vendor_string_length; in mutils__init_metadata_blocks()
506 vorbiscomment->data.vorbis_comment.vendor_string.entry = malloc_or_die_(vendor_string_length+1); in mutils__init_metadata_blocks()
507 …memcpy(vorbiscomment->data.vorbis_comment.vendor_string.entry, FLAC__VENDOR_STRING, vendor_string_… in mutils__init_metadata_blocks()
625 free(vorbiscomment->data.vorbis_comment.vendor_string.entry); in mutils__free_metadata_blocks()
/external/cpuinfo/tools/
Dcpu-info.c298 const char* vendor_string = vendor_to_string(core->vendor); in main() local
300 if (vendor_string == NULL) { in main()
306 vendor_string, (uint32_t) core->uarch); in main()
309 printf(", %s %s\n", vendor_string, uarch_string); in main()
/external/cpuinfo/src/x86/
Dname.c695 const char* vendor_string = NULL; in cpuinfo_x86_format_package_name() local
697 vendor_string = vendor_string_map[(uint32_t) vendor]; in cpuinfo_x86_format_package_name()
699 if (vendor_string == NULL) { in cpuinfo_x86_format_package_name()
705 "%s %s", vendor_string, normalized_brand_string); in cpuinfo_x86_format_package_name()
706 return (uint32_t) strlen(vendor_string) + 1; in cpuinfo_x86_format_package_name()
/external/flac/src/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 = (uint32_t)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_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()
Dstream_decoder.c1518 if(0 != block.data.vorbis_comment.vendor_string.entry) in read_metadata_()
1519 free(block.data.vorbis_comment.vendor_string.entry); in read_metadata_()
1692 …if (!FLAC__bitreader_read_uint32_little_endian(decoder->private_->input, &obj->vendor_string.lengt… in read_metadata_vorbiscomment_()
1694 if (obj->vendor_string.length > 0) { in read_metadata_vorbiscomment_()
1695 if (length < obj->vendor_string.length) { in read_metadata_vorbiscomment_()
1696 obj->vendor_string.length = 0; in read_metadata_vorbiscomment_()
1697 obj->vendor_string.entry = 0; in read_metadata_vorbiscomment_()
1701 length -= obj->vendor_string.length; in read_metadata_vorbiscomment_()
1702 if (0 == (obj->vendor_string.entry = safe_malloc_add_2op_(obj->vendor_string.length, /*+*/1))) { in read_metadata_vorbiscomment_()
1706 …byte_block_aligned_no_crc(decoder->private_->input, obj->vendor_string.entry, obj->vendor_string.l… in read_metadata_vorbiscomment_()
[all …]
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.c1244 vorbis_comment.data.vorbis_comment.vendor_string.length = 0; in init_stream_internal_()
1245 vorbis_comment.data.vorbis_comment.vendor_string.entry = 0; in init_stream_internal_()
/external/mesa3d/src/gallium/frontends/va/
Dcontext.c184 snprintf(drv->vendor_string, sizeof(drv->vendor_string), in VA_DRIVER_INIT_FUNC()
187 ctx->str_vendor = drv->vendor_string; in VA_DRIVER_INIT_FUNC()
Dva_private.h250 char vendor_string[256]; member
/external/flac/src/test_libFLAC++/
Dmetadata_object.cpp138 vorbiscomment_.data.vorbis_comment.vendor_string.length = 5; in init_metadata_blocks_()
139 vorbiscomment_.data.vorbis_comment.vendor_string.entry = (FLAC__byte*)malloc_or_die_(5+1); in init_metadata_blocks_()
140 memcpy(vorbiscomment_.data.vorbis_comment.vendor_string.entry, "name0", 5+1); in init_metadata_blocks_()
238 free(vorbiscomment_.data.vorbis_comment.vendor_string.entry); in free_metadata_blocks_()
1310 vorbiscomment_.data.vorbis_comment.vendor_string.entry[0] = 'm'; in test_metadata_object_vorbiscomment()
1313 …const char *)block.get_vendor_string()) != vorbiscomment_.data.vorbis_comment.vendor_string.length) in test_metadata_object_vorbiscomment()
1315 …ing(), vorbiscomment_.data.vorbis_comment.vendor_string.entry, vorbiscomment_.data.vorbis_comment. in test_metadata_object_vorbiscomment()
Dmetadata_manip.cpp532 vorbiscomment.data.vorbis_comment.vendor_string.length = vendor_string_length; in generate_file_()
533 …vorbiscomment.data.vorbis_comment.vendor_string.entry = (FLAC__byte*)malloc_or_die_(vendor_string_… in generate_file_()
534 …memcpy(vorbiscomment.data.vorbis_comment.vendor_string.entry, FLAC__VENDOR_STRING, vendor_string_l… in generate_file_()
610 free(vorbiscomment.data.vorbis_comment.vendor_string.entry); in generate_file_()
/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
/external/flac/src/metaflac/
Doperations_shorthand_vorbiscomment.c85 …write_vc_field(prefix_with_filename? filename : 0, &block->data.vorbis_comment.vendor_string, raw,… in do_shorthand_operation__vorbis_comment()
Doperations.c615 write_vc_field(0, &block->data.vorbis_comment.vendor_string, raw, stdout); in write_metadata()
/external/cpuinfo/src/arm/linux/
Dchipset.c3470 const char* vendor_string = chipset_vendor_string[vendor]; in cpuinfo_arm_chipset_to_string() local
3475 strncpy(name, vendor_string, CPUINFO_ARM_CHIPSET_NAME_MAX); in cpuinfo_arm_chipset_to_string()
3478 "%s %s", vendor_string, series_string); in cpuinfo_arm_chipset_to_string()
3483 "%s %s%"PRIu32"%.*s", vendor_string, series_string, model, (int) suffix_length, chipset->suffix); in cpuinfo_arm_chipset_to_string()
/external/flac/src/test_libFLAC/
Dmetadata_manip.c546 vorbiscomment.data.vorbis_comment.vendor_string.length = vendor_string_length; in generate_file_()
547 vorbiscomment.data.vorbis_comment.vendor_string.entry = malloc_or_die_(vendor_string_length+1); in generate_file_()
548 …memcpy(vorbiscomment.data.vorbis_comment.vendor_string.entry, FLAC__VENDOR_STRING, vendor_string_l… in generate_file_()
619 free(vorbiscomment.data.vorbis_comment.vendor_string.entry); in generate_file_()
Dmetadata_object.c173 block->length += vc->vendor_string.length; in vc_calc_len_()
226 if(0 != block->data.vorbis_comment.vendor_string.entry) in vc_set_vs_new_()
227 free(block->data.vorbis_comment.vendor_string.entry); in vc_set_vs_new_()
229 block->data.vorbis_comment.vendor_string = *entry; in vc_set_vs_new_()
/external/flac/src/libFLAC++/
Dmetadata.cpp884 return object_->data.vorbis_comment.vendor_string.entry; in get_vendor_string()
898 …const ::FLAC__StreamMetadata_VorbisComment_Entry vendor_string = { static_cast<FLAC__uint32>(std::… in set_vendor_string() local
899 …ool>(::FLAC__metadata_object_vorbiscomment_set_vendor_string(object_, vendor_string, /*copy=*/true… in set_vendor_string()