Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dunormcmp.cpp285 if(U_IS_SURROGATE(c1)) { in unorm_cmpEquivFold()
301 if(U_IS_SURROGATE(c2)) { in unorm_cmpEquivFold()
325 if(U_IS_SURROGATE(c1)) { in unorm_cmpEquivFold()
370 if(U_IS_SURROGATE(c2)) { in unorm_cmpEquivFold()
415 if(U_IS_SURROGATE(c1)) { in unorm_cmpEquivFold()
456 if(U_IS_SURROGATE(c2)) { in unorm_cmpEquivFold()
Ducnv_u32.c85 if (ch <= MAXIMUM_UTF && !U_IS_SURROGATE(ch)) { in T_UConverter_toUnicode_UTF32_BE()
166 if (ch <= MAXIMUM_UTF && !U_IS_SURROGATE(ch)) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
252 if (U_IS_SURROGATE(ch)) { in T_UConverter_fromUnicode_UTF32_BE()
356 if (U_IS_SURROGATE(ch)) { in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
454 if ((uint32_t)myUChar <= MAXIMUM_UTF && !U_IS_SURROGATE(myUChar)) { in T_UConverter_getNextUChar_UTF32_BE()
553 if (ch <= MAXIMUM_UTF && !U_IS_SURROGATE(ch)) { in T_UConverter_toUnicode_UTF32_LE()
640 if (ch <= MAXIMUM_UTF && !U_IS_SURROGATE(ch)) in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
949 if ((uint32_t)myUChar <= MAXIMUM_UTF && !U_IS_SURROGATE(myUChar)) { in T_UConverter_getNextUChar_UTF32_LE()
Dutf_impl.c196 if((i)+2<(length) && !U_IS_SURROGATE(c)) { in utf8_appendCharSafeBody()
259 …if(count>=4 || c>0x10ffff || c<utf8_minLegal[count] || (U_IS_SURROGATE(c) && strict!=-2) || (stric… in utf8_prevCharSafeBody()
Dustrtrns.cpp60 subchar > 0x10ffff || U_IS_SURROGATE(subchar) in u_strFromUTF32WithSub()
175 subchar > 0x10ffff || U_IS_SURROGATE(subchar) in u_strToUTF32WithSub()
321 if(illegal || c<utf8_minLegal[count] || U_IS_SURROGATE(c)) { in utf8_nextCharSafeBodyTerminated()
391 if(illegal || c<utf8_minLegal[count] || U_IS_SURROGATE(c)) { in utf8_nextCharSafeBodyPointer()
428 subchar > 0x10ffff || U_IS_SURROGATE(subchar) in u_strFromUTF8WithSub()
1003 subchar > 0x10ffff || U_IS_SURROGATE(subchar) in u_strToUTF8WithSub()
1285 subchar > 0x10ffff || U_IS_SURROGATE(subchar) in u_strFromJavaModifiedUTF8WithSub()
Ducnv_u8.c181 (isCESU8 ? i <= 3 : !U_IS_SURROGATE(ch))) in ucnv_toUnicode_UTF8()
309 (isCESU8 ? i <= 3 : !U_IS_SURROGATE(ch))) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
742 !U_IS_SURROGATE(ch) in ucnv_getNextUChar_UTF8()
Dustrcase.cpp1315 if(U_IS_SURROGATE(c1)) { in _cmpFold()
1331 if(U_IS_SURROGATE(c2)) { in _cmpFold()
1355 if(U_IS_SURROGATE(c1)) { in _cmpFold()
1401 if(U_IS_SURROGATE(c2)) { in _cmpFold()
Ducnvlat1.c269 if(!U_IS_SURROGATE(cp)) { in _Latin1FromUnicodeWithOffsets()
295 *pErrorCode= U_IS_SURROGATE(cp) ? U_ILLEGAL_CHAR_FOUND : U_INVALID_CHAR_FOUND; in _Latin1FromUnicodeWithOffsets()
Dpunycode.cpp519 if(n>0x10ffff || U_IS_SURROGATE(n)) { in u_strFromPunycode()
Ducnv_u16.c523 if(U_IS_SURROGATE(c)) { in _UTF16BEGetNextUChar()
1122 if(U_IS_SURROGATE(c)) { in _UTF16LEGetNextUChar()
Dutrie2.cpp601 if(!U_IS_SURROGATE(c)) { in enumEitherTrie()
/external/icu/icu4c/source/common/unicode/
Dutf.h193 #define U_IS_SURROGATE(c) (((c)&0xfffff800)==0xd800) macro
Dutf16.h50 #define U16_IS_SINGLE(c) !U_IS_SURROGATE(c)
74 #define U16_IS_SURROGATE(c) U_IS_SURROGATE(c)
/external/v8/src/inspector/
Dstring-16.cc187 #define U_IS_SURROGATE(c) (((c)&0xfffff800) == 0xd800) macro
317 if (U_IS_SURROGATE(character)) { in convertUTF8ToUTF16()
/external/icu/icu4c/source/test/cintltst/
Dutf8tst.c1022 expectIsError= c<0 || 0x10ffff<c || U_IS_SURROGATE(c); in TestAppend()
1073 if(U_IS_SURROGATE(cu) ? cs>=0 : cs!=cu) { in TestSurrogates()
1110 if(U_IS_SURROGATE(cu) ? cs>=0 : cs!=cu) { in TestSurrogates()
Dtrie2test.c396 values[countValues++]=U_IS_SURROGATE(prevCP) ? errorValue : value; in testTrieUTF8()
400 values[countValues++]=U_IS_SURROGATE(prevCP) ? errorValue : value; in testTrieUTF8()
404 values[countValues++]=U_IS_SURROGATE(c) ? errorValue : value; in testTrieUTF8()
Dcucdtst.c1456 if(!UTF_IS_SURROGATE(c) || !U_IS_SURROGATE(c) || !U16_IS_SURROGATE(c)){ in TestCodePoint()
1469 if(UTF_IS_SURROGATE(c) || U_IS_SURROGATE(c) || U16_IS_SURROGATE(c)){ in TestCodePoint()
1482 if(UTF_IS_SURROGATE(c) || U_IS_SURROGATE(c) || U16_IS_SURROGATE(c)){ in TestCodePoint()
1496 if(UTF_IS_SURROGATE(c) || U_IS_SURROGATE(c) || U16_IS_SURROGATE(c)){ in TestCodePoint()
/external/icu/icu4c/source/i18n/
Dcollationruleparser.cpp340 if(U_IS_SURROGATE(prev)) { in parseStarredCharacters()
425 if(U_IS_SURROGATE(c)) { in parseString()
Dcollationiterator.cpp435 if(U_IS_SURROGATE(c) && forbidSurrogateCodePoints()) { in appendCEsFromCE32()
/external/icu/icu4c/source/tools/toolutil/
Ducm.c812 if((uint32_t)cp>0x10ffff || U_IS_SURROGATE(cp)) { in ucm_parseMappingLine()
993 } else if(U_IS_SURROGATE(c)) { in ucm_addMapping()
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp304 if(U_IS_SURROGATE(c)) { in setRoundTripMapping()
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1504 if(U_IS_SURROGATE(c)) { in surrogatesToFFFD()