Lines Matching refs:nUtf32
28 int ImplIsNoncharacter(sal_uInt32 nUtf32) in ImplIsNoncharacter() argument
31 return (nUtf32 >= 0xFDD0 && nUtf32 <= 0xFDEF) in ImplIsNoncharacter()
32 || (nUtf32 & 0xFFFF) >= 0xFFFE in ImplIsNoncharacter()
33 || nUtf32 > 0x10FFFF; in ImplIsNoncharacter()
36 int ImplIsControlOrFormat(sal_uInt32 nUtf32) in ImplIsControlOrFormat() argument
42 return nUtf32 <= 0x001F in ImplIsControlOrFormat()
43 || (nUtf32 >= 0x007F && nUtf32 <= 0x009F) in ImplIsControlOrFormat()
44 || nUtf32 == 0x070F /* SYRIAC ABBREVIATION MARK */ in ImplIsControlOrFormat()
45 || nUtf32 == 0x180B /* MONGOLIAN FREE VARIATION SELECTOR ONE */ in ImplIsControlOrFormat()
46 || nUtf32 == 0x180C /* MONGOLIAN FREE VARIATION SELECTOR TWO */ in ImplIsControlOrFormat()
47 || nUtf32 == 0x180D /* MONGOLIAN FREE VARIATION SELECTOR THREE */ in ImplIsControlOrFormat()
48 || nUtf32 == 0x180E /* MONGOLIAN VOWEL SEPARATOR */ in ImplIsControlOrFormat()
49 || nUtf32 == 0x200C /* ZERO WIDTH NON-JOINER */ in ImplIsControlOrFormat()
50 || nUtf32 == 0x200D /* ZERO WIDTH JOINER */ in ImplIsControlOrFormat()
51 || nUtf32 == 0x200E /* LEFT-TO-RIGHT MARK */ in ImplIsControlOrFormat()
52 || nUtf32 == 0x200F /* RIGHT-TO-LEFT MARK */ in ImplIsControlOrFormat()
53 || nUtf32 == 0x202A /* LEFT-TO-RIGHT EMBEDDING */ in ImplIsControlOrFormat()
54 || nUtf32 == 0x202B /* RIGHT-TO-LEFT EMBEDDING */ in ImplIsControlOrFormat()
55 || nUtf32 == 0x202C /* POP DIRECTIONAL FORMATTING */ in ImplIsControlOrFormat()
56 || nUtf32 == 0x202D /* LEFT-TO-RIGHT OVERRIDE */ in ImplIsControlOrFormat()
57 || nUtf32 == 0x202E /* RIGHT-TO-LEFT OVERRIDE */ in ImplIsControlOrFormat()
58 || nUtf32 == 0x206A /* INHIBIT SYMMETRIC SWAPPING */ in ImplIsControlOrFormat()
59 || nUtf32 == 0x206B /* ACTIVATE SYMMETRIC SWAPPING */ in ImplIsControlOrFormat()
60 || nUtf32 == 0x206C /* INHIBIT ARABIC FORM SHAPING */ in ImplIsControlOrFormat()
61 || nUtf32 == 0x206D /* ACTIVATE ARABIC FORM SHAPING */ in ImplIsControlOrFormat()
62 || nUtf32 == 0x206E /* NATIONAL DIGIT SHAPES */ in ImplIsControlOrFormat()
63 || nUtf32 == 0x206F /* NOMINAL DIGIT SHAPES */ in ImplIsControlOrFormat()
64 || nUtf32 == 0xFEFF /* ZERO WIDTH NO-BREAK SPACE */ in ImplIsControlOrFormat()
65 || nUtf32 == 0xFFF9 /* INTERLINEAR ANNOTATION ANCHOR */ in ImplIsControlOrFormat()
66 || nUtf32 == 0xFFFA /* INTERLINEAR ANNOTATION SEPARATOR */ in ImplIsControlOrFormat()
67 || nUtf32 == 0xFFFB /* INTERLINEAR ANNOTATION TERMINATOR */ in ImplIsControlOrFormat()
68 || nUtf32 == 0x1D173 /* MUSICAL SYMBOL BEGIN BEAM */ in ImplIsControlOrFormat()
69 || nUtf32 == 0x1D174 /* MUSICAL SYMBOL END BEAM */ in ImplIsControlOrFormat()
70 || nUtf32 == 0x1D175 /* MUSICAL SYMBOL BEGIN TIE */ in ImplIsControlOrFormat()
71 || nUtf32 == 0x1D176 /* MUSICAL SYMBOL END TIE */ in ImplIsControlOrFormat()
72 || nUtf32 == 0x1D177 /* MUSICAL SYMBOL BEGIN SLUR */ in ImplIsControlOrFormat()
73 || nUtf32 == 0x1D178 /* MUSICAL SYMBOL END SLUR */ in ImplIsControlOrFormat()
74 || nUtf32 == 0x1D179 /* MUSICAL SYMBOL BEGIN PHRASE */ in ImplIsControlOrFormat()
75 || nUtf32 == 0x1D17A /* MUSICAL SYMBOL END PHRASE */ in ImplIsControlOrFormat()
76 || nUtf32 == 0xE0001 /* LANGUAGE TAG */ in ImplIsControlOrFormat()
77 || (nUtf32 >= 0xE0020 && nUtf32 <= 0xE007F); in ImplIsControlOrFormat()
80 int ImplIsHighSurrogate(sal_uInt32 nUtf32) in ImplIsHighSurrogate() argument
83 return nUtf32 >= 0xD800 && nUtf32 <= 0xDBFF; in ImplIsHighSurrogate()
86 int ImplIsLowSurrogate(sal_uInt32 nUtf32) in ImplIsLowSurrogate() argument
89 return nUtf32 >= 0xDC00 && nUtf32 <= 0xDFFF; in ImplIsLowSurrogate()
92 int ImplIsPrivateUse(sal_uInt32 nUtf32) in ImplIsPrivateUse() argument
98 return (nUtf32 >= 0xE000 && nUtf32 <= 0xF8FF) in ImplIsPrivateUse()
99 || (nUtf32 >= 0xF0000 && nUtf32 <= 0xFFFFD) in ImplIsPrivateUse()
100 || (nUtf32 >= 0x100000 && nUtf32 <= 0x10FFFD); in ImplIsPrivateUse()
103 int ImplIsZeroWidth(sal_uInt32 nUtf32) in ImplIsZeroWidth() argument
109 return nUtf32 == 0x200B /* ZERO WIDTH SPACE */ in ImplIsZeroWidth()
110 || nUtf32 == 0x200C /* ZERO WIDTH NON-JOINER */ in ImplIsZeroWidth()
111 || nUtf32 == 0x200D /* ZERO WIDTH JOINER */ in ImplIsZeroWidth()
112 || nUtf32 == 0xFEFF; /* ZEOR WIDTH NO-BREAK SPACE */ in ImplIsZeroWidth()
115 sal_uInt32 ImplGetHighSurrogate(sal_uInt32 nUtf32) in ImplGetHighSurrogate() argument
117 OSL_ENSURE(nUtf32 >= 0x10000, "specification violation"); in ImplGetHighSurrogate()
118 return ((nUtf32 - 0x10000) >> 10) | 0xD800; in ImplGetHighSurrogate()
121 sal_uInt32 ImplGetLowSurrogate(sal_uInt32 nUtf32) in ImplGetLowSurrogate() argument
123 OSL_ENSURE(nUtf32 >= 0x10000, "specification violation"); in ImplGetLowSurrogate()
124 return ((nUtf32 - 0x10000) & 0x3FF) | 0xDC00; in ImplGetLowSurrogate()