Lines Matching defs:length
113 id3_latin1_t *id3_parse_latin1(id3_byte_t const **ptr, id3_length_t length,
120 end = memchr(*ptr, 0, length);
122 end = *ptr + length;
124 length = end - *ptr;
128 latin1 = malloc(length + 1);
130 memcpy(latin1, *ptr, length);
131 latin1[length] = 0;
143 *ptr += length + terminated;
148 id3_ucs4_t *id3_parse_string(id3_byte_t const **ptr, id3_length_t length,
156 ucs4 = id3_latin1_deserialize(ptr, length);
162 ucs4 = id3_utf16_deserialize(ptr, length, byteorder);
166 ucs4 = id3_utf8_deserialize(ptr, length);
182 id3_byte_t *id3_parse_binary(id3_byte_t const **ptr, id3_length_t length)
186 if (length == 0)
189 data = malloc(length);
191 memcpy(data, *ptr, length);
193 *ptr += length;