Home
last modified time | relevance | path

Searched refs:nUtf32 (Results 1 – 6 of 6) sorted by relevance

/aoo42x/main/sal/textenc/
H A Dunichars.c28 int ImplIsNoncharacter(sal_uInt32 nUtf32) in ImplIsNoncharacter() argument
31 return (nUtf32 >= 0xFDD0 && nUtf32 <= 0xFDEF) in ImplIsNoncharacter()
33 || nUtf32 > 0x10FFFF; in ImplIsNoncharacter()
42 return nUtf32 <= 0x001F in ImplIsControlOrFormat()
43 || (nUtf32 >= 0x007F && nUtf32 <= 0x009F) in ImplIsControlOrFormat()
77 || (nUtf32 >= 0xE0020 && nUtf32 <= 0xE007F); in ImplIsControlOrFormat()
83 return nUtf32 >= 0xD800 && nUtf32 <= 0xDBFF; in ImplIsHighSurrogate()
89 return nUtf32 >= 0xDC00 && nUtf32 <= 0xDFFF; in ImplIsLowSurrogate()
98 return (nUtf32 >= 0xE000 && nUtf32 <= 0xF8FF) in ImplIsPrivateUse()
99 || (nUtf32 >= 0xF0000 && nUtf32 <= 0xFFFFD) in ImplIsPrivateUse()
[all …]
H A Dtcvtutf8.c34 sal_uInt32 nUtf32; member
77 sal_uInt32 nUtf32 = 0; in ImplConvertUtf8ToUnicode() local
88 nUtf32 = ((struct ImplUtf8ToUnicodeContext *) pContext)->nUtf32; in ImplConvertUtf8ToUnicode()
101 nUtf32 = nChar; in ImplConvertUtf8ToUnicode()
108 nUtf32 = (nChar & 0x1F) << 6; in ImplConvertUtf8ToUnicode()
113 nUtf32 = (nChar & 0x0F) << 12; in ImplConvertUtf8ToUnicode()
118 nUtf32 = (nChar & 0x07) << 18; in ImplConvertUtf8ToUnicode()
155 if (!bCheckBom || nUtf32 != 0xFEFF in ImplConvertUtf8ToUnicode()
159 if (nUtf32 <= 0xFFFF) in ImplConvertUtf8ToUnicode()
164 else if (nUtf32 <= 0x10FFFF) in ImplConvertUtf8ToUnicode()
[all …]
H A Dunichars.h35 int ImplIsNoncharacter(sal_uInt32 nUtf32) SAL_THROW_EXTERN_C();
37 int ImplIsControlOrFormat(sal_uInt32 nUtf32) SAL_THROW_EXTERN_C();
39 int ImplIsHighSurrogate(sal_uInt32 nUtf32) SAL_THROW_EXTERN_C();
41 int ImplIsLowSurrogate(sal_uInt32 nUtf32) SAL_THROW_EXTERN_C();
43 int ImplIsPrivateUse(sal_uInt32 nUtf32) SAL_THROW_EXTERN_C();
45 int ImplIsZeroWidth(sal_uInt32 nUtf32) SAL_THROW_EXTERN_C();
47 sal_uInt32 ImplGetHighSurrogate(sal_uInt32 nUtf32) SAL_THROW_EXTERN_C();
49 sal_uInt32 ImplGetLowSurrogate(sal_uInt32 nUtf32) SAL_THROW_EXTERN_C();
H A Dconverter.c82 sal_uInt32 nUtf32, in ImplHandleBadInputUnicodeToTextConversion() argument
98 if (ImplIsControlOrFormat(nUtf32)) in ImplHandleBadInputUnicodeToTextConversion()
103 else if (ImplIsPrivateUse(nUtf32)) in ImplHandleBadInputUnicodeToTextConversion()
110 else if (ImplIsZeroWidth(nUtf32)) in ImplHandleBadInputUnicodeToTextConversion()
H A Dconverter.h48 sal_uInt32 nUtf32,
/aoo42x/main/sal/rtl/source/
H A Duri.cxx52 return nUtf32 >= 0x30 && nUtf32 <= 0x39; // '0'--'9' in isDigit()
59 (nUtf32 >= 0x41 && nUtf32 <= 0x5A) || in isAlpha()
60 (nUtf32 >= 0x61 && nUtf32 <= 0x7A) in isAlpha()
81 return nUtf32 >= 0x30 && nUtf32 <= 0x39 ? // '0'--'9' in getHexWeight()
83 nUtf32 >= 0x41 && nUtf32 <= 0x46 ? // 'A'--'F' in getHexWeight()
85 nUtf32 >= 0x61 && nUtf32 <= 0x66 ? // 'a'--'f' in getHexWeight()
92 return nUtf32 < nCharClassSize && pCharClass[nUtf32]; in isValid()
255 if (nUtf32 <= 0xFFFF) { in writeUcs4()
259 nUtf32 -= 0x10000; in writeUcs4()
288 if (nUtf32 < 0x80) in writeEscapeChar()
[all …]

Completed in 28 milliseconds