Lines Matching defs:ptr2
229 fsRange *ptr = NULL, *ptr1, *ptr2, *endptr;
372 for (ptr2 = ptr; ptr2 < endptr; ptr2++)
374 if ((ptr2->min_char_low == 0 && ptr2->min_char_high == 0) ||
375 ptrmax >= mincharp(ptr2) - 1)
377 if (!charset_subset && ptr->min_char_high != ptr2->min_char_high)
379 if (ptrmax <= maxcharp(ptr2))
380 ptrmax = maxcharp(ptr2);
385 /* We need to coalesce ranges between ptr1 and ptr2 exclusive */
387 ptr2--;
388 if (ptr1 != ptr2)
390 memmove(ptr1, ptr2, (char *)endptr - (char *)ptr2);
391 *nranges -= (ptr2 - ptr1);