Go to the documentation of this file.
16 #ifndef ABSL_BASE_INTERNAL_LOW_LEVEL_ALLOC_H_
17 #define ABSL_BASE_INTERNAL_LOW_LEVEL_ALLOC_H_
27 #include <sys/types.h>
31 #include "absl/base/attributes.h"
32 #include "absl/base/config.h"
37 #ifdef ABSL_LOW_LEVEL_ALLOC_MISSING
38 #error ABSL_LOW_LEVEL_ALLOC_MISSING cannot be directly set
39 #elif !defined(ABSL_HAVE_MMAP) && !defined(_WIN32)
40 #define ABSL_LOW_LEVEL_ALLOC_MISSING 1
47 #ifdef ABSL_LOW_LEVEL_ALLOC_ASYNC_SIGNAL_SAFE_MISSING
48 #error ABSL_LOW_LEVEL_ALLOC_ASYNC_SIGNAL_SAFE_MISSING cannot be directly set
49 #elif defined(_WIN32) || defined(__asmjs__) || defined(__wasm__)
50 #define ABSL_LOW_LEVEL_ALLOC_ASYNC_SIGNAL_SAFE_MISSING 1
55 #include "absl/base/port.h"
59 namespace base_internal {
96 #ifndef ABSL_LOW_LEVEL_ALLOC_ASYNC_SIGNAL_SAFE_MISSING
126 #endif // ABSL_BASE_INTERNAL_LOW_LEVEL_ALLOC_H_
static Arena * NewArena(int32_t flags)
#define ABSL_NAMESPACE_END
grpc_core::ScopedArenaPtr arena
#define ABSL_NAMESPACE_BEGIN
static void Free(void *s) ABSL_ATTRIBUTE_SECTION(malloc_hook)
#define ABSL_ATTRIBUTE_SECTION(name)
static bool DeleteArena(Arena *arena)
static void * Alloc(size_t request) ABSL_ATTRIBUTE_SECTION(malloc_hook)
static void * AllocWithArena(size_t request, Arena *arena) ABSL_ATTRIBUTE_SECTION(malloc_hook)
static Arena * DefaultArena()
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:16