Lines Matching refs:c2
134 UChar32 c, c2 = 0;
148 if((destIndex<destCapacity) && (c<0 ? (c2=~c)<=0xffff : UCASE_MAX_STRING_LENGTH<c && (c2=c)<=0xffff)) {
150 dest[destIndex++]=(UChar)c2;
338 UChar32 c, c2 = 0;
345 if((destIndex<destCapacity) && (c<0 ? (c2=~c)<=0xffff : UCASE_MAX_STRING_LENGTH<c && (c2=c)<=0xffff)) {
347 dest[destIndex++]=(UChar)c2;
493 UChar32 c1, c2, cp1, cp2;
522 c1=c2=-1;
554 if(c2<0) {
557 if(s2==limit2 || ((c2=*s2)==0 && (limit2==NULL || (options&_STRNCMP_STYLE)))) {
559 c2=-1;
578 * compare c1 and c2
579 * either variable c1, c2 is -1 only if the corresponding string is finished
581 if(c1==c2) {
583 return 0; /* c1==c2==-1 indicating end of strings */
585 c1=c2=-1; /* make us fetch new code units */
589 } else if(c2<0) {
592 /* c1!=c2 && c1>=0 && c2>=0 */
594 /* get complete code points for c1, c2 for lookups if either is a surrogate */
611 cp2=c2;
612 if(U_IS_SURROGATE(c2)) {
615 if(U_IS_SURROGATE_LEAD(c2)) {
618 cp2=U16_GET_SUPPLEMENTARY(c2, c);
620 } else /* isTrail(c2) */ {
622 cp2=U16_GET_SUPPLEMENTARY(c, c2);
649 c2=*(s2-1);
681 if(U_IS_SURROGATE(c2)) {
682 if(U_IS_SURROGATE_LEAD(c2)) {
685 } else /* isTrail(c2) */ {
718 c2=-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)) {
752 (c2<=0xdbff && s2!=limit2 && U16_IS_TRAIL(*s2)) ||
753 (U16_IS_TRAIL(c2) && start2!=(s2-1) && U16_IS_LEAD(*(s2-2)))
758 c2-=0x2800;
762 return c1-c2;