Home
last modified time | relevance | path

Searched refs:zrealloc (Results 1 – 25 of 29) sorted by relevance

12

/f-stack/app/redis-5.0.5/src/
H A Dsdsalloc.h41 #define s_realloc zrealloc
H A Drax_malloc.h42 #define rax_realloc zrealloc
H A Dlistpack_malloc.h43 #define lp_realloc zrealloc
H A Dzmalloc.h82 void *zrealloc(void *ptr, size_t size);
H A Dzmalloc.c144 void *zrealloc(void *ptr, size_t size) { in zrealloc() function
451 ptr = zrealloc(ptr, 456); in zmalloc_test()
H A Dae_ff_kqueue.c65 state->events = zrealloc(state->events, sizeof(struct kevent)*setsize); in aeApiResize()
H A Dae_epoll.c61 state->events = zrealloc(state->events, sizeof(struct epoll_event)*setsize); in aeApiResize()
H A Dae_kqueue.c63 state->events = zrealloc(state->events, sizeof(struct kevent)*setsize); in aeApiResize()
H A Dsparkline.c73 seq->samples = zrealloc(seq->samples,sizeof(struct sample)*(seq->length+1)); in sparklineSequenceAddSample()
H A Dae.c118 eventLoop->events = zrealloc(eventLoop->events,sizeof(aeFileEvent)*setsize); in aeResizeSetSize()
119 eventLoop->fired = zrealloc(eventLoop->fired,sizeof(aeFiredEvent)*setsize); in aeResizeSetSize()
H A Dmulti.c61 c->mstate.commands = zrealloc(c->mstate.commands, in queueMultiCommand()
H A Dzipmap.c203 zm = zrealloc(zm, len); in zipmapResize()
H A Dmodule.c329 return zrealloc(ptr,bytes); in RM_Realloc()
610 ctx->keys_pos = zrealloc(ctx->keys_pos,sizeof(int)*(ctx->keys_count+1)); in RM_KeyAtPos()
791 ctx->amqueue = zrealloc(ctx->amqueue,sizeof(struct AutoMemEntry)*ctx->amqueue_len); in autoMemoryAdd()
1176 ctx->postponed_arrays = zrealloc(ctx->postponed_arrays,sizeof(void*)* in RM_ReplyWithArray()
2678 argv = zrealloc(argv,sizeof(robj*)*argv_size); in moduleCreateArgvFromUserFormat()
2710 argv = zrealloc(argv,sizeof(robj*)*argv_size); in moduleCreateArgvFromUserFormat()
4972 fctx->argv = zrealloc(fctx->argv, (fctx->argc+1)*sizeof(RedisModuleString *)); in RM_CommandFilterArgInsert()
H A Dintset.c107 is = zrealloc(is,sizeof(intset)+size); in intsetResize()
H A Dziplist.c590 zl = zrealloc(zl,len); in ziplistResize()
906 target = zrealloc(target, zlbytes); in ziplistMerge()
H A Dgeo.c67 ga->array = zrealloc(ga->array,sizeof(geoPoint)*ga->buckets); in geoArrayAppend()
H A Dredis-cli.c534 helpEntries = zrealloc(helpEntries,sizeof(helpEntry)*helpEntriesLen); in cliIntegrateHelp()
1796 argv = zrealloc(argv, (argc+1)*sizeof(char*)); in noninteractive()
3237 node->migrating = zrealloc(node->migrating, in clusterManagerNodeLoadInfo()
3251 node->importing = zrealloc(node->importing, in clusterManagerNodeLoadInfo()
3486 slots = zrealloc(slots, (c * sizeof(char *))); in clusterManagerGetConfigSignature()
3495 zrealloc(node_configs, (node_count * sizeof(char *))); in clusterManagerGetConfigSignature()
6421 types = zrealloc(types, sizeof(typeinfo*)*keys->elements); in findBigKeys()
6422 sizes = zrealloc(sizes, sizeof(unsigned long long)*keys->elements); in findBigKeys()
6578 freqs = zrealloc(freqs, sizeof(unsigned long long)*keys->elements); in findHotKeys()
H A Dredis-benchmark.c397 c->randptr = zrealloc(c->randptr,sizeof(char*)*c->randlen*2); in createClient()
H A Dbitops.c981 ops = zrealloc(ops,sizeof(*ops)*(numops+1)); in bitfieldCommand()
H A Dconfig.c146 … server.saveparams = zrealloc(server.saveparams,sizeof(struct saveparam)*(server.saveparamslen+1)); in appendServerSaveParams()
1625 state->lines = zrealloc(state->lines, sizeof(char*) * (state->numlines+1));
H A Dobject.c1046 mh->db = zrealloc(mh->db,sizeof(mh->db[0])*(mh->num_dbs+1)); in getMemoryOverheadData()
H A Dcluster.c844 master->slaves = zrealloc(master->slaves, in clusterNodeAddSlave()
5123 ov = zrealloc(ov,sizeof(robj*)*num_keys); in migrateCommand()
5124 kv = zrealloc(kv,sizeof(robj*)*num_keys); in migrateCommand()
H A Dsentinel.c1502 slaves = zrealloc(slaves,sizeof(sentinelAddr*)*(numslaves+1)); in sentinelResetMasterAndChangeAddress()
1512 slaves = zrealloc(slaves,sizeof(sentinelAddr*)*(numslaves+1)); in sentinelResetMasterAndChangeAddress()
H A Dnetworking.c2008 c->argv = zrealloc(c->argv,sizeof(robj*)*(i+1)); in rewriteClientCommandArgument()
H A Dscripting.c392 argv = zrealloc(argv,sizeof(robj*)*argc); in luaRedisGenericCommand()

12