Lines Matching defs:c1
493 UChar32 c1, c2, cp1, cp2;
522 c1=c2=-1;
531 if(c1<0) {
534 if(s1==limit1 || ((c1=*s1)==0 && (limit1==NULL || (options&_STRNCMP_STYLE)))) {
536 c1=-1;
578 * compare c1 and c2
579 * either variable c1, c2 is -1 only if the corresponding string is finished
581 if(c1==c2) {
582 if(c1<0) {
583 return 0; /* c1==c2==-1 indicating end of strings */
585 c1=c2=-1; /* make us fetch new code units */
587 } else if(c1<0) {
592 /* c1!=c2 && c1>=0 && c2>=0 */
594 /* get complete code points for c1, c2 for lookups if either is a surrogate */
595 cp1=c1;
596 if(U_IS_SURROGATE(c1)) {
599 if(U_IS_SURROGATE_LEAD(c1)) {
602 cp1=U16_GET_SUPPLEMENTARY(c1, c);
604 } else /* isTrail(c1) */ {
606 cp1=U16_GET_SUPPLEMENTARY(c, c1);
636 if(U_IS_SURROGATE(c1)) {
637 if(U_IS_SURROGATE_LEAD(c1)) {
640 } else /* isTrail(c1) */ {
673 c1=-1;
694 c1=*(s1-1);
731 * c1=d800 cp1=10001 c2=dc00 cp2=10000
732 * cp1-cp2>0 but c1-c2<0 and in fact in UTF-32 it is { d800 10001 } < { 10000 }
739 if(c1>=0xd800 && c2>=0xd800 && (options&U_COMPARE_CODE_POINT_ORDER)) {
742 (c1<=0xdbff && s1!=limit1 && U16_IS_TRAIL(*s1)) ||
743 (U16_IS_TRAIL(c1) && start1!=(s1-1) && U16_IS_LEAD(*(s1-2)))
748 c1-=0x2800;
762 return c1-c2;