Lines Matching refs:pos
2321 int pos = 4; in genericZrangebyscoreCommand() local
2324 if (remaining >= 1 && !strcasecmp(c->argv[pos]->ptr,"withscores")) { in genericZrangebyscoreCommand()
2325 pos++; remaining--; in genericZrangebyscoreCommand()
2327 } else if (remaining >= 3 && !strcasecmp(c->argv[pos]->ptr,"limit")) { in genericZrangebyscoreCommand()
2328 if ((getLongFromObjectOrReply(c, c->argv[pos+1], &offset, NULL) != C_OK) || in genericZrangebyscoreCommand()
2329 (getLongFromObjectOrReply(c, c->argv[pos+2], &limit, NULL) != C_OK)) return; in genericZrangebyscoreCommand()
2330 pos += 3; remaining -= 3; in genericZrangebyscoreCommand()
2671 int pos = 4; in genericZrangebylexCommand() local
2674 if (remaining >= 3 && !strcasecmp(c->argv[pos]->ptr,"limit")) { in genericZrangebylexCommand()
2675 if ((getLongFromObjectOrReply(c, c->argv[pos+1], &offset, NULL) != C_OK) || in genericZrangebylexCommand()
2676 (getLongFromObjectOrReply(c, c->argv[pos+2], &limit, NULL) != C_OK)) return; in genericZrangebylexCommand()
2677 pos += 3; remaining -= 3; in genericZrangebylexCommand()