Lines Matching defs:end
244 id3_byte_t const *end;
249 end = data + length;
252 if (id3_field_parse(&frame->fields[i], &data, end - data, &encoding) == -1)
267 id3_byte_t const *id, *end, *data;
275 end = *ptr + length;
288 if (size > end - *ptr)
291 end = *ptr + size;
305 if (size > end - *ptr)
308 end = *ptr + size;
311 frame = unparseable(id, ptr, end - *ptr, 0, 0, 0, 0);
322 if (end - *ptr < 4)
329 if (end - *ptr < 1)
336 if (end - *ptr < 1)
373 if (size > end - *ptr)
376 end = *ptr + size;
379 frame = unparseable(id, ptr, end - *ptr, flags, 0, 0, 0);
384 if (end - *ptr < 1)
395 if (end - *ptr < 1)
402 if (end - *ptr < 4)
410 *ptr = end;
414 if ((flags & ID3_FRAME_FLAG_UNSYNCHRONISATION) && end - data > 0) {
415 mem = malloc(end - data);
419 memcpy(mem, data, end - data);
421 end = mem + id3_util_deunsynchronise(mem, end - data);
426 frame = unparseable(id, &data, end - data, flags,
434 decomp = id3_util_decompress(data, end - data, decoded_length);
442 end = data + decoded_length;
448 frame = obsolete(id, data, end - data);
460 if (compat->translate(frame, compat->id, data, end - data) == -1)
464 if (parse_data(frame, data, end - data) == -1)