| /f-stack/app/redis-5.0.5/src/ |
| H A D | sort.c | 419 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 D | blocked.c | 532 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 D | t_zset.c | 1190 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 D | object.c | 409 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 D | t_list.c | 162 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 D | pubsub.c | 101 serverAssertWithInfo(c,NULL,de != NULL); in pubsubUnsubscribeChannel() 104 serverAssertWithInfo(c,NULL,ln != NULL); in pubsubUnsubscribeChannel()
|
| H A D | db.c | 177 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 D | networking.c | 50 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 D | cluster.c | 4319 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 D | expire.c | 432 serverAssertWithInfo(c,key,deleted); in expireGenericCommand()
|
| H A D | multi.c | 279 serverAssertWithInfo(c,NULL,clients != NULL); in unwatchAllKeys()
|
| H A D | config.c | 906 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 D | scripting.c | 1228 serverAssertWithInfo(c ? c : server.lua_client,NULL,retval == DICT_OK); in luaCreateFunction() 1445 serverAssertWithInfo(c,NULL,script != NULL); in evalGenericCommand()
|
| H A D | t_set.c | 237 serverAssertWithInfo(NULL,setobj,setobj->type == OBJ_SET && in setTypeConvert()
|
| H A D | rdb.c | 463 serverAssertWithInfo(NULL,obj,sdsEncodedObject(obj)); in rdbSaveStringObject() 1000 serverAssertWithInfo(NULL,o,len != -1); in rdbSavedObjectLen()
|
| H A D | debug.c | 352 serverAssertWithInfo(c,c->argv[0],1 == 2); in debugCommand()
|
| H A D | server.h | 456 #define serverAssertWithInfo(_c,_o,_e) ((_e)?(void)0 : (_serverAssertWithInfo(_c,_o,#_e,__FILE__,__… macro
|