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
Dpngread.c1484 image->opaque->png_ptr->io_ptr = file; in png_image_begin_read_from_stdio()
1514 image->opaque->png_ptr->io_ptr = fp; in png_image_begin_read_from_file()
1545 png_imagep image = png_voidcast(png_imagep, png_ptr->io_ptr); in png_image_memory_read()
1585 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()
4539 FILE *fp = png_voidcast(FILE*, cp->png_ptr->io_ptr);
4545 cp->png_ptr->io_ptr = NULL;
/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
Dpng.c691 return (png_ptr->io_ptr); in png_get_io_ptr()
710 png_ptr->io_ptr = (png_voidp)fp; in png_init_io()
4538 FILE *fp = png_voidcast(FILE*, cp->png_ptr->io_ptr);
4544 cp->png_ptr->io_ptr = NULL;
Dpngread.c1484 image->opaque->png_ptr->io_ptr = file; in png_image_begin_read_from_stdio()
1514 image->opaque->png_ptr->io_ptr = fp; in png_image_begin_read_from_file()
1545 png_imagep image = png_voidcast(png_imagep, png_ptr->io_ptr); in png_image_memory_read()
1585 image->opaque->png_ptr->io_ptr = image; in png_image_begin_read_from_memory()
/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.c420 check = fread(data, 1, length, (FILE *)png_ptr->io_ptr);
433 check = fwrite(data, 1, length, (FILE *)(png_ptr->io_ptr));
443 FILE *io_ptr; local
444 io_ptr = (FILE *)CVT_PTR((png_ptr->io_ptr));
445 if (io_ptr != NULL)
446 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.c258 io_manager io_ptr; in remove_journal_device() local
275 io_ptr = test_io_manager; in remove_journal_device()
279 io_ptr = unix_io_manager; in remove_journal_device()
282 fs->blocksize, io_ptr, &jfs); in remove_journal_device()
1491 io_manager io_ptr; in add_journal() local
1504 io_ptr = test_io_manager; in add_journal()
1508 io_ptr = unix_io_manager; in add_journal()
1511 fs->blocksize, io_ptr, &jfs); in add_journal()
2765 static int tune2fs_setup_tdb(const char *name, io_manager *io_ptr) in tune2fs_setup_tdb() argument
2774 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.c1901 io_manager io_ptr; in PRS() local
1905 io_ptr = test_io_manager; in PRS()
1909 io_ptr = unix_io_manager; in PRS()
1912 0, io_ptr, &jfs); in PRS()
2672 static int mke2fs_setup_tdb(const char *name, io_manager *io_ptr) in mke2fs_setup_tdb() argument
2681 retval = set_undo_io_backing_manager(*io_ptr); in mke2fs_setup_tdb()
2684 *io_ptr = undo_io_manager; in mke2fs_setup_tdb()
2732 retval = set_undo_io_backing_manager(*io_ptr); in mke2fs_setup_tdb()
2735 *io_ptr = undo_io_manager; in mke2fs_setup_tdb()
2919 io_manager io_ptr; in main() local
[all …]
De2image.c1410 io_manager io_ptr; in install_image() local
1421 io_ptr = test_io_manager; in install_image()
1425 io_ptr = unix_io_manager; in install_image()
1428 io_ptr, &fs); in install_image()
1447 retval = io_ptr->open(device, IO_FLAG_RW, &io); in install_image()
/external/e2fsprogs/e2fsck/
Dunix.c1156 static errcode_t try_open_fs(e2fsck_t ctx, int flags, io_manager io_ptr, in try_open_fs() argument
1165 io_ptr, ret_fs); in try_open_fs()
1177 io_ptr, ret_fs); in try_open_fs()
1183 flags, 0, 0, io_ptr, ret_fs); in try_open_fs()
1286 static int e2fsck_setup_tdb(e2fsck_t ctx, io_manager *io_ptr) in e2fsck_setup_tdb() argument
1295 retval = set_undo_io_backing_manager(*io_ptr); in e2fsck_setup_tdb()
1298 *io_ptr = undo_io_manager; in e2fsck_setup_tdb()
1347 retval = set_undo_io_backing_manager(*io_ptr); in e2fsck_setup_tdb()
1350 *io_ptr = undo_io_manager; in e2fsck_setup_tdb()
1378 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.c1142 LLVMValueRef io_ptr, in store_aos() argument
1148 LLVMValueRef data_ptr = draw_jit_header_data(gallivm, io_ptr); in store_aos()
1159 … lp_build_printf(gallivm, " ---- %p storing attribute %d (io = %p)\n", data_ptr, index, io_ptr); in store_aos()
1221 LLVMValueRef io_ptr, in store_aos_array() argument
1246 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_aos_array()
1367 LLVMValueRef io_ptr, in store_clip() argument
1388 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_clip()
1800 LLVMValueRef io = variant->io_ptr; in draw_gs_llvm_emit_vertex()
1906 LLVMValueRef io_ptr, vbuffers_ptr, vb_ptr; in draw_llvm_generate() local
1976 io_ptr = LLVMGetParam(variant_func, 1); in draw_llvm_generate()
[all …]
Ddraw_llvm.h678 LLVMValueRef io_ptr; member
703 LLVMValueRef io_ptr; member
729 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