Home
last modified time | relevance | path

Searched refs:DICT_OK (Results 1 – 17 of 17) sorted by relevance

/redis-3.2.3/deps/hiredis/
H A Ddict.c84 return DICT_OK; in _dictInit()
131 return DICT_OK; in dictExpand()
153 return DICT_OK; in dictAdd()
165 if (dictAdd(ht, key, val) == DICT_OK) in dictReplace()
204 return DICT_OK; in dictDelete()
234 return DICT_OK; /* never fails */ in _dictClear()
302 return DICT_OK; in _dictExpandIfNeeded()
H A Ddict.h39 #define DICT_OK 0 macro
/redis-3.2.3/src/
H A Ddict.c187 return DICT_OK; in _dictInit()
227 return DICT_OK; in dictExpand()
233 return DICT_OK; in dictExpand()
328 return DICT_OK; in dictAdd()
384 if (dictAdd(d, key, val) == DICT_OK) in dictReplace()
439 return DICT_OK; in dictGenericDelete()
481 return DICT_OK; /* never fails */ in _dictClear()
929 if (dictIsRehashing(d)) return DICT_OK; in _dictExpandIfNeeded()
944 return DICT_OK; in _dictExpandIfNeeded()
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()
91 if (dictDelete(setobj->ptr,value) == DICT_OK) { in setTypeRemove()
260 dictAdd(d,element,NULL) == DICT_OK); in setTypeConvert()
702 serverAssert(retval == DICT_OK); 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()
97 if (dictDelete(c->pubsub_channels,channel) == DICT_OK) { in pubsubUnsubscribeChannel()
H A Ddict.h41 #define DICT_OK 0 macro
H A Dt_list.c628 if (dictAdd(c->bpop.keys,keys[j],NULL) != DICT_OK) continue; in blockForKeys()
640 serverAssertWithInfo(c,keys[j],retval == DICT_OK); in blockForKeys()
707 serverAssert(dictAdd(db->ready_keys,key,NULL) == DICT_OK); in signalListAsReady()
H A Ddb.c161 serverAssertWithInfo(NULL,key,retval == DICT_OK); in dbAdd()
230 if (dictDelete(db->dict,key->ptr) == DICT_OK) { in dbDelete()
844 return dictDelete(db->expires,key->ptr) == DICT_OK; in removeExpire()
H A Dt_hash.c454 if (ret != DICT_OK) { in hashTypeConvertZiplist()
457 serverAssert(ret == DICT_OK); in hashTypeConvertZiplist()
H A Dconfig.c482 serverAssert(retval == DICT_OK); in loadServerConfigFromString()
489 if (retval != DICT_OK) { in loadServerConfigFromString()
1316 if (dictAdd(state->rewritten,opt,NULL) != DICT_OK) sdsfree(opt);
H A Dgeo.c629 serverAssert(dictAdd(zs->dict,ele,&znode->score) == DICT_OK); in georadiusGeneric()
H A Dreplication.c2068 serverAssert(retval == DICT_OK); in replicationScriptCacheAdd()
2075 serverAssert(retval == DICT_OK); in replicationScriptCacheAdd()
H A Dcluster.c833 serverAssert(dictDelete(server.cluster->nodes,nodename) == DICT_OK); in freeClusterNode()
849 return (retval == DICT_OK) ? C_OK : C_ERR; in clusterAddNode()
915 serverAssert(retval == DICT_OK); in clusterRenameNode()
1103 if (dictAdd(server.cluster->nodes_black_list,id,NULL) == DICT_OK) { in clusterBlacklistAddNode()
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()
H A Dserver.c2028 serverAssert(retval1 == DICT_OK && retval2 == DICT_OK); in populateCommandTable()
H A Dscripting.c1175 serverAssertWithInfo(c,NULL,retval == DICT_OK); in luaCreateFunction()
H A Dsentinel.c457 serverAssert(retval == DICT_OK); in initSentinel()