Home
last modified time | relevance | path

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

/external/pdfium/third_party/libpng16/
Dpngset.c187 info_ptr->hist = png_voidcast(png_uint_16p, png_malloc_warn(png_ptr, in png_set_hIST()
311 info_ptr->pcal_purpose = png_voidcast(png_charp, in png_set_pCAL()
333 info_ptr->pcal_units = png_voidcast(png_charp, in png_set_pCAL()
345 info_ptr->pcal_params = png_voidcast(png_charpp, png_malloc_warn(png_ptr, in png_set_pCAL()
412 info_ptr->scal_s_width = png_voidcast(png_charp, in png_set_sCAL_s()
428 info_ptr->scal_s_height = png_voidcast(png_charp, in png_set_sCAL_s()
574 png_ptr->palette = png_voidcast(png_colorp, png_calloc(png_ptr, in png_set_PLTE()
677 new_iccp_name = png_voidcast(png_charp, png_malloc_warn(png_ptr, length)); in png_set_iCCP()
687 new_iccp_profile = png_voidcast(png_bytep, in png_set_iCCP()
762 new_text = png_voidcast(png_textp,png_realloc_array(png_ptr, in png_set_text_2()
[all …]
Dpngread.c1212 info_ptr->row_pointers = png_voidcast(png_bytepp, png_malloc(png_ptr, in png_read_png()
1221 info_ptr->row_pointers[iptr] = png_voidcast(png_bytep, in png_read_png()
1309 png_controlp control = png_voidcast(png_controlp, in png_image_read_init()
1393 png_imagep image = png_voidcast(png_imagep, argument); in png_image_read_header()
1527 png_imagep image = png_voidcast(png_imagep, png_ptr->io_ptr); in png_image_memory_read()
1565 image->opaque->memory = png_voidcast(png_const_bytep, memory); in png_image_begin_read_from_memory()
1873 png_uint_16p entry = png_voidcast(png_uint_16p, display->colormap); in png_create_colormap_entry()
1928 png_bytep entry = png_voidcast(png_bytep, display->colormap); in png_create_colormap_entry()
2073 png_voidcast(png_image_read_control*, argument); in png_image_read_colormap()
2926 png_image_read_control *display = png_voidcast(png_image_read_control*, in png_image_read_and_map()
[all …]
Dpngwrite.c1097 png_ptr->try_row = png_voidcast(png_bytep, in png_set_filter()
1103 png_ptr->tst_row = png_voidcast(png_bytep, in png_set_filter()
1468 png_controlp control = png_voidcast(png_controlp, in png_image_write_init()
1519 png_image_write_control *display = png_voidcast(png_image_write_control*, in png_write_image_16bit()
1524 png_const_uint_16p input_row = png_voidcast(png_const_uint_16p, in png_write_image_16bit()
1526 png_uint_16p output_row = png_voidcast(png_uint_16p, display->local_row); in png_write_image_16bit()
1612 png_write_row(png_ptr, png_voidcast(png_const_bytep, display->local_row)); in png_write_image_16bit()
1677 png_image_write_control *display = png_voidcast(png_image_write_control*, in png_write_image_8bit()
1682 png_const_uint_16p input_row = png_voidcast(png_const_uint_16p, in png_write_image_8bit()
1684 png_bytep output_row = png_voidcast(png_bytep, display->local_row); in png_write_image_8bit()
[all …]
Dpngrio.c60 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()
D0003-check-errors-in-set-pcal.patch37 info_ptr->pcal_purpose = png_voidcast(png_charp,
Dpngerror.c622 png_ptr->jmp_buf_ptr = png_voidcast(jmp_buf *, in png_set_longjmp_fn()
889 png_imagep image = png_voidcast(png_imagep, png_ptr->error_ptr);
924 png_imagep image = png_voidcast(png_imagep, png_ptr->error_ptr); in png_safe_warning()
Dpng.c87 png_warning (png_voidcast(png_structrp, png_ptr),
93 return png_malloc_warn(png_voidcast(png_structrp, png_ptr), num_bytes);
100 png_free(png_voidcast(png_const_structrp,png_ptr), ptr); in png_zfree()
299 png_structrp png_ptr = png_voidcast(png_structrp,
348 info_ptr = png_voidcast(png_inforp, png_malloc_base(png_ptr,
419 info_ptr = png_voidcast(png_inforp, png_malloc_base(NULL,
4450 png_imagep image = png_voidcast(png_imagep, argument);
4464 FILE *fp = png_voidcast(FILE*, cp->png_ptr->io_ptr);
Dpngwutil.c558 next = png_voidcast(png_compression_bufferp, png_malloc_base in png_text_compress()
939 png_ptr->zbuffer_list = png_voidcast(png_compression_bufferp, in png_compress_IDAT()
1897 png_ptr->row_buf = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1920 png_ptr->try_row = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1935 png_ptr->tst_row = png_voidcast(png_bytep, png_malloc(png_ptr, in png_write_start_row()
1943 png_ptr->prev_row = png_voidcast(png_bytep, in png_write_start_row()
Dpngrutil.c310 buffer = png_voidcast(png_bytep, png_malloc_base(png_ptr, new_size)); in png_read_buffer()
663 png_bytep text = png_voidcast(png_bytep, png_malloc_base(png_ptr, in png_decompress_chunk()
1528 info_ptr->iccp_name = png_voidcast(char*, in png_handle_iCCP()
2244 params = png_voidcast(png_charpp, png_malloc_warn(png_ptr, in png_handle_pCAL()
2795 png_ptr->unknown_chunk.data = png_voidcast(png_bytep, in png_cache_unknown_chunk()
Dpngpriv.h419 # define png_voidcast(type, value) static_cast<type>(value) macro
426 # define png_voidcast(type, value) (value) macro
/external/libpng/
Dpngset.c166 info_ptr->exif = png_voidcast(png_bytep, png_malloc_warn(png_ptr, in png_set_eXIf_1()
234 info_ptr->hist = png_voidcast(png_uint_16p, png_malloc_warn(png_ptr, in png_set_hIST()
358 info_ptr->pcal_purpose = png_voidcast(png_charp, in png_set_pCAL()
380 info_ptr->pcal_units = png_voidcast(png_charp, in png_set_pCAL()
392 info_ptr->pcal_params = png_voidcast(png_charpp, png_malloc_warn(png_ptr, in png_set_pCAL()
460 info_ptr->scal_s_width = png_voidcast(png_charp, in png_set_sCAL_s()
476 info_ptr->scal_s_height = png_voidcast(png_charp, in png_set_sCAL_s()
622 png_ptr->palette = png_voidcast(png_colorp, png_calloc(png_ptr, in png_set_PLTE()
726 new_iccp_name = png_voidcast(png_charp, png_malloc_warn(png_ptr, length)); in png_set_iCCP()
736 new_iccp_profile = png_voidcast(png_bytep, in png_set_iCCP()
[all …]
Dpngread.c1222 info_ptr->row_pointers = png_voidcast(png_bytepp, png_malloc(png_ptr, in png_read_png()
1231 info_ptr->row_pointers[iptr] = png_voidcast(png_bytep, in png_read_png()
1319 png_controlp control = png_voidcast(png_controlp, in png_image_read_init()
1403 png_imagep image = png_voidcast(png_imagep, argument); in png_image_read_header()
1539 png_imagep image = png_voidcast(png_imagep, png_ptr->io_ptr); in png_image_memory_read()
1577 image->opaque->memory = png_voidcast(png_const_bytep, memory); in png_image_begin_read_from_memory()
1885 png_uint_16p entry = png_voidcast(png_uint_16p, display->colormap); in png_create_colormap_entry()
1940 png_bytep entry = png_voidcast(png_bytep, display->colormap); in png_create_colormap_entry()
2087 png_voidcast(png_image_read_control*, argument); in png_image_read_colormap()
2940 png_image_read_control *display = png_voidcast(png_image_read_control*, in png_image_read_and_map()
[all …]
Dpngwrite.c1108 png_ptr->try_row = png_voidcast(png_bytep, in png_set_filter()
1114 png_ptr->tst_row = png_voidcast(png_bytep, in png_set_filter()
1479 png_controlp control = png_voidcast(png_controlp, in png_image_write_init()
1530 png_image_write_control *display = png_voidcast(png_image_write_control*, in png_write_image_16bit()
1535 png_const_uint_16p input_row = png_voidcast(png_const_uint_16p, in png_write_image_16bit()
1537 png_uint_16p output_row = png_voidcast(png_uint_16p, display->local_row); in png_write_image_16bit()
1624 png_write_row(png_ptr, png_voidcast(png_const_bytep, display->local_row)); in png_write_image_16bit()
1689 png_image_write_control *display = png_voidcast(png_image_write_control*, in png_write_image_8bit()
1694 png_const_uint_16p input_row = png_voidcast(png_const_uint_16p, in png_write_image_8bit()
1696 png_bytep output_row = png_voidcast(png_bytep, display->local_row); in png_write_image_8bit()
[all …]
Dpngrio.c60 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.c622 png_ptr->jmp_buf_ptr = png_voidcast(jmp_buf *, in png_set_longjmp_fn()
889 png_imagep image = png_voidcast(png_imagep, png_ptr->error_ptr);
924 png_imagep image = png_voidcast(png_imagep, png_ptr->error_ptr); in png_safe_warning()
Dpng.c107 png_warning (png_voidcast(png_structrp, png_ptr),
113 return png_malloc_warn(png_voidcast(png_structrp, png_ptr), num_bytes);
120 png_free(png_voidcast(png_const_structrp,png_ptr), ptr); in png_zfree()
319 png_structrp png_ptr = png_voidcast(png_structrp,
368 info_ptr = png_voidcast(png_inforp, png_malloc_base(png_ptr,
439 info_ptr = png_voidcast(png_inforp, png_malloc_base(NULL,
4530 png_imagep image = png_voidcast(png_imagep, argument);
4544 FILE *fp = png_voidcast(FILE*, cp->png_ptr->io_ptr);
Dpngwutil.c558 next = png_voidcast(png_compression_bufferp, png_malloc_base in png_text_compress()
944 png_ptr->zbuffer_list = png_voidcast(png_compression_bufferp, in png_compress_IDAT()
1927 png_ptr->row_buf = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1950 png_ptr->try_row = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1965 png_ptr->tst_row = png_voidcast(png_bytep, png_malloc(png_ptr, in png_write_start_row()
1973 png_ptr->prev_row = png_voidcast(png_bytep, in png_write_start_row()
Dpngrutil.c313 buffer = png_voidcast(png_bytep, png_malloc_base(png_ptr, new_size)); in png_read_buffer()
672 png_bytep text = png_voidcast(png_bytep, png_malloc_base(png_ptr, in png_decompress_chunk()
1550 info_ptr->iccp_name = png_voidcast(char*, in png_handle_iCCP()
2047 info_ptr->eXIf_buf = png_voidcast(png_bytep, in png_handle_eXIf()
2321 params = png_voidcast(png_charpp, png_malloc_warn(png_ptr, in png_handle_pCAL()
2880 png_ptr->unknown_chunk.data = png_voidcast(png_bytep, in png_cache_unknown_chunk()
Dpngpriv.h478 # define png_voidcast(type, value) static_cast<type>(value) macro
485 # define png_voidcast(type, value) (value) macro
DCHANGES3740 png_voidcast to allow C semantic (void*) cases or the corresponding
5255 Changed png_voidcast(), etc., to voidcast(), etc., in contrib/tools/pngfix.c
/external/libpng/contrib/arm-neon/
Dlinux-auxv.c42 char *buffer = png_voidcast(char*, buffer_in); in safe_read()