OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef THIRD_PARTY_FLAC_INCLUDE_SHARE_ALLOC_H |
| 6 #define THIRD_PARTY_FLAC_INCLUDE_SHARE_ALLOC_H |
| 7 |
| 8 void *safe_malloc_(size_t size); |
| 9 |
| 10 void *safe_calloc_(size_t num_items, size_t size); |
| 11 |
| 12 void *safe_malloc_add_2op_(size_t size1, size_t size2); |
| 13 |
| 14 void *safe_malloc_mul_2op_(size_t size1, size_t size2); |
| 15 |
| 16 void *safe_malloc_muladd2_(size_t size1, size_t size2, size_t size3); |
| 17 |
| 18 void *safe_realloc_mul_2op_(void *ptr, size_t size1, size_t size2); |
| 19 |
| 20 #endif // THIRD_PARTY_FLAC_INCLUDE_SHARE_ALLOC_H |
OLD | NEW |