Lines Matching refs:mapindex
283 static int mapindex[1024];
303 if ((j = map[i].value) > 0 && j < elementsof(mapindex) && !mapindex[j])
307 mapindex[j] = i;
316 if (j >= elementsof(mapindex))
317 j = elementsof(mapindex) - 1;
318 if (i <= j && i > 0 && i < elementsof(mapindex) && j > 0 && j < elementsof(mapindex))
322 mapindex[i] = RANGE_MIN | RANGE_RT;
325 mapindex[i] = RANGE_RT | n++;
326 mapindex[j] = RANGE_MAX | RANGE_RT | n;
335 if (!(j = mapindex[i]))
360 if (!(j = mapindex[i]))