/external/pdfium/third_party/libpng16/ |
D | pngmem.c | 57 ret = png_malloc(png_ptr, size); 175 png_malloc,(png_const_structrp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
|
D | pngwutil.c | 944 png_malloc(png_ptr, PNG_COMPRESSION_BUFFER_SIZE(png_ptr))); in png_compress_IDAT() 1772 params_len = (png_size_tp)png_malloc(png_ptr, in png_write_pCAL() 1925 png_ptr->row_buf = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row() 1948 png_ptr->try_row = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row() 1963 png_ptr->tst_row = png_voidcast(png_bytep, png_malloc(png_ptr, in png_write_start_row()
|
D | pngread.c | 1228 info_ptr->row_pointers = png_voidcast(png_bytepp, png_malloc(png_ptr, in png_read_png() 1238 png_malloc(png_ptr, info_ptr->rowbytes)); in png_read_png() 3233 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_colormapped() 4064 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_direct() 4077 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_direct()
|
D | pngwrite.c | 1109 png_malloc(png_ptr, buf_size)); in png_set_filter() 1115 png_malloc(png_ptr, buf_size)); in png_set_filter() 2125 png_bytep row = png_voidcast(png_bytep, png_malloc(png_ptr, in png_image_write_main()
|
D | pngrtran.c | 443 png_ptr->quantize_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize() 460 png_ptr->quantize_sort = (png_bytep)png_malloc(png_ptr, in png_set_quantize() 594 png_ptr->index_to_palette = (png_bytep)png_malloc(png_ptr, in png_set_quantize() 597 png_ptr->palette_to_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize() 766 distance = (png_bytep)png_malloc(png_ptr, (png_alloc_size_t)(num_entries * in png_set_quantize() 4781 (png_bytep)png_malloc(png_ptr, 256 * 4); in png_do_read_transformations()
|
D | pngprefix.h | 235 #define png_malloc PDFIUM_png_malloc macro
|
D | pngset.c | 1020 png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH)); in png_set_tRNS() 1461 new_list = png_voidcast(png_bytep, png_malloc(png_ptr, in png_set_keep_unknown_chunks()
|
D | png.c | 3994 (png_uint_16p)png_malloc(png_ptr, 256 * (sizeof (png_uint_16))); 4066 table[i] = (png_uint_16p)png_malloc(png_ptr, 4122 png_bytep table = *ptable = (png_bytep)png_malloc(png_ptr, 256);
|
D | pngrutil.c | 4610 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row() 4612 png_ptr->big_prev_row = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row()
|
/external/libpng/ |
D | pngmem.c | 54 ret = png_malloc(png_ptr, size); 172 png_malloc,(png_const_structrp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
|
D | example.c | 542 row_pointers[row] = png_malloc(png_ptr, png_get_rowbytes(png_ptr, 824 palette = (png_colorp)png_malloc(png_ptr,
|
D | pngtest.c | 535 pinfo = (memory_infop)png_malloc(png_ptr, in png_debug_malloc() 545 pinfo->pointer = png_malloc(png_ptr, size); in png_debug_malloc() 1438 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file() 1492 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
|
D | pngwutil.c | 944 png_malloc(png_ptr, PNG_COMPRESSION_BUFFER_SIZE(png_ptr))); in png_compress_IDAT() 1772 params_len = (png_size_tp)png_malloc(png_ptr, in png_write_pCAL() 1925 png_ptr->row_buf = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row() 1948 png_ptr->try_row = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row() 1963 png_ptr->tst_row = png_voidcast(png_bytep, png_malloc(png_ptr, in png_write_start_row()
|
D | pngread.c | 1228 info_ptr->row_pointers = png_voidcast(png_bytepp, png_malloc(png_ptr, in png_read_png() 1238 png_malloc(png_ptr, info_ptr->rowbytes)); in png_read_png() 3233 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_colormapped() 4064 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_direct() 4077 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_direct()
|
D | pngwrite.c | 1109 png_malloc(png_ptr, buf_size)); in png_set_filter() 1115 png_malloc(png_ptr, buf_size)); in png_set_filter() 2125 png_bytep row = png_voidcast(png_bytep, png_malloc(png_ptr, in png_image_write_main()
|
D | pngrtran.c | 443 png_ptr->quantize_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize() 460 png_ptr->quantize_sort = (png_bytep)png_malloc(png_ptr, in png_set_quantize() 594 png_ptr->index_to_palette = (png_bytep)png_malloc(png_ptr, in png_set_quantize() 597 png_ptr->palette_to_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize() 766 distance = (png_bytep)png_malloc(png_ptr, (png_alloc_size_t)(num_entries * in png_set_quantize() 4781 (png_bytep)png_malloc(png_ptr, 256 * 4); in png_do_read_transformations()
|
D | pngset.c | 1020 png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH)); in png_set_tRNS() 1461 new_list = png_voidcast(png_bytep, png_malloc(png_ptr, in png_set_keep_unknown_chunks()
|
D | png.c | 3993 (png_uint_16p)png_malloc(png_ptr, 256 * (sizeof (png_uint_16))); 4065 table[i] = (png_uint_16p)png_malloc(png_ptr, 4121 png_bytep table = *ptable = (png_bytep)png_malloc(png_ptr, 256);
|
D | libpng-manual.txt | 1191 row_pointers = png_malloc(png_ptr, 1198 row_pointers[i]=png_malloc(png_ptr, 1212 png_bytep buffer=png_malloc(png_ptr,height*width*pixel_size); 2469 or so that it will free data that was allocated by the user with png_malloc() 2490 for data that the user has allocated, the user must have used png_malloc() 3727 or so that it will free data that was allocated by the user with png_malloc() 3763 for data that the user has allocated, the user must have used png_malloc() 4208 Memory allocation is done through the functions png_malloc(), png_calloc(), 4209 and png_free(). The png_malloc() and png_free() functions currently just 4210 call the standard C functions and png_calloc() calls png_malloc() and then [all …]
|
D | pngrutil.c | 4610 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row() 4612 png_ptr->big_prev_row = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row()
|
/external/libpng/scripts/ |
D | symbols.def | 101 png_malloc @94
|
/external/libpng/contrib/oss-fuzz/ |
D | libpng_read_fuzzer.cc | 175 png_handler.row_ptr = png_malloc( in LLVMFuzzerTestOneInput()
|
/external/libpng/contrib/examples/ |
D | pngpixel.c | 205 row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, in main()
|
/external/libpng/contrib/libtests/ |
D | tarith.c | 49 #define png_malloc(pp, s) malloc(s) macro
|
/external/ImageMagick/coders/ |
D | png.c | 8207 text=(png_textp) png_malloc(ping,(png_alloc_size_t) sizeof(png_text)); in Magick_png_write_raw_profile() 8209 text=(png_textp) png_malloc(ping,(png_size_t) sizeof(png_text)); in Magick_png_write_raw_profile() 8212 text[0].text=(png_charp) png_malloc(ping,(png_alloc_size_t) in Magick_png_write_raw_profile() 8214 text[0].key=(png_charp) png_malloc(ping,(png_alloc_size_t) 80); in Magick_png_write_raw_profile() 8216 text[0].text=(png_charp) png_malloc(ping,(png_size_t) allocated_length); in Magick_png_write_raw_profile() 8217 text[0].key=(png_charp) png_malloc(ping,(png_size_t) 80); in Magick_png_write_raw_profile() 11755 text=(png_textp) png_malloc(ping, in WriteOnePNGImage() 11758 text=(png_textp) png_malloc(ping,(png_size_t) sizeof(png_text)); in WriteOnePNGImage()
|