Lines Matching refs:index
734 /* at the left margin, real index hwc lower */
743 /* in the middle, real index hwc + 1 higher */
751 /* at the right margin, real index hwc + 1 higher */
887 unsigned int *index, *manhattan;
902 index = idx_map;
906 *index++ = i;
911 index = idx_map;
917 /* take original, distance = 0, index stays the same */
929 *index = index[-cols]; /* index follows */
937 *index = index[-1]; /* index follows */
940 if (rand () % 2 == 0) /* chose index */
941 *index = index[-1];
945 index++;
950 index = idx_map + itop - 1;
961 *index = index[+cols]; /* index follows */
964 if (rand () % 2 == 0) /* chose index */
965 *index = index[+cols];
973 *index = index[1]; /* index follows */
976 if (rand () % 2 == 0) /* chose index */
977 *index = index[1];
980 index--;
1125 unsigned int *idx_map, *index;
1159 index = idx_map;
1166 color[i] = color[index[i]];