Lines Matching refs:field_value
1311 FLAC_API FLAC__bool FLAC__metadata_object_vorbiscomment_entry_from_name_value_pair(FLAC__StreamMetadata_VorbisComment_Entry *entry, const char *field_name, const char *field_value)
1315 FLAC__ASSERT(0 != field_value);
1319 if(!FLAC__format_vorbiscomment_entry_value_is_legal((const FLAC__byte *)field_value, (unsigned)(-1)))
1324 const size_t nv = strlen(field_value);
1330 memcpy(entry->entry+nn+1, field_value, nv);
1337 FLAC_API FLAC__bool FLAC__metadata_object_vorbiscomment_entry_to_name_value_pair(const FLAC__StreamMetadata_VorbisComment_Entry entry, char **field_name, char **field_value)
1341 FLAC__ASSERT(0 != field_value);
1355 if(0 == (*field_value = (char*)safe_malloc_add_2op_(nv, /*+*/1))) {
1360 memcpy(*field_value, entry.entry+nn+1, nv);
1362 (*field_value)[nv] = '\0';