Lines Matching defs:index
122 if (f->index)
170 if (inp->index)
229 int index)
231 unsigned int x = index % f->width;
232 unsigned int y = index / f->width;
235 tch_buf[index] = offset + get_random_pressure();
238 tch_buf[index - 1] = offset + get_random_pressure();
240 tch_buf[index + 1] = offset + get_random_pressure();
242 tch_buf[index - f->width] = offset + get_random_pressure();
244 tch_buf[index + f->width] = offset + get_random_pressure();
247 tch_buf[index - 1 - f->width] = offset + get_random_pressure();
249 tch_buf[index + 1 - f->width] = offset + get_random_pressure();
251 tch_buf[index - 1 + f->width] = offset + get_random_pressure();
253 tch_buf[index + 1 + f->width] = offset + get_random_pressure();