Lines Matching refs:io_ptr
57 if ( !WriteFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) )
60 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr));
79 png_FILE_p io_ptr;
85 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr);
89 if ( !WriteFile(io_ptr, near_data, length, &check, NULL) )
92 check = fwrite(near_data, 1, length, io_ptr);
106 if ( !WriteFile(io_ptr, buf, written, &err, NULL) )
109 err = fwrite(buf, 1, written, io_ptr);
146 png_FILE_p io_ptr;
151 io_ptr = (png_FILE_p)CVT_PTR((png_ptr->io_ptr));
152 fflush(io_ptr);
163 * io_ptr - pointer to user supplied structure containing info about
184 * a good idea if io_ptr does not point to a standard
188 png_set_write_fn(png_structp png_ptr, png_voidp io_ptr,
194 png_ptr->io_ptr = io_ptr;