Lines Matching refs:WebPSafeMalloc
470 buf_rle = (uint8_t*)WebPSafeMalloc(1ULL, max_num_symbols); in GetHuffBitLengthsAndCodes()
471 huff_tree = (HuffmanTree*)WebPSafeMalloc(3ULL * max_num_symbols, in GetHuffBitLengthsAndCodes()
756 HuffmanTree* const huff_tree = (HuffmanTree*)WebPSafeMalloc( in EncodeImageNoHuffman()
797 tokens = (HuffmanTreeToken*)WebPSafeMalloc(max_tokens, sizeof(*tokens)); in EncodeImageNoHuffman()
846 (uint16_t*)WebPSafeMalloc(histogram_image_xysize, in EncodeImageInternal()
919 (uint32_t*)WebPSafeMalloc(histogram_image_xysize, in EncodeImageInternal()
950 huff_tree = (HuffmanTree*)WebPSafeMalloc(3ULL * CODE_LENGTH_CODES, in EncodeImageInternal()
963 tokens = (HuffmanTreeToken*)WebPSafeMalloc(max_tokens, in EncodeImageInternal()
1141 uint32_t* mem = (uint32_t*)WebPSafeMalloc(total_size, sizeof(*mem)); in AllocateTransformBuffer()
1215 uint8_t* const tmp_row = (uint8_t*)WebPSafeMalloc(width, sizeof(*tmp_row)); in ApplyPalette()
1325 predictors = (uint32_t*)WebPSafeMalloc(tiles_per_col * tiles_per_row, in EncodeDeltaPalettePredictorImage()