Searched refs:alloc (Results 1 – 11 of 11) sorted by relevance
| /redis-3.2.3/deps/hiredis/ |
| H A D | sds.h | 111 return sh->alloc - sh->len; in sdsavail() 115 return sh->alloc - sh->len; in sdsavail() 119 return sh->alloc - sh->len; in sdsavail() 123 return sh->alloc - sh->len; in sdsavail() 185 return SDS_HDR(8,s)->alloc; in sdsalloc() 187 return SDS_HDR(16,s)->alloc; in sdsalloc() 189 return SDS_HDR(32,s)->alloc; in sdsalloc() 191 return SDS_HDR(64,s)->alloc; in sdsalloc() 203 SDS_HDR(8,s)->alloc = newlen; in sdssetalloc() 206 SDS_HDR(16,s)->alloc = newlen; in sdssetalloc() [all …]
|
| H A D | sds.c | 105 sh->alloc = initlen; in sdsnewlen() 112 sh->alloc = initlen; in sdsnewlen() 119 sh->alloc = initlen; in sdsnewlen() 126 sh->alloc = initlen; in sdsnewlen() 279 size_t alloc = sdsalloc(s); in sdsAllocSize() local 280 return sdsHdrSize(s[-1])+alloc+1; in sdsAllocSize() 326 …assert((incr >= 0 && sh->alloc-sh->len >= incr) || (incr < 0 && sh->len >= (unsigned int)(-incr))); in sdsIncrLen() 332 …assert((incr >= 0 && sh->alloc-sh->len >= incr) || (incr < 0 && sh->len >= (unsigned int)(-incr))); in sdsIncrLen() 338 …assert((incr >= 0 && sh->alloc-sh->len >= (unsigned int)incr) || (incr < 0 && sh->len >= (unsigned… in sdsIncrLen() 344 …assert((incr >= 0 && sh->alloc-sh->len >= (uint64_t)incr) || (incr < 0 && sh->len >= (uint64_t)(-i… in sdsIncrLen()
|
| /redis-3.2.3/src/ |
| H A D | sds.h | 111 return sh->alloc - sh->len; in sdsavail() 115 return sh->alloc - sh->len; in sdsavail() 119 return sh->alloc - sh->len; in sdsavail() 123 return sh->alloc - sh->len; in sdsavail() 185 return SDS_HDR(8,s)->alloc; in sdsalloc() 187 return SDS_HDR(16,s)->alloc; in sdsalloc() 189 return SDS_HDR(32,s)->alloc; in sdsalloc() 191 return SDS_HDR(64,s)->alloc; in sdsalloc() 203 SDS_HDR(8,s)->alloc = newlen; in sdssetalloc() 206 SDS_HDR(16,s)->alloc = newlen; in sdssetalloc() [all …]
|
| H A D | sds.c | 105 sh->alloc = initlen; in sdsnewlen() 112 sh->alloc = initlen; in sdsnewlen() 119 sh->alloc = initlen; in sdsnewlen() 126 sh->alloc = initlen; in sdsnewlen() 279 size_t alloc = sdsalloc(s); in sdsAllocSize() local 280 return sdsHdrSize(s[-1])+alloc+1; in sdsAllocSize() 326 …assert((incr >= 0 && sh->alloc-sh->len >= incr) || (incr < 0 && sh->len >= (unsigned int)(-incr))); in sdsIncrLen() 332 …assert((incr >= 0 && sh->alloc-sh->len >= incr) || (incr < 0 && sh->len >= (unsigned int)(-incr))); in sdsIncrLen() 338 …assert((incr >= 0 && sh->alloc-sh->len >= (unsigned int)incr) || (incr < 0 && sh->len >= (unsigned… in sdsIncrLen() 344 …assert((incr >= 0 && sh->alloc-sh->len >= (uint64_t)incr) || (incr < 0 && sh->len >= (uint64_t)(-i… in sdsIncrLen()
|
| H A D | object.c | 71 sh->alloc = len; in createEmbeddedStringObject()
|
| /redis-3.2.3/deps/jemalloc/src/ |
| H A D | rtree.c | 13 rtree_new(rtree_t *rtree, unsigned bits, rtree_node_alloc_t *alloc, in rtree_new() argument 30 rtree->alloc = alloc; in rtree_new() 106 node = rtree->alloc(ZU(1) << rtree->levels[level].bits); in rtree_node_init()
|
| H A D | chunk.c | 99 ATOMIC_COPY_HOOK(alloc); in chunk_hooks_set() 457 ret = chunk_hooks->alloc(new_addr, size, alignment, zero, commit, in chunk_alloc_wrapper() 461 if (config_valgrind && chunk_hooks->alloc != chunk_alloc_default) in chunk_alloc_wrapper()
|
| /redis-3.2.3/deps/jemalloc/test/integration/ |
| H A D | chunk.c | 36 return (old_hooks.alloc(new_addr, size, alignment, zero, commit, in chunk_alloc() 141 assert_ptr_ne(old_hooks.alloc, chunk_alloc, "Unexpected alloc error"); in TEST_BEGIN() 254 assert_ptr_eq(old_hooks.alloc, orig_hooks.alloc, in TEST_BEGIN()
|
| /redis-3.2.3/deps/jemalloc/include/jemalloc/internal/ |
| H A D | rtree.h | 82 rtree_node_alloc_t *alloc; member 97 bool rtree_new(rtree_t *rtree, unsigned bits, rtree_node_alloc_t *alloc,
|
| /redis-3.2.3/deps/jemalloc/include/jemalloc/ |
| H A D | jemalloc_typedefs.h.in | 50 chunk_alloc_t *alloc; member
|
| /redis-3.2.3/deps/jemalloc/ |
| H A D | ChangeLog | 140 - Add "alloc" and "free" modes for for junk filling (see the "opt.junk"
|