Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/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()
Dpng.c642 return (png_ptr->io_ptr); in png_get_io_ptr()
661 png_ptr->io_ptr = (png_voidp)fp; in png_init_io()
/external/qemu/distrib/libpng-1.2.46/
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()
Dpng.c643 return (png_ptr->io_ptr); in png_get_io_ptr()
662 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));
/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.c74 check = fread(data, 1, length, png_voidcast(png_FILE_p, png_ptr->io_ptr)); in png_default_read_data()
101 png_set_read_fn(png_structrp png_ptr, png_voidp io_ptr, in png_set_read_fn() argument
107 png_ptr->io_ptr = io_ptr; in png_set_read_fn()
Dpngtest.c371 png_voidp io_ptr; in pngtest_read_data() local
376 io_ptr = png_get_io_ptr(png_ptr); in pngtest_read_data()
377 if (io_ptr != NULL) in pngtest_read_data()
379 check = fread(data, 1, length, (png_FILE_p)io_ptr); in pngtest_read_data()
Dpngstruct.h206 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()
4338 FILE *fp = png_voidcast(FILE*, cp->png_ptr->io_ptr);
4344 cp->png_ptr->io_ptr = NULL;
Dpngread.c1608 image->opaque->png_ptr->io_ptr = file; in png_image_begin_read_from_stdio()
1638 image->opaque->png_ptr->io_ptr = fp; in png_image_begin_read_from_file()
1669 png_imagep image = png_voidcast(png_imagep, png_ptr->io_ptr); in png_image_memory_read()
1709 image->opaque->png_ptr->io_ptr = image; in png_image_begin_read_from_memory()
Dpng.h1736 PNG_EXPORT(77, void, png_set_write_fn, (png_structrp png_ptr, png_voidp io_ptr,
1740 PNG_EXPORT(78, void, png_set_read_fn, (png_structrp png_ptr, png_voidp io_ptr,
Dpngpread.c1290 return png_ptr->io_ptr; in png_get_progressive_ptr()
/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/
Dtune2fs.c188 io_manager io_ptr; in remove_journal_device() local
205 io_ptr = test_io_manager; in remove_journal_device()
209 io_ptr = unix_io_manager; in remove_journal_device()
212 fs->blocksize, io_ptr, &jfs); in remove_journal_device()
652 io_manager io_ptr; in add_journal() local
664 io_ptr = test_io_manager; in add_journal()
668 io_ptr = unix_io_manager; in add_journal()
671 fs->blocksize, io_ptr, &jfs); in add_journal()
1820 static int tune2fs_setup_tdb(const char *name, io_manager *io_ptr) in tune2fs_setup_tdb() argument
1869 set_undo_io_backing_manager(*io_ptr); in tune2fs_setup_tdb()
[all …]
De2initrd_helper.c373 io_manager io_ptr; in main() local
382 io_ptr = test_io_manager; in main()
386 io_ptr = unix_io_manager; in main()
387 retval = ext2fs_open (device_name, open_flag, 0, 0, io_ptr, &fs); in main()
Dmke2fs.c1619 io_manager io_ptr; in PRS() local
1623 io_ptr = test_io_manager; in PRS()
1627 io_ptr = unix_io_manager; in PRS()
1630 0, io_ptr, &jfs); in PRS()
2206 static int mke2fs_setup_tdb(const char *name, io_manager *io_ptr) in mke2fs_setup_tdb() argument
2251 set_undo_io_backing_manager(*io_ptr); in mke2fs_setup_tdb()
2252 *io_ptr = undo_io_manager; in mke2fs_setup_tdb()
2373 io_manager io_ptr; in main() local
2389 io_ptr = test_io_manager; in main()
2393 io_ptr = unix_io_manager; in main()
[all …]
De2image.c1363 io_manager io_ptr; in install_image() local
1374 io_ptr = test_io_manager; in install_image()
1378 io_ptr = unix_io_manager; in install_image()
1381 io_ptr, &fs); in install_image()
1400 retval = io_ptr->open(device, IO_FLAG_RW, &io); in install_image()
/external/e2fsprogs/resize/
Dmain.c177 io_manager io_ptr; in main() local
301 io_ptr = test_io_manager; in main()
305 io_ptr = unix_io_manager; in main()
313 0, 0, io_ptr, &fs); in main()
/external/e2fsprogs/e2fsck/
Djournal.c239 io_manager io_ptr = 0; in e2fsck_get_journal() local
337 io_ptr = inode_io_manager; in e2fsck_get_journal()
364 io_ptr = unix_io_manager; in e2fsck_get_journal()
368 test_io_backing_manager = io_ptr; in e2fsck_get_journal()
369 io_ptr = test_io_manager; in e2fsck_get_journal()
384 retval = io_ptr->open(journal_name, flags, in e2fsck_get_journal()
876 io_manager io_ptr = ctx->fs->io->manager; in e2fsck_run_ext3_journal() local
907 ctx->superblock, blocksize, io_ptr, in e2fsck_run_ext3_journal()
Dunix.c1043 static errcode_t try_open_fs(e2fsck_t ctx, int flags, io_manager io_ptr, in try_open_fs() argument
1052 io_ptr, ret_fs); in try_open_fs()
1064 io_ptr, ret_fs); in try_open_fs()
1070 flags, 0, 0, io_ptr, ret_fs); in try_open_fs()
1168 io_manager io_ptr; in main() local
1252 io_ptr = test_io_manager; in main()
1256 io_ptr = unix_io_manager; in main()
1272 retval = try_open_fs(ctx, flags, io_ptr, &fs); in main()
1302 get_backup_sb(ctx, fs, ctx->filesystem_name, io_ptr); in main()
1306 retval = try_open_fs(ctx, flags, io_ptr, &fs); in main()
[all …]
/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 …]
/external/chromium_org/third_party/mesa/src/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