Lines Matching refs:itemlen
3324 size_t fpos, size, got, itemlen; in exif_scan_JPEG_header() local
3377 itemlen = (lh << 8) | ll; in exif_scan_JPEG_header()
3379 if (itemlen < 2) { in exif_scan_JPEG_header()
3388 sn = exif_file_sections_add(ImageInfo, marker, itemlen+1, NULL); in exif_scan_JPEG_header()
3395 …got = php_stream_read(ImageInfo->infile, (char*)(Data+2), itemlen-2); /* Read the whole section. */ in exif_scan_JPEG_header()
3396 if (got != itemlen-2) { in exif_scan_JPEG_header()
3397 …"Error reading from file: got=x%04X(=%d) != itemlen-2=x%04X(=%d)", got, got, itemlen-2, itemlen-2); in exif_scan_JPEG_header()
3402 …tion(x%02X=%s) @ x%04X + x%04X(=%d)", marker, exif_get_markername(marker), fpos, itemlen, itemlen); in exif_scan_JPEG_header()
3426 exif_process_COM(ImageInfo, (char *)Data, itemlen TSRMLS_CC); in exif_scan_JPEG_header()
3434 exif_process_APP1(ImageInfo, (char *)Data, itemlen, fpos TSRMLS_CC); in exif_scan_JPEG_header()
3439 exif_process_APP12(ImageInfo, (char *)Data, itemlen TSRMLS_CC); in exif_scan_JPEG_header()
3456 if ((itemlen - 2) < 6) { in exif_scan_JPEG_header()