Home
last modified time | relevance | path

Searched refs:UTF_IS_SURROGATE (Results 1 – 16 of 16) sorted by relevance

/external/icu4c/common/
Dutf_impl.c164 if(illegal || (c)<utf8_minLegal[count] || (UTF_IS_SURROGATE(c) && strict!=-2)) { in utf8_nextCharSafeBody()
275 …if(count>=4 || c>0x10ffff || c<utf8_minLegal[count] || (UTF_IS_SURROGATE(c) && strict!=-2) || (str… in utf8_prevCharSafeBody()
Ducnv_u8.c167 (isCESU8 ? i <= 3 : !UTF_IS_SURROGATE(ch))) in ucnv_toUnicode_UTF8()
295 (isCESU8 ? i <= 3 : !UTF_IS_SURROGATE(ch))) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
390 if(UTF_IS_SURROGATE(ch) && isNotCESU8) { in ucnv_fromUnicode_UTF8()
516 if(UTF_IS_SURROGATE(ch) && isNotCESU8) { in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
Ducnv_u32.c249 if (UTF_IS_SURROGATE(ch)) { in T_UConverter_fromUnicode_UTF32_BE()
353 if (UTF_IS_SURROGATE(ch)) { in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
729 if (UTF_IS_SURROGATE(ch)) { in T_UConverter_fromUnicode_UTF32_LE()
841 if (UTF_IS_SURROGATE(ch)) { in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
Dustrtrns.c312 if(illegal || c<utf8_minLegal[count] || UTF_IS_SURROGATE(c)) { in utf8_nextCharSafeBodyTerminated()
379 if(illegal || c<utf8_minLegal[count] || UTF_IS_SURROGATE(c)) { in utf8_nextCharSafeBodyPointer()
1060 } else if(!UTF_IS_SURROGATE(ch)) { in u_strToUTF8WithSub()
1203 } else if(!UTF_IS_SURROGATE(ch)) { in u_strToUTF8WithSub()
Dutrie.h239 if(!UTF_IS_SURROGATE(c)) { \
Dpunycode.c513 if(n>0x10ffff || UTF_IS_SURROGATE(n)) { in u_strFromPunycode()
Ducnvhz.c449 if(UTF_IS_SURROGATE(mySourceChar)) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
Ducnv_ct.c359 if(UTF_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_CompoundText_OFFSETS()
Ducnvscsu.c1101 } else if(UTF_IS_SURROGATE(c)) { in _SCSUFromUnicodeWithOffsets()
1576 } else if(UTF_IS_SURROGATE(c)) { in _SCSUFromUnicode()
Ducnvmbcs.c3355 if(UTF_IS_SURROGATE(c) && !(unicodeMask&UCNV_HAS_SURROGATES)) { in ucnv_MBCSDoubleFromUnicodeWithOffsets()
3560 if(UTF_IS_SURROGATE(c)) { in ucnv_MBCSSingleFromUnicodeWithOffsets()
3808 } else if(!UTF_IS_SURROGATE(c)) { in ucnv_MBCSSingleFromBMPWithOffsets()
4238 if(UTF_IS_SURROGATE(c) && !(unicodeMask&UCNV_HAS_SURROGATES)) { in ucnv_MBCSFromUnicodeWithOffsets()
Ducnv2022.c1666 if(UTF_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2443 if(UTF_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2915 if(UTF_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISO_2022_CN_OFFSETS_LOGIC()
Duiter.cpp1041 if(UTF_IS_SURROGATE(c)) { in uiter_current32()
Ducnvisci.c1056 if (UTF_IS_SURROGATE(sourceChar)) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
/external/icu4c/common/unicode/
Dutf_old.h237 #define UTF_IS_SURROGATE(uchar) (((uchar)&0xfffff800)==0xd800) macro
533 #define UTF16_IS_SINGLE(uchar) !UTF_IS_SURROGATE(uchar)
566 if(UTF_IS_SURROGATE(c)) { \
578 if(UTF_IS_SURROGATE(c)) { \
/external/icu4c/test/cintltst/
Dcucdtst.c1271 … if(!(UTF_IS_SINGLE(c)) || (UTF_IS_LEAD(c)) || (UTF_IS_TRAIL(c)) ||(UTF_IS_SURROGATE(c))){ in TestCodeUnit()
1277 if(!(UTF_IS_LEAD(c)) || UTF_IS_SINGLE(c) || UTF_IS_TRAIL(c) || !(UTF_IS_SURROGATE(c))){ in TestCodeUnit()
1282 if(!(UTF_IS_TRAIL(c)) || UTF_IS_SINGLE(c) || UTF_IS_LEAD(c) || !(UTF_IS_SURROGATE(c))){ in TestCodeUnit()
1323 if(!UTF_IS_SURROGATE(c) || !U_IS_SURROGATE(c) || !U16_IS_SURROGATE(c)){ in TestCodePoint()
1336 if(UTF_IS_SURROGATE(c) || U_IS_SURROGATE(c) || U16_IS_SURROGATE(c)){ in TestCodePoint()
1349 if(UTF_IS_SURROGATE(c) || U_IS_SURROGATE(c) || U16_IS_SURROGATE(c)){ in TestCodePoint()
1363 if(UTF_IS_SURROGATE(c) || U_IS_SURROGATE(c) || U16_IS_SURROGATE(c)){ in TestCodePoint()
/external/icu4c/i18n/
Ducol_imp.h1154 if(UTF_IS_SURROGATE(c)) { in ucol_unsafeCP()