Lines Matching refs:count
363 long long count = 0; in existsCommand() local
368 if (dbExists(c->db,c->argv[j])) count++; in existsCommand()
370 addReplyLongLong(c,count); in existsCommand()
495 long count = 10; in scanGenericCommand() local
512 if (getLongFromObjectOrReply(c, c->argv[i+1], &count, NULL) in scanGenericCommand()
518 if (count < 1) { in scanGenericCommand()
555 count *= 2; /* We return key / value for this type. */ in scanGenericCommand()
559 count *= 2; /* We return key / value for this type. */ in scanGenericCommand()
568 long maxiterations = count*10; in scanGenericCommand()
579 listLength(keys) < (unsigned long)count); in scanGenericCommand()
1258 unsigned int getKeysInSlot(unsigned int hashslot, robj **keys, unsigned int count) { in getKeysInSlot() argument
1267 while(n && n->score == hashslot && count--) { in getKeysInSlot()
1300 int rank, count = 0; in countKeysInSlot() local
1311 count = (zsl->length - (rank - 1)); in countKeysInSlot()
1319 count -= (zsl->length - rank); in countKeysInSlot()
1322 return count; in countKeysInSlot()