Home
last modified time | relevance | path

Searched refs:free (Results 1 – 25 of 48) sorted by relevance

12

/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.c39 free(p); in TEST_BEGIN()
H A Dthread_arena.c16 free(p); in thd_start()
/redis-3.2.3/deps/jemalloc/test/stress/
H A Dmicrobench.c51 free(p); in malloc_free()
62 free(p); in mallocx_free()
122 free(p); in malloc_mus_free()
137 free(p); in malloc_sallocx_free()
160 free(p); in malloc_nallocx_free()
/redis-3.2.3/src/
H A Dredis-benchmark.c348 free(buf); in createClient()
712 free(cmd); in main()
730 free(cmd); in main()
736 free(cmd); in main()
742 free(cmd); in main()
748 free(cmd); in main()
754 free(cmd); in main()
760 free(cmd); in main()
766 free(cmd); in main()
772 free(cmd); in main()
[all …]
H A Dadlist.c50 list->free = NULL; in listCreate()
67 if (list->free) list->free(current->value); in listRelease()
169 if (list->free) list->free(node->value); in listDelNode()
251 copy->free = orig->free; in listDup()
H A Dadlist.h51 void (*free)(void *ptr); member
65 #define listSetFreeMethod(l,m) ((l)->free = (m))
69 #define listGetFree(l) ((l)->free)
H A Dzmalloc.c39 free(ptr); in zlibc_free()
62 #define free(ptr) tc_free(ptr) macro
67 #define free(ptr) je_free(ptr) macro
204 free(ptr); in zfree()
209 free(realptr); in zfree()
H A Dredis-check-aof.c130 free(str); in process()
135 if (str) free(str); in process()
H A Dzipmap.c143 unsigned char free; in zipmapLookupRaw() local
161 free = p[0]; in zipmapLookupRaw()
162 p += l+1+free; /* +1 to skip the free byte */ in zipmapLookupRaw()
/redis-3.2.3/deps/hiredis/
H A Dtest.c124 free(cmd); in test_format_commands()
130 free(cmd); in test_format_commands()
136 free(cmd); in test_format_commands()
142 free(cmd); in test_format_commands()
148 free(cmd); in test_format_commands()
154 free(cmd); in test_format_commands()
160 free(cmd); in test_format_commands()
211 free(cmd); in test_format_commands()
217 free(cmd); in test_format_commands()
236 free(cmd); in test_append_formatted_commands()
[all …]
H A Ddict.c127 free(ht->table); in dictExpand()
202 free(de); in dictDelete()
225 free(he); in _dictClear()
231 free(ht->table); in _dictClear()
240 free(ht); in dictRelease()
289 free(iter); in dictReleaseIterator()
H A Dhiredis.c94 free(r); in freeReplyObject()
569 free(r); in redisReaderCreate()
582 free(r); in redisReaderFree()
893 free(curargv); in redisvFormatCommand()
900 free(curargv); in redisvFormatCommand()
908 free(cmd); in redisvFormatCommand()
1010 free(c); in redisFree()
1280 free(cmd); in redisvAppendCommand()
1284 free(cmd); in redisvAppendCommand()
1309 free(cmd); in redisAppendCommandArgv()
[all …]
H A Dzmalloc.h10 #define zfree free
H A Dasync.c93 free(val); in callbackValDestructor()
248 free(cb); in __redisShiftCallback()
641 free(cmd); in redisvAsyncCommand()
660 free(cmd); in redisAsyncCommandArgv()
/redis-3.2.3/deps/jemalloc/test/unit/
H A Dbitmap.c34 free(bitmap); in TEST_BEGIN()
57 free(bitmap); in TEST_BEGIN()
86 free(bitmap); in TEST_BEGIN()
143 free(bitmap); in TEST_BEGIN()
H A Dtsd.c75 free(p); in malloc_tsd_externs()
/redis-3.2.3/deps/linenoise/
H A Dlinenoise.c339 free(lc->cvec[i]); in freeCompletions()
341 free(lc->cvec); in freeCompletions()
438 free(copy); in linenoiseAddCompletion()
471 free(ab->b); in abFree()
817 free(history[history_len]); in linenoiseEdit()
1020 free(line); in linenoiseNoTTY()
1070 free(ptr); in linenoiseFree()
1082 free(history[j]); in freeHistory()
1083 free(history); in freeHistory()
1120 free(history[0]); in linenoiseHistoryAdd()
[all …]
H A Dexample.c71 free(line); in main()
H A DREADME.markdown31 …istribution, it is trivial. Linenoise is BSD code, so you can use both in free software and commer…
76 The returned line should be freed with the `free()` standard system call.
86 linenoiseFree(line); /* Or just free(line) if you use libc malloc. */
201 The free hint callback will just receive the pointer and free the string
/redis-3.2.3/deps/lua/src/
H A Dstrbuf.c109 free(s->buf); in strbuf_free()
113 free(s); in strbuf_free()
129 free(s); in strbuf_free_to_string()
H A Dlua_cmsgpack.c95 size_t len, free; member
114 buf->len = buf->free = 0; in mp_buf_new()
119 if (buf->free < len) { in mp_buf_append()
122 buf->b = (unsigned char*)mp_realloc(L, buf->b, buf->len + buf->free, newsize); in mp_buf_append()
123 buf->free = newsize - buf->len; in mp_buf_append()
127 buf->free -= len; in mp_buf_append()
131 mp_realloc(L, buf->b, buf->len + buf->free, 0); /* realloc to 0 = free */ in mp_buf_free()
531 buf->free += buf->len; in mp_pack()
/redis-3.2.3/deps/jemalloc/src/
H A Dzone.c95 free(ptr); in zone_free()
131 free(ptr); in zone_free_definite_size()
189 zone.free = (void *)zone_free; in JEMALLOC_ATTR()
/redis-3.2.3/deps/lua/
H A DCOPYRIGHT5 This means that Lua is free software and can be used for both academic
14 Permission is hereby granted, free of charge, to any person obtaining a copy
/redis-3.2.3/deps/hiredis/adapters/
H A Dlibevent.h78 free(e); in redisLibeventCleanup()

12