/external/qemu/distrib/libpng-1.2.19/ |
D | pngwio.c | 50 if ( !WriteFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) in png_default_write_data() 53 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr)); in png_default_write_data() 72 png_FILE_p io_ptr; in png_default_write_data() local 77 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr); in png_default_write_data() 81 if ( !WriteFile(io_ptr, near_data, length, &check, NULL) ) in png_default_write_data() 84 check = fwrite(near_data, 1, length, io_ptr); in png_default_write_data() 98 if ( !WriteFile(io_ptr, buf, written, &err, NULL) ) in png_default_write_data() 101 err = fwrite(buf, 1, written, io_ptr); in png_default_write_data() 135 png_FILE_p io_ptr; in png_default_flush() local 139 io_ptr = (png_FILE_p)CVT_PTR((png_ptr->io_ptr)); in png_default_flush() [all …]
|
D | pngrio.c | 54 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) in png_default_read_data() 58 (png_FILE_p)png_ptr->io_ptr); in png_default_read_data() 78 png_FILE_p io_ptr; in png_default_read_data() local 83 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr); in png_default_read_data() 87 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) in png_default_read_data() 90 check = fread(n_data, 1, length, io_ptr); in png_default_read_data() 103 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) ) in png_default_read_data() 106 err = fread(buf, (png_size_t)1, read, io_ptr); in png_default_read_data() 138 png_set_read_fn(png_structp png_ptr, png_voidp io_ptr, in png_set_read_fn() argument 142 png_ptr->io_ptr = io_ptr; in png_set_read_fn()
|
D | png.c | 625 return (png_ptr->io_ptr); in png_get_io_ptr() 641 png_ptr->io_ptr = (png_voidp)fp; in png_init_io()
|
D | png.h | 1129 png_voidp io_ptr; /* ptr to application struct for I/O functions */ member 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));
|
D | pngpread.c | 1583 return png_ptr->io_ptr; in png_get_progressive_ptr()
|
/external/libpng/ |
D | pngwio.c | 57 if ( !WriteFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) in png_default_write_data() 60 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr)); in png_default_write_data() 79 png_FILE_p io_ptr; in png_default_write_data() local 85 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr); in png_default_write_data() 89 if ( !WriteFile(io_ptr, near_data, length, &check, NULL) ) in png_default_write_data() 92 check = fwrite(near_data, 1, length, io_ptr); in png_default_write_data() 106 if ( !WriteFile(io_ptr, buf, written, &err, NULL) ) in png_default_write_data() 109 err = fwrite(buf, 1, written, io_ptr); in png_default_write_data() 146 png_FILE_p io_ptr; in png_default_flush() local 151 io_ptr = (png_FILE_p)CVT_PTR((png_ptr->io_ptr)); in png_default_flush() [all …]
|
D | pngrio.c | 76 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) in png_default_read_data() 80 (png_FILE_p)png_ptr->io_ptr); in png_default_read_data() 100 png_FILE_p io_ptr; in png_default_read_data() local 106 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr); in png_default_read_data() 110 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, in png_default_read_data() 114 check = fread(n_data, 1, length, io_ptr); in png_default_read_data() 127 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) ) in png_default_read_data() 130 err = fread(buf, (png_size_t)1, read, io_ptr); in png_default_read_data() 165 png_set_read_fn(png_structp png_ptr, png_voidp io_ptr, in png_set_read_fn() argument 170 png_ptr->io_ptr = io_ptr; in png_set_read_fn()
|
D | pngtest.c | 316 png_voidp io_ptr; in pngtest_read_data() local 321 io_ptr = png_get_io_ptr(png_ptr); in pngtest_read_data() 322 if (io_ptr != NULL) in pngtest_read_data() 324 READFILE((png_FILE_p)io_ptr, data, length, check); in pngtest_read_data() 346 png_FILE_p io_ptr; in pngtest_read_data() local 350 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr); in pngtest_read_data() 353 READFILE(io_ptr, n_data, length, check); in pngtest_read_data() 364 READFILE(io_ptr, buf, 1, err); in pngtest_read_data() 400 WRITEFILE((png_FILE_p)png_ptr->io_ptr, data, length, check); in pngtest_write_data() 420 png_FILE_p io_ptr; in pngtest_write_data() local [all …]
|
D | png.c | 642 return (png_ptr->io_ptr); in png_get_io_ptr() 661 png_ptr->io_ptr = (png_voidp)fp; in png_init_io()
|
D | png.h | 1304 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));
|
D | pngpread.c | 1772 return png_ptr->io_ptr; in png_get_progressive_ptr()
|
D | CHANGES | 2640 Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
|
D | libpng-1.2.44.txt | 2566 to using the default C stream functions, which expect the io_ptr to
|
D | libpng-1.2.46.txt | 2566 to using the default C stream functions, which expect the io_ptr to
|
/external/libpng/contrib/visupng/ |
D | PngFile.c | 409 (FILE *)png_ptr->io_ptr); in png_read_data() 422 check = fwrite(data, 1, length, (FILE *)(png_ptr->io_ptr)); in png_write_data() 432 FILE *io_ptr; in png_flush() local 433 io_ptr = (FILE *)CVT_PTR((png_ptr->io_ptr)); in png_flush() 434 if (io_ptr != NULL) in png_flush() 435 fflush(io_ptr); in png_flush()
|
/external/e2fsprogs/misc/ |
D | tune2fs.c | 163 io_manager io_ptr; in remove_journal_device() local 180 io_ptr = test_io_manager; in remove_journal_device() 184 io_ptr = unix_io_manager; in remove_journal_device() 187 fs->blocksize, io_ptr, &jfs); in remove_journal_device() 470 io_manager io_ptr; in add_journal() local 482 io_ptr = test_io_manager; in add_journal() 486 io_ptr = unix_io_manager; in add_journal() 489 fs->blocksize, io_ptr, &jfs); in add_journal() 1474 static int tune2fs_setup_tdb(const char *name, io_manager *io_ptr) in tune2fs_setup_tdb() argument 1523 set_undo_io_backing_manager(*io_ptr); in tune2fs_setup_tdb() [all …]
|
D | e2initrd_helper.c | 365 io_manager io_ptr; in main() local 374 io_ptr = test_io_manager; in main() 378 io_ptr = unix_io_manager; in main() 379 retval = ext2fs_open (device_name, open_flag, 0, 0, io_ptr, &fs); in main()
|
D | mke2fs.c | 1428 io_manager io_ptr; in PRS() local 1432 io_ptr = test_io_manager; in PRS() 1436 io_ptr = unix_io_manager; in PRS() 1439 0, io_ptr, &jfs); in PRS() 1873 static int mke2fs_setup_tdb(const char *name, io_manager *io_ptr) in mke2fs_setup_tdb() argument 1917 set_undo_io_backing_manager(*io_ptr); in mke2fs_setup_tdb() 1918 *io_ptr = undo_io_manager; in mke2fs_setup_tdb() 1983 io_manager io_ptr; in main() local 1997 io_ptr = test_io_manager; in main() 2001 io_ptr = unix_io_manager; in main() [all …]
|
D | e2image.c | 564 io_manager io_ptr; in install_image() local 574 io_ptr = test_io_manager; in install_image() 578 io_ptr = unix_io_manager; in install_image() 581 io_ptr, &fs); in install_image() 604 retval = io_ptr->open(device, IO_FLAG_RW, &io); in install_image()
|
/external/e2fsprogs/resize/ |
D | main.c | 164 io_manager io_ptr; in main() local 299 io_ptr = test_io_manager; in main() 303 io_ptr = unix_io_manager; in main() 308 0, 0, io_ptr, &fs); in main()
|
/external/e2fsprogs/e2fsck/ |
D | unix.c | 911 static errcode_t try_open_fs(e2fsck_t ctx, int flags, io_manager io_ptr, in try_open_fs() argument 920 io_ptr, ret_fs); in try_open_fs() 932 io_ptr, ret_fs); in try_open_fs() 938 flags, 0, 0, io_ptr, ret_fs); in try_open_fs() 951 io_manager io_ptr; in main() local 1017 io_ptr = test_io_manager; in main() 1021 io_ptr = unix_io_manager; in main() 1028 retval = try_open_fs(ctx, flags, io_ptr, &fs); in main() 1049 get_backup_sb(ctx, fs, ctx->filesystem_name, io_ptr); in main() 1053 retval = try_open_fs(ctx, flags, io_ptr, &fs); in main() [all …]
|
D | journal.c | 238 io_manager io_ptr = 0; in e2fsck_get_journal() local 334 io_ptr = inode_io_manager; in e2fsck_get_journal() 361 io_ptr = unix_io_manager; in e2fsck_get_journal() 365 test_io_backing_manager = io_ptr; in e2fsck_get_journal() 366 io_ptr = test_io_manager; in e2fsck_get_journal() 371 retval = io_ptr->open(journal_name, IO_FLAG_RW, in e2fsck_get_journal() 859 io_manager io_ptr = ctx->fs->io->manager; in e2fsck_run_ext3_journal() local 888 ctx->superblock, blocksize, io_ptr, in e2fsck_run_ext3_journal()
|
/external/webkit/Source/WebCore/platform/image-encoders/skia/ |
D | PNGImageEncoder.cpp | 47 static_cast<Vector<unsigned char>*>(png->io_ptr)->append(data, size); in writeOutput()
|
/external/skia/src/images/ |
D | SkImageDecoder_libpng.cpp | 93 SkStream* sk_stream = (SkStream*) png_ptr->io_ptr; in sk_read_fn() 101 SkStream* sk_stream = (SkStream*) png_ptr->io_ptr; in sk_seek_fn() 816 SkWStream* sk_stream = (SkWStream*)png_ptr->io_ptr; in sk_write_fn()
|