Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/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
/f-stack/app/redis-5.0.5/src/
H A Ddict.c130 return DICT_OK; in _dictInit()
170 return DICT_OK; in dictExpand()
176 return DICT_OK; in dictExpand()
271 return DICT_OK; in dictAdd()
404 return dictGenericDelete(ht,key,0) ? DICT_OK : DICT_ERR; in dictDelete()
465 return DICT_OK; /* never fails */ in _dictClear()
925 if (dictIsRehashing(d)) return DICT_OK; in _dictExpandIfNeeded()
940 return DICT_OK; in _dictExpandIfNeeded()
1168 assert(retval == DICT_OK); in main()
1219 assert(retval == DICT_OK); in main()
[all …]
H A Dblocked.c517 if (dictAdd(c->bpop.keys,keys[j],key_data) != DICT_OK) { in blockForKeys()
532 serverAssertWithInfo(c,keys[j],retval == DICT_OK); 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()
91 if (dictDelete(setobj->ptr,value) == DICT_OK) { in setTypeRemove()
252 serverAssert(dictAdd(d,element,NULL) == DICT_OK); in setTypeConvert()
695 serverAssert(retval == DICT_OK); 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()
97 if (dictDelete(c->pubsub_channels,channel) == DICT_OK) { in pubsubUnsubscribeChannel()
H A Ddict.h41 #define DICT_OK 0 macro
H A Ddb.c177 serverAssertWithInfo(NULL,key,retval == DICT_OK); in dbAdd()
275 if (dictDelete(db->dict,key->ptr) == DICT_OK) { in dbSyncDelete()
1069 return dictDelete(db->expires,key->ptr) == DICT_OK; in removeExpire()
H A Dgeo.c654 serverAssert(dictAdd(zs->dict,gp->member,&znode->score) == DICT_OK); in georadiusGeneric()
H A Dconfig.c619 serverAssert(retval == DICT_OK); in loadServerConfigFromString()
626 if (retval != DICT_OK) { in loadServerConfigFromString()
1647 if (dictAdd(state->rewritten,opt,NULL) != DICT_OK) sdsfree(opt);
H A Dt_hash.c485 if (ret != DICT_OK) { in hashTypeConvertZiplist()
H A Dreplication.c2367 serverAssert(retval == DICT_OK); in replicationScriptCacheAdd()
2374 serverAssert(retval == DICT_OK); in replicationScriptCacheAdd()
H A Dcluster.c875 serverAssert(dictDelete(server.cluster->nodes,nodename) == DICT_OK); in freeClusterNode()
891 return (retval == DICT_OK) ? C_OK : C_ERR; in clusterAddNode()
957 serverAssert(retval == DICT_OK); in clusterRenameNode()
1145 if (dictAdd(server.cluster->nodes_black_list,id,NULL) == DICT_OK) { in clusterBlacklistAddNode()
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()
H A Dserver.c2227 serverAssert(retval1 == DICT_OK && retval2 == DICT_OK); in populateCommandTable()
H A Dsentinel.c478 serverAssert(retval == DICT_OK); in initSentinel()
1728 if (dictAdd(ri->renamed_commands,oldcmd,newcmd) != DICT_OK) { in sentinelHandleConfiguration()
H A Dscripting.c1228 serverAssertWithInfo(c ? c : server.lua_client,NULL,retval == DICT_OK); in luaCreateFunction()
H A Dmodule.c4712 if (dictAdd(server.sharedapi, (char*)apiname, sapi) != DICT_OK) { in RM_ExportSharedAPI()