Home
last modified time | relevance | path

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

/GUIX-v6.2.1/common/src/
Dgx_image_reader_png_decode.c1497 UINT alloc_size; in _gx_image_reader_png_IDAT_chunk_read() local
1528 alloc_size = (UINT)(png -> gx_png_height * ((png -> gx_png_width * png -> gx_png_bpp + 7) / 8)); in _gx_image_reader_png_IDAT_chunk_read()
1529 alloc_size = alloc_size + (UINT)png -> gx_png_height; in _gx_image_reader_png_IDAT_chunk_read()
1530 png -> gx_png_decoded_data = (GX_UBYTE *)_gx_system_memory_allocator(alloc_size); in _gx_image_reader_png_IDAT_chunk_read()
1585 if ((UINT)(png -> gx_png_decoded_data_len + len) > alloc_size) in _gx_image_reader_png_IDAT_chunk_read()
1606 if (_gx_image_reader_png_huffcode_decode(png, GX_FALSE, alloc_size) != GX_SUCCESS) in _gx_image_reader_png_IDAT_chunk_read()
1655 if (_gx_image_reader_png_huffcode_decode(png, GX_TRUE, alloc_size) != GX_SUCCESS) in _gx_image_reader_png_IDAT_chunk_read()
1671 if (alloc_size != (UINT)png -> gx_png_decoded_data_len) in _gx_image_reader_png_IDAT_chunk_read()