Lines Matching refs:infile

1507 	php_stream      *infile;  member
2924 fpos = php_stream_tell(ImageInfo->infile); in exif_process_IFD_TAG()
2925 php_stream_seek(ImageInfo->infile, displacement+offset_val, SEEK_SET); in exif_process_IFD_TAG()
2926 fgot = php_stream_tell(ImageInfo->infile); in exif_process_IFD_TAG()
2932 fgot = php_stream_read(ImageInfo->infile, value_ptr, byte_count); in exif_process_IFD_TAG()
2933 php_stream_seek(ImageInfo->infile, fpos, SEEK_SET); in exif_process_IFD_TAG()
3337 fpos = php_stream_tell(ImageInfo->infile); in exif_scan_JPEG_header()
3348 if ((marker = php_stream_getc(ImageInfo->infile)) == EOF) { in exif_scan_JPEG_header()
3367 fpos = php_stream_tell(ImageInfo->infile); in exif_scan_JPEG_header()
3376 if ((lh = php_stream_getc(ImageInfo->infile)) == (unsigned int)EOF) { in exif_scan_JPEG_header()
3380 if ((ll = php_stream_getc(ImageInfo->infile)) == (unsigned int)EOF) { 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()
3417 fpos = php_stream_tell(ImageInfo->infile); in exif_scan_JPEG_header()
3421 got = php_stream_read(ImageInfo->infile, (char*)Data, size); in exif_scan_JPEG_header()
3602 …php_stream_seek(ImageInfo->infile, dir_offset, SEEK_SET); /* we do not know the order of sections … in exif_process_IFD_in_TIFF()
3603 php_stream_read(ImageInfo->infile, (char*)ImageInfo->file.list[sn].data, 2); in exif_process_IFD_in_TIFF()
3613 php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2); in exif_process_IFD_in_TIFF()
3702 …php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_s… in exif_process_IFD_in_TIFF()
3753 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF()
3754 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
3790 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF()
3791 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
3830 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_scan_FILE_header()
3831 if (php_stream_read(ImageInfo->infile, (char*)file_header, 2) != 2) { in exif_scan_FILE_header()
3842 if (php_stream_read(ImageInfo->infile, (char*)(file_header+2), 6) != 6) { in exif_scan_FILE_header()
3933 ImageInfo->infile = php_stream_open_wrapper(FileName, "rb", STREAM_MUST_SEEK|IGNORE_PATH, NULL); in exif_read_file()
3934 if (!ImageInfo->infile) { in exif_read_file()
3939 if (php_stream_is(ImageInfo->infile, PHP_STREAM_IS_STDIO)) { in exif_read_file()
3943 php_stream_close(ImageInfo->infile); in exif_read_file()
3954 php_stream_seek(ImageInfo->infile, 0, SEEK_END); in exif_read_file()
3955 ImageInfo->FileSize = php_stream_tell(ImageInfo->infile); in exif_read_file()
3956 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_read_file()
3980 php_stream_close(ImageInfo->infile); in exif_read_file()