Home
last modified time | relevance | path

Searched refs:png_malloc (Results 1 – 25 of 26) sorted by relevance

12

/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngmem.c64 ret = png_malloc(png_ptr, size);
176 png_malloc,(png_const_structrp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
Dfx_pngwrite.c981 png_ptr->sub_row = (png_bytep)png_malloc(png_ptr, in png_set_filter()
997 png_ptr->up_row = (png_bytep)png_malloc(png_ptr, in png_set_filter()
1014 png_ptr->avg_row = (png_bytep)png_malloc(png_ptr, in png_set_filter()
1031 png_ptr->paeth_row = (png_bytep)png_malloc(png_ptr, in png_set_filter()
1108 png_ptr->prev_filters = (png_bytep)png_malloc(png_ptr, in png_init_filter_heuristics()
1117 png_ptr->filter_weights = (png_uint_16p)png_malloc(png_ptr, in png_init_filter_heuristics()
1120 png_ptr->inv_filter_weights = (png_uint_16p)png_malloc(png_ptr, in png_init_filter_heuristics()
1138 png_ptr->filter_costs = (png_uint_16p)png_malloc(png_ptr, in png_init_filter_heuristics()
1141 png_ptr->inv_filter_costs = (png_uint_16p)png_malloc(png_ptr, in png_init_filter_heuristics()
2174 png_bytep row = png_voidcast(png_bytep, png_malloc(png_ptr, in png_image_write_main()
Dfx_pngwutil.c1017 png_malloc(png_ptr, PNG_COMPRESSION_BUFFER_SIZE(png_ptr))); in png_compress_IDAT()
1820 params_len = (png_size_tp)png_malloc(png_ptr, in png_write_pCAL()
1969 png_ptr->row_buf = (png_bytep)png_malloc(png_ptr, buf_size); in png_write_start_row()
1977 png_ptr->sub_row = (png_bytep)png_malloc(png_ptr, png_ptr->rowbytes + 1); in png_write_start_row()
1990 png_ptr->up_row = (png_bytep)png_malloc(png_ptr, in png_write_start_row()
1998 png_ptr->avg_row = (png_bytep)png_malloc(png_ptr, in png_write_start_row()
2006 png_ptr->paeth_row = (png_bytep)png_malloc(png_ptr, in png_write_start_row()
Dfx_pngread.c1093 info_ptr->row_pointers = (png_bytepp)png_malloc(png_ptr, in png_read_png()
1101 info_ptr->row_pointers[row] = (png_bytep)png_malloc(png_ptr, in png_read_png()
3075 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_colormapped()
3888 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_direct()
3901 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_direct()
Dfx_pngset.c934 png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH)); in png_set_tRNS()
1357 new_list = png_voidcast(png_bytep, png_malloc(png_ptr, in png_set_keep_unknown_chunks()
Dfx_pngrtran.c426 png_ptr->quantize_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
443 png_ptr->quantize_sort = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
577 png_ptr->index_to_palette = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
579 png_ptr->palette_to_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
747 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * in png_set_quantize()
Dfx_png.c3692 (png_uint_16p)png_malloc(png_ptr, 256 * (sizeof (png_uint_16)));
3761 table[i] = (png_uint_16p)png_malloc(png_ptr,
3816 png_bytep table = *ptable = (png_bytep)png_malloc(png_ptr, 256);
Dpng.h632 #define png_malloc FOXIT_png_malloc macro
2176 PNG_EXPORTA(94, png_voidp, png_malloc, (png_const_structrp png_ptr,
Dfx_pngrutil.c4400 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row()
4402 png_ptr->big_prev_row = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row()
/external/libpng/
Dpngmem.c54 ret = png_malloc(png_ptr, size);
172 png_malloc,(png_const_structrp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
Dpngread.c770 rp = png_malloc(png_ptr, PNG_ROWBYTES(png_ptr->maximum_pixel_depth, png_ptr->width)); in png_build_index()
772 png_indexp index = png_malloc(png_ptr, sizeof(png_index)); in png_build_index()
791 png_malloc(png_ptr, temp_size * sizeof(png_line_indexp)); in png_build_index()
802 png_line_indexp line_index = png_malloc(png_ptr, sizeof(png_line_index)); in png_build_index()
805 line_index->z_state = png_malloc(png_ptr, sizeof(z_stream)); in png_build_index()
807 line_index->prev_row = png_malloc(png_ptr, row_byte_length); in png_build_index()
1373 info_ptr->row_pointers = png_voidcast(png_bytepp, png_malloc(png_ptr, in png_read_png()
1383 png_malloc(png_ptr, info_ptr->rowbytes)); in png_read_png()
3375 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_colormapped()
4196 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_direct()
[all …]
Dexample.c554 row_pointers[row] = png_malloc(png_ptr, png_get_rowbytes(png_ptr,
848 palette = (png_colorp)png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH
Dpngtest.c534 pinfo = (memory_infop)png_malloc(png_ptr, in png_debug_malloc()
544 pinfo->pointer = png_malloc(png_ptr, size); in png_debug_malloc()
1393 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
1447 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
Dpngwutil.c1024 png_malloc(png_ptr, PNG_COMPRESSION_BUFFER_SIZE(png_ptr))); in png_compress_IDAT()
1828 params_len = (png_size_tp)png_malloc(png_ptr, in png_write_pCAL()
1981 png_ptr->row_buf = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
2004 png_ptr->try_row = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
2019 png_ptr->tst_row = png_voidcast(png_bytep, png_malloc(png_ptr, in png_write_start_row()
Dpngwrite.c1098 png_malloc(png_ptr, buf_size)); in png_set_filter()
1104 png_malloc(png_ptr, buf_size)); in png_set_filter()
2075 png_bytep row = png_voidcast(png_bytep, png_malloc(png_ptr, in png_image_write_main()
Dpngset.c957 png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH)); in png_set_tRNS()
1396 new_list = png_voidcast(png_bytep, png_malloc(png_ptr, in png_set_keep_unknown_chunks()
Dpngrtran.c432 png_ptr->quantize_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
449 png_ptr->quantize_sort = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
583 png_ptr->index_to_palette = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
585 png_ptr->palette_to_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
753 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * in png_set_quantize()
Dpng.c3885 (png_uint_16p)png_malloc(png_ptr, 256 * (sizeof (png_uint_16)));
3957 table[i] = (png_uint_16p)png_malloc(png_ptr,
4013 png_bytep table = *ptable = (png_bytep)png_malloc(png_ptr, 256);
Dlibpng-manual.txt1176 row_pointers = png_malloc(png_ptr,
1183 row_pointers[i]=png_malloc(png_ptr,
2416 or so that it will free data that was allocated by the user with png_malloc()
2437 for data that the user has allocated, the user must have used png_malloc()
3668 or so that it will free data that was allocated by the user with png_malloc()
3704 for data that the user has allocated, the user must have used png_malloc()
4142 Memory allocation is done through the functions png_malloc(), png_calloc(),
4143 and png_free(). The png_malloc() and png_free() functions currently just
4144 call the standard C functions and png_calloc() calls png_malloc() and then
4164 Your malloc_fn() must return NULL in case of failure. The png_malloc()
[all …]
DCHANGES245 Added type casting to all png_malloc() function calls
1052 Added type casts on several png_malloc() calls (Dimitri Papadapoulos).
1061 Added checking the results of many instances of png_malloc() for NULL
1106 Use png_malloc instead of png_zalloc to allocate palette in pngset.c
1451 Revised Borland portion of png_malloc() to return NULL or issue
1457 Use png_malloc instead of png_zalloc to allocate the pallete.
1478 Revised pngtest's png_debug_malloc() to use png_malloc() instead of
2230 Combined several instances of png_malloc(); png_memset() into png_calloc().
2244 Use png_calloc() instead of png_malloc() to allocate big_row_buf when
2395 Use png_malloc plus a loop instead of png_calloc() to initialize
[all …]
Dpngrutil.c4535 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row()
4537 png_ptr->big_prev_row = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row()
/external/libpng/scripts/
Dsymbols.def102 png_malloc @94
/external/libpng/contrib/examples/
Dpngpixel.c205 row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, in main()
/external/skia/third_party/libpng/
Dpngprefix.h306 #define png_malloc skia_png_malloc macro
/external/libpng/contrib/libtests/
Dtarith.c49 #define png_malloc(pp, s) malloc(s) macro

12