Lines Matching refs:itemlen
3313 size_t fpos, size, got, itemlen; in exif_scan_JPEG_header() local
3366 itemlen = (lh << 8) | ll; in exif_scan_JPEG_header()
3368 if (itemlen < 2) { in exif_scan_JPEG_header()
3377 sn = exif_file_sections_add(ImageInfo, marker, itemlen+1, NULL); in exif_scan_JPEG_header()
3384 …got = php_stream_read(ImageInfo->infile, (char*)(Data+2), itemlen-2); /* Read the whole section. */ in exif_scan_JPEG_header()
3385 if (got != itemlen-2) { in exif_scan_JPEG_header()
3386 …"Error reading from file: got=x%04X(=%d) != itemlen-2=x%04X(=%d)", got, got, itemlen-2, itemlen-2); in exif_scan_JPEG_header()
3391 …tion(x%02X=%s) @ x%04X + x%04X(=%d)", marker, exif_get_markername(marker), fpos, itemlen, itemlen); in exif_scan_JPEG_header()
3415 exif_process_COM(ImageInfo, (char *)Data, itemlen); in exif_scan_JPEG_header()
3423 exif_process_APP1(ImageInfo, (char *)Data, itemlen, fpos); in exif_scan_JPEG_header()
3428 exif_process_APP12(ImageInfo, (char *)Data, itemlen); in exif_scan_JPEG_header()
3445 if ((itemlen - 2) < 6) { in exif_scan_JPEG_header()