| /f-stack/app/redis-5.0.5/utils/hashtable/ |
| H A D | rehashing.c | 107 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 D | blocked.c | 517 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 D | t_set.c | 79 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 D | pubsub.c | 64 if (dictAdd(c->pubsub_channels,channel,NULL) == DICT_OK) { in pubsubSubscribeChannel() 71 dictAdd(server.pubsub_channels,channel,clients); in pubsubSubscribeChannel()
|
| H A D | dict.h | 153 int dictAdd(dict *d, void *key, void *val);
|
| H A D | dict.c | 265 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 D | multi.c | 251 dictAdd(c->db->watched_keys,key,clients); in watchForKey()
|
| H A D | t_hash.c | 264 dictAdd(o->ptr,f,v); in hashTypeSet() 484 ret = dictAdd(dict, key, value); in hashTypeConvertZiplist()
|
| H A D | latency.c | 109 dictAdd(server.latency_events,zstrdup(event),ts); in latencyAddSample()
|
| H A D | rdb.c | 1446 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 D | geo.c | 654 serverAssert(dictAdd(zs->dict,gp->member,&znode->score) == DICT_OK); in georadiusGeneric()
|
| H A D | config.c | 625 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 D | t_zset.c | 1203 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 D | sentinel.c | 477 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 D | module.c | 734 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 D | db.c | 175 int retval = dictAdd(db->dict, copy, val); in dbAdd()
|
| H A D | cluster.c | 889 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 D | redis-cli.c | 3731 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 D | server.c | 2223 retval1 = dictAdd(server.commands, sdsnew(c->name), c); in populateCommandTable() 2226 retval2 = dictAdd(server.orig_commands, sdsnew(c->name), c); in populateCommandTable()
|
| H A D | replication.c | 2372 retval = dictAdd(server.repl_scriptcache_dict,key,NULL); in replicationScriptCacheAdd()
|
| H A D | scripting.c | 1227 int retval = dictAdd(server.lua_scripts,sha,body); in luaCreateFunction()
|
| /f-stack/app/redis-5.0.5/deps/hiredis/ |
| H A D | dict.c | 135 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() function 165 if (dictAdd(ht, key, val) == DICT_OK) in dictReplace()
|
| H A D | dict.h | 117 static int dictAdd(dict *ht, void *key, void *val);
|