Home
last modified time | relevance | path

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

12

/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)
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.c535 pinfo = (memory_infop)png_malloc(png_ptr, in png_debug_malloc()
545 pinfo->pointer = png_malloc(png_ptr, size); in png_debug_malloc()
1436 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
1490 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
Dpngwutil.c945 png_malloc(png_ptr, PNG_COMPRESSION_BUFFER_SIZE(png_ptr))); in png_compress_IDAT()
1774 params_len = (png_size_tp)png_malloc(png_ptr, in png_write_pCAL()
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()
Dpngread.c1222 info_ptr->row_pointers = png_voidcast(png_bytepp, png_malloc(png_ptr, in png_read_png()
1232 png_malloc(png_ptr, info_ptr->rowbytes)); in png_read_png()
3227 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_colormapped()
4058 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_direct()
4071 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_direct()
Dpngwrite.c1109 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()
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()
586 png_ptr->palette_to_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
755 distance = (png_bytep)png_malloc(png_ptr, (png_alloc_size_t)(num_entries * in png_set_quantize()
Dpngset.c1020 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()
Dpng.c3999 (png_uint_16p)png_malloc(png_ptr, 256 * (sizeof (png_uint_16)));
4071 table[i] = (png_uint_16p)png_malloc(png_ptr,
4127 png_bytep table = *ptable = (png_bytep)png_malloc(png_ptr, 256);
Dlibpng-manual.txt1190 row_pointers = png_malloc(png_ptr,
1197 row_pointers[i]=png_malloc(png_ptr,
1211 png_bytep buffer=png_malloc(png_ptr,height*width*pixel_size);
2468 or so that it will free data that was allocated by the user with png_malloc()
2489 for data that the user has allocated, the user must have used png_malloc()
3726 or so that it will free data that was allocated by the user with png_malloc()
3762 for data that the user has allocated, the user must have used png_malloc()
4207 Memory allocation is done through the functions png_malloc(), png_calloc(),
4208 and png_free(). The png_malloc() and png_free() functions currently just
4209 call the standard C functions and png_calloc() calls png_malloc() and then
[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 …]
/external/pdfium/third_party/libpng16/
Dpngmem.c57 ret = png_malloc(png_ptr, size);
175 png_malloc,(png_const_structrp png_ptr, png_alloc_size_t size),PNG_ALLOCATED)
Dpngwutil.c940 png_malloc(png_ptr, PNG_COMPRESSION_BUFFER_SIZE(png_ptr))); in png_compress_IDAT()
1744 params_len = (png_size_tp)png_malloc(png_ptr, in png_write_pCAL()
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()
Dpngread.c1212 info_ptr->row_pointers = png_voidcast(png_bytepp, png_malloc(png_ptr, in png_read_png()
1222 png_malloc(png_ptr, info_ptr->rowbytes)); in png_read_png()
3214 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_colormapped()
4035 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_direct()
4048 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_direct()
Dpngwrite.c1098 png_malloc(png_ptr, buf_size)); in png_set_filter()
1104 png_malloc(png_ptr, buf_size)); in png_set_filter()
2112 png_bytep row = png_voidcast(png_bytep, png_malloc(png_ptr, in png_image_write_main()
Dpngset.c971 png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH)); in png_set_tRNS()
1411 new_list = png_voidcast(png_bytep, png_malloc(png_ptr, in png_set_keep_unknown_chunks()
Dpngrtran.c431 png_ptr->quantize_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
448 png_ptr->quantize_sort = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
582 png_ptr->index_to_palette = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
584 png_ptr->palette_to_index = (png_bytep)png_malloc(png_ptr, in png_set_quantize()
752 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * in png_set_quantize()
Dpng.c3921 (png_uint_16p)png_malloc(png_ptr, 256 * (sizeof (png_uint_16)));
3993 table[i] = (png_uint_16p)png_malloc(png_ptr,
4049 png_bytep table = *ptable = (png_bytep)png_malloc(png_ptr, 256);
Dpngrutil.c4458 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes + 48); in png_read_start_row()
4460 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/oss-fuzz/
Dlibpng_read_fuzzer.cc139 png_handler.row_ptr = png_malloc( in LLVMFuzzerTestOneInput()
Dnewcc145 png_handler.row_ptr = png_malloc(
/external/libpng/contrib/examples/
Dpngpixel.c205 row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, in main()
/external/libpng/contrib/libtests/
Dtarith.c49 #define png_malloc(pp, s) malloc(s) macro
/external/ImageMagick/coders/
Dpng.c8191 text=(png_textp) png_malloc(ping,(png_alloc_size_t) sizeof(png_text)); in Magick_png_write_raw_profile()
8193 text=(png_textp) png_malloc(ping,(png_size_t) sizeof(png_text)); in Magick_png_write_raw_profile()
8199 text[0].text=(png_charp) png_malloc(ping, in Magick_png_write_raw_profile()
8201 text[0].key=(png_charp) png_malloc(ping, (png_alloc_size_t) 80); in Magick_png_write_raw_profile()
8203 text[0].text=(png_charp) png_malloc(ping, (png_size_t) allocated_length); in Magick_png_write_raw_profile()
8204 text[0].key=(png_charp) png_malloc(ping, (png_size_t) 80); in Magick_png_write_raw_profile()
11735 text=(png_textp) png_malloc(ping, in WriteOnePNGImage()
11738 text=(png_textp) png_malloc(ping,(png_size_t) sizeof(png_text)); in WriteOnePNGImage()

12