WebPSafeMalloc 102 third_party/libwebp/dec/buffer.c output = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*output)); WebPSafeMalloc 554 third_party/libwebp/dec/frame.c dec->mem_ = WebPSafeMalloc(needed, sizeof(uint8_t)); WebPSafeMalloc 189 third_party/libwebp/dec/idec.c (uint8_t*)WebPSafeMalloc(extra_size, sizeof(*new_buf)); WebPSafeMalloc 946 third_party/libwebp/dec/vp8l.c (uint32_t*)WebPSafeMalloc((uint64_t)final_num_colors, WebPSafeMalloc 1144 third_party/libwebp/dec/vp8l.c data = (uint32_t*)WebPSafeMalloc(total_size, sizeof(*data)); WebPSafeMalloc 1195 third_party/libwebp/dec/vp8l.c dec->pixels_ = (uint32_t*)WebPSafeMalloc(total_num_pixels, sizeof(uint32_t)); WebPSafeMalloc 1208 third_party/libwebp/dec/vp8l.c dec->pixels_ = (uint32_t*)WebPSafeMalloc(total_num_pixels, sizeof(uint8_t)); WebPSafeMalloc 33 third_party/libwebp/enc/analysis.c uint8_t* const tmp = (uint8_t*)WebPSafeMalloc((uint64_t)w * h, sizeof(*tmp)); WebPSafeMalloc 100 third_party/libwebp/enc/backward_references.c refs->refs = (PixOrCopy*)WebPSafeMalloc((uint64_t)max_size, WebPSafeMalloc 118 third_party/libwebp/enc/backward_references.c p->chain_ = (int*)WebPSafeMalloc((uint64_t)size, sizeof(*p->chain_)); WebPSafeMalloc 486 third_party/libwebp/enc/backward_references.c (float*)WebPSafeMalloc((uint64_t)pix_count, sizeof(*cost)); WebPSafeMalloc 707 third_party/libwebp/enc/backward_references.c (uint32_t*)WebPSafeMalloc((uint64_t)dist_array_size, sizeof(*dist_array)); WebPSafeMalloc 63 third_party/libwebp/enc/histogram.c uint8_t* memory = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*memory)); WebPSafeMalloc 98 third_party/libwebp/enc/picture.c mem = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*mem)); WebPSafeMalloc 135 third_party/libwebp/enc/picture.c memory = WebPSafeMalloc(argb_size, sizeof(*picture->argb)); WebPSafeMalloc 451 third_party/libwebp/enc/picture.c work = (int32_t*)WebPSafeMalloc(2ULL * width, sizeof(*work)); WebPSafeMalloc 490 third_party/libwebp/enc/picture.c work = (int32_t*)WebPSafeMalloc(2ULL * width * 4, sizeof(*work)); WebPSafeMalloc 534 third_party/libwebp/enc/picture.c new_mem = (uint8_t*)WebPSafeMalloc(next_max_size, 1); WebPSafeMalloc 308 third_party/libwebp/enc/vp8l.c (HuffmanTreeToken*)WebPSafeMalloc((uint64_t)max_tokens, sizeof(*tokens)); WebPSafeMalloc 529 third_party/libwebp/enc/vp8l.c (uint16_t*)WebPSafeMalloc((uint64_t)histogram_image_xysize, WebPSafeMalloc 577 third_party/libwebp/enc/vp8l.c (uint32_t*)WebPSafeMalloc((uint64_t)histogram_image_xysize, WebPSafeMalloc 793 third_party/libwebp/enc/vp8l.c uint32_t* mem = (uint32_t*)WebPSafeMalloc(total_size, sizeof(*mem)); WebPSafeMalloc 891 third_party/libwebp/enc/vp8l.c row = (uint8_t*)WebPSafeMalloc((uint64_t)width, sizeof(*row)); WebPSafeMalloc 215 third_party/libwebp/enc/webpenc.c mem = (uint8_t*)WebPSafeMalloc(size, sizeof(*mem)); WebPSafeMalloc 57 third_party/libwebp/utils/huffman.c tree->root_ = (HuffmanTreeNode*)WebPSafeMalloc((uint64_t)tree->max_nodes_, WebPSafeMalloc 231 third_party/libwebp/utils/huffman.c (int*)WebPSafeMalloc((uint64_t)code_lengths_size, sizeof(*codes)); WebPSafeMalloc 201 third_party/libwebp/utils/huffman_encode.c tree = (HuffmanTree*)WebPSafeMalloc(3ULL * tree_size_orig, sizeof(*tree)); WebPSafeMalloc 38 third_party/libwebp/utils/utils.h void* WebPSafeMalloc(uint64_t nmemb, size_t size);