chromium/third_party/libaom/source/libaom/aom_mem/aom_mem.c

/*
 * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
 *
 * This source code is subject to the terms of the BSD 2 Clause License and
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
 * was not distributed with this source code in the LICENSE file, you can
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
 * Media Patent License 1.0 was not distributed with this source code in the
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 */

#include "aom_mem.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include "include/aom_mem_intrnl.h"
#include "aom/aom_integer.h"

static size_t GetAllocationPaddingSize(size_t align) {}

// Returns 0 in case of overflow of nmemb * size.
static int check_size_argument_overflow(size_t nmemb, size_t size,
                                        size_t align) {}

static size_t *GetMallocAddressLocation(void *const mem) {}

static void SetActualMallocAddress(void *const mem,
                                   const void *const malloc_addr) {}

static void *GetActualMallocAddress(void *const mem) {}

void *aom_memalign(size_t align, size_t size) {}

void *aom_malloc(size_t size) {}

void *aom_calloc(size_t num, size_t size) {}

void aom_free(void *memblk) {}