Lines Matching refs:start
224 int start, stop; in clusterLoadConfig() local
251 start = atoi(argv[j]); in clusterLoadConfig()
254 start = stop = atoi(argv[j]); in clusterLoadConfig()
256 while(start <= stop) clusterAddSlot(n, start++); in clusterLoadConfig()
3696 int j, start; in clusterGenNodeDescription() local
3723 start = -1; in clusterGenNodeDescription()
3728 if (start == -1) start = j; in clusterGenNodeDescription()
3730 if (start != -1 && (!bit || j == CLUSTER_SLOTS-1)) { in clusterGenNodeDescription()
3733 if (start == j-1) { in clusterGenNodeDescription()
3734 ci = sdscatprintf(ci," %d",start); in clusterGenNodeDescription()
3736 ci = sdscatprintf(ci," %d-%d",start,j-1); in clusterGenNodeDescription()
3738 start = -1; in clusterGenNodeDescription()
3825 int j = 0, start = -1; in clusterReplyMultiBulkSlots() local
3835 if (start == -1) start = j; in clusterReplyMultiBulkSlots()
3837 if (start != -1 && (!bit || j == CLUSTER_SLOTS-1)) { in clusterReplyMultiBulkSlots()
3845 if (start == j-1) { in clusterReplyMultiBulkSlots()
3846 addReplyLongLong(c, start); /* only one slot; low==high */ in clusterReplyMultiBulkSlots()
3847 addReplyLongLong(c, start); in clusterReplyMultiBulkSlots()
3849 addReplyLongLong(c, start); /* low */ in clusterReplyMultiBulkSlots()
3852 start = -1; in clusterReplyMultiBulkSlots()