Home
last modified time | relevance | path

Searched refs:io_ptr (Results 1 – 24 of 24) sorted by relevance

/external/qemu/distrib/libpng-1.2.19/
Dpngwio.c50 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 …]
Dpngrio.c54 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()
Dpng.c625 return (png_ptr->io_ptr); in png_get_io_ptr()
641 png_ptr->io_ptr = (png_voidp)fp; in png_init_io()
Dpng.h1129 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));
Dpngpread.c1583 return png_ptr->io_ptr; in png_get_progressive_ptr()
/external/libpng/
Dpngwio.c57 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 …]
Dpngrio.c76 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()
Dpngtest.c316 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 …]
Dpng.c642 return (png_ptr->io_ptr); in png_get_io_ptr()
661 png_ptr->io_ptr = (png_voidp)fp; in png_init_io()
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));
Dpngpread.c1772 return png_ptr->io_ptr; in png_get_progressive_ptr()
DCHANGES2640 Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
Dlibpng-1.2.44.txt2566 to using the default C stream functions, which expect the io_ptr to
Dlibpng-1.2.46.txt2566 to using the default C stream functions, which expect the io_ptr to
/external/libpng/contrib/visupng/
DPngFile.c409 (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/
Dtune2fs.c163 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 …]
De2initrd_helper.c365 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()
Dmke2fs.c1428 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 …]
De2image.c564 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/
Dmain.c164 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/
Dunix.c911 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 …]
Djournal.c238 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/
DPNGImageEncoder.cpp47 static_cast<Vector<unsigned char>*>(png->io_ptr)->append(data, size); in writeOutput()
/external/skia/src/images/
DSkImageDecoder_libpng.cpp93 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()