Home
last modified time | relevance | path

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

123

/external/syslinux/com32/lib/libpng/
Dpngmem.c123 ret = (png_malloc(png_ptr, size)); in png_calloc()
130 png_malloc(png_structp png_ptr, png_uint_32 size) in png_malloc() function
450 ret = (png_malloc(png_ptr, size)); in png_calloc()
457 png_malloc(png_structp png_ptr, png_uint_32 size) in png_malloc() function
563 # define png_malloc_warn png_malloc
580 ptr = (png_voidp)png_malloc((png_structp)png_ptr, size); in png_malloc_warn()
Dpngwrite.c572 png_ptr->zbuf = (png_bytep)png_malloc(png_ptr, in png_create_write_struct_2()
722 png_ptr->zbuf = (png_bytep)png_malloc(png_ptr, in png_write_init_3()
1230 png_ptr->sub_row = (png_bytep)png_malloc(png_ptr, in png_set_filter()
1244 png_ptr->up_row = (png_bytep)png_malloc(png_ptr, in png_set_filter()
1259 png_ptr->avg_row = (png_bytep)png_malloc(png_ptr, in png_set_filter()
1275 png_ptr->paeth_row = (png_bytep)png_malloc(png_ptr, in png_set_filter()
1333 png_ptr->prev_filters = (png_bytep)png_malloc(png_ptr, in png_set_filter_heuristics()
1345 png_ptr->filter_weights = (png_uint_16p)png_malloc(png_ptr, in png_set_filter_heuristics()
1348 png_ptr->inv_filter_weights = (png_uint_16p)png_malloc(png_ptr, in png_set_filter_heuristics()
1379 png_ptr->filter_costs = (png_uint_16p)png_malloc(png_ptr, in png_set_filter_heuristics()
[all …]
Dpngpread.c1226 png_ptr->current_text = (png_charp)png_malloc(png_ptr, in png_push_handle_tEXt()
1280 text_ptr = (png_textp)png_malloc(png_ptr, in png_push_read_tEXt()
1326 png_ptr->current_text = (png_charp)png_malloc(png_ptr, in png_push_handle_zTXt()
1419 text = (png_charp)png_malloc(png_ptr, in png_push_read_zTXt()
1438 text = (png_charp)png_malloc(png_ptr, text_size + in png_push_read_zTXt()
1482 text_ptr = (png_textp)png_malloc(png_ptr, in png_push_read_zTXt()
1525 png_ptr->current_text = (png_charp)png_malloc(png_ptr, in png_push_handle_iTXt()
1602 text_ptr = (png_textp)png_malloc(png_ptr, in png_push_read_iTXt()
1673 png_ptr->unknown_chunk.data = (png_bytep)png_malloc(png_ptr, in png_push_handle_unknown()
Dpngwutil.c255 comp->output_ptr = (png_charpp)png_malloc(png_ptr, in png_text_compress()
263 comp->output_ptr = (png_charpp)png_malloc(png_ptr, in png_text_compress()
270 (png_charp)png_malloc(png_ptr, in png_text_compress()
307 comp->output_ptr = (png_charpp)png_malloc(png_ptr, in png_text_compress()
315 comp->output_ptr = (png_charpp)png_malloc(png_ptr, in png_text_compress()
322 (png_charp)png_malloc(png_ptr, in png_text_compress()
1587 params_len = (png_uint_32p)png_malloc(png_ptr, in png_write_pCAL()
1785 png_ptr->row_buf = (png_bytep)png_malloc(png_ptr, in png_write_start_row()
1793 png_ptr->sub_row = (png_bytep)png_malloc(png_ptr, in png_write_start_row()
1807 png_ptr->up_row = (png_bytep)png_malloc(png_ptr, in png_write_start_row()
[all …]
Dexample.c353 row_pointers[row] = png_malloc(png_ptr, png_get_rowbytes(png_ptr,
645 palette = (png_colorp)png_malloc(png_ptr, PNG_MAX_PALETTE_LENGTH
Dpngrtran.c178 png_ptr->dither_index = (png_bytep)png_malloc(png_ptr, in png_set_dither()
195 png_ptr->dither_sort = (png_bytep)png_malloc(png_ptr, in png_set_dither()
327 png_ptr->index_to_palette = (png_bytep)png_malloc(png_ptr, in png_set_dither()
329 png_ptr->palette_to_index = (png_bytep)png_malloc(png_ptr, in png_set_dither()
492 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * in png_set_dither()
4188 png_ptr->gamma_table = (png_bytep)png_malloc(png_ptr, in png_build_gamma_table()
4204 png_ptr->gamma_to_1 = (png_bytep)png_malloc(png_ptr, in png_build_gamma_table()
4214 png_ptr->gamma_from_1 = (png_bytep)png_malloc(png_ptr, in png_build_gamma_table()
4291 png_ptr->gamma_16_table[i] = (png_uint_16p)png_malloc(png_ptr, in png_build_gamma_table()
4321 png_ptr->gamma_16_table[i] = (png_uint_16p)png_malloc(png_ptr, in png_build_gamma_table()
[all …]
Dpngread.c158 png_ptr->zbuf = (png_bytep)png_malloc(png_ptr, in png_create_read_struct_2()
323 png_ptr->zbuf = (png_bytep)png_malloc(png_ptr, in png_read_init_3()
1502 info_ptr->row_pointers = (png_bytepp)png_malloc(png_ptr, in png_read_png()
1512 info_ptr->row_pointers[row] = (png_bytep)png_malloc(png_ptr, in png_read_png()
Dpngtest.c535 pinfo = (memory_infop)png_malloc(png_ptr, in png_debug_malloc()
543 pinfo->pointer = (png_voidp)png_malloc(png_ptr, size); in png_debug_malloc()
1206 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
1234 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
Dpngset.c855 png_ptr->trans = info_ptr->trans = (png_bytep)png_malloc(png_ptr, in png_set_tRNS()
1093 new_list=(png_bytep)png_malloc(png_ptr, in png_set_keep_unknown_chunks()
1155 png_ptr->zbuf = (png_bytep)png_malloc(png_ptr, size); in png_set_compression_buffer_size()
Dpng.c175 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes); in png_zalloc()
680 png_ptr->time_buffer = (png_charp)png_malloc(png_ptr, (png_uint_32)(29* in png_convert_to_rfc1123()
Dpngrutil.c37 str = (wchar_t *)png_malloc(png_ptr, len * png_sizeof(wchar_t)); in png_strtod()
1084 png_ptr->chunkdata = (png_charp)png_malloc(png_ptr, length + 1); in png_handle_iCCP()
1214 png_ptr->chunkdata = (png_charp)png_malloc(png_ptr, length + 1); in png_handle_sPLT()
2427 png_ptr->unknown_chunk.data = (png_bytep)png_malloc(png_ptr, length); in png_handle_unknown()
3345 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, in png_read_start_row()
3364 png_ptr->prev_row = (png_bytep)png_malloc(png_ptr, (png_uint_32)( in png_read_start_row()
/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()
/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.c543 pinfo = (memory_infop)png_malloc(png_ptr, in png_debug_malloc()
553 pinfo->pointer = png_malloc(png_ptr, size); in png_debug_malloc()
1409 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
1463 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
Dpngwutil.c940 png_malloc(png_ptr, PNG_COMPRESSION_BUFFER_SIZE(png_ptr))); in png_compress_IDAT()
1745 params_len = (png_size_tp)png_malloc(png_ptr, in png_write_pCAL()
1898 png_ptr->row_buf = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1921 png_ptr->try_row = png_voidcast(png_bytep, png_malloc(png_ptr, buf_size)); in png_write_start_row()
1936 png_ptr->tst_row = png_voidcast(png_bytep, png_malloc(png_ptr, in png_write_start_row()
/external/skia/third_party/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.c543 pinfo = (memory_infop)png_malloc(png_ptr, in png_debug_malloc()
553 pinfo->pointer = png_malloc(png_ptr, size); in png_debug_malloc()
1402 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
1456 row_buf = (png_bytep)png_malloc(read_ptr, in test_one_file()
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.c1202 info_ptr->row_pointers = png_voidcast(png_bytepp, png_malloc(png_ptr, in png_read_png()
1212 png_malloc(png_ptr, info_ptr->rowbytes)); in png_read_png()
3204 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_colormapped()
4025 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_direct()
4038 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr)); in png_image_read_direct()
/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()

123