Searched refs:lodepng_malloc (Results 1 – 1 of 1) sorted by relevance
61 static void* lodepng_malloc(size_t size) in lodepng_malloc() function76 void* lodepng_malloc(size_t size);368 *out = (unsigned char*)lodepng_malloc((size_t)size); in lodepng_load_file()529 tree->tree2d = (unsigned*)lodepng_malloc(tree->numcodes * 2 * sizeof(unsigned)); in HuffmanTree_make2DTree()596 tree->tree1d = (unsigned*)lodepng_malloc(tree->numcodes * sizeof(unsigned)); in HuffmanTree_makeFromLengths2()635 tree->lengths = (unsigned*)lodepng_malloc(numcodes * sizeof(unsigned)); in HuffmanTree_makeFromLengths()765 coins = (Coin*)lodepng_malloc(sizeof(Coin) * coinmem); in lodepng_huffman_code_lengths()766 prev_row = (Coin*)lodepng_malloc(sizeof(Coin) * coinmem); in lodepng_huffman_code_lengths()866 unsigned* bitlen = (unsigned*)lodepng_malloc(NUM_DEFLATE_CODE_SYMBOLS * sizeof(unsigned)); in generateFixedLitLenTree()885 unsigned* bitlen = (unsigned*)lodepng_malloc(NUM_DISTANCE_SYMBOLS * sizeof(unsigned)); in generateFixedDistanceTree()[all …]