/external/chromium_org/third_party/libwebp/utils/ |
utils.h | 38 WEBP_EXTERN(void*) WebPSafeMalloc(uint64_t nmemb, size_t size);
|
utils.c | 183 void* WebPSafeMalloc(uint64_t nmemb, size_t size) {
|
bit_writer.c | 40 new_buf = (uint8_t*)WebPSafeMalloc(1ULL, new_size); 225 allocated_buf = (uint8_t*)WebPSafeMalloc(1ULL, allocated_size);
|
huffman.c | 61 (HuffmanTreeNode*)WebPSafeMalloc(num_nodes, sizeof(*tree->root_));
|
quant_levels_dec.c | 219 uint8_t* mem = (uint8_t*)WebPSafeMalloc(1U, total_size);
|
/external/webp/src/utils/ |
utils.h | 38 WEBP_EXTERN(void*) WebPSafeMalloc(uint64_t nmemb, size_t size);
|
utils.c | 183 void* WebPSafeMalloc(uint64_t nmemb, size_t size) {
|
bit_writer.c | 40 new_buf = (uint8_t*)WebPSafeMalloc(1ULL, new_size); 225 allocated_buf = (uint8_t*)WebPSafeMalloc(1ULL, allocated_size);
|
huffman.c | 61 (HuffmanTreeNode*)WebPSafeMalloc(num_nodes, sizeof(*tree->root_));
|
/external/chromium_org/third_party/libwebp/enc/ |
picture.c | 78 memory = WebPSafeMalloc(argb_size, sizeof(*picture->argb)); 124 mem = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*mem)); 198 new_mem = (uint8_t*)WebPSafeMalloc(next_max_size, 1); 207 // down-cast is ok, thanks to WebPSafeMalloc
|
vp8l.c | 232 buf_rle = (uint8_t*)WebPSafeMalloc(1ULL, max_num_symbols); 233 huff_tree = (HuffmanTree*)WebPSafeMalloc(3ULL * max_num_symbols, 495 HuffmanTree* const huff_tree = (HuffmanTree*)WebPSafeMalloc( 530 tokens = (HuffmanTreeToken*)WebPSafeMalloc(max_tokens, sizeof(*tokens)); 578 (uint16_t*)WebPSafeMalloc(histogram_image_xysize, 631 (uint32_t*)WebPSafeMalloc(histogram_image_xysize, 659 huff_tree = (HuffmanTree*)WebPSafeMalloc(3ULL * CODE_LENGTH_CODES, 669 tokens = (HuffmanTreeToken*)WebPSafeMalloc(max_tokens, 860 uint32_t* mem = (uint32_t*)WebPSafeMalloc(total_size, sizeof(*mem)); [all...] |
picture_rescale.c | 234 work = (int32_t*)WebPSafeMalloc(2ULL * width, sizeof(*work)); 262 work = (int32_t*)WebPSafeMalloc(2ULL * width * 4, sizeof(*work));
|
backward_references.c | 135 b = (PixOrCopyBlock*)WebPSafeMalloc(1ULL, total_size); 196 p->chain_ = (int*)WebPSafeMalloc(size, sizeof(*p->chain_)); 570 (float*)WebPSafeMalloc(pix_count, sizeof(*cost)); 571 CostModel* cost_model = (CostModel*)WebPSafeMalloc(1ULL, sizeof(*cost_model)); 786 (uint32_t*)WebPSafeMalloc(dist_array_size, sizeof(*dist_array)); [all...] |
alpha.c | 235 uint8_t* filtered_alpha = (uint8_t*)WebPSafeMalloc(1ULL, data_size); 302 quant_alpha = (uint8_t*)WebPSafeMalloc(1ULL, data_size);
|
token.c | 70 page = (VP8Tokens*)WebPSafeMalloc(1ULL, size);
|
webpenc.c | 189 mem = (uint8_t*)WebPSafeMalloc(size, sizeof(*mem));
|
/external/webp/src/enc/ |
picture.c | 78 memory = WebPSafeMalloc(argb_size, sizeof(*picture->argb)); 124 mem = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*mem)); 198 new_mem = (uint8_t*)WebPSafeMalloc(next_max_size, 1); 207 // down-cast is ok, thanks to WebPSafeMalloc
|
vp8l.c | 232 buf_rle = (uint8_t*)WebPSafeMalloc(1ULL, max_num_symbols); 233 huff_tree = (HuffmanTree*)WebPSafeMalloc(3ULL * max_num_symbols, 495 HuffmanTree* const huff_tree = (HuffmanTree*)WebPSafeMalloc( 530 tokens = (HuffmanTreeToken*)WebPSafeMalloc(max_tokens, sizeof(*tokens)); 578 (uint16_t*)WebPSafeMalloc(histogram_image_xysize, 631 (uint32_t*)WebPSafeMalloc(histogram_image_xysize, 659 huff_tree = (HuffmanTree*)WebPSafeMalloc(3ULL * CODE_LENGTH_CODES, 669 tokens = (HuffmanTreeToken*)WebPSafeMalloc(max_tokens, 860 uint32_t* mem = (uint32_t*)WebPSafeMalloc(total_size, sizeof(*mem)); [all...] |
picture_rescale.c | 234 work = (int32_t*)WebPSafeMalloc(2ULL * width, sizeof(*work)); 262 work = (int32_t*)WebPSafeMalloc(2ULL * width * 4, sizeof(*work));
|
backward_references.c | 135 b = (PixOrCopyBlock*)WebPSafeMalloc(1ULL, total_size); 196 p->chain_ = (int*)WebPSafeMalloc(size, sizeof(*p->chain_)); 570 (float*)WebPSafeMalloc(pix_count, sizeof(*cost)); 571 CostModel* cost_model = (CostModel*)WebPSafeMalloc(1ULL, sizeof(*cost_model)); 786 (uint32_t*)WebPSafeMalloc(dist_array_size, sizeof(*dist_array)); [all...] |
alpha.c | 235 uint8_t* filtered_alpha = (uint8_t*)WebPSafeMalloc(1ULL, data_size); 302 quant_alpha = (uint8_t*)WebPSafeMalloc(1ULL, data_size);
|
token.c | 70 page = (VP8Tokens*)WebPSafeMalloc(1ULL, size);
|
webpenc.c | 189 mem = (uint8_t*)WebPSafeMalloc(size, sizeof(*mem));
|
/external/chromium_org/third_party/libwebp/dec/ |
buffer.c | 107 output = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*output));
|
/external/webp/src/dec/ |
buffer.c | 107 output = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*output));
|