Lines Matching refs:keys
434 list *keys = pd[0]; in scanCallback() local
457 listAddNodeTail(keys, key); in scanCallback()
458 if (val) listAddNodeTail(keys, val); in scanCallback()
493 list *keys = listCreate(); in scanGenericCommand() local
573 privdata[0] = keys; in scanGenericCommand()
579 listLength(keys) < (unsigned long)count); in scanGenericCommand()
585 listAddNodeTail(keys,createStringObjectFromLongLong(ll)); in scanGenericCommand()
595 listAddNodeTail(keys, in scanGenericCommand()
606 node = listFirst(keys); in scanGenericCommand()
633 listDelNode(keys, node); in scanGenericCommand()
645 listDelNode(keys, node); in scanGenericCommand()
655 addReplyMultiBulkLen(c, listLength(keys)); in scanGenericCommand()
656 while ((node = listFirst(keys)) != NULL) { in scanGenericCommand()
660 listDelNode(keys, node); in scanGenericCommand()
664 listSetFreeMethod(keys,decrRefCountVoid); in scanGenericCommand()
665 listRelease(keys); in scanGenericCommand()
1066 int j, i = 0, last, *keys; in getKeysUsingCommandTable() local
1075 keys = zmalloc(sizeof(int)*((last - cmd->firstkey)+1)); in getKeysUsingCommandTable()
1078 keys[i++] = j; in getKeysUsingCommandTable()
1081 return keys; in getKeysUsingCommandTable()
1112 int i, num, *keys; in zunionInterGetKeys() local
1126 keys = zmalloc(sizeof(int)*(num+1)); in zunionInterGetKeys()
1129 for (i = 0; i < num; i++) keys[i] = 3+i; in zunionInterGetKeys()
1132 keys[num] = 1; in zunionInterGetKeys()
1134 return keys; in zunionInterGetKeys()
1141 int i, num, *keys; in evalGetKeys() local
1152 keys = zmalloc(sizeof(int)*num); in evalGetKeys()
1156 for (i = 0; i < num; i++) keys[i] = 3+i; in evalGetKeys()
1158 return keys; in evalGetKeys()
1169 int i, j, num, *keys, found_store = 0; in sortGetKeys() local
1173 keys = zmalloc(sizeof(int)*2); /* Alloc 2 places for the worst case. */ in sortGetKeys()
1175 keys[num++] = 1; /* <sort-key> is always present. */ in sortGetKeys()
1201 keys[num] = i+1; /* <store-key> */ in sortGetKeys()
1207 return keys; in sortGetKeys()
1211 int i, num, first, *keys; in migrateGetKeys() local
1231 keys = zmalloc(sizeof(int)*num); in migrateGetKeys()
1232 for (i = 0; i < num; i++) keys[i] = first+i; in migrateGetKeys()
1234 return keys; in migrateGetKeys()
1258 unsigned int getKeysInSlot(unsigned int hashslot, robj **keys, unsigned int count) { in getKeysInSlot() argument
1268 keys[j++] = n->obj; in getKeysInSlot()