Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 39) sorted by relevance

12

/redis-3.2.3/deps/jemalloc/test/stress/
H A Dmicrobench.c46 void *p = malloc(1); in malloc_free()
76 void *p = malloc(1); in malloc_dallocx()
87 void *p = malloc(1); in malloc_sdallocx()
116 p = malloc(1); in malloc_mus_free()
130 p = malloc(1); in malloc_sallocx_free()
153 p = malloc(1); in malloc_nallocx_free()
/redis-3.2.3/deps/jemalloc/test/integration/
H A Dthread_tcache_enabled.c55 free(malloc(1)); in thd_start()
61 free(malloc(1)); in thd_start()
67 free(malloc(1)); in thd_start()
73 free(malloc(1)); in thd_start()
79 free(malloc(1)); in thd_start()
H A Doverflow.c23 assert_ptr_null(malloc(max_size_class + 1), in TEST_BEGIN()
25 assert_ptr_null(malloc(SIZE_T_MAX), in TEST_BEGIN()
33 p = malloc(1); in TEST_BEGIN()
H A Dthread_arena.c14 p = malloc(1); in thd_start()
49 p = malloc(1); in TEST_BEGIN()
H A Dallocated.c56 p = malloc(1); in thd_start()
/redis-3.2.3/deps/jemalloc/include/jemalloc/
H A Djemalloc_protos.h.in11 void JEMALLOC_NOTHROW *@je_@malloc(size_t size)
12 JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc) JEMALLOC_ALLOC_SIZE(1);
15 JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc) JEMALLOC_ALLOC_SIZE2(1, 2);
20 size_t size) JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc)
30 JEMALLOC_ATTR(malloc) JEMALLOC_ALLOC_SIZE(1);
59 JEMALLOC_CXX_THROW JEMALLOC_ATTR(malloc);
65 JEMALLOC_ATTR(malloc);
/redis-3.2.3/deps/jemalloc/test/unit/
H A Dbitmap.c26 bitmap_t *bitmap = (bitmap_t *)malloc(sizeof(bitmap_t) * in TEST_BEGIN()
49 bitmap_t *bitmap = (bitmap_t *)malloc(sizeof(bitmap_t) * in TEST_BEGIN()
72 bitmap_t *bitmap = (bitmap_t *)malloc(sizeof(bitmap_t) * in TEST_BEGIN()
101 bitmap_t *bitmap = (bitmap_t *)malloc(sizeof(bitmap_t) * in TEST_BEGIN()
H A Dtsd.c64 p = malloc(1); in malloc_tsd_externs()
/redis-3.2.3/deps/hiredis/
H A Dzmalloc.h7 #define zmalloc malloc
H A Ddict.c74 dict *ht = malloc(sizeof(*ht)); in dictCreate()
145 entry = malloc(sizeof(*entry)); in dictAdd()
259 dictIterator *iter = malloc(sizeof(*iter)); in dictGetIterator()
H A Dtest.c510 replies = malloc(sizeof(redisReply*)*num); in test_throughput()
521 replies = malloc(sizeof(redisReply*)*num); in test_throughput()
534 replies = malloc(sizeof(redisReply*)*num); in test_throughput()
547 replies = malloc(sizeof(redisReply*)*num); in test_throughput()
/redis-3.2.3/deps/jemalloc/
H A Djemalloc.pc.in8 Description: A general purpose malloc(3) implementation that emphasizes fragmentation avoidance and…
H A DINSTALL47 overriding libc's malloc implementation, specify something like:
49 --with-mangling=malloc:__wrap_malloc,free:__wrap_free[...]
59 malloc() --> prefix_malloc()
61 /etc/malloc.conf --> /etc/prefix_malloc.conf
68 jemalloc overlays the default malloc zone, but makes no attempt to actually
69 replace the "malloc", "calloc", etc. symbols.
173 errors, as is commonly implemented by "xmalloc" wrapper function for malloc.
H A DREADME1 jemalloc is a general purpose malloc(3) implementation that emphasizes
/redis-3.2.3/src/
H A Dzmalloc.c59 #define malloc(size) tc_malloc(size) macro
64 #define malloc(size) je_malloc(size) macro
125 void *ptr = malloc(size+PREFIX_SIZE); in zmalloc()
H A Dredis-check-aof.c90 *target = (char*)malloc(len); in readString()
H A Dsetproctitle.c88 if (!(tmp = malloc(sizeof *tmp))) in spt_clearenv()
/redis-3.2.3/deps/lua/src/
H A Dstrbuf.c61 s->buf = malloc(size); in strbuf_init()
72 s = malloc(sizeof(strbuf_t)); in strbuf_new()
H A Dfpconv.c127 buf = malloc(buflen + 1); in fpconv_strtod()
/redis-3.2.3/deps/hiredis/adapters/
H A Dlibevent.h90 e = (redisLibeventEvents*)malloc(sizeof(*e)); in redisLibeventAttach()
H A Dlibuv.h103 redisLibuvEvents* p = (redisLibuvEvents*)malloc(sizeof(*p)); in redisLibuvAttach()
H A Dae.h111 e = (redisAeEvents*)malloc(sizeof(*e)); in redisAeAttach()
H A Dlibev.h122 e = (redisLibevEvents*)malloc(sizeof(*e)); in redisLibevAttach()
/redis-3.2.3/
H A DREADME.md85 malloc by default, with the exception of jemalloc being the default on Linux
87 fragmentation problems than libc malloc.
89 To force compiling against libc malloc, use:
/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_defs.h.in81 * FreeBSD, pthread_key_create() allocates, which if used during malloc
247 /* glibc malloc hooks (__malloc_hook, __realloc_hook, __free_hook). */

12