Searched refs:io_ptr (Results 1 - 25 of 29) sorted by relevance

12

/external/libpng/
H A Dpngwio.c58 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr));
81 png_FILE_p io_ptr; local
86 io_ptr = png_voidcast(png_FILE_p, (png_ptr->io_ptr));
87 fflush(io_ptr);
97 * io_ptr - pointer to user supplied structure containing info about
118 * a good idea if io_ptr does not point to a standard
122 png_set_write_fn(png_structrp png_ptr, png_voidp io_ptr, argument
128 png_ptr->io_ptr = io_ptr;
[all...]
H A Dpngrio.c74 check = fread(data, 1, length, png_voidcast(png_FILE_p, png_ptr->io_ptr));
88 * io_ptr - pointer to user supplied structure containing info about
101 png_set_read_fn(png_structrp png_ptr, png_voidp io_ptr, argument
107 png_ptr->io_ptr = io_ptr;
H A Dpngstruct.h206 png_voidp io_ptr; /* ptr to application struct for I/O functions */ member in struct:png_struct_def
H A Dpngtest.c371 png_voidp io_ptr; local
376 io_ptr = png_get_io_ptr(png_ptr);
377 if (io_ptr != NULL)
379 check = fread(data, 1, length, (png_FILE_p)io_ptr);
H A Dpng.c640 /* This function returns a pointer to the io_ptr associated with the user
650 return (png_ptr->io_ptr);
669 png_ptr->io_ptr = (png_voidp)fp;
4305 FILE *fp = png_voidcast(FILE*, cp->png_ptr->io_ptr);
4311 cp->png_ptr->io_ptr = NULL;
H A Dpngread.c1607 image->opaque->png_ptr->io_ptr = file;
1637 image->opaque->png_ptr->io_ptr = fp;
1668 png_imagep image = png_voidcast(png_imagep, png_ptr->io_ptr);
1703 * store it into io_ptr. Again do this in-place to avoid calling a
1708 image->opaque->png_ptr->io_ptr = image;
H A 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,
H A Dpngpread.c1290 return png_ptr->io_ptr;
/external/chromium_org/third_party/libpng/
H A Dpngrio.c61 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) )
65 (png_FILE_p)png_ptr->io_ptr);
85 png_FILE_p io_ptr; local
91 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr);
95 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check,
99 check = fread(n_data, 1, length, io_ptr);
112 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) )
115 err = fread(buf, (png_size_t)1, read, io_ptr);
138 * io_ptr
150 png_set_read_fn(png_structp png_ptr, png_voidp io_ptr, png_rw_ptr read_data_fn) argument
[all...]
H A Dpngwio.c57 if ( !WriteFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) )
60 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr));
79 png_FILE_p io_ptr; local
85 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr);
89 if ( !WriteFile(io_ptr, near_data, length, &check, NULL) )
92 check = fwrite(near_data, 1, length, io_ptr);
106 if ( !WriteFile(io_ptr, buf, written, &err, NULL) )
109 err = fwrite(buf, 1, written, io_ptr);
146 png_FILE_p io_ptr; local
188 png_set_write_fn(png_structp png_ptr, png_voidp io_ptr, png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn) argument
[all...]
H A Dpng.c633 /* This function returns a pointer to the io_ptr associated with the user
642 return (png_ptr->io_ptr);
661 png_ptr->io_ptr = (png_voidp)fp;
H A Dpngpread.c1772 return png_ptr->io_ptr;
/external/qemu/distrib/libpng-1.2.46/
H A Dpngrio.c76 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) )
80 (png_FILE_p)png_ptr->io_ptr);
100 png_FILE_p io_ptr; local
106 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr);
110 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check,
114 check = fread(n_data, 1, length, io_ptr);
127 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) )
130 err = fread(buf, (png_size_t)1, read, io_ptr);
153 * io_ptr
165 png_set_read_fn(png_structp png_ptr, png_voidp io_ptr, png_rw_ptr read_data_fn) argument
[all...]
H A Dpngwio.c57 if ( !WriteFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) )
60 check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr));
79 png_FILE_p io_ptr; local
85 io_ptr = (png_FILE_p)CVT_PTR(png_ptr->io_ptr);
89 if ( !WriteFile(io_ptr, near_data, length, &check, NULL) )
92 check = fwrite(near_data, 1, length, io_ptr);
106 if ( !WriteFile(io_ptr, buf, written, &err, NULL) )
109 err = fwrite(buf, 1, written, io_ptr);
146 png_FILE_p io_ptr; local
188 png_set_write_fn(png_structp png_ptr, png_voidp io_ptr, png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn) argument
[all...]
H A Dpng.c634 /* This function returns a pointer to the io_ptr associated with the user
643 return (png_ptr->io_ptr);
662 png_ptr->io_ptr = (png_voidp)fp;
/external/libpng/contrib/visupng/
H A DPngFile.c417 (FILE *)png_ptr->io_ptr);
430 check = fwrite(data, 1, length, (FILE *)(png_ptr->io_ptr));
440 FILE *io_ptr; local
441 io_ptr = (FILE *)CVT_PTR((png_ptr->io_ptr));
442 if (io_ptr != NULL)
443 fflush(io_ptr);
/external/e2fsprogs/misc/
H A De2initrd_helper.c373 io_manager io_ptr; local
382 io_ptr = test_io_manager;
386 io_ptr = unix_io_manager;
387 retval = ext2fs_open (device_name, open_flag, 0, 0, io_ptr, &fs);
H A Dtune2fs.c188 io_manager io_ptr; local
205 io_ptr = test_io_manager;
209 io_ptr = unix_io_manager;
212 fs->blocksize, io_ptr, &jfs);
652 io_manager io_ptr; local
664 io_ptr = test_io_manager;
668 io_ptr = unix_io_manager;
671 fs->blocksize, io_ptr, &jfs);
1820 static int tune2fs_setup_tdb(const char *name, io_manager *io_ptr) argument
1869 set_undo_io_backing_manager(*io_ptr);
1889 io_manager io_ptr, io_ptr_orig = NULL; local
[all...]
H A Dmke2fs.c1619 io_manager io_ptr; local
1623 io_ptr = test_io_manager;
1627 io_ptr = unix_io_manager;
1630 0, io_ptr, &jfs);
2206 static int mke2fs_setup_tdb(const char *name, io_manager *io_ptr) argument
2251 set_undo_io_backing_manager(*io_ptr);
2252 *io_ptr = undo_io_manager;
2373 io_manager io_ptr; local
2389 io_ptr = test_io_manager;
2393 io_ptr
[all...]
H A De2image.c1363 io_manager io_ptr; local
1374 io_ptr = test_io_manager;
1378 io_ptr = unix_io_manager;
1381 io_ptr, &fs);
1400 retval = io_ptr->open(device, IO_FLAG_RW, &io);
/external/e2fsprogs/resize/
H A Dmain.c177 io_manager io_ptr; local
301 io_ptr = test_io_manager;
305 io_ptr = unix_io_manager;
313 0, 0, io_ptr, &fs);
/external/e2fsprogs/e2fsck/
H A Djournal.c239 io_manager io_ptr = 0; local
337 io_ptr = inode_io_manager;
364 io_ptr = unix_io_manager;
368 test_io_backing_manager = io_ptr;
369 io_ptr = test_io_manager;
384 retval = io_ptr->open(journal_name, flags,
876 io_manager io_ptr = ctx->fs->io->manager; local
907 ctx->superblock, blocksize, io_ptr,
H A Dunix.c1043 static errcode_t try_open_fs(e2fsck_t ctx, int flags, io_manager io_ptr, argument
1052 io_ptr, ret_fs);
1064 io_ptr, ret_fs);
1070 flags, 0, 0, io_ptr, ret_fs);
1168 io_manager io_ptr; local
1252 io_ptr = test_io_manager;
1256 io_ptr = unix_io_manager;
1272 retval = try_open_fs(ctx, flags, io_ptr, &fs);
1302 get_backup_sb(ctx, fs, ctx->filesystem_name, io_ptr);
1306 retval = try_open_fs(ctx, flags, io_ptr,
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_llvm.c580 LLVMValueRef io_ptr,
586 LLVMValueRef data_ptr = draw_jit_header_data(gallivm, io_ptr);
594 lp_build_printf(gallivm, " ---- %p storing attribute %d (io = %p)\n", data_ptr, index, io_ptr);
608 LLVMValueRef io_ptr,
626 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, "");
734 LLVMValueRef io_ptr,
752 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, "");
1074 LLVMValueRef io_ptr, vbuffers_ptr, vb_ptr; local
1129 io_ptr = LLVMGetParam(variant_func, 1);
1136 lp_build_name(io_ptr, "i
579 store_aos(struct gallivm_state *gallivm, LLVMValueRef io_ptr, LLVMValueRef index, LLVMValueRef value) argument
606 store_aos_array(struct gallivm_state *gallivm, struct lp_type soa_type, LLVMValueRef io_ptr, LLVMValueRef* aos, int attrib, int num_outputs, LLVMValueRef clipmask, boolean have_clipdist) argument
732 store_clip(struct gallivm_state *gallivm, const struct lp_type vs_type, LLVMValueRef io_ptr, LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS], boolean pre_clip_pos, int idx) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_llvm.c580 LLVMValueRef io_ptr,
586 LLVMValueRef data_ptr = draw_jit_header_data(gallivm, io_ptr);
594 lp_build_printf(gallivm, " ---- %p storing attribute %d (io = %p)\n", data_ptr, index, io_ptr);
608 LLVMValueRef io_ptr,
626 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, "");
734 LLVMValueRef io_ptr,
752 io_ptrs[i] = LLVMBuildGEP(builder, io_ptr, &inds[i], 1, "");
1074 LLVMValueRef io_ptr, vbuffers_ptr, vb_ptr; local
1129 io_ptr = LLVMGetParam(variant_func, 1);
1136 lp_build_name(io_ptr, "i
579 store_aos(struct gallivm_state *gallivm, LLVMValueRef io_ptr, LLVMValueRef index, LLVMValueRef value) argument
606 store_aos_array(struct gallivm_state *gallivm, struct lp_type soa_type, LLVMValueRef io_ptr, LLVMValueRef* aos, int attrib, int num_outputs, LLVMValueRef clipmask, boolean have_clipdist) argument
732 store_clip(struct gallivm_state *gallivm, const struct lp_type vs_type, LLVMValueRef io_ptr, LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS], boolean pre_clip_pos, int idx) argument
[all...]

Completed in 1458 milliseconds

12