Home | History | Annotate | Download | only in libFLAC

Lines Matching refs:FLAC__byte

59 static FLAC__bool copy_bytes_(FLAC__byte **to, const FLAC__byte *from, unsigned bytes)
63 FLAC__byte *x;
64 if(0 == (x = (FLAC__byte*)safe_malloc_(bytes)))
79 static FLAC__bool free_copy_bytes_(FLAC__byte **to, const FLAC__byte *from, unsigned bytes)
81 FLAC__byte *copy;
96 static FLAC__bool ensure_null_terminated_(FLAC__byte **entry, unsigned length)
98 FLAC__byte *x = (FLAC__byte*)safe_realloc_add_2op_(*entry, length, /*+*/1);
134 FLAC__byte *x;
136 if(0 == (x = (FLAC__byte*)safe_malloc_add_2op_(from->length, /*+*/1)))
251 FLAC__byte *save;
278 if(!ensure_null_terminated_((FLAC__byte**)(&src->entry), src->length))
468 if(!copy_bytes_(&object->data.vorbis_comment.vendor_string.entry, (const FLAC__byte*)FLAC__VENDOR_STRING, object->data.vorbis_comment.vendor_string.length+1)) {
557 if(!copy_bytes_((FLAC__byte**)&to->data.seek_table.points, (FLAC__byte*)object->data.seek_table.points, object->data.seek_table.num_points * sizeof(FLAC__StreamMetadata_SeekPoint))) {
903 FLAC_API FLAC__bool FLAC__metadata_object_application_set_data(FLAC__StreamMetadata *object, FLAC__byte *data, unsigned length, FLAC__bool copy)
905 FLAC__byte *save;
1259 const FLAC__byte *eq = (FLAC__byte*)memchr(entry.entry, '=', entry.length);
1319 if(!FLAC__format_vorbiscomment_entry_value_is_legal((const FLAC__byte *)field_value, (unsigned)(-1)))
1326 if(0 == (entry->entry = (FLAC__byte*)safe_malloc_add_4op_(nn, /*+*/1, /*+*/nv, /*+*/1)))
1347 const FLAC__byte *eq = (FLAC__byte*)memchr(entry.entry, '=', entry.length);
1372 const FLAC__byte *eq = (FLAC__byte*)memchr(entry.entry, '=', entry.length);
1738 if(!copy_bytes_((FLAC__byte**)(&object->data.picture.mime_type), (FLAC__byte*)mime_type, new_length+1))
1753 FLAC_API FLAC__bool FLAC__metadata_object_picture_set_description(FLAC__StreamMetadata *object, FLAC__byte *description, FLAC__bool copy)
1755 FLAC__byte *old;
1785 FLAC_API FLAC__bool FLAC__metadata_object_picture_set_data(FLAC__StreamMetadata *object, FLAC__byte *data, FLAC__uint32 length, FLAC__bool copy)
1787 FLAC__byte *old;