Lines Matching refs:objele

156 int setTypeNext(setTypeIterator *si, robj **objele, int64_t *llele) {  in setTypeNext()  argument
160 *objele = dictGetKey(de); in setTypeNext()
165 *objele = NULL; /* Not needed. Defensive. */ in setTypeNext()
181 robj *objele; in setTypeNextObject() local
184 encoding = setTypeNext(si,&objele,&intele); in setTypeNextObject()
190 incrRefCount(objele); in setTypeNextObject()
191 return objele; in setTypeNextObject()
215 int setTypeRandomElement(robj *setobj, robj **objele, int64_t *llele) { in setTypeRandomElement() argument
218 *objele = dictGetKey(de); in setTypeRandomElement()
222 *objele = NULL; /* Not needed. Defensive. */ in setTypeRandomElement()
470 robj *objele; in spopWithCountCommand() local
484 encoding = setTypeRandomElement(set,&objele,&llele); in spopWithCountCommand()
486 objele = createStringObjectFromLongLong(llele); in spopWithCountCommand()
488 incrRefCount(objele); in spopWithCountCommand()
492 addReplyBulk(c,objele); in spopWithCountCommand()
493 setTypeRemove(set,objele); in spopWithCountCommand()
496 propargv[2] = objele; in spopWithCountCommand()
499 decrRefCount(objele); in spopWithCountCommand()
514 encoding = setTypeRandomElement(set,&objele,&llele); in spopWithCountCommand()
516 objele = createStringObjectFromLongLong(llele); in spopWithCountCommand()
518 incrRefCount(objele); in spopWithCountCommand()
520 if (!newset) newset = setTypeCreate(objele); in spopWithCountCommand()
521 setTypeAdd(newset,objele); in spopWithCountCommand()
522 setTypeRemove(set,objele); in spopWithCountCommand()
523 decrRefCount(objele); in spopWithCountCommand()
533 while((encoding = setTypeNext(si,&objele,&llele)) != -1) { in spopWithCountCommand()
535 objele = createStringObjectFromLongLong(llele); in spopWithCountCommand()
537 incrRefCount(objele); in spopWithCountCommand()
539 addReplyBulk(c,objele); in spopWithCountCommand()
542 propargv[2] = objele; in spopWithCountCommand()
546 decrRefCount(objele); in spopWithCountCommand()