Lines Matching refs:cursor
598 int parseScanCursorOrReply(client *c, robj *o, unsigned long *cursor) { in parseScanCursorOrReply() argument
604 *cursor = strtoul(o->ptr, &eptr, 10); in parseScanCursorOrReply()
624 void scanGenericCommand(client *c, robj *o, unsigned long cursor) { in scanGenericCommand() argument
709 cursor = dictScan(ht, cursor, scanCallback, NULL, privdata); in scanGenericCommand()
710 } while (cursor && in scanGenericCommand()
719 cursor = 0; in scanGenericCommand()
733 cursor = 0; in scanGenericCommand()
786 addReplyBulkLongLong(c,cursor); in scanGenericCommand()
803 unsigned long cursor; in scanCommand() local
804 if (parseScanCursorOrReply(c,c->argv[1],&cursor) == C_ERR) return; in scanCommand()
805 scanGenericCommand(c,NULL,cursor); in scanCommand()