Home | History | Annotate | Download | only in common

Lines Matching refs:c2

468     UChar c, c2;
502 * because c2 could at worst be the terminating NUL.
504 if(U16_IS_SURROGATE_LEAD(c) && U16_IS_TRAIL(c2 = string[strItr])) {
506 stringCh = U16_GET_SUPPLEMENTARY(c, c2);
671 UChar c1, c2;
675 c2=*s2++;
676 if (c1 != c2 || c1 == 0) {
680 return (int32_t)c1 - (int32_t)c2;
688 UChar c1, c2;
703 c2=*s2;
704 if(c1!=c2) {
731 c2=*s2;
732 if(c1!=c2) {
778 c2=*s2;
779 if(c1!=c2) {
792 if(c1>=0xd800 && c2>=0xd800 && codePointOrder) {
805 (c2<=0xdbff && (s2+1)!=limit2 && U16_IS_TRAIL(*(s2+1))) ||
806 (U16_IS_TRAIL(c2) && start2!=s2 && U16_IS_LEAD(*(s2-1)))
811 c2-=0x2800;
815 /* now c1 and c2 are in the requested (code unit or code point) order */
816 return (int32_t)c1-(int32_t)c2;
827 UChar32 c1, c2;
844 c2=iter2->next(iter2);
845 if(c1!=c2) {
854 if(c1>=0xd800 && c2>=0xd800 && codePointOrder) {
867 (c2<=0xdbff && U16_IS_TRAIL(iter2->current(iter2))) ||
868 (U16_IS_TRAIL(c2) && (iter2->previous(iter2), U16_IS_LEAD(iter2->previous(iter2))))
873 c2-=0x2800;
877 /* now c1 and c2 are in the requested (code unit or code point) order */
878 return (int32_t)c1-(int32_t)c2;
885 * up if the last unit (c1 or c2 respectively) was >=0.
1317 UChar c2 = charAt(*offset, context);
1318 if (U16_IS_TRAIL(c2)) {
1320 c = (UChar) U16_GET_SUPPLEMENTARY(c, c2); /* [sic] */
1330 UChar c2 = charAt(*offset, context);
1331 if (U16_IS_TRAIL(c2)) {
1333 return U16_GET_SUPPLEMENTARY(c, c2);