Lines Matching defs:list
122 /* rotate list[0..len-1] left by rot positions, in place */
123 local void rotate(unsigned char *list, unsigned len, unsigned rot)
134 /* pointer to last entry in list */
135 last = list + (len - 1);
139 tmp = *list;
140 memmove(list, list + 1, len - 1);
148 memmove(list + 1, list, len - 1);
149 *list = tmp;
156 start = from = list + cycles; /* start index is arbitrary */