| /redis-3.2.3/src/ |
| H A D | object.c | 351 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in isObjectRepresentableAsLongLong() 370 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in tryObjectEncoding() 472 serverAssertWithInfo(NULL,a,a->type == OBJ_STRING && b->type == OBJ_STRING); in compareStringObjectsWithFlags() 529 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in stringObjectLen() 544 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in getDoubleFromObject() 586 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in getLongDoubleFromObject() 623 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in getLongLongFromObject()
|
| H A D | t_zset.c | 921 serverAssertWithInfo(NULL,ele,sptr != NULL); in zzlFind() 983 serverAssertWithInfo(NULL,ele,sptr != NULL); in zzlInsert() 1115 serverAssertWithInfo(NULL,zobj,eptr != NULL); in zsetConvert() 1117 serverAssertWithInfo(NULL,zobj,sptr != NULL); in zsetConvert() 2234 serverAssertWithInfo(c,zobj,eptr != NULL); in zrangeGenericCommand() 2272 serverAssertWithInfo(c,zobj,ln != NULL); in zrangeGenericCommand() 2364 serverAssertWithInfo(c,zobj,eptr != NULL); in genericZrangebyscoreCommand() 2716 serverAssertWithInfo(c,zobj,eptr != NULL); in genericZrangebylexCommand() 2864 serverAssertWithInfo(c,ele,sdsEncodedObject(ele)); in zrankGenericCommand() 2871 serverAssertWithInfo(c,zobj,eptr != NULL); in zrankGenericCommand() [all …]
|
| H A D | sort.c | 419 serverAssertWithInfo(c,sortval,ln != NULL); in sortCommand() 445 serverAssertWithInfo(c,sortval,j == vectorlen); in sortCommand() 478 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 | 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() 640 serverAssertWithInfo(c,keys[j],retval == DICT_OK); in blockForKeys() 656 serverAssertWithInfo(c,NULL,dictSize(c->bpop.keys) != 0); in unblockClientWaitingData() 664 serverAssertWithInfo(c,key,l != NULL); in unblockClientWaitingData() 958 serverAssertWithInfo(c,key,listTypeLength(key) > 0); in brpoplpushCommand()
|
| H A D | db.c | 161 serverAssertWithInfo(NULL,key,retval == DICT_OK); in dbAdd() 174 serverAssertWithInfo(NULL,key,de != NULL); in dbOverwrite() 843 serverAssertWithInfo(NULL,key,dictFind(db->dict,key->ptr) != NULL); in removeExpire() 852 serverAssertWithInfo(NULL,key,kde != NULL); in setExpire() 868 serverAssertWithInfo(NULL,key,dictFind(db->dict,key->ptr) != NULL); in getExpire() 968 serverAssertWithInfo(c,key,dbDelete(c->db,key)); in expireGenericCommand()
|
| H A D | pubsub.c | 101 serverAssertWithInfo(c,NULL,de != NULL); in pubsubUnsubscribeChannel() 104 serverAssertWithInfo(c,NULL,ln != NULL); in pubsubUnsubscribeChannel()
|
| H A D | networking.c | 47 serverAssertWithInfo(NULL,o,o->type == OBJ_STRING); in getStringObjectSdsUsedMemory() 1129 serverAssertWithInfo(c,NULL,c->argc == 0); in processMultibulkBuffer() 1147 serverAssertWithInfo(c,NULL,c->querybuf[0] == '*'); in processMultibulkBuffer() 1168 serverAssertWithInfo(c,NULL,c->multibulklen > 0); in processMultibulkBuffer() 1666 serverAssertWithInfo(c,NULL,c->cmd != NULL); in rewriteClientCommandVector() 1677 serverAssertWithInfo(c,NULL,c->cmd != NULL); in replaceClientCommandVector() 1707 serverAssertWithInfo(c,NULL,c->cmd != NULL); in rewriteClientCommandArgument()
|
| H A D | cluster.c | 3970 serverAssertWithInfo(c,NULL,retval == C_OK); in clusterCommand() 4739 serverAssertWithInfo(c,NULL,rioWriteBulkCount(&cmd,'*',2)); in migrateCommand() 4740 serverAssertWithInfo(c,NULL,rioWriteBulkString(&cmd,"SELECT",6)); in migrateCommand() 4741 serverAssertWithInfo(c,NULL,rioWriteBulkLongLong(&cmd,dbid)); in migrateCommand() 4753 serverAssertWithInfo(c,NULL, in migrateCommand() 4756 serverAssertWithInfo(c,NULL,rioWriteBulkString(&cmd,"RESTORE",7)); in migrateCommand() 4757 serverAssertWithInfo(c,NULL,sdsEncodedObject(kv[j])); in migrateCommand() 4758 serverAssertWithInfo(c,NULL,rioWriteBulkString(&cmd,kv[j]->ptr, in migrateCommand() 4760 serverAssertWithInfo(c,NULL,rioWriteBulkLongLong(&cmd,ttl)); in migrateCommand() 4765 serverAssertWithInfo(c,NULL, in migrateCommand() [all …]
|
| H A D | t_set.c | 77 serverAssertWithInfo(NULL,value, in setTypeAdd() 244 serverAssertWithInfo(NULL,setobj,setobj->type == OBJ_SET && in setTypeConvert() 259 serverAssertWithInfo(NULL,element, in setTypeConvert()
|
| H A D | multi.c | 247 serverAssertWithInfo(c,NULL,clients != NULL); in unwatchAllKeys()
|
| H A D | config.c | 721 serverAssertWithInfo(c,c->argv[2],sdsEncodedObject(c->argv[2])); 722 serverAssertWithInfo(c,c->argv[3],sdsEncodedObject(c->argv[3])); 1057 serverAssertWithInfo(c,o,sdsEncodedObject(o));
|
| H A D | rdb.c | 401 serverAssertWithInfo(NULL,obj,sdsEncodedObject(obj)); in rdbSaveStringObject() 695 serverAssertWithInfo(NULL,o,len != -1); in rdbSavedObjectLen()
|
| H A D | scripting.c | 1175 serverAssertWithInfo(c,NULL,retval == DICT_OK); in luaCreateFunction() 1391 serverAssertWithInfo(c,NULL,script != NULL); in evalGenericCommand()
|
| H A D | debug.c | 333 serverAssertWithInfo(c,c->argv[0],1 == 2); in debugCommand()
|
| H A D | server.h | 449 #define serverAssertWithInfo(_c,_o,_e) ((_e)?(void)0 : (_serverAssertWithInfo(_c,_o,#_e,__FILE__,__… macro
|