Lines Matching refs:itemlen
3332 size_t fpos, size, got, itemlen; in exif_scan_JPEG_header() local
3385 itemlen = (lh << 8) | ll; in exif_scan_JPEG_header()
3387 if (itemlen < 2) { in exif_scan_JPEG_header()
3396 sn = exif_file_sections_add(ImageInfo, marker, itemlen+1, NULL); in exif_scan_JPEG_header()
3403 …got = php_stream_read(ImageInfo->infile, (char*)(Data+2), itemlen-2); /* Read the whole section. */ in exif_scan_JPEG_header()
3404 if (got != itemlen-2) { in exif_scan_JPEG_header()
3405 …"Error reading from file: got=x%04X(=%d) != itemlen-2=x%04X(=%d)", got, got, itemlen-2, itemlen-2); in exif_scan_JPEG_header()
3410 …tion(x%02X=%s) @ x%04X + x%04X(=%d)", marker, exif_get_markername(marker), fpos, itemlen, itemlen); in exif_scan_JPEG_header()
3434 exif_process_COM(ImageInfo, (char *)Data, itemlen); in exif_scan_JPEG_header()
3442 exif_process_APP1(ImageInfo, (char *)Data, itemlen, fpos); in exif_scan_JPEG_header()
3447 exif_process_APP12(ImageInfo, (char *)Data, itemlen); in exif_scan_JPEG_header()
3464 if ((itemlen - 2) < 6) { in exif_scan_JPEG_header()