Rizin
unix-like reverse engineering framework and cli tools
jemalloc_protos.h
Go to the documentation of this file.
1 /*
2  * The je_ prefix on the following public symbol declarations is an artifact
3  * of namespace management, and should be omitted in application code unless
4  * JEMALLOC_NO_DEMANGLE is defined (see jemalloc_mangle.h).
5  */
6 extern JEMALLOC_EXPORT const char *je_malloc_conf;
7 extern JEMALLOC_EXPORT void (*je_malloc_message)(void *cbopaque,
8  const char *s);
9 
14  void JEMALLOC_NOTHROW *je_calloc(size_t num, size_t size)
17  size_t alignment, size_t size) JEMALLOC_CXX_THROW JEMALLOC_ATTR(nonnull(1));
19  void JEMALLOC_NOTHROW *je_aligned_alloc(size_t alignment,
23  void JEMALLOC_NOTHROW *je_realloc(void *ptr, size_t size)
27 
32  void JEMALLOC_NOTHROW *je_rallocx(void *ptr, size_t size,
33  int flags) JEMALLOC_ALLOC_SIZE(2);
35  size_t extra, int flags);
37  int flags) JEMALLOC_ATTR(pure);
40  int flags);
42  JEMALLOC_ATTR(pure);
43 
45  void *oldp, size_t *oldlenp, void *newp, size_t newlen);
47  size_t *mibp, size_t *miblenp);
49  size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen);
51  void (*write_cb)(void *, const char *), void *je_cbopaque,
52  const char *opts);
55 
56 #ifdef JEMALLOC_OVERRIDE_MEMALIGN
58  void JEMALLOC_NOTHROW *je_memalign(size_t alignment, size_t size)
60 #endif
61 
62 #ifdef JEMALLOC_OVERRIDE_VALLOC
66 #endif
voidpf void uLong size
Definition: ioapi.h:138
#define JEMALLOC_RESTRICT_RETURN
Definition: jemalloc.h:172
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN void JEMALLOC_NOTHROW * je_memalign(size_t alignment, size_t size) JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc)
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN void JEMALLOC_NOTHROW * je_valloc(size_t size) JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc)
#define JEMALLOC_ALLOC_SIZE(s)
Definition: jemalloc.h:156
#define JEMALLOC_NOTHROW
Definition: jemalloc.h:170
#define JEMALLOC_USABLE_SIZE_CONST
Definition: jemalloc.h:33
#define JEMALLOC_EXPORT
Definition: jemalloc.h:160
#define JEMALLOC_ATTR(s)
Definition: jemalloc.h:149
#define JEMALLOC_ALLOC_SIZE2(s1, s2)
Definition: jemalloc.h:157
#define JEMALLOC_ALLOCATOR
Definition: jemalloc.h:173
#define JEMALLOC_CXX_THROW
Definition: jemalloc.h:119
JEMALLOC_EXPORT void JEMALLOC_NOTHROW je_free(void *ptr) JEMALLOC_CXX_THROW
JEMALLOC_EXPORT void JEMALLOC_NOTHROW je_sdallocx(void *ptr, size_t size, int flags)
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN void JEMALLOC_NOTHROW * je_calloc(size_t num, size_t size) JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc) JEMALLOC_ALLOC_SIZE2(1
JEMALLOC_EXPORT int JEMALLOC_NOTHROW je_mallctlbymib(const size_t *mib, size_t miblen, void *oldp, size_t *oldlenp, void *newp, size_t newlen)
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW je_xallocx(void *ptr, size_t size, size_t extra, int flags)
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW je_malloc_usable_size(JEMALLOC_USABLE_SIZE_CONST void *ptr) JEMALLOC_CXX_THROW
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN void JEMALLOC_NOTHROW * je_rallocx(void *ptr, size_t size, int flags) JEMALLOC_ALLOC_SIZE(2)
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN void JEMALLOC_NOTHROW * je_realloc(void *ptr, size_t size) JEMALLOC_CXX_THROW JEMALLOC_ALLOC_SIZE(2)
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN void JEMALLOC_NOTHROW * je_mallocx(size_t size, int flags) JEMALLOC_ATTR(malloc) JEMALLOC_ALLOC_SIZE(1)
JEMALLOC_EXPORT int JEMALLOC_NOTHROW je_mallctlnametomib(const char *name, size_t *mibp, size_t *miblenp)
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW je_nallocx(size_t size, int flags) JEMALLOC_ATTR(pure)
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN void JEMALLOC_NOTHROW JEMALLOC_EXPORT int JEMALLOC_NOTHROW je_posix_memalign(void **memptr, size_t alignment, size_t size) JEMALLOC_CXX_THROW JEMALLOC_ATTR(nonnull(1))
JEMALLOC_EXPORT size_t JEMALLOC_NOTHROW je_sallocx(const void *ptr, int flags) JEMALLOC_ATTR(pure)
JEMALLOC_EXPORT void(* je_malloc_message)(void *cbopaque, const char *s)
JEMALLOC_EXPORT const char * je_malloc_conf
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN void JEMALLOC_NOTHROW * je_malloc(size_t size) JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc) JEMALLOC_ALLOC_SIZE(1)
JEMALLOC_EXPORT int JEMALLOC_NOTHROW je_mallctl(const char *name, void *oldp, size_t *oldlenp, void *newp, size_t newlen)
JEMALLOC_EXPORT JEMALLOC_ALLOCATOR JEMALLOC_RESTRICT_RETURN void JEMALLOC_NOTHROW * je_aligned_alloc(size_t alignment, size_t size) JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc) JEMALLOC_ALLOC_SIZE(2)
JEMALLOC_EXPORT void JEMALLOC_NOTHROW je_malloc_stats_print(void(*write_cb)(void *, const char *), void *je_cbopaque, const char *opts)
JEMALLOC_EXPORT void JEMALLOC_NOTHROW je_dallocx(void *ptr, int flags)
void * malloc(size_t size)
Definition: malloc.c:123
static static fork const void static count static fd const char const char static newpath char char char static envp time_t static t const char static mode static whence const char static dir time_t static t unsigned static seconds const char struct utimbuf static buf static inc static sig const char static mode static oldfd struct tms static buf static getgid static geteuid const char static filename static arg static mask struct ustat static ubuf static getppid static setsid static egid sigset_t static set struct timeval struct timezone static tz fd_set fd_set fd_set struct timeval static timeout const char char static bufsiz const char static swapflags void static offset const char static length static mode static who const char struct statfs static buf unsigned unsigned num
Definition: sflib.h:126
static RzSocket * s
Definition: rtr.c:28
static struct sockaddr static addrlen static backlog const void static flags void flags
Definition: sfsocketcall.h:123
Definition: z80asm.h:102