Lines Matching refs:infile
1523 php_stream *infile; member
2910 fpos = php_stream_tell(ImageInfo->infile); in exif_process_IFD_TAG()
2911 php_stream_seek(ImageInfo->infile, offset_val, SEEK_SET); in exif_process_IFD_TAG()
2912 fgot = php_stream_tell(ImageInfo->infile); in exif_process_IFD_TAG()
2918 fgot = php_stream_read(ImageInfo->infile, value_ptr, byte_count); in exif_process_IFD_TAG()
2919 php_stream_seek(ImageInfo->infile, fpos, SEEK_SET); in exif_process_IFD_TAG()
3323 fpos = php_stream_tell(ImageInfo->infile); in exif_scan_JPEG_header()
3334 if ((marker = php_stream_getc(ImageInfo->infile)) == EOF) { in exif_scan_JPEG_header()
3353 fpos = php_stream_tell(ImageInfo->infile); in exif_scan_JPEG_header()
3362 if ((lh = php_stream_getc(ImageInfo->infile)) == EOF) { in exif_scan_JPEG_header()
3366 if ((ll = php_stream_getc(ImageInfo->infile)) == EOF) { in exif_scan_JPEG_header()
3389 …got = php_stream_read(ImageInfo->infile, (char*)(Data+2), itemlen-2); /* Read the whole section. */ in exif_scan_JPEG_header()
3403 fpos = php_stream_tell(ImageInfo->infile); in exif_scan_JPEG_header()
3407 got = php_stream_read(ImageInfo->infile, (char*)Data, size); in exif_scan_JPEG_header()
3582 …php_stream_seek(ImageInfo->infile, dir_offset, SEEK_SET); /* we do not know the order of sections … in exif_process_IFD_in_TIFF()
3583 php_stream_read(ImageInfo->infile, (char*)ImageInfo->file.list[sn].data, 2); in exif_process_IFD_in_TIFF()
3593 php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2); in exif_process_IFD_in_TIFF()
3682 …php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_s… in exif_process_IFD_in_TIFF()
3733 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF()
3734 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
3767 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF()
3768 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
3804 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_scan_FILE_header()
3805 if (php_stream_read(ImageInfo->infile, (char*)file_header, 2) != 2) { in exif_scan_FILE_header()
3816 if (php_stream_read(ImageInfo->infile, (char*)(file_header+2), 6) != 6) { in exif_scan_FILE_header()
3906 ImageInfo->infile = php_stream_open_wrapper(FileName, "rb", STREAM_MUST_SEEK|IGNORE_PATH, NULL); in exif_read_file()
3907 if (!ImageInfo->infile) { in exif_read_file()
3912 if (php_stream_is(ImageInfo->infile, PHP_STREAM_IS_STDIO)) { in exif_read_file()
3916 php_stream_close(ImageInfo->infile); in exif_read_file()
3927 php_stream_seek(ImageInfo->infile, 0, SEEK_END); in exif_read_file()
3928 ImageInfo->FileSize = php_stream_tell(ImageInfo->infile); in exif_read_file()
3929 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_read_file()
3951 php_stream_close(ImageInfo->infile); in exif_read_file()