Home
last modified time | relevance | path

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

12

/external/libpng/
Dpngmem.c31 png_voidp /* PRIVATE */
39 png_voidp /* PRIVATE */
40 png_create_struct_2(int type, png_malloc_ptr malloc_fn, png_voidp mem_ptr) in png_create_struct_2()
44 png_voidp struct_ptr; in png_create_struct_2()
63 struct_ptr = (png_voidp)farmalloc(size); in png_create_struct_2()
71 png_destroy_struct(png_voidp struct_ptr) in png_destroy_struct()
79 png_destroy_struct_2(png_voidp struct_ptr, png_free_ptr free_fn, in png_destroy_struct_2()
80 png_voidp mem_ptr) in png_destroy_struct_2()
118 png_voidp /* PRIVATE */
121 png_voidp ret; in png_calloc()
[all …]
Dpng.h580 #define png_voidp_NULL (png_voidp)NULL
1281 typedef png_voidp (*png_malloc_ptr) PNGARG((png_structp, png_size_t)); typedef
1282 typedef void (*png_free_ptr) PNGARG((png_structp, png_voidp));
1298 png_voidp error_ptr PNG_DEPSTRUCT; /* user supplied struct for error functions */
1304 png_voidp io_ptr PNG_DEPSTRUCT; /* ptr to application struct for I/O functions */
1318 png_voidp user_transform_ptr PNG_DEPSTRUCT; /* user supplied struct for user transform */
1505 png_voidp user_chunk_ptr PNG_DEPSTRUCT;
1563 png_voidp mem_ptr PNG_DEPSTRUCT; /* user supplied struct for mem functions */
1645 PNGARG((png_const_charp user_png_ver, png_voidp error_ptr,
1650 PNGARG((png_const_charp user_png_ver, png_voidp error_ptr,
[all …]
Dpngread.c25 png_create_read_struct(png_const_charp user_png_ver, png_voidp error_ptr, in png_create_read_struct()
38 png_create_read_struct_2(png_const_charp user_png_ver, png_voidp error_ptr, in png_create_read_struct_2()
39 png_error_ptr error_fn, png_error_ptr warn_fn, png_voidp mem_ptr, in png_create_read_struct_2()
61 (png_malloc_ptr)malloc_fn, (png_voidp)mem_ptr); in png_create_read_struct_2()
92 png_destroy_struct_2((png_voidp)png_ptr, in png_create_read_struct_2()
93 (png_free_ptr)free_fn, (png_voidp)mem_ptr); in png_create_read_struct_2()
95 png_destroy_struct((png_voidp)png_ptr); in png_create_read_struct_2()
1295 png_voidp mem_ptr = NULL; in png_destroy_read_struct()
1325 png_destroy_struct_2((png_voidp)info_ptr, (png_free_ptr)free_fn, in png_destroy_read_struct()
1326 (png_voidp)mem_ptr); in png_destroy_read_struct()
[all …]
Dpngwrite.c458 png_create_write_struct(png_const_charp user_png_ver, png_voidp error_ptr, in png_create_write_struct()
468 png_create_write_struct_2(png_const_charp user_png_ver, png_voidp error_ptr, in png_create_write_struct_2()
469 png_error_ptr error_fn, png_error_ptr warn_fn, png_voidp mem_ptr, in png_create_write_struct_2()
488 (png_malloc_ptr)malloc_fn, (png_voidp)mem_ptr); in png_create_write_struct_2()
511 png_destroy_struct_2((png_voidp)png_ptr, in png_create_write_struct_2()
512 (png_free_ptr)free_fn, (png_voidp)mem_ptr); in png_create_write_struct_2()
514 png_destroy_struct((png_voidp)png_ptr); in png_create_write_struct_2()
1046 png_voidp mem_ptr = NULL; in png_destroy_write_struct()
1088 png_destroy_struct_2((png_voidp)info_ptr, (png_free_ptr)free_fn, in png_destroy_write_struct()
1089 (png_voidp)mem_ptr); in png_destroy_write_struct()
[all …]
Dpngwio.c188 png_set_write_fn(png_structp png_ptr, png_voidp io_ptr, in png_set_write_fn()
231 void *png_far_to_near(png_structp png_ptr, png_voidp ptr, int check) in png_far_to_near()
245 void *png_far_to_near(png_structp png_ptr, png_voidp ptr, int check) in png_far_to_near()
Dpngtest.c316 png_voidp io_ptr; in pngtest_read_data()
504 png_voidp pointer;
515 png_voidp png_debug_malloc PNGARG((png_structp png_ptr, png_uint_32 size));
516 void png_debug_free PNGARG((png_structp png_ptr, png_voidp ptr));
518 png_voidp
543 pinfo->pointer = (png_voidp)png_malloc(png_ptr, size); in png_debug_malloc()
562 return (png_voidp)(pinfo->pointer); in png_debug_malloc()
568 png_debug_free(png_structp png_ptr, png_voidp ptr) in png_debug_free()
757 png_set_error_fn(read_ptr, (png_voidp)inname, pngtest_error, in test_one_file()
782 png_set_error_fn(write_ptr, (png_voidp)inname, pngtest_error, in test_one_file()
[all …]
Dpngerror.c361 png_set_error_fn(png_structp png_ptr, png_voidp error_ptr, in png_set_error_fn()
376 png_voidp PNGAPI
381 return ((png_voidp)png_ptr->error_ptr); in png_get_error_ptr()
Dpng.c160 png_voidp ptr; in png_zalloc()
175 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes); in png_zalloc()
204 png_free((png_structp)png_ptr, (png_voidp)ptr); in png_zfree()
293 png_destroy_struct_2((png_voidp)info_ptr, png_ptr->free_fn, in png_destroy_info_struct()
296 png_destroy_struct((png_voidp)info_ptr); in png_destroy_info_struct()
637 png_voidp PNGAPI
661 png_ptr->io_ptr = (png_voidp)fp; in png_init_io()
Dpngtrans.c664 png_set_user_transform_info(png_structp png_ptr, png_voidp in png_set_user_transform_info()
688 png_voidp PNGAPI
694 return ((png_voidp)png_ptr->user_transform_ptr); in png_get_user_transform_ptr()
Dexample.c111 png_voidp user_error_ptr, user_error_fn, user_warning_fn);
416 png_voidp user_error_ptr, user_error_fn, user_warning_fn);
580 png_voidp user_error_ptr, user_error_fn, user_warning_fn);
Dpngrio.c165 png_set_read_fn(png_structp png_ptr, png_voidp io_ptr, in png_set_read_fn()
Dpngconf.h1319 typedef void FAR * png_voidp; typedef
Dpngpread.c1752 png_set_progressive_read_fn(png_structp png_ptr, png_voidp progressive_ptr, in png_set_progressive_read_fn()
1766 png_voidp PNGAPI
/external/qemu/distrib/libpng-1.2.19/
Dpngmem.c28 png_voidp /* PRIVATE */
36 png_voidp /* PRIVATE */
37 png_create_struct_2(int type, png_malloc_ptr malloc_fn, png_voidp mem_ptr) in png_create_struct_2()
41 png_voidp struct_ptr; in png_create_struct_2()
60 struct_ptr = (png_voidp)farmalloc(size); in png_create_struct_2()
68 png_destroy_struct(png_voidp struct_ptr) in png_destroy_struct()
76 png_destroy_struct_2(png_voidp struct_ptr, png_free_ptr free_fn, in png_destroy_struct_2()
77 png_voidp mem_ptr) in png_destroy_struct_2()
116 png_voidp PNGAPI
119 png_voidp ret; in png_malloc()
[all …]
Dpng.h461 #define png_voidp_NULL (png_voidp)NULL
1109 typedef png_voidp (*png_malloc_ptr) PNGARG((png_structp, png_size_t)); typedef
1110 typedef void (*png_free_ptr) PNGARG((png_structp, png_voidp));
1126 png_voidp error_ptr; /* user supplied struct for error functions */
1129 png_voidp io_ptr; /* ptr to application struct for I/O functions */
1143 png_voidp user_transform_ptr; /* user supplied struct for user transform */
1320 png_voidp user_chunk_ptr;
1378 png_voidp mem_ptr; /* user supplied struct for mem functions */
1448 PNGARG((png_const_charp user_png_ver, png_voidp error_ptr,
1453 PNGARG((png_const_charp user_png_ver, png_voidp error_ptr,
[all …]
Dpngread.c21 png_create_read_struct(png_const_charp user_png_ver, png_voidp error_ptr, in png_create_read_struct()
32 png_create_read_struct_2(png_const_charp user_png_ver, png_voidp error_ptr, in png_create_read_struct_2()
33 png_error_ptr error_fn, png_error_ptr warn_fn, png_voidp mem_ptr, in png_create_read_struct_2()
51 (png_malloc_ptr)malloc_fn, (png_voidp)mem_ptr); in png_create_read_struct_2()
80 png_destroy_struct_2((png_voidp)png_ptr, in png_create_read_struct_2()
81 (png_free_ptr)free_fn, (png_voidp)mem_ptr); in png_create_read_struct_2()
83 png_destroy_struct((png_voidp)png_ptr); in png_create_read_struct_2()
1109 png_voidp mem_ptr; in png_destroy_read_struct()
1136 png_destroy_struct_2((png_voidp)info_ptr, (png_free_ptr)free_fn, in png_destroy_read_struct()
1137 (png_voidp)mem_ptr); in png_destroy_read_struct()
[all …]
Dpngwio.c170 png_set_write_fn(png_structp png_ptr, png_voidp io_ptr, in png_set_write_fn()
209 void *png_far_to_near(png_structp png_ptr,png_voidp ptr, int check) in png_far_to_near()
221 void *png_far_to_near(png_structp png_ptr,png_voidp ptr, int check) in png_far_to_near()
Dpngerror.c291 png_set_error_fn(png_structp png_ptr, png_voidp error_ptr, in png_set_error_fn()
306 png_voidp PNGAPI
311 return ((png_voidp)png_ptr->error_ptr); in png_get_error_ptr()
Dpng.c156 png_voidp ptr; in png_zalloc()
170 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes); in png_zalloc()
199 png_free((png_structp)png_ptr, (png_voidp)ptr); in png_zfree()
282 png_destroy_struct_2((png_voidp)info_ptr, png_ptr->free_fn, in png_destroy_info_struct()
285 png_destroy_struct((png_voidp)info_ptr); in png_destroy_info_struct()
621 png_voidp PNGAPI
641 png_ptr->io_ptr = (png_voidp)fp; in png_init_io()
Dpngwrite.c425 png_create_write_struct(png_const_charp user_png_ver, png_voidp error_ptr, in png_create_write_struct()
435 png_create_write_struct_2(png_const_charp user_png_ver, png_voidp error_ptr, in png_create_write_struct_2()
436 png_error_ptr error_fn, png_error_ptr warn_fn, png_voidp mem_ptr, in png_create_write_struct_2()
450 (png_malloc_ptr)malloc_fn, (png_voidp)mem_ptr); in png_create_write_struct_2()
1006 png_voidp mem_ptr = NULL; in png_destroy_write_struct()
1036 png_destroy_struct_2((png_voidp)info_ptr, (png_free_ptr)free_fn, in png_destroy_write_struct()
1037 (png_voidp)mem_ptr); in png_destroy_write_struct()
1039 png_destroy_struct((png_voidp)info_ptr); in png_destroy_write_struct()
1048 png_destroy_struct_2((png_voidp)png_ptr, (png_free_ptr)free_fn, in png_destroy_write_struct()
1049 (png_voidp)mem_ptr); in png_destroy_write_struct()
[all …]
Dpngtrans.c630 png_set_user_transform_info(png_structp png_ptr, png_voidp in png_set_user_transform_info()
652 png_voidp PNGAPI
657 return ((png_voidp)png_ptr->user_transform_ptr); in png_get_user_transform_ptr()
Dpngrio.c138 png_set_read_fn(png_structp png_ptr, png_voidp io_ptr, in png_set_read_fn()
Dpngconf.h1196 typedef void FAR * png_voidp; typedef
Dpngpread.c1567 png_set_progressive_read_fn(png_structp png_ptr, png_voidp progressive_ptr, in png_set_progressive_read_fn()
1579 png_voidp PNGAPI
/external/libpng/contrib/visupng/
DPngFile.c161 png_set_read_fn(png_ptr, (png_voidp)pfFile, png_read_data); in PngLoadImage()
330 png_set_write_fn(png_ptr, (png_voidp)pfFile, png_write_data, png_flush); in PngSaveImage()

12