Lines Matching refs:dstset

328     robj *srcset, *dstset, *ele;  in smoveCommand()  local
330 dstset = lookupKeyWrite(c->db,c->argv[2]); in smoveCommand()
342 (dstset && checkType(c,dstset,OBJ_SET))) return; in smoveCommand()
345 if (srcset == dstset) { in smoveCommand()
364 if (!dstset) { in smoveCommand()
365 dstset = setTypeCreate(ele); in smoveCommand()
366 dbAdd(c->db,c->argv[2],dstset); in smoveCommand()
374 if (setTypeAdd(dstset,ele)) { in smoveCommand()
795 robj *eleobj, *dstset = NULL; in sinterGenericCommand() local
838 dstset = createIntsetObject(); in sinterGenericCommand()
893 setTypeAdd(dstset,eleobj); in sinterGenericCommand()
896 setTypeAdd(dstset,eleobj); in sinterGenericCommand()
907 if (setTypeSize(dstset) > 0) { in sinterGenericCommand()
908 dbAdd(c->db,dstkey,dstset); in sinterGenericCommand()
909 addReplyLongLong(c,setTypeSize(dstset)); in sinterGenericCommand()
913 decrRefCount(dstset); in sinterGenericCommand()
943 robj *ele, *dstset = NULL; in sunionDiffGenericCommand() local
998 dstset = createIntsetObject(); in sunionDiffGenericCommand()
1008 if (setTypeAdd(dstset,ele)) cardinality++; in sunionDiffGenericCommand()
1031 setTypeAdd(dstset,ele); in sunionDiffGenericCommand()
1051 if (setTypeAdd(dstset,ele)) cardinality++; in sunionDiffGenericCommand()
1053 if (setTypeRemove(dstset,ele)) cardinality--; in sunionDiffGenericCommand()
1068 si = setTypeInitIterator(dstset); in sunionDiffGenericCommand()
1074 decrRefCount(dstset); in sunionDiffGenericCommand()
1079 if (setTypeSize(dstset) > 0) { in sunionDiffGenericCommand()
1080 dbAdd(c->db,dstkey,dstset); in sunionDiffGenericCommand()
1081 addReplyLongLong(c,setTypeSize(dstset)); in sunionDiffGenericCommand()
1086 decrRefCount(dstset); in sunionDiffGenericCommand()