Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/src/
H A Dsort.c419 serverAssertWithInfo(c,sortval,ln != NULL); in sortCommand()
447 serverAssertWithInfo(c,sortval,j == vectorlen); in sortCommand()
480 serverAssertWithInfo(c,sortval,1 != 1); in sortCommand()
529 serverAssertWithInfo(c,sortval,sop->type == SORT_OP_GET); in sortCommand()
560 serverAssertWithInfo(c,sortval,sop->type == SORT_OP_GET); in sortCommand()
H A Dblocked.c532 serverAssertWithInfo(c,keys[j],retval == DICT_OK); in blockForKeys()
548 serverAssertWithInfo(c,NULL,dictSize(c->bpop.keys) != 0); in unblockClientWaitingData()
556 serverAssertWithInfo(c,key,l != NULL); in unblockClientWaitingData()
H A Dt_zset.c1190 serverAssertWithInfo(NULL,zobj,eptr != NULL); in zsetConvert()
1192 serverAssertWithInfo(NULL,zobj,sptr != NULL); in zsetConvert()
2463 serverAssertWithInfo(c,zobj,eptr != NULL); in zrangeGenericCommand()
2501 serverAssertWithInfo(c,zobj,ln != NULL); in zrangeGenericCommand()
2598 serverAssertWithInfo(c,zobj,eptr != NULL); in genericZrangebyscoreCommand()
2953 serverAssertWithInfo(c,zobj,eptr != NULL); in genericZrangebylexCommand()
3099 serverAssertWithInfo(c,ele,sdsEncodedObject(ele)); in zrankGenericCommand()
3186 serverAssertWithInfo(c,zobj,eptr != NULL); in genericZpopCommand()
3195 serverAssertWithInfo(c,zobj,sptr != NULL); in genericZpopCommand()
3207 serverAssertWithInfo(c,zobj,zln != NULL); in genericZpopCommand()
[all …]
H A Dobject.c409 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in isObjectRepresentableAsLongLong()
440 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in tryObjectEncoding()
537 serverAssertWithInfo(NULL,a,a->type == OBJ_STRING && b->type == OBJ_STRING); in compareStringObjectsWithFlags()
594 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in stringObjectLen()
609 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in getDoubleFromObject()
651 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in getLongDoubleFromObject()
692 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in getLongLongFromObject()
H A Dt_list.c162 serverAssertWithInfo(NULL,o,sdsEncodedObject(o)); in listTypeEqual()
180 serverAssertWithInfo(NULL,subject,subject->type==OBJ_LIST); in listTypeConvert()
181 serverAssertWithInfo(NULL,subject,subject->encoding==OBJ_ENCODING_ZIPLIST); in listTypeConvert()
773 serverAssertWithInfo(c,key,listTypeLength(key) > 0); in brpoplpushCommand()
H A Dpubsub.c101 serverAssertWithInfo(c,NULL,de != NULL); in pubsubUnsubscribeChannel()
104 serverAssertWithInfo(c,NULL,ln != NULL); in pubsubUnsubscribeChannel()
H A Ddb.c177 serverAssertWithInfo(NULL,key,retval == DICT_OK); in dbAdd()
192 serverAssertWithInfo(NULL,key,de != NULL); in dbOverwrite()
1068 serverAssertWithInfo(NULL,key,dictFind(db->dict,key->ptr) != NULL); in removeExpire()
1081 serverAssertWithInfo(NULL,key,kde != NULL); in setExpire()
1101 serverAssertWithInfo(NULL,key,dictFind(db->dict,key->ptr) != NULL); in getExpire()
H A Dnetworking.c50 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in getStringObjectSdsUsedMemory()
1292 serverAssertWithInfo(c,NULL,c->argc == 0); in processMultibulkBuffer()
1310 serverAssertWithInfo(c,NULL,c->querybuf[c->qb_pos] == '*'); in processMultibulkBuffer()
1329 serverAssertWithInfo(c,NULL,c->multibulklen > 0); in processMultibulkBuffer()
1979 serverAssertWithInfo(c,NULL,c->cmd != NULL); in rewriteClientCommandVector()
1990 serverAssertWithInfo(c,NULL,c->cmd != NULL); in replaceClientCommandVector()
2020 serverAssertWithInfo(c,NULL,c->cmd != NULL); in rewriteClientCommandArgument()
H A Dcluster.c4319 serverAssertWithInfo(c,NULL,retval == C_OK); in clusterCommand()
5154 serverAssertWithInfo(c,NULL,rioWriteBulkCount(&cmd,'*',2)); in migrateCommand()
5155 serverAssertWithInfo(c,NULL,rioWriteBulkString(&cmd,"AUTH",4)); in migrateCommand()
5156 serverAssertWithInfo(c,NULL,rioWriteBulkString(&cmd,password, in migrateCommand()
5163 serverAssertWithInfo(c,NULL,rioWriteBulkCount(&cmd,'*',2)); in migrateCommand()
5165 serverAssertWithInfo(c,NULL,rioWriteBulkLongLong(&cmd,dbid)); in migrateCommand()
5191 serverAssertWithInfo(c,NULL, in migrateCommand()
5195 serverAssertWithInfo(c,NULL, in migrateCommand()
5199 serverAssertWithInfo(c,NULL,sdsEncodedObject(kv[j])); in migrateCommand()
5202 serverAssertWithInfo(c,NULL,rioWriteBulkLongLong(&cmd,ttl)); in migrateCommand()
[all …]
H A Dexpire.c432 serverAssertWithInfo(c,key,deleted); in expireGenericCommand()
H A Dmulti.c279 serverAssertWithInfo(c,NULL,clients != NULL); in unwatchAllKeys()
H A Dconfig.c906 serverAssertWithInfo(c,c->argv[2],sdsEncodedObject(c->argv[2]));
907 serverAssertWithInfo(c,c->argv[3],sdsEncodedObject(c->argv[3]));
1331 serverAssertWithInfo(c,o,sdsEncodedObject(o));
H A Dscripting.c1228 serverAssertWithInfo(c ? c : server.lua_client,NULL,retval == DICT_OK); in luaCreateFunction()
1445 serverAssertWithInfo(c,NULL,script != NULL); in evalGenericCommand()
H A Dt_set.c237 serverAssertWithInfo(NULL,setobj,setobj->type == OBJ_SET && in setTypeConvert()
H A Drdb.c463 serverAssertWithInfo(NULL,obj,sdsEncodedObject(obj)); in rdbSaveStringObject()
1000 serverAssertWithInfo(NULL,o,len != -1); in rdbSavedObjectLen()
H A Ddebug.c352 serverAssertWithInfo(c,c->argv[0],1 == 2); in debugCommand()
H A Dserver.h456 #define serverAssertWithInfo(_c,_o,_e) ((_e)?(void)0 : (_serverAssertWithInfo(_c,_o,#_e,__FILE__,__… macro