Searched refs:io_ptr (Results 1 - 22 of 22) sorted by relevance

/external/libpng/
H A Dpngrio.c76 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) )
80 (png_FILE_p)png_ptr->io_ptr);
100 png_FILE_p io_ptr; local
106 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr);
110 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check,
114 check = fread(n_data, 1, length, io_ptr);
127 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) )
130 err = fread(buf, (png_size_t)1, read, io_ptr);
153 * io_ptr
165 png_set_read_fn(png_structp png_ptr, png_voidp io_ptr, png_rw_ptr read_data_fn) argument
[all...]
H A Dpngwio.c57 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; local
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; local
188 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 Dpngtest.c316 png_voidp io_ptr; local
321 io_ptr = png_get_io_ptr(png_ptr);
322 if (io_ptr != NULL)
324 READFILE((png_FILE_p)io_ptr, data, length, check);
346 png_FILE_p io_ptr; local
350 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr);
353 READFILE(io_ptr, n_data, length, check);
364 READFILE(io_ptr, buf, 1, err);
400 WRITEFILE((png_FILE_p)png_ptr->io_ptr, dat
420 png_FILE_p io_ptr; local
[all...]
H A Dpng.c634 /* This function returns a pointer to the io_ptr associated with the user
643 return (png_ptr->io_ptr);
662 png_ptr->io_ptr = (png_voidp)fp;
H A DCHANGES2640 Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
H A Dpngpread.c1772 return png_ptr->io_ptr;
H A Dpng.h1304 png_voidp io_ptr PNG_DEPSTRUCT; /* ptr to application struct for I/O functions */
2125 png_voidp io_ptr, png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn));
2129 png_voidp io_ptr, png_rw_ptr read_data_fn));
/external/qemu/distrib/libpng-1.2.19/
H A Dpngrio.c54 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) )
58 (png_FILE_p)png_ptr->io_ptr);
78 png_FILE_p io_ptr; local
83 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr);
87 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) )
90 check = fread(n_data, 1, length, io_ptr);
103 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) )
106 err = fread(buf, (png_size_t)1, read, io_ptr);
129 io_ptr
138 png_set_read_fn(png_structp png_ptr, png_voidp io_ptr, png_rw_ptr read_data_fn) argument
[all...]
H A Dpngwio.c50 if ( !WriteFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) )
53 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr));
72 png_FILE_p io_ptr; local
77 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr);
81 if ( !WriteFile(io_ptr, near_data, length, &check, NULL) )
84 check = fwrite(near_data, 1, length, io_ptr);
98 if ( !WriteFile(io_ptr, buf, written, &err, NULL) )
101 err = fwrite(buf, 1, written, io_ptr);
135 png_FILE_p io_ptr; local
170 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 Dpng.c617 /* This function returns a pointer to the io_ptr associated with the user
625 return (png_ptr->io_ptr);
641 png_ptr->io_ptr = (png_voidp)fp;
H A Dpng.h1129 png_voidp io_ptr; /* ptr to application struct for I/O functions */ member in struct:png_struct_def
1916 png_voidp io_ptr, png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn));
1920 png_voidp io_ptr, png_rw_ptr read_data_fn));
H A Dpngpread.c1583 return png_ptr->io_ptr;
/external/libpng/contrib/visupng/
H A DPngFile.c409 (FILE *)png_ptr->io_ptr);
422 check = fwrite(data, 1, length, (FILE *)(png_ptr->io_ptr));
432 FILE *io_ptr; local
433 io_ptr = (FILE *)CVT_PTR((png_ptr->io_ptr));
434 if (io_ptr != NULL)
435 fflush(io_ptr);
/external/e2fsprogs/misc/
H A De2initrd_helper.c365 io_manager io_ptr; local
374 io_ptr = test_io_manager;
378 io_ptr = unix_io_manager;
379 retval = ext2fs_open (device_name, open_flag, 0, 0, io_ptr, &fs);
H A Dtune2fs.c163 io_manager io_ptr; local
180 io_ptr = test_io_manager;
184 io_ptr = unix_io_manager;
187 fs->blocksize, io_ptr, &jfs);
508 io_manager io_ptr; local
520 io_ptr = test_io_manager;
524 io_ptr = unix_io_manager;
527 fs->blocksize, io_ptr, &jfs);
1524 static int tune2fs_setup_tdb(const char *name, io_manager *io_ptr) argument
1573 set_undo_io_backing_manager(*io_ptr);
1589 io_manager io_ptr, io_ptr_orig = NULL; local
[all...]
H A De2image.c564 io_manager io_ptr; local
574 io_ptr = test_io_manager;
578 io_ptr = unix_io_manager;
581 io_ptr, &fs);
604 retval = io_ptr->open(device, IO_FLAG_RW, &io);
H A Dmke2fs.c1477 io_manager io_ptr; local
1481 io_ptr = test_io_manager;
1485 io_ptr = unix_io_manager;
1488 0, io_ptr, &jfs);
1953 static int mke2fs_setup_tdb(const char *name, io_manager *io_ptr) argument
1997 set_undo_io_backing_manager(*io_ptr);
1998 *io_ptr = undo_io_manager;
2086 io_manager io_ptr; local
2101 io_ptr = test_io_manager;
2105 io_ptr
[all...]
/external/e2fsprogs/resize/
H A Dmain.c164 io_manager io_ptr; local
299 io_ptr = test_io_manager;
303 io_ptr = unix_io_manager;
308 0, 0, io_ptr, &fs);
/external/webkit/Source/WebCore/platform/image-encoders/skia/
H A DPNGImageEncoder.cpp47 static_cast<Vector<unsigned char>*>(png->io_ptr)->append(data, size);
/external/e2fsprogs/e2fsck/
H A Dunix.c935 static errcode_t try_open_fs(e2fsck_t ctx, int flags, io_manager io_ptr, argument
944 io_ptr, ret_fs);
956 io_ptr, ret_fs);
962 flags, 0, 0, io_ptr, ret_fs);
975 io_manager io_ptr; local
1041 io_ptr = test_io_manager;
1045 io_ptr = unix_io_manager;
1052 retval = try_open_fs(ctx, flags, io_ptr, &fs);
1073 get_backup_sb(ctx, fs, ctx->filesystem_name, io_ptr);
1077 retval = try_open_fs(ctx, flags, io_ptr,
[all...]
H A Djournal.c238 io_manager io_ptr = 0; local
334 io_ptr = inode_io_manager;
361 io_ptr = unix_io_manager;
365 test_io_backing_manager = io_ptr;
366 io_ptr = test_io_manager;
371 retval = io_ptr->open(journal_name,
860 io_manager io_ptr = ctx->fs->io->manager; local
889 ctx->superblock, blocksize, io_ptr,
/external/skia/src/images/
H A DSkImageDecoder_libpng.cpp93 SkStream* sk_stream = (SkStream*) png_ptr->io_ptr;
101 SkStream* sk_stream = (SkStream*) png_ptr->io_ptr;
816 SkWStream* sk_stream = (SkWStream*)png_ptr->io_ptr;

Completed in 436 milliseconds