Lines Matching refs:infile

1513 	php_stream      *infile;  member
2916 fpos = php_stream_tell(ImageInfo->infile); in exif_process_IFD_TAG()
2917 php_stream_seek(ImageInfo->infile, displacement+offset_val, SEEK_SET); in exif_process_IFD_TAG()
2918 fgot = php_stream_tell(ImageInfo->infile); in exif_process_IFD_TAG()
2924 fgot = php_stream_read(ImageInfo->infile, value_ptr, byte_count); in exif_process_IFD_TAG()
2925 php_stream_seek(ImageInfo->infile, fpos, SEEK_SET); in exif_process_IFD_TAG()
3329 fpos = php_stream_tell(ImageInfo->infile); in exif_scan_JPEG_header()
3340 if ((marker = php_stream_getc(ImageInfo->infile)) == EOF) { in exif_scan_JPEG_header()
3359 fpos = php_stream_tell(ImageInfo->infile); in exif_scan_JPEG_header()
3368 if ((lh = php_stream_getc(ImageInfo->infile)) == EOF) { in exif_scan_JPEG_header()
3372 if ((ll = php_stream_getc(ImageInfo->infile)) == EOF) { 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()
3409 fpos = php_stream_tell(ImageInfo->infile); in exif_scan_JPEG_header()
3413 got = php_stream_read(ImageInfo->infile, (char*)Data, size); in exif_scan_JPEG_header()
3588 …php_stream_seek(ImageInfo->infile, dir_offset, SEEK_SET); /* we do not know the order of sections … in exif_process_IFD_in_TIFF()
3589 php_stream_read(ImageInfo->infile, (char*)ImageInfo->file.list[sn].data, 2); in exif_process_IFD_in_TIFF()
3599 php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2); in exif_process_IFD_in_TIFF()
3688 …php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_s… in exif_process_IFD_in_TIFF()
3739 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF()
3740 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
3776 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF()
3777 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
3816 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_scan_FILE_header()
3817 if (php_stream_read(ImageInfo->infile, (char*)file_header, 2) != 2) { in exif_scan_FILE_header()
3828 if (php_stream_read(ImageInfo->infile, (char*)(file_header+2), 6) != 6) { in exif_scan_FILE_header()
3918 ImageInfo->infile = php_stream_open_wrapper(FileName, "rb", STREAM_MUST_SEEK|IGNORE_PATH, NULL); in exif_read_file()
3919 if (!ImageInfo->infile) { in exif_read_file()
3924 if (php_stream_is(ImageInfo->infile, PHP_STREAM_IS_STDIO)) { in exif_read_file()
3928 php_stream_close(ImageInfo->infile); in exif_read_file()
3939 php_stream_seek(ImageInfo->infile, 0, SEEK_END); in exif_read_file()
3940 ImageInfo->FileSize = php_stream_tell(ImageInfo->infile); in exif_read_file()
3941 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_read_file()
3963 php_stream_close(ImageInfo->infile); in exif_read_file()