Lines Matching refs:infile

1507 	php_stream      *infile;  member
2905 fpos = php_stream_tell(ImageInfo->infile); in exif_process_IFD_TAG()
2906 php_stream_seek(ImageInfo->infile, displacement+offset_val, SEEK_SET); in exif_process_IFD_TAG()
2907 fgot = php_stream_tell(ImageInfo->infile); in exif_process_IFD_TAG()
2913 fgot = php_stream_read(ImageInfo->infile, value_ptr, byte_count); in exif_process_IFD_TAG()
2914 php_stream_seek(ImageInfo->infile, fpos, SEEK_SET); in exif_process_IFD_TAG()
3318 fpos = php_stream_tell(ImageInfo->infile); in exif_scan_JPEG_header()
3329 if ((marker = php_stream_getc(ImageInfo->infile)) == EOF) { in exif_scan_JPEG_header()
3348 fpos = php_stream_tell(ImageInfo->infile); in exif_scan_JPEG_header()
3357 if ((lh = php_stream_getc(ImageInfo->infile)) == EOF) { in exif_scan_JPEG_header()
3361 if ((ll = php_stream_getc(ImageInfo->infile)) == EOF) { 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()
3398 fpos = php_stream_tell(ImageInfo->infile); in exif_scan_JPEG_header()
3402 got = php_stream_read(ImageInfo->infile, (char*)Data, size); in exif_scan_JPEG_header()
3577 …php_stream_seek(ImageInfo->infile, dir_offset, SEEK_SET); /* we do not know the order of sections … in exif_process_IFD_in_TIFF()
3578 php_stream_read(ImageInfo->infile, (char*)ImageInfo->file.list[sn].data, 2); in exif_process_IFD_in_TIFF()
3588 php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2); in exif_process_IFD_in_TIFF()
3677 …php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_s… in exif_process_IFD_in_TIFF()
3728 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF()
3729 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
3765 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF()
3766 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
3805 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_scan_FILE_header()
3806 if (php_stream_read(ImageInfo->infile, (char*)file_header, 2) != 2) { in exif_scan_FILE_header()
3817 if (php_stream_read(ImageInfo->infile, (char*)(file_header+2), 6) != 6) { in exif_scan_FILE_header()
3908 ImageInfo->infile = php_stream_open_wrapper(FileName, "rb", STREAM_MUST_SEEK|IGNORE_PATH, NULL); in exif_read_file()
3909 if (!ImageInfo->infile) { in exif_read_file()
3914 if (php_stream_is(ImageInfo->infile, PHP_STREAM_IS_STDIO)) { in exif_read_file()
3918 php_stream_close(ImageInfo->infile); in exif_read_file()
3929 php_stream_seek(ImageInfo->infile, 0, SEEK_END); in exif_read_file()
3930 ImageInfo->FileSize = php_stream_tell(ImageInfo->infile); in exif_read_file()
3931 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_read_file()
3955 php_stream_close(ImageInfo->infile); in exif_read_file()