Lines Matching refs:shared
282 addReply(c,shared.wrongtypeerr); in saddCommand()
303 if ((set = lookupKeyWriteOrReply(c,c->argv[1],shared.czero)) == NULL || in sremCommand()
335 addReply(c,shared.czero); in smoveCommand()
346 addReply(c,setTypeIsMember(srcset,ele) ? shared.cone : shared.czero); in smoveCommand()
352 addReply(c,shared.czero); in smoveCommand()
378 addReply(c,shared.cone); in smoveCommand()
384 if ((set = lookupKeyReadOrReply(c,c->argv[1],shared.czero)) == NULL || in sismemberCommand()
389 addReply(c,shared.cone); in sismemberCommand()
391 addReply(c,shared.czero); in sismemberCommand()
397 if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.czero)) == NULL || in scardCommand()
421 addReply(c,shared.outofrangeerr); in spopWithCountCommand()
427 if ((set = lookupKeyReadOrReply(c,c->argv[1],shared.emptymultibulk)) in spopWithCountCommand()
433 addReply(c,shared.emptymultibulk); in spopWithCountCommand()
455 rewriteClientCommandVector(c,2,shared.del,c->argv[1]); in spopWithCountCommand()
571 addReply(c,shared.syntaxerr); in spopCommand()
577 if ((set = lookupKeyWriteOrReply(c,c->argv[1],shared.nullbulk)) == NULL || in spopCommand()
642 if ((set = lookupKeyReadOrReply(c,c->argv[1],shared.emptymultibulk)) in srandmemberWithCountCommand()
648 addReply(c,shared.emptymultibulk); in srandmemberWithCountCommand()
764 addReply(c,shared.syntaxerr); in srandmemberCommand()
768 if ((set = lookupKeyReadOrReply(c,c->argv[1],shared.nullbulk)) == NULL || in srandmemberCommand()
812 addReply(c,shared.czero); in sinterGenericCommand()
814 addReply(c,shared.emptymultibulk); in sinterGenericCommand()
914 addReply(c,shared.czero); in sinterGenericCommand()
1087 addReply(c,shared.czero); in sunionDiffGenericCommand()
1119 if ((set = lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL || in sscanCommand()