Home
last modified time | relevance | path

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

12

/external/pdfium/third_party/libpng16/
Dpngwio.c58 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr)); in png_default_write_data()
81 png_FILE_p io_ptr; in png_default_flush() local
86 io_ptr = png_voidcast(png_FILE_p, (png_ptr->io_ptr)); in png_default_flush()
87 fflush(io_ptr); in png_default_flush()
122 png_set_write_fn(png_structrp png_ptr, png_voidp io_ptr, in png_set_write_fn() argument
128 png_ptr->io_ptr = io_ptr; in png_set_write_fn()
Dpngrio.c60 check = fread(data, 1, length, png_voidcast(png_FILE_p, png_ptr->io_ptr)); in png_default_read_data()
87 png_set_read_fn(png_structrp png_ptr, png_voidp io_ptr, in png_set_read_fn() argument
93 png_ptr->io_ptr = io_ptr; in png_set_read_fn()
Dpngstruct.h158 png_voidp io_ptr; /* ptr to application struct for I/O functions */ member
Dpng.c650 return (png_ptr->io_ptr); in png_get_io_ptr()
669 png_ptr->io_ptr = (png_voidp)fp; in png_init_io()
4464 FILE *fp = png_voidcast(FILE*, cp->png_ptr->io_ptr);
4470 cp->png_ptr->io_ptr = NULL;
Dpngread.c1466 image->opaque->png_ptr->io_ptr = file; in png_image_begin_read_from_stdio()
1496 image->opaque->png_ptr->io_ptr = fp; in png_image_begin_read_from_file()
1527 png_imagep image = png_voidcast(png_imagep, png_ptr->io_ptr); in png_image_memory_read()
1567 image->opaque->png_ptr->io_ptr = image; in png_image_begin_read_from_memory()
/external/libpng/
Dpngwio.c58 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr)); in png_default_write_data()
81 png_FILE_p io_ptr; in png_default_flush() local
86 io_ptr = png_voidcast(png_FILE_p, (png_ptr->io_ptr)); in png_default_flush()
87 fflush(io_ptr); in png_default_flush()
122 png_set_write_fn(png_structrp png_ptr, png_voidp io_ptr, in png_set_write_fn() argument
128 png_ptr->io_ptr = io_ptr; in png_set_write_fn()
Dpngrio.c60 check = fread(data, 1, length, png_voidcast(png_FILE_p, png_ptr->io_ptr)); in png_default_read_data()
87 png_set_read_fn(png_structrp png_ptr, png_voidp io_ptr, in png_set_read_fn() argument
93 png_ptr->io_ptr = io_ptr; in png_set_read_fn()
Dpngtest.c392 png_voidp io_ptr; in pngtest_read_data() local
397 io_ptr = png_get_io_ptr(png_ptr); in pngtest_read_data()
398 if (io_ptr != NULL) in pngtest_read_data()
400 check = fread(data, 1, length, (png_FILE_p)io_ptr); in pngtest_read_data()
Dpngstruct.h158 png_voidp io_ptr; /* ptr to application struct for I/O functions */ member
Dpngread.c1478 image->opaque->png_ptr->io_ptr = file; in png_image_begin_read_from_stdio()
1508 image->opaque->png_ptr->io_ptr = fp; in png_image_begin_read_from_file()
1539 png_imagep image = png_voidcast(png_imagep, png_ptr->io_ptr); in png_image_memory_read()
1579 image->opaque->png_ptr->io_ptr = image; in png_image_begin_read_from_memory()
Dpng.c691 return (png_ptr->io_ptr); in png_get_io_ptr()
710 png_ptr->io_ptr = (png_voidp)fp; in png_init_io()
4544 FILE *fp = png_voidcast(FILE*, cp->png_ptr->io_ptr);
4550 cp->png_ptr->io_ptr = NULL;
/external/e2fsprogs/resize/
Dmain.c172 io_manager *io_ptr) in resize2fs_setup_tdb() argument
181 retval = set_undo_io_backing_manager(*io_ptr); in resize2fs_setup_tdb()
184 *io_ptr = undo_io_manager; in resize2fs_setup_tdb()
226 retval = set_undo_io_backing_manager(*io_ptr); in resize2fs_setup_tdb()
229 *io_ptr = undo_io_manager; in resize2fs_setup_tdb()
262 io_manager io_ptr; in main() local
396 io_ptr = test_io_manager; in main()
400 io_ptr = unix_io_manager; in main()
407 retval = resize2fs_setup_tdb(device_name, undo_file, &io_ptr); in main()
412 0, 0, io_ptr, &fs); in main()
/external/libpng/contrib/visupng/
DPngFile.c421 (FILE *)png_ptr->io_ptr);
434 check = fwrite(data, 1, length, (FILE *)(png_ptr->io_ptr));
444 FILE *io_ptr; local
445 io_ptr = (FILE *)CVT_PTR((png_ptr->io_ptr));
446 if (io_ptr != NULL)
447 fflush(io_ptr);
/external/e2fsprogs/misc/
De2initrd_helper.c374 io_manager io_ptr; in main() local
383 io_ptr = test_io_manager; in main()
387 io_ptr = unix_io_manager; in main()
388 retval = ext2fs_open (device_name, open_flag, 0, 0, io_ptr, &fs); in main()
Dtune2fs.c254 io_manager io_ptr; in remove_journal_device() local
271 io_ptr = test_io_manager; in remove_journal_device()
275 io_ptr = unix_io_manager; in remove_journal_device()
278 fs->blocksize, io_ptr, &jfs); in remove_journal_device()
1534 io_manager io_ptr; in add_journal() local
1547 io_ptr = test_io_manager; in add_journal()
1551 io_ptr = unix_io_manager; in add_journal()
1554 fs->blocksize, io_ptr, &jfs); in add_journal()
2749 static int tune2fs_setup_tdb(const char *name, io_manager *io_ptr) in tune2fs_setup_tdb() argument
2758 retval = set_undo_io_backing_manager(*io_ptr); in tune2fs_setup_tdb()
[all …]
De2undo.c220 static int e2undo_setup_tdb(const char *name, io_manager *io_ptr) in e2undo_setup_tdb() argument
229 retval = set_undo_io_backing_manager(*io_ptr); in e2undo_setup_tdb()
232 *io_ptr = undo_io_manager; in e2undo_setup_tdb()
274 retval = set_undo_io_backing_manager(*io_ptr); in e2undo_setup_tdb()
277 *io_ptr = undo_io_manager; in e2undo_setup_tdb()
Dmke2fs.c1856 io_manager io_ptr; in PRS() local
1860 io_ptr = test_io_manager; in PRS()
1864 io_ptr = unix_io_manager; in PRS()
1867 0, io_ptr, &jfs); in PRS()
2597 static int mke2fs_setup_tdb(const char *name, io_manager *io_ptr) in mke2fs_setup_tdb() argument
2606 retval = set_undo_io_backing_manager(*io_ptr); in mke2fs_setup_tdb()
2609 *io_ptr = undo_io_manager; in mke2fs_setup_tdb()
2657 retval = set_undo_io_backing_manager(*io_ptr); in mke2fs_setup_tdb()
2660 *io_ptr = undo_io_manager; in mke2fs_setup_tdb()
2838 io_manager io_ptr; in main() local
[all …]
De2image.c1392 io_manager io_ptr; in install_image() local
1403 io_ptr = test_io_manager; in install_image()
1407 io_ptr = unix_io_manager; in install_image()
1410 io_ptr, &fs); in install_image()
1429 retval = io_ptr->open(device, IO_FLAG_RW, &io); in install_image()
/external/e2fsprogs/e2fsck/
Dunix.c1149 static errcode_t try_open_fs(e2fsck_t ctx, int flags, io_manager io_ptr, in try_open_fs() argument
1158 io_ptr, ret_fs); in try_open_fs()
1170 io_ptr, ret_fs); in try_open_fs()
1176 flags, 0, 0, io_ptr, ret_fs); in try_open_fs()
1279 static int e2fsck_setup_tdb(e2fsck_t ctx, io_manager *io_ptr) in e2fsck_setup_tdb() argument
1288 retval = set_undo_io_backing_manager(*io_ptr); in e2fsck_setup_tdb()
1291 *io_ptr = undo_io_manager; in e2fsck_setup_tdb()
1340 retval = set_undo_io_backing_manager(*io_ptr); in e2fsck_setup_tdb()
1343 *io_ptr = undo_io_manager; in e2fsck_setup_tdb()
1371 io_manager io_ptr; in main() local
[all …]
Djournal.c290 io_manager io_ptr = 0; in e2fsck_get_journal() local
389 io_ptr = inode_io_manager; in e2fsck_get_journal()
418 io_ptr = unix_io_manager; in e2fsck_get_journal()
422 test_io_backing_manager = io_ptr; in e2fsck_get_journal()
423 io_ptr = test_io_manager; in e2fsck_get_journal()
438 retval = io_ptr->open(journal_name, flags, in e2fsck_get_journal()
966 io_manager io_ptr = ctx->fs->io->manager; in e2fsck_run_ext3_journal() local
997 ctx->superblock, blocksize, io_ptr, in e2fsck_run_ext3_journal()
/external/e2fsprogs/debugfs/
Djournal.c301 io_manager io_ptr = 0; in ext2fs_get_journal() local
388 io_ptr = inode_io_manager; in ext2fs_get_journal()
418 io_ptr = unix_io_manager; in ext2fs_get_journal()
422 test_io_backing_manager = io_ptr; in ext2fs_get_journal()
423 io_ptr = test_io_manager; in ext2fs_get_journal()
429 retval = io_ptr->open(journal_name, fs->flags & EXT2_FLAG_RW, in ext2fs_get_journal()
775 io_manager io_ptr = fs->io->manager; in ext2fs_run_ext3_journal() local
808 retval = ext2fs_open(fsname, fsflags, 0, fsblocksize, io_ptr, fsp); in ext2fs_run_ext3_journal()
Ddebugfs.c61 io_manager *io_ptr) in debugfs_setup_tdb() argument
70 retval = set_undo_io_backing_manager(*io_ptr); in debugfs_setup_tdb()
73 *io_ptr = undo_io_manager; in debugfs_setup_tdb()
115 retval = set_undo_io_backing_manager(*io_ptr); in debugfs_setup_tdb()
118 *io_ptr = undo_io_manager; in debugfs_setup_tdb()
141 io_manager io_ptr = unix_io_manager; in open_filesystem() local
168 retval = debugfs_setup_tdb(device, undo_file, &io_ptr); in open_filesystem()
175 io_ptr, &current_fs); in open_filesystem()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c793 LLVMValueRef io_ptr, in store_aos() argument
799 LLVMValueRef data_ptr = draw_jit_header_data(gallivm, io_ptr); in store_aos()
810 … lp_build_printf(gallivm, " ---- %p storing attribute %d (io = %p)\n", data_ptr, index, io_ptr); in store_aos()
872 LLVMValueRef io_ptr, in store_aos_array() argument
897 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_aos_array()
1018 LLVMValueRef io_ptr, in store_clip() argument
1039 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_clip()
1450 LLVMValueRef io = variant->io_ptr; in draw_gs_llvm_emit_vertex()
1538 LLVMValueRef io_ptr, vbuffers_ptr, vb_ptr; in draw_llvm_generate() local
1605 io_ptr = LLVMGetParam(variant_func, 1); in draw_llvm_generate()
[all …]
Ddraw_llvm.h406 LLVMValueRef io_ptr; member
/external/honggfuzz/examples/libpng/
Dpersistent-png.c52 user_file_t* f = (user_file_t*)png_ptr->io_ptr; in png_user_read_data()

12