|
Packit Service |
724aca |
/*
|
|
Packit Service |
724aca |
* The @je_@ prefix on the following public symbol declarations is an artifact
|
|
Packit Service |
724aca |
* of namespace management, and should be omitted in application code unless
|
|
Packit Service |
724aca |
* JEMALLOC_NO_DEMANGLE is defined (see jemalloc_mangle@install_suffix@.h).
|
|
Packit Service |
724aca |
*/
|
|
Packit Service |
724aca |
extern JEMALLOC_EXPORT const char *@je_@malloc_conf;
|
|
Packit Service |
724aca |
extern JEMALLOC_EXPORT void (*@je_@malloc_message)(void *cbopaque,
|
|
Packit Service |
724aca |
const char *s);
|
|
Packit Service |
724aca |
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
|
|
Packit Service |
724aca |
void JEMALLOC_NOTHROW *@je_@malloc(size_t size)
|
|
Packit Service |
724aca |
JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc) JEMALLOC_ALLOC_SIZE(1);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
|
|
Packit Service |
724aca |
void JEMALLOC_NOTHROW *@je_@calloc(size_t num, size_t size)
|
|
Packit Service |
724aca |
JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc) JEMALLOC_ALLOC_SIZE2(1, 2);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT int JEMALLOC_NOTHROW @je_@posix_memalign(void **memptr,
|
|
Packit Service |
724aca |
size_t alignment, size_t size) JEMALLOC_CXX_THROW JEMALLOC_ATTR(nonnull(1));
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
|
|
Packit Service |
724aca |
void JEMALLOC_NOTHROW *@je_@aligned_alloc(size_t alignment,
|
|
Packit Service |
724aca |
size_t size) JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc)
|
|
Packit Service |
724aca |
JEMALLOC_ALLOC_SIZE(2);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
|
|
Packit Service |
724aca |
void JEMALLOC_NOTHROW *@je_@realloc(void *ptr, size_t size)
|
|
Packit Service |
724aca |
JEMALLOC_CXX_THROW JEMALLOC_ALLOC_SIZE(2);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT void JEMALLOC_NOTHROW @je_@free(void *ptr)
|
|
Packit Service |
724aca |
JEMALLOC_CXX_THROW;
|
|
Packit Service |
724aca |
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
|
|
Packit Service |
724aca |
void JEMALLOC_NOTHROW *@je_@mallocx(size_t size, int flags)
|
|
Packit Service |
724aca |
JEMALLOC_ATTR(malloc) JEMALLOC_ALLOC_SIZE(1);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
|
|
Packit Service |
724aca |
void JEMALLOC_NOTHROW *@je_@rallocx(void *ptr, size_t size,
|
|
Packit Service |
724aca |
int flags) JEMALLOC_ALLOC_SIZE(2);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW @je_@xallocx(void *ptr, size_t size,
|
|
Packit Service |
724aca |
size_t extra, int flags);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW @je_@sallocx(const void *ptr,
|
|
Packit Service |
724aca |
int flags) JEMALLOC_ATTR(pure);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT void JEMALLOC_NOTHROW @je_@dallocx(void *ptr, int flags);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT void JEMALLOC_NOTHROW @je_@sdallocx(void *ptr, size_t size,
|
|
Packit Service |
724aca |
int flags);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW @je_@nallocx(size_t size, int flags)
|
|
Packit Service |
724aca |
JEMALLOC_ATTR(pure);
|
|
Packit Service |
724aca |
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT int JEMALLOC_NOTHROW @je_@mallctl(const char *name,
|
|
Packit Service |
724aca |
void *oldp, size_t *oldlenp, void *newp, size_t newlen);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT int JEMALLOC_NOTHROW @je_@mallctlnametomib(const char *name,
|
|
Packit Service |
724aca |
size_t *mibp, size_t *miblenp);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT int JEMALLOC_NOTHROW @je_@mallctlbymib(const size_t *mib,
|
|
Packit Service |
724aca |
size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT void JEMALLOC_NOTHROW @je_@malloc_stats_print(
|
|
Packit Service |
724aca |
void (*write_cb)(void *, const char *), void *@je_@cbopaque,
|
|
Packit Service |
724aca |
const char *opts);
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW @je_@malloc_usable_size(
|
|
Packit Service |
724aca |
JEMALLOC_USABLE_SIZE_CONST void *ptr) JEMALLOC_CXX_THROW;
|
|
Packit Service |
724aca |
|
|
Packit Service |
724aca |
#ifdef JEMALLOC_OVERRIDE_MEMALIGN
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
|
|
Packit Service |
724aca |
void JEMALLOC_NOTHROW *@je_@memalign(size_t alignment, size_t size)
|
|
Packit Service |
724aca |
JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc);
|
|
Packit Service |
724aca |
#endif
|
|
Packit Service |
724aca |
|
|
Packit Service |
724aca |
#ifdef JEMALLOC_OVERRIDE_VALLOC
|
|
Packit Service |
724aca |
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN
|
|
Packit Service |
724aca |
void JEMALLOC_NOTHROW *@je_@valloc(size_t size) JEMALLOC_CXX_THROW
|
|
Packit Service |
724aca |
JEMALLOC_ATTR(malloc);
|
|
Packit Service |
724aca |
#endif
|