Home
last modified time | relevance | path

Searched refs:U_IS_SURROGATE (Results 1 – 20 of 20) sorted by relevance

/external/icu/icu4c/source/common/
Dunormcmp.cpp283 if(U_IS_SURROGATE(c1)) { in unorm_cmpEquivFold()
299 if(U_IS_SURROGATE(c2)) { in unorm_cmpEquivFold()
323 if(U_IS_SURROGATE(c1)) { in unorm_cmpEquivFold()
368 if(U_IS_SURROGATE(c2)) { in unorm_cmpEquivFold()
413 if(U_IS_SURROGATE(c1)) { in unorm_cmpEquivFold()
454 if(U_IS_SURROGATE(c2)) { in unorm_cmpEquivFold()
Ducnv_u32.c83 if (ch <= MAXIMUM_UTF && !U_IS_SURROGATE(ch)) { in T_UConverter_toUnicode_UTF32_BE()
164 if (ch <= MAXIMUM_UTF && !U_IS_SURROGATE(ch)) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
250 if (U_IS_SURROGATE(ch)) { in T_UConverter_fromUnicode_UTF32_BE()
354 if (U_IS_SURROGATE(ch)) { in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
452 if ((uint32_t)myUChar <= MAXIMUM_UTF && !U_IS_SURROGATE(myUChar)) { in T_UConverter_getNextUChar_UTF32_BE()
548 if (ch <= MAXIMUM_UTF && !U_IS_SURROGATE(ch)) { in T_UConverter_toUnicode_UTF32_LE()
635 if (ch <= MAXIMUM_UTF && !U_IS_SURROGATE(ch)) in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
944 if ((uint32_t)myUChar <= MAXIMUM_UTF && !U_IS_SURROGATE(myUChar)) { in T_UConverter_getNextUChar_UTF32_LE()
Dutf_impl.c194 if((i)+2<(length) && !U_IS_SURROGATE(c)) { in utf8_appendCharSafeBody()
257 …if(count>=4 || c>0x10ffff || c<utf8_minLegal[count] || (U_IS_SURROGATE(c) && strict!=-2) || (stric… in utf8_prevCharSafeBody()
Dustrtrns.cpp58 subchar > 0x10ffff || U_IS_SURROGATE(subchar) in u_strFromUTF32WithSub()
173 subchar > 0x10ffff || U_IS_SURROGATE(subchar) in u_strToUTF32WithSub()
317 if(illegal || c<utf8_minLegal[count] || U_IS_SURROGATE(c)) { in utf8_nextCharSafeBodyTerminated()
385 if(illegal || c<utf8_minLegal[count] || U_IS_SURROGATE(c)) { in utf8_nextCharSafeBodyPointer()
422 subchar > 0x10ffff || U_IS_SURROGATE(subchar) in u_strFromUTF8WithSub()
997 subchar > 0x10ffff || U_IS_SURROGATE(subchar) in u_strToUTF8WithSub()
1279 subchar > 0x10ffff || U_IS_SURROGATE(subchar) in u_strFromJavaModifiedUTF8WithSub()
Dustrcase.cpp667 if(U_IS_SURROGATE(c1)) { in _cmpFold()
683 if(U_IS_SURROGATE(c2)) { in _cmpFold()
707 if(U_IS_SURROGATE(c1)) { in _cmpFold()
753 if(U_IS_SURROGATE(c2)) { in _cmpFold()
Ducnv_u8.c179 (isCESU8 ? i <= 3 : !U_IS_SURROGATE(ch))) in ucnv_toUnicode_UTF8()
307 (isCESU8 ? i <= 3 : !U_IS_SURROGATE(ch))) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
736 !U_IS_SURROGATE(ch) in ucnv_getNextUChar_UTF8()
Ducnvlat1.c267 if(!U_IS_SURROGATE(cp)) { in _Latin1FromUnicodeWithOffsets()
293 *pErrorCode= U_IS_SURROGATE(cp) ? U_ILLEGAL_CHAR_FOUND : U_INVALID_CHAR_FOUND; in _Latin1FromUnicodeWithOffsets()
Dpunycode.cpp517 if(n>0x10ffff || U_IS_SURROGATE(n)) { in u_strFromPunycode()
Ducnv_u16.c521 if(U_IS_SURROGATE(c)) { in _UTF16BEGetNextUChar()
1117 if(U_IS_SURROGATE(c)) { in _UTF16LEGetNextUChar()
Dutrie2.cpp599 if(!U_IS_SURROGATE(c)) { in enumEitherTrie()
/external/icu/icu4c/source/common/unicode/
Dutf.h191 #define U_IS_SURROGATE(c) (((c)&0xfffff800)==0xd800) macro
Dutf16.h48 #define U16_IS_SINGLE(c) !U_IS_SURROGATE(c)
72 #define U16_IS_SURROGATE(c) U_IS_SURROGATE(c)
/external/icu/icu4c/source/test/cintltst/
Dutf8tst.c1020 expectIsError= c<0 || 0x10ffff<c || U_IS_SURROGATE(c); in TestAppend()
1071 if(U_IS_SURROGATE(cu) ? cs>=0 : cs!=cu) { in TestSurrogates()
1108 if(U_IS_SURROGATE(cu) ? cs>=0 : cs!=cu) { in TestSurrogates()
Dtrie2test.c394 values[countValues++]=U_IS_SURROGATE(prevCP) ? errorValue : value; in testTrieUTF8()
398 values[countValues++]=U_IS_SURROGATE(prevCP) ? errorValue : value; in testTrieUTF8()
402 values[countValues++]=U_IS_SURROGATE(c) ? errorValue : value; in testTrieUTF8()
Dcucdtst.c1454 if(!UTF_IS_SURROGATE(c) || !U_IS_SURROGATE(c) || !U16_IS_SURROGATE(c)){ in TestCodePoint()
1467 if(UTF_IS_SURROGATE(c) || U_IS_SURROGATE(c) || U16_IS_SURROGATE(c)){ in TestCodePoint()
1480 if(UTF_IS_SURROGATE(c) || U_IS_SURROGATE(c) || U16_IS_SURROGATE(c)){ in TestCodePoint()
1494 if(UTF_IS_SURROGATE(c) || U_IS_SURROGATE(c) || U16_IS_SURROGATE(c)){ in TestCodePoint()
/external/icu/icu4c/source/i18n/
Dcollationruleparser.cpp338 if(U_IS_SURROGATE(prev)) { in parseStarredCharacters()
423 if(U_IS_SURROGATE(c)) { in parseString()
Dcollationiterator.cpp433 if(U_IS_SURROGATE(c) && forbidSurrogateCodePoints()) { in appendCEsFromCE32()
/external/icu/icu4c/source/tools/toolutil/
Ducm.c810 if((uint32_t)cp>0x10ffff || U_IS_SURROGATE(cp)) { in ucm_parseMappingLine()
991 } else if(U_IS_SURROGATE(c)) { in ucm_addMapping()
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp302 if(U_IS_SURROGATE(c)) { in setRoundTripMapping()
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1502 if(U_IS_SURROGATE(c)) { in surrogatesToFFFD()