Home
last modified time | relevance | path

Searched refs:png_voidcast (Results 1 – 23 of 23) sorted by relevance

/external/libpng/
Dpngset.c186 info_ptr->hist = png_voidcast(png_uint_16p, png_malloc_warn(png_ptr, in png_set_hIST()
295 info_ptr->pcal_purpose = png_voidcast(png_charp, in png_set_pCAL()
316 info_ptr->pcal_units = png_voidcast(png_charp, in png_set_pCAL()
327 info_ptr->pcal_params = png_voidcast(png_charpp, png_malloc_warn(png_ptr, in png_set_pCAL()
392 info_ptr->scal_s_width = png_voidcast(png_charp, in png_set_sCAL_s()
407 info_ptr->scal_s_height = png_voidcast(png_charp, in png_set_sCAL_s()
547 png_ptr->palette = png_voidcast(png_colorp, png_calloc(png_ptr, in png_set_PLTE()
649 new_iccp_name = png_voidcast(png_charp, png_malloc_warn(png_ptr, length)); in png_set_iCCP()
658 new_iccp_profile = png_voidcast(png_bytep, in png_set_iCCP()
732 new_text = png_voidcast(png_textp,png_realloc_array(png_ptr, in png_set_text_2()
[all …]
Dpngread.c1354 info_ptr->row_pointers = png_voidcast(png_bytepp, png_malloc(png_ptr, in png_read_png()
1363 info_ptr->row_pointers[iptr] = png_voidcast(png_bytep, in png_read_png()
1451 png_controlp control = png_voidcast(png_controlp, in png_image_read_init()
1535 png_imagep image = png_voidcast(png_imagep, argument); in png_image_read_header()
1669 png_imagep image = png_voidcast(png_imagep, png_ptr->io_ptr); in png_image_memory_read()
1707 image->opaque->memory = png_voidcast(png_const_bytep, memory); in png_image_begin_read_from_memory()
2012 png_uint_16p entry = png_voidcast(png_uint_16p, display->colormap); in png_create_colormap_entry()
2067 png_bytep entry = png_voidcast(png_bytep, display->colormap); in png_create_colormap_entry()
2212 png_voidcast(png_image_read_control*, argument); in png_image_read_colormap()
3052 png_image_read_control *display = png_voidcast(png_image_read_control*, in png_image_read_and_map()
[all …]
Dpngwrite.c1680 png_controlp control = png_voidcast(png_controlp, in png_image_write_init()
1727 png_image_write_control *display = png_voidcast(png_image_write_control*, in png_write_image_16bit()
1732 png_const_uint_16p input_row = png_voidcast(png_const_uint_16p, in png_write_image_16bit()
1734 png_uint_16p output_row = png_voidcast(png_uint_16p, display->local_row); in png_write_image_16bit()
1819 png_write_row(png_ptr, png_voidcast(png_const_bytep, display->local_row)); in png_write_image_16bit()
1884 png_image_write_control *display = png_voidcast(png_image_write_control*, in png_write_image_8bit()
1889 png_const_uint_16p input_row = png_voidcast(png_const_uint_16p, in png_write_image_8bit()
1891 png_bytep output_row = png_voidcast(png_bytep, display->local_row); in png_write_image_8bit()
1943 png_write_row(png_ptr, png_voidcast(png_const_bytep, in png_write_image_8bit()
2017 png_const_uint_16p entry = png_voidcast(png_const_uint_16p, cmap); in png_image_set_PLTE()
[all …]
Dpngrio.c74 check = fread(data, 1, length, png_voidcast(png_FILE_p, png_ptr->io_ptr)); in png_default_read_data()
Dpngwio.c86 io_ptr = png_voidcast(png_FILE_p, (png_ptr->io_ptr)); in png_default_flush()
Dpngerror.c621 png_ptr->jmp_buf_ptr = png_voidcast(jmp_buf *, in png_set_longjmp_fn()
884 png_imagep image = png_voidcast(png_imagep, png_ptr->error_ptr);
919 png_imagep image = png_voidcast(png_imagep, png_ptr->error_ptr); in png_safe_warning()
Dpng.c82 png_warning (png_voidcast(png_structrp, png_ptr),
88 return png_malloc_warn(png_voidcast(png_structrp, png_ptr), num_bytes);
95 png_free(png_voidcast(png_const_structrp,png_ptr), ptr); in png_zfree()
294 png_structrp png_ptr = png_voidcast(png_structrp,
343 info_ptr = png_voidcast(png_inforp, png_malloc_base(png_ptr,
414 info_ptr = png_voidcast(png_inforp, png_malloc_base(NULL,
4325 png_imagep image = png_voidcast(png_imagep, argument);
4339 FILE *fp = png_voidcast(FILE*, cp->png_ptr->io_ptr);
Dpngrutil.c338 buffer = png_voidcast(png_bytep, png_malloc_base(png_ptr, new_size)); in png_read_buffer()
661 png_bytep text = png_voidcast(png_bytep, png_malloc_base(png_ptr, in png_decompress_chunk()
1510 info_ptr->iccp_name = png_voidcast(char*, in png_handle_iCCP()
2221 params = png_voidcast(png_charpp, png_malloc_warn(png_ptr, in png_handle_pCAL()
2772 png_ptr->unknown_chunk.data = png_voidcast(png_bytep, in png_cache_unknown_chunk()
Dpngpriv.h401 # define png_voidcast(type, value) static_cast<type>(value) macro
408 # define png_voidcast(type, value) (value) macro
Dpngwutil.c558 next = png_voidcast(png_compression_bufferp, png_malloc_base in png_text_compress()
1017 png_ptr->zbuffer_list = png_voidcast(png_compression_bufferp, in png_compress_IDAT()
DCHANGES3731 png_voidcast to allow C semantic (void*) cases or the corresponding
/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngset.c185 info_ptr->hist = png_voidcast(png_uint_16p, png_malloc_warn(png_ptr, in png_set_hIST()
294 info_ptr->pcal_purpose = png_voidcast(png_charp, in png_set_pCAL()
315 info_ptr->pcal_units = png_voidcast(png_charp, in png_set_pCAL()
326 info_ptr->pcal_params = png_voidcast(png_charpp, png_malloc_warn(png_ptr, in png_set_pCAL()
391 info_ptr->scal_s_width = png_voidcast(png_charp, in png_set_sCAL_s()
406 info_ptr->scal_s_height = png_voidcast(png_charp, in png_set_sCAL_s()
546 png_ptr->palette = png_voidcast(png_colorp, png_calloc(png_ptr, in png_set_PLTE()
648 new_iccp_name = png_voidcast(png_charp, png_malloc_warn(png_ptr, length)); in png_set_iCCP()
657 new_iccp_profile = png_voidcast(png_bytep, in png_set_iCCP()
731 new_text = png_voidcast(png_textp,png_realloc_array(png_ptr, in png_set_text_2()
[all …]
Dfx_pngread.c1192 png_controlp control = png_voidcast(png_controlp, in png_image_read_init()
1276 png_imagep image = png_voidcast(png_imagep, argument); in png_image_read_header()
1410 png_imagep image = png_voidcast(png_imagep, png_ptr->io_ptr); in png_image_memory_read()
1448 image->opaque->memory = png_voidcast(png_const_bytep, memory); in png_image_begin_read_from_memory()
1746 png_uint_16p entry = png_voidcast(png_uint_16p, display->colormap); in png_create_colormap_entry()
1801 png_bytep entry = png_voidcast(png_bytep, display->colormap); in png_create_colormap_entry()
1946 png_voidcast(png_image_read_control*, argument); in png_image_read_colormap()
2786 png_image_read_control *display = png_voidcast(png_image_read_control*, in png_image_read_and_map()
2815 png_bytep first_row = png_voidcast(png_bytep, display->first_row); in png_image_read_and_map()
2845 png_bytep inrow = png_voidcast(png_bytep, display->local_row); in png_image_read_and_map()
[all …]
Dfx_pngwrite.c1578 png_controlp control = png_voidcast(png_controlp, in png_image_write_init()
1625 png_image_write_control *display = png_voidcast(png_image_write_control*, in png_write_image_16bit()
1630 png_const_uint_16p input_row = png_voidcast(png_const_uint_16p, in png_write_image_16bit()
1632 png_uint_16p output_row = png_voidcast(png_uint_16p, display->local_row); in png_write_image_16bit()
1715 png_write_row(png_ptr, png_voidcast(png_const_bytep, display->local_row)); in png_write_image_16bit()
1780 png_image_write_control *display = png_voidcast(png_image_write_control*, in png_write_image_8bit()
1785 png_const_uint_16p input_row = png_voidcast(png_const_uint_16p, in png_write_image_8bit()
1787 png_bytep output_row = png_voidcast(png_bytep, display->local_row); in png_write_image_8bit()
1837 png_write_row(png_ptr, png_voidcast(png_const_bytep, in png_write_image_8bit()
1910 png_const_uint_16p entry = png_voidcast(png_const_uint_16p, cmap); in png_image_set_PLTE()
[all …]
Dfx_pngrio.c59 check = fread(data, 1, length, png_voidcast(png_FILE_p, png_ptr->io_ptr)); in png_default_read_data()
Dfx_pngwio.c85 io_ptr = png_voidcast(png_FILE_p, (png_ptr->io_ptr)); in png_default_flush()
Dfx_pngerror.c599 png_ptr->jmp_buf_ptr = png_voidcast(jmp_buf *, in png_set_longjmp_fn()
857 png_imagep image = png_voidcast(png_imagep, png_ptr->error_ptr);
892 png_imagep image = png_voidcast(png_imagep, png_ptr->error_ptr); in png_safe_warning()
Dfx_png.c81 png_warning (png_voidcast(png_structrp, png_ptr),
87 return png_malloc_warn(png_voidcast(png_structrp, png_ptr), num_bytes);
94 png_free(png_voidcast(png_const_structrp,png_ptr), ptr); in png_zfree()
288 png_structrp png_ptr = png_voidcast(png_structrp,
337 info_ptr = png_voidcast(png_inforp, png_malloc_base(png_ptr,
408 info_ptr = png_voidcast(png_inforp, png_malloc_base(NULL,
4213 png_imagep image = png_voidcast(png_imagep, argument);
4227 FILE *fp = png_voidcast(FILE*, cp->png_ptr->io_ptr);
Dfx_pngrutil.c302 buffer = png_voidcast(png_bytep, png_malloc_base(png_ptr, new_size)); in png_read_buffer()
629 png_bytep text = png_voidcast(png_bytep, png_malloc_base(png_ptr, in png_decompress_chunk()
1472 info_ptr->iccp_name = png_voidcast(char*, in png_handle_iCCP()
2183 params = png_voidcast(png_charpp, png_malloc_warn(png_ptr, in png_handle_pCAL()
2734 png_ptr->unknown_chunk.data = png_voidcast(png_bytep, in png_cache_unknown_chunk()
Dpngpriv.h354 # define png_voidcast(type, value) static_cast<type>(value) macro
361 # define png_voidcast(type, value) (value) macro
Dfx_pngwutil.c557 next = png_voidcast(png_compression_bufferp, png_malloc_base in png_text_compress()
1016 png_ptr->zbuffer_list = png_voidcast(png_compression_bufferp, in png_compress_IDAT()
/external/libpng/contrib/arm-neon/
Dlinux-auxv.c42 char *buffer = png_voidcast(char*, buffer_in); in safe_read()
/external/libpng/contrib/tools/
Dpngfix.c86 # define png_voidcast(type, value) static_cast<type>(value) macro
93 # define png_voidcast(type, value) (value) macro
446 png_bytep bytes = png_voidcast(png_bytep, pv); in make_random_bytes()
668 next = png_voidcast(IDAT_list*, malloc(IDAT_list_size(NULL, length))); in IDAT_list_extend()
3535 struct control *control = png_voidcast(struct control*, in get_control()
3543 struct control *control = png_voidcast(struct control*, file->alloc_ptr); in allocate()
3608 row = png_voidcast(png_byte*, malloc(rowbytes)); in read_png()
3609 display = png_voidcast(png_byte*, malloc(rowbytes)); in read_png()