Lines Matching full:c2
359 stable_collate_range_cmp(int c1, int c2) in stable_collate_range_cmp() argument
365 s2[0] = c2; in stable_collate_range_cmp()
368 return (c1 - c2); in stable_collate_range_cmp()
379 int c1, c2, n1, n2, r; in cmp_str() local
388 c2 = (unsigned char)p2->first; in cmp_str()
389 if ((r = stable_collate_range_cmp(c1, c2)) != 0) in cmp_str()
399 while (!isalnum(c2 = getc(Sort_2)) && c2 != '\0' && c2 != EOF) in cmp_str()
400 SET_N(n2, c2); in cmp_str()
402 while (!IS_END(c1, n1) && !IS_END(c2, n2)) { in cmp_str()
406 if (isupper(c2)) in cmp_str()
407 c2 = tolower(c2); in cmp_str()
409 if ((r = stable_collate_range_cmp(c1, c2)) != 0) in cmp_str()
412 SET_N(n2, c2); in cmp_str()
414 c2 = getc(Sort_2); in cmp_str()
418 if (IS_END(c2, n2)) in cmp_str()
419 c2 = 0; in cmp_str()
421 return (stable_collate_range_cmp(c1, c2)); in cmp_str()