Home | History | Annotate | Download | only in common

Lines Matching refs:c2

467     UChar c, c2;
501 * because c2 could at worst be the terminating NUL.
503 if(U16_IS_SURROGATE_LEAD(c) && U16_IS_TRAIL(c2 = string[strItr])) {
505 stringCh = U16_GET_SUPPLEMENTARY(c, c2);
670 UChar c1, c2;
674 c2=*s2++;
675 if (c1 != c2 || c1 == 0) {
679 return (int32_t)c1 - (int32_t)c2;
687 UChar c1, c2;
702 c2=*s2;
703 if(c1!=c2) {
730 c2=*s2;
731 if(c1!=c2) {
777 c2=*s2;
778 if(c1!=c2) {
791 if(c1>=0xd800 && c2>=0xd800 && codePointOrder) {
804 (c2<=0xdbff && (s2+1)!=limit2 && UTF_IS_TRAIL(*(s2+1))) ||
805 (UTF_IS_TRAIL(c2) && start2!=s2 && UTF_IS_LEAD(*(s2-1)))
810 c2-=0x2800;
814 /* now c1 and c2 are in the requested (code unit or code point) order */
815 return (int32_t)c1-(int32_t)c2;
826 UChar32 c1, c2;
843 c2=iter2->next(iter2);
844 if(c1!=c2) {
853 if(c1>=0xd800 && c2>=0xd800 && codePointOrder) {
866 (c2<=0xdbff && UTF_IS_TRAIL(iter2->current(iter2))) ||
867 (UTF_IS_TRAIL(c2) && (iter2->previous(iter2), UTF_IS_LEAD(iter2->previous(iter2))))
872 c2-=0x2800;
876 /* now c1 and c2 are in the requested (code unit or code point) order */
877 return (int32_t)c1-(int32_t)c2;
884 * up if the last unit (c1 or c2 respectively) was >=0.
1310 UChar c2 = charAt(*offset, context);
1311 if (UTF_IS_SECOND_SURROGATE(c2)) {
1313 c = (UChar) UTF16_GET_PAIR_VALUE(c, c2); /* [sic] */
1323 UChar c2 = charAt(*offset, context);
1324 if (UTF_IS_SECOND_SURROGATE(c2)) {
1326 return UTF16_GET_PAIR_VALUE(c, c2);