Lines Matching refs:codepoint
104 #define isASCIIRange(codepoint) \ argument
105 ((codepoint == 0x0000) || (codepoint == 0x0009) || (codepoint == 0x000A) || \
106 … (codepoint >= 0x0020 && codepoint <= 0x007f) || (codepoint >= 0x00A0 && codepoint <= 0x00FF))
108 #define isIBM915(codepoint) \ argument
109 ((codepoint >= 0x0401 && codepoint <= 0x045F) || (codepoint == 0x2116))
111 #define isIBM916(codepoint) \ argument
112 … ((codepoint >= 0x05D0 && codepoint <= 0x05EA) || (codepoint == 0x2017) || (codepoint == 0x203E))
114 #define isCompoundS3(codepoint) \ argument
115 …((codepoint == 0x060C) || (codepoint == 0x061B) || (codepoint == 0x061F) || (codepoint >= 0x0621 &…
116 …(codepoint >= 0x0640 && codepoint <= 0x0652) || (codepoint >= 0x0660 && codepoint <= 0x066D) || (c…
117 …(codepoint >= 0x0FE70 && codepoint <= 0x0FE72) || (codepoint == 0x0FE74) || (codepoint >= 0x0FE76 …
119 #define isCompoundS2(codepoint) \ argument
120 …((codepoint == 0x02BC) || (codepoint == 0x02BD) || (codepoint >= 0x0384 && codepoint <= 0x03CE) ||…
122 #define isIBM914(codepoint) \ argument
123 …((codepoint == 0x0100) || (codepoint == 0x0101) || (codepoint == 0x0112) || (codepoint == 0x0113) …
124 …(codepoint == 0x0122) || (codepoint == 0x0123) || (codepoint >= 0x0128 && codepoint <= 0x012B) || …
125 …(codepoint >= 0x0136 && codepoint <= 0x0138) || (codepoint == 0x013B) || (codepoint == 0x013C) || …
126 …(codepoint >= 0x014A && codepoint <= 0x014D) || (codepoint == 0x0156) || (codepoint == 0x0157) || …
127 (codepoint == 0x0172) || (codepoint == 0x0173))
129 #define isIBM874(codepoint) \ argument
130 … ((codepoint >= 0x0E01 && codepoint <= 0x0E3A) || (codepoint >= 0x0E3F && codepoint <= 0x0E5B))
132 #define isIBM912(codepoint) \ argument
133 …((codepoint >= 0x0102 && codepoint <= 0x0107) || (codepoint >= 0x010C && codepoint <= 0x0111) || (…
134 …(codepoint == 0x0139) || (codepoint == 0x013A) || (codepoint == 0x013D) || (codepoint == 0x013E) |…
135 …(codepoint == 0x0147) || (codepoint == 0x0147) || (codepoint == 0x0150) || (codepoint == 0x0151) |…
136 …(codepoint >= 0x0158 && codepoint <= 0x015B) || (codepoint == 0x015E) || (codepoint == 0x015F) || …
137 …(codepoint == 0x016E) || (codepoint == 0x016F) || (codepoint == 0x0170) || (codepoint == 0x0171) …
138 …(codepoint == 0x02C7) || (codepoint == 0x02D8) || (codepoint == 0x02D9) || (codepoint == 0x02DB) |…
140 #define isIBM913(codepoint) \ argument
141 ((codepoint >= 0x0108 && codepoint <= 0x010B) || (codepoint == 0x011C) || \
142 (codepoint == 0x011D) || (codepoint == 0x0120) || (codepoint == 0x0121) || \
143 …(codepoint >= 0x0124 && codepoint <= 0x0127) || (codepoint == 0x0134) || (codepoint == 0x0135) || \
144 … (codepoint == 0x015C) || (codepoint == 0x015D) || (codepoint == 0x016C) || (codepoint == 0x016D))
146 #define isCompoundS1(codepoint) \ argument
147 ((codepoint == 0x011E) || (codepoint == 0x011F) || (codepoint == 0x0130) || \
148 (codepoint == 0x0131) || (codepoint >= 0x0218 && codepoint <= 0x021B))
150 #define isISO8859_14(codepoint) \ argument
151 ((codepoint >= 0x0174 && codepoint <= 0x0177) || (codepoint == 0x1E0A) || \
152 (codepoint == 0x1E0B) || (codepoint == 0x1E1E) || (codepoint == 0x1E1F) || \
153 (codepoint == 0x1E40) || (codepoint == 0x1E41) || (codepoint == 0x1E56) || \
154 (codepoint == 0x1E57) || (codepoint == 0x1E60) || (codepoint == 0x1E61) || \
155 (codepoint == 0x1E6A) || (codepoint == 0x1E6B) || (codepoint == 0x1EF2) || \
156 (codepoint == 0x1EF3) || (codepoint >= 0x1E80 && codepoint <= 0x1E85))
158 #define isIBM923(codepoint) \ argument
159 … ((codepoint == 0x0152) || (codepoint == 0x0153) || (codepoint == 0x0178) || (codepoint == 0x20AC))
194 static COMPOUND_TEXT_CONVERTERS getState(int codepoint) { in getState() argument
197 if (isASCIIRange(codepoint)) { in getState()
199 } else if (isIBM912(codepoint)) { in getState()
201 }else if (isIBM913(codepoint)) { in getState()
203 } else if (isISO8859_14(codepoint)) { in getState()
205 } else if (isIBM923(codepoint)) { in getState()
207 } else if (isIBM874(codepoint)) { in getState()
209 } else if (isIBM914(codepoint)) { in getState()
211 } else if (isCompoundS2(codepoint)) { in getState()
213 } else if (isCompoundS3(codepoint)) { in getState()
215 } else if (isIBM916(codepoint)) { in getState()
217 } else if (isIBM915(codepoint)) { in getState()
219 } else if (isCompoundS1(codepoint)) { in getState()