Home
last modified time | relevance | path

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

12

/external/syslinux/com32/lib/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.c61 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) ) in png_default_read_data()
65 (png_FILE_p)png_ptr->io_ptr); in png_default_read_data()
85 png_FILE_p io_ptr; in png_default_read_data() local
91 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr); in png_default_read_data()
95 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, in png_default_read_data()
99 check = fread(n_data, 1, length, io_ptr); in png_default_read_data()
112 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) ) in png_default_read_data()
115 err = fread(buf, (png_size_t)1, read, io_ptr); in png_default_read_data()
150 png_set_read_fn(png_structp png_ptr, png_voidp io_ptr, in png_set_read_fn() argument
155 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 …]
/external/skia/third_party/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.c400 png_voidp io_ptr; in pngtest_read_data() local
405 io_ptr = png_get_io_ptr(png_ptr); in pngtest_read_data()
406 if (io_ptr != NULL) in pngtest_read_data()
408 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
/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.c400 png_voidp io_ptr; in pngtest_read_data() local
405 io_ptr = png_get_io_ptr(png_ptr); in pngtest_read_data()
406 if (io_ptr != NULL) in pngtest_read_data()
408 check = fread(data, 1, length, (png_FILE_p)io_ptr); in pngtest_read_data()
/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
/external/e2fsprogs/resize/
Dmain.c171 io_manager *io_ptr) in resize2fs_setup_tdb() argument
180 retval = set_undo_io_backing_manager(*io_ptr); in resize2fs_setup_tdb()
183 *io_ptr = undo_io_manager; in resize2fs_setup_tdb()
225 retval = set_undo_io_backing_manager(*io_ptr); in resize2fs_setup_tdb()
228 *io_ptr = undo_io_manager; in resize2fs_setup_tdb()
261 io_manager io_ptr; in main() local
395 io_ptr = test_io_manager; in main()
399 io_ptr = unix_io_manager; in main()
406 retval = resize2fs_setup_tdb(device_name, undo_file, &io_ptr); in main()
411 0, 0, io_ptr, &fs); in main()
/external/libpng/contrib/visupng/
DPngFile.c417 (FILE *)png_ptr->io_ptr); in png_read_data()
430 check = fwrite(data, 1, length, (FILE *)(png_ptr->io_ptr)); in png_write_data()
440 FILE *io_ptr; in png_flush() local
441 io_ptr = (FILE *)CVT_PTR((png_ptr->io_ptr)); in png_flush()
442 if (io_ptr != NULL) in png_flush()
443 fflush(io_ptr); in png_flush()
/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.c249 io_manager io_ptr; in remove_journal_device() local
266 io_ptr = test_io_manager; in remove_journal_device()
270 io_ptr = unix_io_manager; in remove_journal_device()
273 fs->blocksize, io_ptr, &jfs); in remove_journal_device()
1405 io_manager io_ptr; in add_journal() local
1418 io_ptr = test_io_manager; in add_journal()
1422 io_ptr = unix_io_manager; in add_journal()
1425 fs->blocksize, io_ptr, &jfs); in add_journal()
2594 static int tune2fs_setup_tdb(const char *name, io_manager *io_ptr) in tune2fs_setup_tdb() argument
2603 retval = set_undo_io_backing_manager(*io_ptr); in tune2fs_setup_tdb()
[all …]
De2undo.c214 static int e2undo_setup_tdb(const char *name, io_manager *io_ptr) in e2undo_setup_tdb() argument
223 retval = set_undo_io_backing_manager(*io_ptr); in e2undo_setup_tdb()
226 *io_ptr = undo_io_manager; in e2undo_setup_tdb()
268 retval = set_undo_io_backing_manager(*io_ptr); in e2undo_setup_tdb()
271 *io_ptr = undo_io_manager; in e2undo_setup_tdb()
Dmke2fs.c1831 io_manager io_ptr; in PRS() local
1835 io_ptr = test_io_manager; in PRS()
1839 io_ptr = unix_io_manager; in PRS()
1842 0, io_ptr, &jfs); in PRS()
2530 static int mke2fs_setup_tdb(const char *name, io_manager *io_ptr) in mke2fs_setup_tdb() argument
2539 retval = set_undo_io_backing_manager(*io_ptr); in mke2fs_setup_tdb()
2542 *io_ptr = undo_io_manager; in mke2fs_setup_tdb()
2590 retval = set_undo_io_backing_manager(*io_ptr); in mke2fs_setup_tdb()
2593 *io_ptr = undo_io_manager; in mke2fs_setup_tdb()
2771 io_manager io_ptr; in main() local
[all …]
De2image.c1380 io_manager io_ptr; in install_image() local
1391 io_ptr = test_io_manager; in install_image()
1395 io_ptr = unix_io_manager; in install_image()
1398 io_ptr, &fs); in install_image()
1417 retval = io_ptr->open(device, IO_FLAG_RW, &io); in install_image()
/external/e2fsprogs/e2fsck/
Dunix.c1107 static errcode_t try_open_fs(e2fsck_t ctx, int flags, io_manager io_ptr, in try_open_fs() argument
1116 io_ptr, ret_fs); in try_open_fs()
1128 io_ptr, ret_fs); in try_open_fs()
1134 flags, 0, 0, io_ptr, ret_fs); in try_open_fs()
1236 static int e2fsck_setup_tdb(e2fsck_t ctx, io_manager *io_ptr) in e2fsck_setup_tdb() argument
1245 retval = set_undo_io_backing_manager(*io_ptr); in e2fsck_setup_tdb()
1248 *io_ptr = undo_io_manager; in e2fsck_setup_tdb()
1297 retval = set_undo_io_backing_manager(*io_ptr); in e2fsck_setup_tdb()
1300 *io_ptr = undo_io_manager; in e2fsck_setup_tdb()
1328 io_manager io_ptr; in main() local
[all …]
Djournal.c290 io_manager io_ptr = 0; in e2fsck_get_journal() local
388 io_ptr = inode_io_manager; in e2fsck_get_journal()
415 io_ptr = unix_io_manager; in e2fsck_get_journal()
419 test_io_backing_manager = io_ptr; in e2fsck_get_journal()
420 io_ptr = test_io_manager; in e2fsck_get_journal()
435 retval = io_ptr->open(journal_name, flags, in e2fsck_get_journal()
963 io_manager io_ptr = ctx->fs->io->manager; in e2fsck_run_ext3_journal() local
994 ctx->superblock, blocksize, io_ptr, in e2fsck_run_ext3_journal()
/external/e2fsprogs/debugfs/
Djournal.c295 io_manager io_ptr = 0; in ext2fs_get_journal() local
382 io_ptr = inode_io_manager; in ext2fs_get_journal()
412 io_ptr = unix_io_manager; in ext2fs_get_journal()
416 test_io_backing_manager = io_ptr; in ext2fs_get_journal()
417 io_ptr = test_io_manager; in ext2fs_get_journal()
423 retval = io_ptr->open(journal_name, fs->flags & EXT2_FLAG_RW, in ext2fs_get_journal()
767 io_manager io_ptr = fs->io->manager; in ext2fs_run_ext3_journal() local
799 0, fsblocksize, io_ptr, in ext2fs_run_ext3_journal()
Ddebugfs.c57 io_manager *io_ptr) in debugfs_setup_tdb() argument
65 retval = set_undo_io_backing_manager(*io_ptr); in debugfs_setup_tdb()
68 *io_ptr = undo_io_manager; in debugfs_setup_tdb()
110 retval = set_undo_io_backing_manager(*io_ptr); in debugfs_setup_tdb()
113 *io_ptr = undo_io_manager; in debugfs_setup_tdb()
136 io_manager io_ptr = unix_io_manager; in open_filesystem() local
168 retval = debugfs_setup_tdb(device, undo_file, &io_ptr); in open_filesystem()
174 io_ptr, &current_fs); in open_filesystem()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c580 LLVMValueRef io_ptr, in store_aos() argument
586 LLVMValueRef data_ptr = draw_jit_header_data(gallivm, io_ptr); in store_aos()
594 … lp_build_printf(gallivm, " ---- %p storing attribute %d (io = %p)\n", data_ptr, index, io_ptr); in store_aos()
608 LLVMValueRef io_ptr, in store_aos_array() argument
626 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_aos_array()
734 LLVMValueRef io_ptr, in store_clip() argument
752 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, ""); in store_clip()
1074 LLVMValueRef io_ptr, vbuffers_ptr, vb_ptr; in draw_llvm_generate() local
1129 io_ptr = LLVMGetParam(variant_func, 1); in draw_llvm_generate()
1136 lp_build_name(io_ptr, "io"); in draw_llvm_generate()
[all …]

12