Home
last modified time | relevance | path

Searched refs:dictAdd (Results 1 – 23 of 23) sorted by relevance

/f-stack/app/redis-5.0.5/utils/hashtable/
H A Drehashing.c107 dictAdd(d,(void*)i,NULL); in main()
125 dictAdd(d,(void*)i,NULL); in main()
/f-stack/app/redis-5.0.5/src/
H A Dblocked.c517 if (dictAdd(c->bpop.keys,keys[j],key_data) != DICT_OK) { in blockForKeys()
530 retval = dictAdd(c->db->blocking_keys,keys[j],l); in blockForKeys()
605 serverAssert(dictAdd(db->ready_keys,key,NULL) == DICT_OK); in signalKeyAsReady()
H A Dt_set.c79 serverAssert(dictAdd(subject->ptr,sdsdup(value),NULL) == DICT_OK); in setTypeAdd()
252 serverAssert(dictAdd(d,element,NULL) == DICT_OK); in setTypeConvert()
691 retval = dictAdd(d,createStringObjectFromLongLong(llele),NULL); in srandmemberWithCountCommand()
693 retval = dictAdd(d,createStringObject(ele,sdslen(ele)),NULL); in srandmemberWithCountCommand()
728 if (dictAdd(d,objele,NULL) == DICT_OK) in srandmemberWithCountCommand()
H A Dpubsub.c64 if (dictAdd(c->pubsub_channels,channel,NULL) == DICT_OK) { in pubsubSubscribeChannel()
71 dictAdd(server.pubsub_channels,channel,clients); in pubsubSubscribeChannel()
H A Ddict.h153 int dictAdd(dict *d, void *key, void *val);
H A Ddict.c265 int dictAdd(dict *d, void *key, void *val) in dictAdd() function
1167 int retval = dictAdd(dict,sdsfromlonglong(j),(void*)j); in main()
1221 retval = dictAdd(dict,key,(void*)j); in main()
H A Dmulti.c251 dictAdd(c->db->watched_keys,key,clients); in watchForKey()
H A Dt_hash.c264 dictAdd(o->ptr,f,v); in hashTypeSet()
484 ret = dictAdd(dict, key, value); in hashTypeConvertZiplist()
H A Dlatency.c109 dictAdd(server.latency_events,zstrdup(event),ts); in latencyAddSample()
H A Drdb.c1446 dictAdd((dict*)o->ptr,sdsele,NULL); in rdbLoadObject()
1483 dictAdd(zs->dict,sdsele,&znode->score); in rdbLoadObject()
1545 ret = dictAdd((dict*)o->ptr, field, value); in rdbLoadObject()
H A Dgeo.c654 serverAssert(dictAdd(zs->dict,gp->member,&znode->score) == DICT_OK); in georadiusGeneric()
H A Dconfig.c625 retval = dictAdd(server.commands, copy, cmd); in loadServerConfigFromString()
1635 dictAdd(state->option_to_line,sdsdup(option),l);
1647 if (dictAdd(state->rewritten,opt,NULL) != DICT_OK) sdsfree(opt);
H A Dt_zset.c1203 serverAssert(dictAdd(zs->dict,ele,&node->score) == DICT_OK); in zsetConvert()
1408 serverAssert(dictAdd(zs->dict,ele,&znode->score) == DICT_OK); in zsetAdd()
2306 dictAdd(dstzset->dict,tmp,&znode->score); in zunionInterGenericCommand()
2372 dictAdd(dstzset->dict,ele,&znode->score); in zunionInterGenericCommand()
H A Dsentinel.c477 retval = dictAdd(server.commands, sdsnew(cmd->name), cmd); in initSentinel()
1255 dictAdd(table, ri->name, ri); in createSentinelRedisInstance()
1728 if (dictAdd(ri->renamed_commands,oldcmd,newcmd) != DICT_OK) { in sentinelHandleConfiguration()
3224 dictAdd(masters_local, ri->name, ri); in sentinelCommand()
3518 dictAdd(ri->renamed_commands,oldname,newname); in sentinelSetCommand()
H A Dmodule.c734 dictAdd(server.commands,sdsdup(cmdname),cp->rediscmd); in RM_CreateCommand()
735 dictAdd(server.orig_commands,sdsdup(cmdname),cp->rediscmd); in RM_CreateCommand()
4712 if (dictAdd(server.sharedapi, (char*)apiname, sapi) != DICT_OK) { in RM_ExportSharedAPI()
5041 return dictAdd(server.moduleapi, (char*)funcname, funcptr); in moduleRegisterApi()
5173 dictAdd(modules,ctx.module->name,ctx.module); in moduleLoad()
H A Ddb.c175 int retval = dictAdd(db->dict, copy, val); in dbAdd()
H A Dcluster.c889 retval = dictAdd(server.cluster->nodes, in clusterAddNode()
1145 if (dictAdd(server.cluster->nodes_black_list,id,NULL) == DICT_OK) { in clusterBlacklistAddNode()
5016 dictAdd(server.migrate_cached_sockets,name,cs); in migrateGetSocket()
H A Dredis-cli.c3731 dictAdd(clusterManagerUncoveredSlots, key, slot_nodes); in clusterManagerFixSlotsCoverage()
4271 dictAdd(open_slots, slot, sdsdup(n->migrating[i + 1])); in clusterManagerCheckCluster()
4289 dictAdd(open_slots, slot, sdsdup(n->importing[i + 1])); in clusterManagerCheckCluster()
6271 dictAdd(types, info->name, info); in typeinfo_add()
H A Dserver.c2223 retval1 = dictAdd(server.commands, sdsnew(c->name), c); in populateCommandTable()
2226 retval2 = dictAdd(server.orig_commands, sdsnew(c->name), c); in populateCommandTable()
H A Dreplication.c2372 retval = dictAdd(server.repl_scriptcache_dict,key,NULL); in replicationScriptCacheAdd()
H A Dscripting.c1227 int retval = dictAdd(server.lua_scripts,sha,body); in luaCreateFunction()
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Ddict.c135 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() function
165 if (dictAdd(ht, key, val) == DICT_OK) in dictReplace()
H A Ddict.h117 static int dictAdd(dict *ht, void *key, void *val);