Home
last modified time | relevance | path

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

/redis-3.2.3/utils/hashtable/
H A Drehashing.c107 dictAdd(d,(void*)i,NULL); in main()
125 dictAdd(d,(void*)i,NULL); in main()
/redis-3.2.3/src/
H A Dt_set.c56 if (dictAdd(subject->ptr,value,NULL) == DICT_OK) { in setTypeAdd()
78 dictAdd(subject->ptr,value,NULL) == DICT_OK); in setTypeAdd()
260 dictAdd(d,element,NULL) == DICT_OK); in setTypeConvert()
698 retval = dictAdd(d,createStringObjectFromLongLong(llele),NULL); in srandmemberWithCountCommand()
700 retval = dictAdd(d,dupStringObject(ele),NULL); in srandmemberWithCountCommand()
734 if (dictAdd(d,ele,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.h152 int dictAdd(dict *d, void *key, void *val);
H A Dt_list.c628 if (dictAdd(c->bpop.keys,keys[j],NULL) != DICT_OK) continue; in blockForKeys()
638 retval = dictAdd(c->db->blocking_keys,keys[j],l); in blockForKeys()
707 serverAssert(dictAdd(db->ready_keys,key,NULL) == DICT_OK); in signalListAsReady()
H A Dmulti.c219 dictAdd(c->db->watched_keys,key,clients); in watchForKey()
H A Ddict.c322 int dictAdd(dict *d, void *key, void *val) in dictAdd() function
384 if (dictAdd(d, key, val) == DICT_OK) in dictReplace()
H A Drdb.c1035 dictAdd((dict*)o->ptr,ele,NULL); in rdbLoadObject()
1065 dictAdd(zs->dict,ele,&znode->score); in rdbLoadObject()
1130 ret = dictAdd((dict*)o->ptr, field, value); in rdbLoadObject()
H A Dlatency.c109 dictAdd(server.latency_events,zstrdup(event),ts); in latencyAddSample()
H A Dconfig.c488 retval = dictAdd(server.commands, copy, cmd); in loadServerConfigFromString()
1304 dictAdd(state->option_to_line,sdsdup(option),l);
1316 if (dictAdd(state->rewritten,opt,NULL) != DICT_OK) sdsfree(opt);
H A Dt_zset.c1129 serverAssertWithInfo(NULL,zobj,dictAdd(zs->dict,ele,&node->score) == DICT_OK); in zsetConvert()
1373 serverAssertWithInfo(c,NULL,dictAdd(zs->dict,ele,&znode->score) == DICT_OK); in zaddGenericCommand()
2064 dictAdd(dstzset->dict,tmp,&znode->score); in zunionInterGenericCommand()
2140 dictAdd(dstzset->dict,ele,&znode->score); in zunionInterGenericCommand()
H A Dgeo.c629 serverAssert(dictAdd(zs->dict,ele,&znode->score) == DICT_OK); in georadiusGeneric()
H A Dt_hash.c453 ret = dictAdd(dict, field, value); in hashTypeConvertZiplist()
H A Ddb.c159 int retval = dictAdd(db->dict, copy, val); in dbAdd()
H A Dsentinel.c456 retval = dictAdd(server.commands, sdsnew(cmd->name), cmd); in initSentinel()
1231 dictAdd(table, ri->name, ri); in createSentinelRedisInstance()
3118 dictAdd(masters_local, ri->name, ri); in sentinelCommand()
H A Dcluster.c847 retval = dictAdd(server.cluster->nodes, in clusterAddNode()
1103 if (dictAdd(server.cluster->nodes_black_list,id,NULL) == DICT_OK) { in clusterBlacklistAddNode()
4605 dictAdd(server.migrate_cached_sockets,name,cs); in migrateGetSocket()
H A Dserver.c2024 retval1 = dictAdd(server.commands, sdsnew(c->name), c); in populateCommandTable()
2027 retval2 = dictAdd(server.orig_commands, sdsnew(c->name), c); in populateCommandTable()
H A Dreplication.c2073 retval = dictAdd(server.repl_scriptcache_dict,key,NULL); in replicationScriptCacheAdd()
H A Dscripting.c1173 int retval = dictAdd(server.lua_scripts, in luaCreateFunction()
/redis-3.2.3/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);