Searched refs:io_ptr (Results 1 - 7 of 7) sorted by relevance
/vbox/src/libs/libpng-1.2.8/ |
H A D | pngrio.c | 51 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) 55 (png_FILE_p)png_ptr->io_ptr); 75 png_FILE_p io_ptr; local 79 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr); 83 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) 86 check = fread(n_data, 1, length, io_ptr); 99 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) ) 102 err = fread(buf, (png_size_t)1, read, io_ptr); 125 io_ptr 134 png_set_read_fn(png_structp png_ptr, png_voidp io_ptr, png_rw_ptr read_data_fn) argument [all...] |
H A D | pngwio.c | 49 if ( !WriteFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) 52 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr)); 71 png_FILE_p io_ptr; local 75 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr); 79 if ( !WriteFile(io_ptr, near_data, length, &check, NULL) ) 82 check = fwrite(near_data, 1, length, io_ptr); 96 if ( !WriteFile(io_ptr, buf, written, &err, NULL) ) 99 err = fwrite(buf, 1, written, io_ptr); 133 png_FILE_p io_ptr; local 165 png_set_write_fn(png_structp png_ptr, png_voidp io_ptr, png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn) argument [all...] |
H A D | pngtest.c | 306 READFILE((png_FILE_p)png_ptr->io_ptr, data, length, check); 327 png_FILE_p io_ptr; local 331 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr); 334 READFILE(io_ptr, n_data, length, check); 345 READFILE(io_ptr, buf, 1, err); 368 png_FILE_p io_ptr; local 369 io_ptr = (png_FILE_p)CVT_PTR((png_ptr->io_ptr)); 370 if (io_ptr ! 406 png_FILE_p io_ptr; local [all...] |
H A D | png.c | 596 /* This function returns a pointer to the io_ptr associated with the user 603 return (png_ptr->io_ptr); 617 png_ptr->io_ptr = (png_voidp)fp;
|
H A D | png.h | 1083 png_voidp io_ptr; /* ptr to application struct for I/O functions */ member in struct:png_struct_def 1849 png_voidp io_ptr, png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn)); 1853 png_voidp io_ptr, png_rw_ptr read_data_fn));
|
H A D | pngpread.c | 1571 return png_ptr->io_ptr;
|
/vbox/src/libs/libpng-1.2.8/contrib/visupng/ |
H A D | PngFile.c | 406 (FILE *)png_ptr->io_ptr); 419 check = fwrite(data, 1, length, (FILE *)(png_ptr->io_ptr)); 429 FILE *io_ptr; local 430 io_ptr = (FILE *)CVT_PTR((png_ptr->io_ptr)); 431 if (io_ptr != NULL) 432 fflush(io_ptr);
|
Completed in 89 milliseconds