Lines Matching refs:field_value_length
490 VorbisComment::Entry::Entry(const char *field_name, const char *field_value, unsigned field_value_length)
493 construct(field_name, field_value, field_value_length);
618 bool VorbisComment::Entry::set_field_value(const char *field_value, unsigned field_value_length)
623 if(!::FLAC__format_vorbiscomment_entry_value_is_legal((const FLAC__byte*)field_value, field_value_length))
628 if(0 == (field_value_ = (char *)safe_malloc_add_2op_(field_value_length, /*+*/1))) {
632 field_value_length_ = field_value_length;
633 memcpy(field_value_, field_value, field_value_length);
634 field_value_[field_value_length] = '\0';
703 void VorbisComment::Entry::construct(const char *field_name, const char *field_value, unsigned field_value_length)
705 if(set_field_name(field_name) && set_field_value(field_value, field_value_length))