Lines Matching refs:start
193 long limit_start = 0, limit_count = -1, start, end; in sortCommand() local
317 start = (limit_start < 0) ? 0 : limit_start; in sortCommand()
318 end = (limit_count < 0) ? vectorlen-1 : start+limit_count-1; in sortCommand()
319 if (start >= vectorlen) { in sortCommand()
320 start = vectorlen-1; in sortCommand()
337 (start != 0 || end != vectorlen-1)) in sortCommand()
339 vectorlen = end-start+1; in sortCommand()
353 if (end >= start) { in sortCommand()
357 desc ? (long)(listTypeLength(sortval) - start - 1) : start, in sortCommand()
368 end -= start; in sortCommand()
369 start = 0; in sortCommand()
410 if (start > 0) in sortCommand()
411 ln = zslGetElementByRank(zsl,zsetlen-start); in sortCommand()
414 if (start > 0) in sortCommand()
415 ln = zslGetElementByRank(zsl,start+1); in sortCommand()
428 end -= start; in sortCommand()
429 start = 0; in sortCommand()
495 if (sortby && (start != 0 || end != vectorlen-1)) in sortCommand()
496 pqsort(vector,vectorlen,sizeof(redisSortObject),sortCompare, start,end); in sortCommand()
503 outputlen = getop ? getop*(end-start+1) : end-start+1; in sortCommand()
509 for (j = start; j <= end; j++) { in sortCommand()
537 for (j = start; j <= end; j++) { in sortCommand()