1 /* GENERATED SOURCE. DO NOT MODIFY. */
2 /* Run external/icu/tools/icu4c_srcgen/generate_libandroidicu.py to regenerate */
3 // © 2018 and later: Unicode, Inc. and others.
4 // License & terms of use: http://www.unicode.org/copyright.html
5
6 #include <unicode/icudataver.h>
7 #include <unicode/putil.h>
8 #include <unicode/ubidi.h>
9 #include <unicode/ubiditransform.h>
10 #include <unicode/ubrk.h>
11 #include <unicode/ucal.h>
12 #include <unicode/ucasemap.h>
13 #include <unicode/ucat.h>
14 #include <unicode/uchar.h>
15 #include <unicode/uclean.h>
16 #include <unicode/ucnv.h>
17 #include <unicode/ucnv_cb.h>
18 #include <unicode/ucnv_err.h>
19 #include <unicode/ucnvsel.h>
20 #include <unicode/ucol.h>
21 #include <unicode/ucoleitr.h>
22 #include <unicode/ucsdet.h>
23 #include <unicode/ucurr.h>
24 #include <unicode/udat.h>
25 #include <unicode/udata.h>
26 #include <unicode/udateintervalformat.h>
27 #include <unicode/udatpg.h>
28 #include <unicode/uenum.h>
29 #include <unicode/ufieldpositer.h>
30 #include <unicode/uformattable.h>
31 #include <unicode/ugender.h>
32 #include <unicode/uidna.h>
33 #include <unicode/uiter.h>
34 #include <unicode/uldnames.h>
35 #include <unicode/ulistformatter.h>
36 #include <unicode/uloc.h>
37 #include <unicode/ulocdata.h>
38 #include <unicode/umsg.h>
39 #include <unicode/unorm2.h>
40 #include <unicode/unum.h>
41 #include <unicode/unumsys.h>
42 #include <unicode/upluralrules.h>
43 #include <unicode/uregex.h>
44 #include <unicode/uregion.h>
45 #include <unicode/ureldatefmt.h>
46 #include <unicode/ures.h>
47 #include <unicode/uscript.h>
48 #include <unicode/usearch.h>
49 #include <unicode/uset.h>
50 #include <unicode/ushape.h>
51 #include <unicode/uspoof.h>
52 #include <unicode/usprep.h>
53 #include <unicode/ustring.h>
54 #include <unicode/utext.h>
55 #include <unicode/utf8.h>
56 #include <unicode/utmscale.h>
57 #include <unicode/utrace.h>
58 #include <unicode/utrans.h>
59 #include <unicode/utypes.h>
60 #include <unicode/uversion.h>
61
62 extern "C" {
UCNV_FROM_U_CALLBACK_ESCAPE_android(const void * context,UConverterFromUnicodeArgs * fromUArgs,const UChar * codeUnits,int32_t length,UChar32 codePoint,UConverterCallbackReason reason,UErrorCode * err)63 void UCNV_FROM_U_CALLBACK_ESCAPE_android(const void * context, UConverterFromUnicodeArgs * fromUArgs, const UChar * codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * err) {
64 UCNV_FROM_U_CALLBACK_ESCAPE(context, fromUArgs, codeUnits, length, codePoint, reason, err);
65 }
UCNV_FROM_U_CALLBACK_SKIP_android(const void * context,UConverterFromUnicodeArgs * fromUArgs,const UChar * codeUnits,int32_t length,UChar32 codePoint,UConverterCallbackReason reason,UErrorCode * err)66 void UCNV_FROM_U_CALLBACK_SKIP_android(const void * context, UConverterFromUnicodeArgs * fromUArgs, const UChar * codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * err) {
67 UCNV_FROM_U_CALLBACK_SKIP(context, fromUArgs, codeUnits, length, codePoint, reason, err);
68 }
UCNV_FROM_U_CALLBACK_STOP_android(const void * context,UConverterFromUnicodeArgs * fromUArgs,const UChar * codeUnits,int32_t length,UChar32 codePoint,UConverterCallbackReason reason,UErrorCode * err)69 void UCNV_FROM_U_CALLBACK_STOP_android(const void * context, UConverterFromUnicodeArgs * fromUArgs, const UChar * codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * err) {
70 UCNV_FROM_U_CALLBACK_STOP(context, fromUArgs, codeUnits, length, codePoint, reason, err);
71 }
UCNV_FROM_U_CALLBACK_SUBSTITUTE_android(const void * context,UConverterFromUnicodeArgs * fromUArgs,const UChar * codeUnits,int32_t length,UChar32 codePoint,UConverterCallbackReason reason,UErrorCode * err)72 void UCNV_FROM_U_CALLBACK_SUBSTITUTE_android(const void * context, UConverterFromUnicodeArgs * fromUArgs, const UChar * codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode * err) {
73 UCNV_FROM_U_CALLBACK_SUBSTITUTE(context, fromUArgs, codeUnits, length, codePoint, reason, err);
74 }
UCNV_TO_U_CALLBACK_ESCAPE_android(const void * context,UConverterToUnicodeArgs * toUArgs,const char * codeUnits,int32_t length,UConverterCallbackReason reason,UErrorCode * err)75 void UCNV_TO_U_CALLBACK_ESCAPE_android(const void * context, UConverterToUnicodeArgs * toUArgs, const char * codeUnits, int32_t length, UConverterCallbackReason reason, UErrorCode * err) {
76 UCNV_TO_U_CALLBACK_ESCAPE(context, toUArgs, codeUnits, length, reason, err);
77 }
UCNV_TO_U_CALLBACK_SKIP_android(const void * context,UConverterToUnicodeArgs * toUArgs,const char * codeUnits,int32_t length,UConverterCallbackReason reason,UErrorCode * err)78 void UCNV_TO_U_CALLBACK_SKIP_android(const void * context, UConverterToUnicodeArgs * toUArgs, const char * codeUnits, int32_t length, UConverterCallbackReason reason, UErrorCode * err) {
79 UCNV_TO_U_CALLBACK_SKIP(context, toUArgs, codeUnits, length, reason, err);
80 }
UCNV_TO_U_CALLBACK_STOP_android(const void * context,UConverterToUnicodeArgs * toUArgs,const char * codeUnits,int32_t length,UConverterCallbackReason reason,UErrorCode * err)81 void UCNV_TO_U_CALLBACK_STOP_android(const void * context, UConverterToUnicodeArgs * toUArgs, const char * codeUnits, int32_t length, UConverterCallbackReason reason, UErrorCode * err) {
82 UCNV_TO_U_CALLBACK_STOP(context, toUArgs, codeUnits, length, reason, err);
83 }
UCNV_TO_U_CALLBACK_SUBSTITUTE_android(const void * context,UConverterToUnicodeArgs * toUArgs,const char * codeUnits,int32_t length,UConverterCallbackReason reason,UErrorCode * err)84 void UCNV_TO_U_CALLBACK_SUBSTITUTE_android(const void * context, UConverterToUnicodeArgs * toUArgs, const char * codeUnits, int32_t length, UConverterCallbackReason reason, UErrorCode * err) {
85 UCNV_TO_U_CALLBACK_SUBSTITUTE(context, toUArgs, codeUnits, length, reason, err);
86 }
u_UCharsToChars_android(const UChar * us,char * cs,int32_t length)87 void u_UCharsToChars_android(const UChar * us, char * cs, int32_t length) {
88 u_UCharsToChars(us, cs, length);
89 }
u_austrcpy_android(char * dst,const UChar * src)90 char * u_austrcpy_android(char * dst, const UChar * src) {
91 return u_austrcpy(dst, src);
92 }
u_austrncpy_android(char * dst,const UChar * src,int32_t n)93 char * u_austrncpy_android(char * dst, const UChar * src, int32_t n) {
94 return u_austrncpy(dst, src, n);
95 }
u_catclose_android(u_nl_catd catd)96 void u_catclose_android(u_nl_catd catd) {
97 u_catclose(catd);
98 }
u_catgets_android(u_nl_catd catd,int32_t set_num,int32_t msg_num,const UChar * s,int32_t * len,UErrorCode * ec)99 const UChar * u_catgets_android(u_nl_catd catd, int32_t set_num, int32_t msg_num, const UChar * s, int32_t * len, UErrorCode * ec) {
100 return u_catgets(catd, set_num, msg_num, s, len, ec);
101 }
u_catopen_android(const char * name,const char * locale,UErrorCode * ec)102 u_nl_catd u_catopen_android(const char * name, const char * locale, UErrorCode * ec) {
103 return u_catopen(name, locale, ec);
104 }
u_charAge_android(UChar32 c,UVersionInfo versionArray)105 void u_charAge_android(UChar32 c, UVersionInfo versionArray) {
106 u_charAge(c, versionArray);
107 }
u_charDigitValue_android(UChar32 c)108 int32_t u_charDigitValue_android(UChar32 c) {
109 return u_charDigitValue(c);
110 }
u_charDirection_android(UChar32 c)111 UCharDirection u_charDirection_android(UChar32 c) {
112 return u_charDirection(c);
113 }
u_charFromName_android(UCharNameChoice nameChoice,const char * name,UErrorCode * pErrorCode)114 UChar32 u_charFromName_android(UCharNameChoice nameChoice, const char * name, UErrorCode * pErrorCode) {
115 return u_charFromName(nameChoice, name, pErrorCode);
116 }
u_charMirror_android(UChar32 c)117 UChar32 u_charMirror_android(UChar32 c) {
118 return u_charMirror(c);
119 }
u_charName_android(UChar32 code,UCharNameChoice nameChoice,char * buffer,int32_t bufferLength,UErrorCode * pErrorCode)120 int32_t u_charName_android(UChar32 code, UCharNameChoice nameChoice, char * buffer, int32_t bufferLength, UErrorCode * pErrorCode) {
121 return u_charName(code, nameChoice, buffer, bufferLength, pErrorCode);
122 }
u_charType_android(UChar32 c)123 int8_t u_charType_android(UChar32 c) {
124 return u_charType(c);
125 }
u_charsToUChars_android(const char * cs,UChar * us,int32_t length)126 void u_charsToUChars_android(const char * cs, UChar * us, int32_t length) {
127 u_charsToUChars(cs, us, length);
128 }
u_cleanup_android()129 void u_cleanup_android() {
130 u_cleanup();
131 }
u_countChar32_android(const UChar * s,int32_t length)132 int32_t u_countChar32_android(const UChar * s, int32_t length) {
133 return u_countChar32(s, length);
134 }
u_digit_android(UChar32 ch,int8_t radix)135 int32_t u_digit_android(UChar32 ch, int8_t radix) {
136 return u_digit(ch, radix);
137 }
u_enumCharNames_android(UChar32 start,UChar32 limit,UEnumCharNamesFn * fn,void * context,UCharNameChoice nameChoice,UErrorCode * pErrorCode)138 void u_enumCharNames_android(UChar32 start, UChar32 limit, UEnumCharNamesFn * fn, void * context, UCharNameChoice nameChoice, UErrorCode * pErrorCode) {
139 u_enumCharNames(start, limit, fn, context, nameChoice, pErrorCode);
140 }
u_enumCharTypes_android(UCharEnumTypeRange * enumRange,const void * context)141 void u_enumCharTypes_android(UCharEnumTypeRange * enumRange, const void * context) {
142 u_enumCharTypes(enumRange, context);
143 }
u_errorName_android(UErrorCode code)144 const char * u_errorName_android(UErrorCode code) {
145 return u_errorName(code);
146 }
u_foldCase_android(UChar32 c,uint32_t options)147 UChar32 u_foldCase_android(UChar32 c, uint32_t options) {
148 return u_foldCase(c, options);
149 }
u_forDigit_android(int32_t digit,int8_t radix)150 UChar32 u_forDigit_android(int32_t digit, int8_t radix) {
151 return u_forDigit(digit, radix);
152 }
u_formatMessage_android(const char * locale,const UChar * pattern,int32_t patternLength,UChar * result,int32_t resultLength,UErrorCode * status,...)153 int32_t u_formatMessage_android(const char * locale, const UChar * pattern, int32_t patternLength, UChar * result, int32_t resultLength, UErrorCode * status, ...) {
154 va_list args;
155 va_start(args, status);
156 int32_t ret = u_vformatMessage(locale, pattern, patternLength, result, resultLength, args, status);
157 va_end(args);
158 return ret;
159 }
u_formatMessageWithError_android(const char * locale,const UChar * pattern,int32_t patternLength,UChar * result,int32_t resultLength,UParseError * parseError,UErrorCode * status,...)160 int32_t u_formatMessageWithError_android(const char * locale, const UChar * pattern, int32_t patternLength, UChar * result, int32_t resultLength, UParseError * parseError, UErrorCode * status, ...) {
161 va_list args;
162 va_start(args, status);
163 int32_t ret = u_vformatMessageWithError(locale, pattern, patternLength, result, resultLength, parseError, args, status);
164 va_end(args);
165 return ret;
166 }
u_getBidiPairedBracket_android(UChar32 c)167 UChar32 u_getBidiPairedBracket_android(UChar32 c) {
168 return u_getBidiPairedBracket(c);
169 }
u_getCombiningClass_android(UChar32 c)170 uint8_t u_getCombiningClass_android(UChar32 c) {
171 return u_getCombiningClass(c);
172 }
u_getDataDirectory_android()173 const char * u_getDataDirectory_android() {
174 return u_getDataDirectory();
175 }
u_getDataVersion_android(UVersionInfo dataVersionFillin,UErrorCode * status)176 void u_getDataVersion_android(UVersionInfo dataVersionFillin, UErrorCode * status) {
177 u_getDataVersion(dataVersionFillin, status);
178 }
u_getFC_NFKC_Closure_android(UChar32 c,UChar * dest,int32_t destCapacity,UErrorCode * pErrorCode)179 int32_t u_getFC_NFKC_Closure_android(UChar32 c, UChar * dest, int32_t destCapacity, UErrorCode * pErrorCode) {
180 return u_getFC_NFKC_Closure(c, dest, destCapacity, pErrorCode);
181 }
u_getIntPropertyMaxValue_android(UProperty which)182 int32_t u_getIntPropertyMaxValue_android(UProperty which) {
183 return u_getIntPropertyMaxValue(which);
184 }
u_getIntPropertyMinValue_android(UProperty which)185 int32_t u_getIntPropertyMinValue_android(UProperty which) {
186 return u_getIntPropertyMinValue(which);
187 }
u_getIntPropertyValue_android(UChar32 c,UProperty which)188 int32_t u_getIntPropertyValue_android(UChar32 c, UProperty which) {
189 return u_getIntPropertyValue(c, which);
190 }
u_getNumericValue_android(UChar32 c)191 double u_getNumericValue_android(UChar32 c) {
192 return u_getNumericValue(c);
193 }
u_getPropertyEnum_android(const char * alias)194 UProperty u_getPropertyEnum_android(const char * alias) {
195 return u_getPropertyEnum(alias);
196 }
u_getPropertyName_android(UProperty property,UPropertyNameChoice nameChoice)197 const char * u_getPropertyName_android(UProperty property, UPropertyNameChoice nameChoice) {
198 return u_getPropertyName(property, nameChoice);
199 }
u_getPropertyValueEnum_android(UProperty property,const char * alias)200 int32_t u_getPropertyValueEnum_android(UProperty property, const char * alias) {
201 return u_getPropertyValueEnum(property, alias);
202 }
u_getPropertyValueName_android(UProperty property,int32_t value,UPropertyNameChoice nameChoice)203 const char * u_getPropertyValueName_android(UProperty property, int32_t value, UPropertyNameChoice nameChoice) {
204 return u_getPropertyValueName(property, value, nameChoice);
205 }
u_getUnicodeVersion_android(UVersionInfo versionArray)206 void u_getUnicodeVersion_android(UVersionInfo versionArray) {
207 u_getUnicodeVersion(versionArray);
208 }
u_getVersion_android(UVersionInfo versionArray)209 void u_getVersion_android(UVersionInfo versionArray) {
210 u_getVersion(versionArray);
211 }
u_hasBinaryProperty_android(UChar32 c,UProperty which)212 UBool u_hasBinaryProperty_android(UChar32 c, UProperty which) {
213 return u_hasBinaryProperty(c, which);
214 }
u_init_android(UErrorCode * status)215 void u_init_android(UErrorCode * status) {
216 u_init(status);
217 }
u_isIDIgnorable_android(UChar32 c)218 UBool u_isIDIgnorable_android(UChar32 c) {
219 return u_isIDIgnorable(c);
220 }
u_isIDPart_android(UChar32 c)221 UBool u_isIDPart_android(UChar32 c) {
222 return u_isIDPart(c);
223 }
u_isIDStart_android(UChar32 c)224 UBool u_isIDStart_android(UChar32 c) {
225 return u_isIDStart(c);
226 }
u_isISOControl_android(UChar32 c)227 UBool u_isISOControl_android(UChar32 c) {
228 return u_isISOControl(c);
229 }
u_isJavaIDPart_android(UChar32 c)230 UBool u_isJavaIDPart_android(UChar32 c) {
231 return u_isJavaIDPart(c);
232 }
u_isJavaIDStart_android(UChar32 c)233 UBool u_isJavaIDStart_android(UChar32 c) {
234 return u_isJavaIDStart(c);
235 }
u_isJavaSpaceChar_android(UChar32 c)236 UBool u_isJavaSpaceChar_android(UChar32 c) {
237 return u_isJavaSpaceChar(c);
238 }
u_isMirrored_android(UChar32 c)239 UBool u_isMirrored_android(UChar32 c) {
240 return u_isMirrored(c);
241 }
u_isUAlphabetic_android(UChar32 c)242 UBool u_isUAlphabetic_android(UChar32 c) {
243 return u_isUAlphabetic(c);
244 }
u_isULowercase_android(UChar32 c)245 UBool u_isULowercase_android(UChar32 c) {
246 return u_isULowercase(c);
247 }
u_isUUppercase_android(UChar32 c)248 UBool u_isUUppercase_android(UChar32 c) {
249 return u_isUUppercase(c);
250 }
u_isUWhiteSpace_android(UChar32 c)251 UBool u_isUWhiteSpace_android(UChar32 c) {
252 return u_isUWhiteSpace(c);
253 }
u_isWhitespace_android(UChar32 c)254 UBool u_isWhitespace_android(UChar32 c) {
255 return u_isWhitespace(c);
256 }
u_isalnum_android(UChar32 c)257 UBool u_isalnum_android(UChar32 c) {
258 return u_isalnum(c);
259 }
u_isalpha_android(UChar32 c)260 UBool u_isalpha_android(UChar32 c) {
261 return u_isalpha(c);
262 }
u_isbase_android(UChar32 c)263 UBool u_isbase_android(UChar32 c) {
264 return u_isbase(c);
265 }
u_isblank_android(UChar32 c)266 UBool u_isblank_android(UChar32 c) {
267 return u_isblank(c);
268 }
u_iscntrl_android(UChar32 c)269 UBool u_iscntrl_android(UChar32 c) {
270 return u_iscntrl(c);
271 }
u_isdefined_android(UChar32 c)272 UBool u_isdefined_android(UChar32 c) {
273 return u_isdefined(c);
274 }
u_isdigit_android(UChar32 c)275 UBool u_isdigit_android(UChar32 c) {
276 return u_isdigit(c);
277 }
u_isgraph_android(UChar32 c)278 UBool u_isgraph_android(UChar32 c) {
279 return u_isgraph(c);
280 }
u_islower_android(UChar32 c)281 UBool u_islower_android(UChar32 c) {
282 return u_islower(c);
283 }
u_isprint_android(UChar32 c)284 UBool u_isprint_android(UChar32 c) {
285 return u_isprint(c);
286 }
u_ispunct_android(UChar32 c)287 UBool u_ispunct_android(UChar32 c) {
288 return u_ispunct(c);
289 }
u_isspace_android(UChar32 c)290 UBool u_isspace_android(UChar32 c) {
291 return u_isspace(c);
292 }
u_istitle_android(UChar32 c)293 UBool u_istitle_android(UChar32 c) {
294 return u_istitle(c);
295 }
u_isupper_android(UChar32 c)296 UBool u_isupper_android(UChar32 c) {
297 return u_isupper(c);
298 }
u_isxdigit_android(UChar32 c)299 UBool u_isxdigit_android(UChar32 c) {
300 return u_isxdigit(c);
301 }
u_memcasecmp_android(const UChar * s1,const UChar * s2,int32_t length,uint32_t options)302 int32_t u_memcasecmp_android(const UChar * s1, const UChar * s2, int32_t length, uint32_t options) {
303 return u_memcasecmp(s1, s2, length, options);
304 }
u_memchr_android(const UChar * s,UChar c,int32_t count)305 UChar * u_memchr_android(const UChar * s, UChar c, int32_t count) {
306 return u_memchr(s, c, count);
307 }
u_memchr32_android(const UChar * s,UChar32 c,int32_t count)308 UChar * u_memchr32_android(const UChar * s, UChar32 c, int32_t count) {
309 return u_memchr32(s, c, count);
310 }
u_memcmp_android(const UChar * buf1,const UChar * buf2,int32_t count)311 int32_t u_memcmp_android(const UChar * buf1, const UChar * buf2, int32_t count) {
312 return u_memcmp(buf1, buf2, count);
313 }
u_memcmpCodePointOrder_android(const UChar * s1,const UChar * s2,int32_t count)314 int32_t u_memcmpCodePointOrder_android(const UChar * s1, const UChar * s2, int32_t count) {
315 return u_memcmpCodePointOrder(s1, s2, count);
316 }
u_memcpy_android(UChar * dest,const UChar * src,int32_t count)317 UChar * u_memcpy_android(UChar * dest, const UChar * src, int32_t count) {
318 return u_memcpy(dest, src, count);
319 }
u_memmove_android(UChar * dest,const UChar * src,int32_t count)320 UChar * u_memmove_android(UChar * dest, const UChar * src, int32_t count) {
321 return u_memmove(dest, src, count);
322 }
u_memrchr_android(const UChar * s,UChar c,int32_t count)323 UChar * u_memrchr_android(const UChar * s, UChar c, int32_t count) {
324 return u_memrchr(s, c, count);
325 }
u_memrchr32_android(const UChar * s,UChar32 c,int32_t count)326 UChar * u_memrchr32_android(const UChar * s, UChar32 c, int32_t count) {
327 return u_memrchr32(s, c, count);
328 }
u_memset_android(UChar * dest,UChar c,int32_t count)329 UChar * u_memset_android(UChar * dest, UChar c, int32_t count) {
330 return u_memset(dest, c, count);
331 }
u_parseMessage_android(const char * locale,const UChar * pattern,int32_t patternLength,const UChar * source,int32_t sourceLength,UErrorCode * status,...)332 void u_parseMessage_android(const char * locale, const UChar * pattern, int32_t patternLength, const UChar * source, int32_t sourceLength, UErrorCode * status, ...) {
333 va_list args;
334 va_start(args, status);
335 u_vparseMessage(locale, pattern, patternLength, source, sourceLength, args, status);
336 va_end(args);
337 return;
338 }
u_parseMessageWithError_android(const char * locale,const UChar * pattern,int32_t patternLength,const UChar * source,int32_t sourceLength,UParseError * parseError,UErrorCode * status,...)339 void u_parseMessageWithError_android(const char * locale, const UChar * pattern, int32_t patternLength, const UChar * source, int32_t sourceLength, UParseError * parseError, UErrorCode * status, ...) {
340 va_list args;
341 va_start(args, status);
342 u_vparseMessageWithError(locale, pattern, patternLength, source, sourceLength, args, parseError, status);
343 va_end(args);
344 return;
345 }
u_setDataDirectory_android(const char * directory)346 void u_setDataDirectory_android(const char * directory) {
347 u_setDataDirectory(directory);
348 }
u_setMemoryFunctions_android(const void * context,UMemAllocFn * a,UMemReallocFn * r,UMemFreeFn * f,UErrorCode * status)349 void u_setMemoryFunctions_android(const void * context, UMemAllocFn * a, UMemReallocFn * r, UMemFreeFn * f, UErrorCode * status) {
350 u_setMemoryFunctions(context, a, r, f, status);
351 }
u_shapeArabic_android(const UChar * source,int32_t sourceLength,UChar * dest,int32_t destSize,uint32_t options,UErrorCode * pErrorCode)352 int32_t u_shapeArabic_android(const UChar * source, int32_t sourceLength, UChar * dest, int32_t destSize, uint32_t options, UErrorCode * pErrorCode) {
353 return u_shapeArabic(source, sourceLength, dest, destSize, options, pErrorCode);
354 }
u_strCaseCompare_android(const UChar * s1,int32_t length1,const UChar * s2,int32_t length2,uint32_t options,UErrorCode * pErrorCode)355 int32_t u_strCaseCompare_android(const UChar * s1, int32_t length1, const UChar * s2, int32_t length2, uint32_t options, UErrorCode * pErrorCode) {
356 return u_strCaseCompare(s1, length1, s2, length2, options, pErrorCode);
357 }
u_strCompare_android(const UChar * s1,int32_t length1,const UChar * s2,int32_t length2,UBool codePointOrder)358 int32_t u_strCompare_android(const UChar * s1, int32_t length1, const UChar * s2, int32_t length2, UBool codePointOrder) {
359 return u_strCompare(s1, length1, s2, length2, codePointOrder);
360 }
u_strCompareIter_android(UCharIterator * iter1,UCharIterator * iter2,UBool codePointOrder)361 int32_t u_strCompareIter_android(UCharIterator * iter1, UCharIterator * iter2, UBool codePointOrder) {
362 return u_strCompareIter(iter1, iter2, codePointOrder);
363 }
u_strFindFirst_android(const UChar * s,int32_t length,const UChar * substring,int32_t subLength)364 UChar * u_strFindFirst_android(const UChar * s, int32_t length, const UChar * substring, int32_t subLength) {
365 return u_strFindFirst(s, length, substring, subLength);
366 }
u_strFindLast_android(const UChar * s,int32_t length,const UChar * substring,int32_t subLength)367 UChar * u_strFindLast_android(const UChar * s, int32_t length, const UChar * substring, int32_t subLength) {
368 return u_strFindLast(s, length, substring, subLength);
369 }
u_strFoldCase_android(UChar * dest,int32_t destCapacity,const UChar * src,int32_t srcLength,uint32_t options,UErrorCode * pErrorCode)370 int32_t u_strFoldCase_android(UChar * dest, int32_t destCapacity, const UChar * src, int32_t srcLength, uint32_t options, UErrorCode * pErrorCode) {
371 return u_strFoldCase(dest, destCapacity, src, srcLength, options, pErrorCode);
372 }
u_strFromJavaModifiedUTF8WithSub_android(UChar * dest,int32_t destCapacity,int32_t * pDestLength,const char * src,int32_t srcLength,UChar32 subchar,int32_t * pNumSubstitutions,UErrorCode * pErrorCode)373 UChar * u_strFromJavaModifiedUTF8WithSub_android(UChar * dest, int32_t destCapacity, int32_t * pDestLength, const char * src, int32_t srcLength, UChar32 subchar, int32_t * pNumSubstitutions, UErrorCode * pErrorCode) {
374 return u_strFromJavaModifiedUTF8WithSub(dest, destCapacity, pDestLength, src, srcLength, subchar, pNumSubstitutions, pErrorCode);
375 }
u_strFromUTF32_android(UChar * dest,int32_t destCapacity,int32_t * pDestLength,const UChar32 * src,int32_t srcLength,UErrorCode * pErrorCode)376 UChar * u_strFromUTF32_android(UChar * dest, int32_t destCapacity, int32_t * pDestLength, const UChar32 * src, int32_t srcLength, UErrorCode * pErrorCode) {
377 return u_strFromUTF32(dest, destCapacity, pDestLength, src, srcLength, pErrorCode);
378 }
u_strFromUTF32WithSub_android(UChar * dest,int32_t destCapacity,int32_t * pDestLength,const UChar32 * src,int32_t srcLength,UChar32 subchar,int32_t * pNumSubstitutions,UErrorCode * pErrorCode)379 UChar * u_strFromUTF32WithSub_android(UChar * dest, int32_t destCapacity, int32_t * pDestLength, const UChar32 * src, int32_t srcLength, UChar32 subchar, int32_t * pNumSubstitutions, UErrorCode * pErrorCode) {
380 return u_strFromUTF32WithSub(dest, destCapacity, pDestLength, src, srcLength, subchar, pNumSubstitutions, pErrorCode);
381 }
u_strFromUTF8_android(UChar * dest,int32_t destCapacity,int32_t * pDestLength,const char * src,int32_t srcLength,UErrorCode * pErrorCode)382 UChar * u_strFromUTF8_android(UChar * dest, int32_t destCapacity, int32_t * pDestLength, const char * src, int32_t srcLength, UErrorCode * pErrorCode) {
383 return u_strFromUTF8(dest, destCapacity, pDestLength, src, srcLength, pErrorCode);
384 }
u_strFromUTF8Lenient_android(UChar * dest,int32_t destCapacity,int32_t * pDestLength,const char * src,int32_t srcLength,UErrorCode * pErrorCode)385 UChar * u_strFromUTF8Lenient_android(UChar * dest, int32_t destCapacity, int32_t * pDestLength, const char * src, int32_t srcLength, UErrorCode * pErrorCode) {
386 return u_strFromUTF8Lenient(dest, destCapacity, pDestLength, src, srcLength, pErrorCode);
387 }
u_strFromUTF8WithSub_android(UChar * dest,int32_t destCapacity,int32_t * pDestLength,const char * src,int32_t srcLength,UChar32 subchar,int32_t * pNumSubstitutions,UErrorCode * pErrorCode)388 UChar * u_strFromUTF8WithSub_android(UChar * dest, int32_t destCapacity, int32_t * pDestLength, const char * src, int32_t srcLength, UChar32 subchar, int32_t * pNumSubstitutions, UErrorCode * pErrorCode) {
389 return u_strFromUTF8WithSub(dest, destCapacity, pDestLength, src, srcLength, subchar, pNumSubstitutions, pErrorCode);
390 }
u_strFromWCS_android(UChar * dest,int32_t destCapacity,int32_t * pDestLength,const wchar_t * src,int32_t srcLength,UErrorCode * pErrorCode)391 UChar * u_strFromWCS_android(UChar * dest, int32_t destCapacity, int32_t * pDestLength, const wchar_t * src, int32_t srcLength, UErrorCode * pErrorCode) {
392 return u_strFromWCS(dest, destCapacity, pDestLength, src, srcLength, pErrorCode);
393 }
u_strHasMoreChar32Than_android(const UChar * s,int32_t length,int32_t number)394 UBool u_strHasMoreChar32Than_android(const UChar * s, int32_t length, int32_t number) {
395 return u_strHasMoreChar32Than(s, length, number);
396 }
u_strToJavaModifiedUTF8_android(char * dest,int32_t destCapacity,int32_t * pDestLength,const UChar * src,int32_t srcLength,UErrorCode * pErrorCode)397 char * u_strToJavaModifiedUTF8_android(char * dest, int32_t destCapacity, int32_t * pDestLength, const UChar * src, int32_t srcLength, UErrorCode * pErrorCode) {
398 return u_strToJavaModifiedUTF8(dest, destCapacity, pDestLength, src, srcLength, pErrorCode);
399 }
u_strToLower_android(UChar * dest,int32_t destCapacity,const UChar * src,int32_t srcLength,const char * locale,UErrorCode * pErrorCode)400 int32_t u_strToLower_android(UChar * dest, int32_t destCapacity, const UChar * src, int32_t srcLength, const char * locale, UErrorCode * pErrorCode) {
401 return u_strToLower(dest, destCapacity, src, srcLength, locale, pErrorCode);
402 }
u_strToTitle_android(UChar * dest,int32_t destCapacity,const UChar * src,int32_t srcLength,UBreakIterator * titleIter,const char * locale,UErrorCode * pErrorCode)403 int32_t u_strToTitle_android(UChar * dest, int32_t destCapacity, const UChar * src, int32_t srcLength, UBreakIterator * titleIter, const char * locale, UErrorCode * pErrorCode) {
404 return u_strToTitle(dest, destCapacity, src, srcLength, titleIter, locale, pErrorCode);
405 }
u_strToUTF32_android(UChar32 * dest,int32_t destCapacity,int32_t * pDestLength,const UChar * src,int32_t srcLength,UErrorCode * pErrorCode)406 UChar32 * u_strToUTF32_android(UChar32 * dest, int32_t destCapacity, int32_t * pDestLength, const UChar * src, int32_t srcLength, UErrorCode * pErrorCode) {
407 return u_strToUTF32(dest, destCapacity, pDestLength, src, srcLength, pErrorCode);
408 }
u_strToUTF32WithSub_android(UChar32 * dest,int32_t destCapacity,int32_t * pDestLength,const UChar * src,int32_t srcLength,UChar32 subchar,int32_t * pNumSubstitutions,UErrorCode * pErrorCode)409 UChar32 * u_strToUTF32WithSub_android(UChar32 * dest, int32_t destCapacity, int32_t * pDestLength, const UChar * src, int32_t srcLength, UChar32 subchar, int32_t * pNumSubstitutions, UErrorCode * pErrorCode) {
410 return u_strToUTF32WithSub(dest, destCapacity, pDestLength, src, srcLength, subchar, pNumSubstitutions, pErrorCode);
411 }
u_strToUTF8_android(char * dest,int32_t destCapacity,int32_t * pDestLength,const UChar * src,int32_t srcLength,UErrorCode * pErrorCode)412 char * u_strToUTF8_android(char * dest, int32_t destCapacity, int32_t * pDestLength, const UChar * src, int32_t srcLength, UErrorCode * pErrorCode) {
413 return u_strToUTF8(dest, destCapacity, pDestLength, src, srcLength, pErrorCode);
414 }
u_strToUTF8WithSub_android(char * dest,int32_t destCapacity,int32_t * pDestLength,const UChar * src,int32_t srcLength,UChar32 subchar,int32_t * pNumSubstitutions,UErrorCode * pErrorCode)415 char * u_strToUTF8WithSub_android(char * dest, int32_t destCapacity, int32_t * pDestLength, const UChar * src, int32_t srcLength, UChar32 subchar, int32_t * pNumSubstitutions, UErrorCode * pErrorCode) {
416 return u_strToUTF8WithSub(dest, destCapacity, pDestLength, src, srcLength, subchar, pNumSubstitutions, pErrorCode);
417 }
u_strToUpper_android(UChar * dest,int32_t destCapacity,const UChar * src,int32_t srcLength,const char * locale,UErrorCode * pErrorCode)418 int32_t u_strToUpper_android(UChar * dest, int32_t destCapacity, const UChar * src, int32_t srcLength, const char * locale, UErrorCode * pErrorCode) {
419 return u_strToUpper(dest, destCapacity, src, srcLength, locale, pErrorCode);
420 }
u_strToWCS_android(wchar_t * dest,int32_t destCapacity,int32_t * pDestLength,const UChar * src,int32_t srcLength,UErrorCode * pErrorCode)421 wchar_t * u_strToWCS_android(wchar_t * dest, int32_t destCapacity, int32_t * pDestLength, const UChar * src, int32_t srcLength, UErrorCode * pErrorCode) {
422 return u_strToWCS(dest, destCapacity, pDestLength, src, srcLength, pErrorCode);
423 }
u_strcasecmp_android(const UChar * s1,const UChar * s2,uint32_t options)424 int32_t u_strcasecmp_android(const UChar * s1, const UChar * s2, uint32_t options) {
425 return u_strcasecmp(s1, s2, options);
426 }
u_strcat_android(UChar * dst,const UChar * src)427 UChar * u_strcat_android(UChar * dst, const UChar * src) {
428 return u_strcat(dst, src);
429 }
u_strchr_android(const UChar * s,UChar c)430 UChar * u_strchr_android(const UChar * s, UChar c) {
431 return u_strchr(s, c);
432 }
u_strchr32_android(const UChar * s,UChar32 c)433 UChar * u_strchr32_android(const UChar * s, UChar32 c) {
434 return u_strchr32(s, c);
435 }
u_strcmp_android(const UChar * s1,const UChar * s2)436 int32_t u_strcmp_android(const UChar * s1, const UChar * s2) {
437 return u_strcmp(s1, s2);
438 }
u_strcmpCodePointOrder_android(const UChar * s1,const UChar * s2)439 int32_t u_strcmpCodePointOrder_android(const UChar * s1, const UChar * s2) {
440 return u_strcmpCodePointOrder(s1, s2);
441 }
u_strcpy_android(UChar * dst,const UChar * src)442 UChar * u_strcpy_android(UChar * dst, const UChar * src) {
443 return u_strcpy(dst, src);
444 }
u_strcspn_android(const UChar * string,const UChar * matchSet)445 int32_t u_strcspn_android(const UChar * string, const UChar * matchSet) {
446 return u_strcspn(string, matchSet);
447 }
u_strlen_android(const UChar * s)448 int32_t u_strlen_android(const UChar * s) {
449 return u_strlen(s);
450 }
u_strncasecmp_android(const UChar * s1,const UChar * s2,int32_t n,uint32_t options)451 int32_t u_strncasecmp_android(const UChar * s1, const UChar * s2, int32_t n, uint32_t options) {
452 return u_strncasecmp(s1, s2, n, options);
453 }
u_strncat_android(UChar * dst,const UChar * src,int32_t n)454 UChar * u_strncat_android(UChar * dst, const UChar * src, int32_t n) {
455 return u_strncat(dst, src, n);
456 }
u_strncmp_android(const UChar * ucs1,const UChar * ucs2,int32_t n)457 int32_t u_strncmp_android(const UChar * ucs1, const UChar * ucs2, int32_t n) {
458 return u_strncmp(ucs1, ucs2, n);
459 }
u_strncmpCodePointOrder_android(const UChar * s1,const UChar * s2,int32_t n)460 int32_t u_strncmpCodePointOrder_android(const UChar * s1, const UChar * s2, int32_t n) {
461 return u_strncmpCodePointOrder(s1, s2, n);
462 }
u_strncpy_android(UChar * dst,const UChar * src,int32_t n)463 UChar * u_strncpy_android(UChar * dst, const UChar * src, int32_t n) {
464 return u_strncpy(dst, src, n);
465 }
u_strpbrk_android(const UChar * string,const UChar * matchSet)466 UChar * u_strpbrk_android(const UChar * string, const UChar * matchSet) {
467 return u_strpbrk(string, matchSet);
468 }
u_strrchr_android(const UChar * s,UChar c)469 UChar * u_strrchr_android(const UChar * s, UChar c) {
470 return u_strrchr(s, c);
471 }
u_strrchr32_android(const UChar * s,UChar32 c)472 UChar * u_strrchr32_android(const UChar * s, UChar32 c) {
473 return u_strrchr32(s, c);
474 }
u_strrstr_android(const UChar * s,const UChar * substring)475 UChar * u_strrstr_android(const UChar * s, const UChar * substring) {
476 return u_strrstr(s, substring);
477 }
u_strspn_android(const UChar * string,const UChar * matchSet)478 int32_t u_strspn_android(const UChar * string, const UChar * matchSet) {
479 return u_strspn(string, matchSet);
480 }
u_strstr_android(const UChar * s,const UChar * substring)481 UChar * u_strstr_android(const UChar * s, const UChar * substring) {
482 return u_strstr(s, substring);
483 }
u_strtok_r_android(UChar * src,const UChar * delim,UChar ** saveState)484 UChar * u_strtok_r_android(UChar * src, const UChar * delim, UChar ** saveState) {
485 return u_strtok_r(src, delim, saveState);
486 }
u_tolower_android(UChar32 c)487 UChar32 u_tolower_android(UChar32 c) {
488 return u_tolower(c);
489 }
u_totitle_android(UChar32 c)490 UChar32 u_totitle_android(UChar32 c) {
491 return u_totitle(c);
492 }
u_toupper_android(UChar32 c)493 UChar32 u_toupper_android(UChar32 c) {
494 return u_toupper(c);
495 }
u_uastrcpy_android(UChar * dst,const char * src)496 UChar * u_uastrcpy_android(UChar * dst, const char * src) {
497 return u_uastrcpy(dst, src);
498 }
u_uastrncpy_android(UChar * dst,const char * src,int32_t n)499 UChar * u_uastrncpy_android(UChar * dst, const char * src, int32_t n) {
500 return u_uastrncpy(dst, src, n);
501 }
u_unescape_android(const char * src,UChar * dest,int32_t destCapacity)502 int32_t u_unescape_android(const char * src, UChar * dest, int32_t destCapacity) {
503 return u_unescape(src, dest, destCapacity);
504 }
u_unescapeAt_android(UNESCAPE_CHAR_AT charAt,int32_t * offset,int32_t length,void * context)505 UChar32 u_unescapeAt_android(UNESCAPE_CHAR_AT charAt, int32_t * offset, int32_t length, void * context) {
506 return u_unescapeAt(charAt, offset, length, context);
507 }
u_versionFromString_android(UVersionInfo versionArray,const char * versionString)508 void u_versionFromString_android(UVersionInfo versionArray, const char * versionString) {
509 u_versionFromString(versionArray, versionString);
510 }
u_versionFromUString_android(UVersionInfo versionArray,const UChar * versionString)511 void u_versionFromUString_android(UVersionInfo versionArray, const UChar * versionString) {
512 u_versionFromUString(versionArray, versionString);
513 }
u_versionToString_android(const UVersionInfo versionArray,char * versionString)514 void u_versionToString_android(const UVersionInfo versionArray, char * versionString) {
515 u_versionToString(versionArray, versionString);
516 }
u_vformatMessage_android(const char * locale,const UChar * pattern,int32_t patternLength,UChar * result,int32_t resultLength,va_list ap,UErrorCode * status)517 int32_t u_vformatMessage_android(const char * locale, const UChar * pattern, int32_t patternLength, UChar * result, int32_t resultLength, va_list ap, UErrorCode * status) {
518 return u_vformatMessage(locale, pattern, patternLength, result, resultLength, ap, status);
519 }
u_vformatMessageWithError_android(const char * locale,const UChar * pattern,int32_t patternLength,UChar * result,int32_t resultLength,UParseError * parseError,va_list ap,UErrorCode * status)520 int32_t u_vformatMessageWithError_android(const char * locale, const UChar * pattern, int32_t patternLength, UChar * result, int32_t resultLength, UParseError * parseError, va_list ap, UErrorCode * status) {
521 return u_vformatMessageWithError(locale, pattern, patternLength, result, resultLength, parseError, ap, status);
522 }
u_vparseMessage_android(const char * locale,const UChar * pattern,int32_t patternLength,const UChar * source,int32_t sourceLength,va_list ap,UErrorCode * status)523 void u_vparseMessage_android(const char * locale, const UChar * pattern, int32_t patternLength, const UChar * source, int32_t sourceLength, va_list ap, UErrorCode * status) {
524 u_vparseMessage(locale, pattern, patternLength, source, sourceLength, ap, status);
525 }
u_vparseMessageWithError_android(const char * locale,const UChar * pattern,int32_t patternLength,const UChar * source,int32_t sourceLength,va_list ap,UParseError * parseError,UErrorCode * status)526 void u_vparseMessageWithError_android(const char * locale, const UChar * pattern, int32_t patternLength, const UChar * source, int32_t sourceLength, va_list ap, UParseError * parseError, UErrorCode * status) {
527 u_vparseMessageWithError(locale, pattern, patternLength, source, sourceLength, ap, parseError, status);
528 }
ubidi_close_android(UBiDi * pBiDi)529 void ubidi_close_android(UBiDi * pBiDi) {
530 ubidi_close(pBiDi);
531 }
ubidi_countParagraphs_android(UBiDi * pBiDi)532 int32_t ubidi_countParagraphs_android(UBiDi * pBiDi) {
533 return ubidi_countParagraphs(pBiDi);
534 }
ubidi_countRuns_android(UBiDi * pBiDi,UErrorCode * pErrorCode)535 int32_t ubidi_countRuns_android(UBiDi * pBiDi, UErrorCode * pErrorCode) {
536 return ubidi_countRuns(pBiDi, pErrorCode);
537 }
ubidi_getBaseDirection_android(const UChar * text,int32_t length)538 UBiDiDirection ubidi_getBaseDirection_android(const UChar * text, int32_t length) {
539 return ubidi_getBaseDirection(text, length);
540 }
ubidi_getClassCallback_android(UBiDi * pBiDi,UBiDiClassCallback ** fn,const void ** context)541 void ubidi_getClassCallback_android(UBiDi * pBiDi, UBiDiClassCallback ** fn, const void ** context) {
542 ubidi_getClassCallback(pBiDi, fn, context);
543 }
ubidi_getCustomizedClass_android(UBiDi * pBiDi,UChar32 c)544 UCharDirection ubidi_getCustomizedClass_android(UBiDi * pBiDi, UChar32 c) {
545 return ubidi_getCustomizedClass(pBiDi, c);
546 }
ubidi_getDirection_android(const UBiDi * pBiDi)547 UBiDiDirection ubidi_getDirection_android(const UBiDi * pBiDi) {
548 return ubidi_getDirection(pBiDi);
549 }
ubidi_getLength_android(const UBiDi * pBiDi)550 int32_t ubidi_getLength_android(const UBiDi * pBiDi) {
551 return ubidi_getLength(pBiDi);
552 }
ubidi_getLevelAt_android(const UBiDi * pBiDi,int32_t charIndex)553 UBiDiLevel ubidi_getLevelAt_android(const UBiDi * pBiDi, int32_t charIndex) {
554 return ubidi_getLevelAt(pBiDi, charIndex);
555 }
ubidi_getLevels_android(UBiDi * pBiDi,UErrorCode * pErrorCode)556 const UBiDiLevel * ubidi_getLevels_android(UBiDi * pBiDi, UErrorCode * pErrorCode) {
557 return ubidi_getLevels(pBiDi, pErrorCode);
558 }
ubidi_getLogicalIndex_android(UBiDi * pBiDi,int32_t visualIndex,UErrorCode * pErrorCode)559 int32_t ubidi_getLogicalIndex_android(UBiDi * pBiDi, int32_t visualIndex, UErrorCode * pErrorCode) {
560 return ubidi_getLogicalIndex(pBiDi, visualIndex, pErrorCode);
561 }
ubidi_getLogicalMap_android(UBiDi * pBiDi,int32_t * indexMap,UErrorCode * pErrorCode)562 void ubidi_getLogicalMap_android(UBiDi * pBiDi, int32_t * indexMap, UErrorCode * pErrorCode) {
563 ubidi_getLogicalMap(pBiDi, indexMap, pErrorCode);
564 }
ubidi_getLogicalRun_android(const UBiDi * pBiDi,int32_t logicalPosition,int32_t * pLogicalLimit,UBiDiLevel * pLevel)565 void ubidi_getLogicalRun_android(const UBiDi * pBiDi, int32_t logicalPosition, int32_t * pLogicalLimit, UBiDiLevel * pLevel) {
566 ubidi_getLogicalRun(pBiDi, logicalPosition, pLogicalLimit, pLevel);
567 }
ubidi_getParaLevel_android(const UBiDi * pBiDi)568 UBiDiLevel ubidi_getParaLevel_android(const UBiDi * pBiDi) {
569 return ubidi_getParaLevel(pBiDi);
570 }
ubidi_getParagraph_android(const UBiDi * pBiDi,int32_t charIndex,int32_t * pParaStart,int32_t * pParaLimit,UBiDiLevel * pParaLevel,UErrorCode * pErrorCode)571 int32_t ubidi_getParagraph_android(const UBiDi * pBiDi, int32_t charIndex, int32_t * pParaStart, int32_t * pParaLimit, UBiDiLevel * pParaLevel, UErrorCode * pErrorCode) {
572 return ubidi_getParagraph(pBiDi, charIndex, pParaStart, pParaLimit, pParaLevel, pErrorCode);
573 }
ubidi_getParagraphByIndex_android(const UBiDi * pBiDi,int32_t paraIndex,int32_t * pParaStart,int32_t * pParaLimit,UBiDiLevel * pParaLevel,UErrorCode * pErrorCode)574 void ubidi_getParagraphByIndex_android(const UBiDi * pBiDi, int32_t paraIndex, int32_t * pParaStart, int32_t * pParaLimit, UBiDiLevel * pParaLevel, UErrorCode * pErrorCode) {
575 ubidi_getParagraphByIndex(pBiDi, paraIndex, pParaStart, pParaLimit, pParaLevel, pErrorCode);
576 }
ubidi_getProcessedLength_android(const UBiDi * pBiDi)577 int32_t ubidi_getProcessedLength_android(const UBiDi * pBiDi) {
578 return ubidi_getProcessedLength(pBiDi);
579 }
ubidi_getReorderingMode_android(UBiDi * pBiDi)580 UBiDiReorderingMode ubidi_getReorderingMode_android(UBiDi * pBiDi) {
581 return ubidi_getReorderingMode(pBiDi);
582 }
ubidi_getReorderingOptions_android(UBiDi * pBiDi)583 uint32_t ubidi_getReorderingOptions_android(UBiDi * pBiDi) {
584 return ubidi_getReorderingOptions(pBiDi);
585 }
ubidi_getResultLength_android(const UBiDi * pBiDi)586 int32_t ubidi_getResultLength_android(const UBiDi * pBiDi) {
587 return ubidi_getResultLength(pBiDi);
588 }
ubidi_getText_android(const UBiDi * pBiDi)589 const UChar * ubidi_getText_android(const UBiDi * pBiDi) {
590 return ubidi_getText(pBiDi);
591 }
ubidi_getVisualIndex_android(UBiDi * pBiDi,int32_t logicalIndex,UErrorCode * pErrorCode)592 int32_t ubidi_getVisualIndex_android(UBiDi * pBiDi, int32_t logicalIndex, UErrorCode * pErrorCode) {
593 return ubidi_getVisualIndex(pBiDi, logicalIndex, pErrorCode);
594 }
ubidi_getVisualMap_android(UBiDi * pBiDi,int32_t * indexMap,UErrorCode * pErrorCode)595 void ubidi_getVisualMap_android(UBiDi * pBiDi, int32_t * indexMap, UErrorCode * pErrorCode) {
596 ubidi_getVisualMap(pBiDi, indexMap, pErrorCode);
597 }
ubidi_getVisualRun_android(UBiDi * pBiDi,int32_t runIndex,int32_t * pLogicalStart,int32_t * pLength)598 UBiDiDirection ubidi_getVisualRun_android(UBiDi * pBiDi, int32_t runIndex, int32_t * pLogicalStart, int32_t * pLength) {
599 return ubidi_getVisualRun(pBiDi, runIndex, pLogicalStart, pLength);
600 }
ubidi_invertMap_android(const int32_t * srcMap,int32_t * destMap,int32_t length)601 void ubidi_invertMap_android(const int32_t * srcMap, int32_t * destMap, int32_t length) {
602 ubidi_invertMap(srcMap, destMap, length);
603 }
ubidi_isInverse_android(UBiDi * pBiDi)604 UBool ubidi_isInverse_android(UBiDi * pBiDi) {
605 return ubidi_isInverse(pBiDi);
606 }
ubidi_isOrderParagraphsLTR_android(UBiDi * pBiDi)607 UBool ubidi_isOrderParagraphsLTR_android(UBiDi * pBiDi) {
608 return ubidi_isOrderParagraphsLTR(pBiDi);
609 }
ubidi_open_android()610 UBiDi * ubidi_open_android() {
611 return ubidi_open();
612 }
ubidi_openSized_android(int32_t maxLength,int32_t maxRunCount,UErrorCode * pErrorCode)613 UBiDi * ubidi_openSized_android(int32_t maxLength, int32_t maxRunCount, UErrorCode * pErrorCode) {
614 return ubidi_openSized(maxLength, maxRunCount, pErrorCode);
615 }
ubidi_orderParagraphsLTR_android(UBiDi * pBiDi,UBool orderParagraphsLTR)616 void ubidi_orderParagraphsLTR_android(UBiDi * pBiDi, UBool orderParagraphsLTR) {
617 ubidi_orderParagraphsLTR(pBiDi, orderParagraphsLTR);
618 }
ubidi_reorderLogical_android(const UBiDiLevel * levels,int32_t length,int32_t * indexMap)619 void ubidi_reorderLogical_android(const UBiDiLevel * levels, int32_t length, int32_t * indexMap) {
620 ubidi_reorderLogical(levels, length, indexMap);
621 }
ubidi_reorderVisual_android(const UBiDiLevel * levels,int32_t length,int32_t * indexMap)622 void ubidi_reorderVisual_android(const UBiDiLevel * levels, int32_t length, int32_t * indexMap) {
623 ubidi_reorderVisual(levels, length, indexMap);
624 }
ubidi_setClassCallback_android(UBiDi * pBiDi,UBiDiClassCallback * newFn,const void * newContext,UBiDiClassCallback ** oldFn,const void ** oldContext,UErrorCode * pErrorCode)625 void ubidi_setClassCallback_android(UBiDi * pBiDi, UBiDiClassCallback * newFn, const void * newContext, UBiDiClassCallback ** oldFn, const void ** oldContext, UErrorCode * pErrorCode) {
626 ubidi_setClassCallback(pBiDi, newFn, newContext, oldFn, oldContext, pErrorCode);
627 }
ubidi_setContext_android(UBiDi * pBiDi,const UChar * prologue,int32_t proLength,const UChar * epilogue,int32_t epiLength,UErrorCode * pErrorCode)628 void ubidi_setContext_android(UBiDi * pBiDi, const UChar * prologue, int32_t proLength, const UChar * epilogue, int32_t epiLength, UErrorCode * pErrorCode) {
629 ubidi_setContext(pBiDi, prologue, proLength, epilogue, epiLength, pErrorCode);
630 }
ubidi_setInverse_android(UBiDi * pBiDi,UBool isInverse)631 void ubidi_setInverse_android(UBiDi * pBiDi, UBool isInverse) {
632 ubidi_setInverse(pBiDi, isInverse);
633 }
ubidi_setLine_android(const UBiDi * pParaBiDi,int32_t start,int32_t limit,UBiDi * pLineBiDi,UErrorCode * pErrorCode)634 void ubidi_setLine_android(const UBiDi * pParaBiDi, int32_t start, int32_t limit, UBiDi * pLineBiDi, UErrorCode * pErrorCode) {
635 ubidi_setLine(pParaBiDi, start, limit, pLineBiDi, pErrorCode);
636 }
ubidi_setPara_android(UBiDi * pBiDi,const UChar * text,int32_t length,UBiDiLevel paraLevel,UBiDiLevel * embeddingLevels,UErrorCode * pErrorCode)637 void ubidi_setPara_android(UBiDi * pBiDi, const UChar * text, int32_t length, UBiDiLevel paraLevel, UBiDiLevel * embeddingLevels, UErrorCode * pErrorCode) {
638 ubidi_setPara(pBiDi, text, length, paraLevel, embeddingLevels, pErrorCode);
639 }
ubidi_setReorderingMode_android(UBiDi * pBiDi,UBiDiReorderingMode reorderingMode)640 void ubidi_setReorderingMode_android(UBiDi * pBiDi, UBiDiReorderingMode reorderingMode) {
641 ubidi_setReorderingMode(pBiDi, reorderingMode);
642 }
ubidi_setReorderingOptions_android(UBiDi * pBiDi,uint32_t reorderingOptions)643 void ubidi_setReorderingOptions_android(UBiDi * pBiDi, uint32_t reorderingOptions) {
644 ubidi_setReorderingOptions(pBiDi, reorderingOptions);
645 }
ubidi_writeReordered_android(UBiDi * pBiDi,UChar * dest,int32_t destSize,uint16_t options,UErrorCode * pErrorCode)646 int32_t ubidi_writeReordered_android(UBiDi * pBiDi, UChar * dest, int32_t destSize, uint16_t options, UErrorCode * pErrorCode) {
647 return ubidi_writeReordered(pBiDi, dest, destSize, options, pErrorCode);
648 }
ubidi_writeReverse_android(const UChar * src,int32_t srcLength,UChar * dest,int32_t destSize,uint16_t options,UErrorCode * pErrorCode)649 int32_t ubidi_writeReverse_android(const UChar * src, int32_t srcLength, UChar * dest, int32_t destSize, uint16_t options, UErrorCode * pErrorCode) {
650 return ubidi_writeReverse(src, srcLength, dest, destSize, options, pErrorCode);
651 }
ubiditransform_close_android(UBiDiTransform * pBidiTransform)652 void ubiditransform_close_android(UBiDiTransform * pBidiTransform) {
653 ubiditransform_close(pBidiTransform);
654 }
ubiditransform_open_android(UErrorCode * pErrorCode)655 UBiDiTransform * ubiditransform_open_android(UErrorCode * pErrorCode) {
656 return ubiditransform_open(pErrorCode);
657 }
ubiditransform_transform_android(UBiDiTransform * pBiDiTransform,const UChar * src,int32_t srcLength,UChar * dest,int32_t destSize,UBiDiLevel inParaLevel,UBiDiOrder inOrder,UBiDiLevel outParaLevel,UBiDiOrder outOrder,UBiDiMirroring doMirroring,uint32_t shapingOptions,UErrorCode * pErrorCode)658 uint32_t ubiditransform_transform_android(UBiDiTransform * pBiDiTransform, const UChar * src, int32_t srcLength, UChar * dest, int32_t destSize, UBiDiLevel inParaLevel, UBiDiOrder inOrder, UBiDiLevel outParaLevel, UBiDiOrder outOrder, UBiDiMirroring doMirroring, uint32_t shapingOptions, UErrorCode * pErrorCode) {
659 return ubiditransform_transform(pBiDiTransform, src, srcLength, dest, destSize, inParaLevel, inOrder, outParaLevel, outOrder, doMirroring, shapingOptions, pErrorCode);
660 }
ublock_getCode_android(UChar32 c)661 UBlockCode ublock_getCode_android(UChar32 c) {
662 return ublock_getCode(c);
663 }
ubrk_close_android(UBreakIterator * bi)664 void ubrk_close_android(UBreakIterator * bi) {
665 ubrk_close(bi);
666 }
ubrk_countAvailable_android()667 int32_t ubrk_countAvailable_android() {
668 return ubrk_countAvailable();
669 }
ubrk_current_android(const UBreakIterator * bi)670 int32_t ubrk_current_android(const UBreakIterator * bi) {
671 return ubrk_current(bi);
672 }
ubrk_first_android(UBreakIterator * bi)673 int32_t ubrk_first_android(UBreakIterator * bi) {
674 return ubrk_first(bi);
675 }
ubrk_following_android(UBreakIterator * bi,int32_t offset)676 int32_t ubrk_following_android(UBreakIterator * bi, int32_t offset) {
677 return ubrk_following(bi, offset);
678 }
ubrk_getAvailable_android(int32_t index)679 const char * ubrk_getAvailable_android(int32_t index) {
680 return ubrk_getAvailable(index);
681 }
ubrk_getBinaryRules_android(UBreakIterator * bi,uint8_t * binaryRules,int32_t rulesCapacity,UErrorCode * status)682 int32_t ubrk_getBinaryRules_android(UBreakIterator * bi, uint8_t * binaryRules, int32_t rulesCapacity, UErrorCode * status) {
683 return ubrk_getBinaryRules(bi, binaryRules, rulesCapacity, status);
684 }
ubrk_getLocaleByType_android(const UBreakIterator * bi,ULocDataLocaleType type,UErrorCode * status)685 const char * ubrk_getLocaleByType_android(const UBreakIterator * bi, ULocDataLocaleType type, UErrorCode * status) {
686 return ubrk_getLocaleByType(bi, type, status);
687 }
ubrk_getRuleStatus_android(UBreakIterator * bi)688 int32_t ubrk_getRuleStatus_android(UBreakIterator * bi) {
689 return ubrk_getRuleStatus(bi);
690 }
ubrk_getRuleStatusVec_android(UBreakIterator * bi,int32_t * fillInVec,int32_t capacity,UErrorCode * status)691 int32_t ubrk_getRuleStatusVec_android(UBreakIterator * bi, int32_t * fillInVec, int32_t capacity, UErrorCode * status) {
692 return ubrk_getRuleStatusVec(bi, fillInVec, capacity, status);
693 }
ubrk_isBoundary_android(UBreakIterator * bi,int32_t offset)694 UBool ubrk_isBoundary_android(UBreakIterator * bi, int32_t offset) {
695 return ubrk_isBoundary(bi, offset);
696 }
ubrk_last_android(UBreakIterator * bi)697 int32_t ubrk_last_android(UBreakIterator * bi) {
698 return ubrk_last(bi);
699 }
ubrk_next_android(UBreakIterator * bi)700 int32_t ubrk_next_android(UBreakIterator * bi) {
701 return ubrk_next(bi);
702 }
ubrk_open_android(UBreakIteratorType type,const char * locale,const UChar * text,int32_t textLength,UErrorCode * status)703 UBreakIterator * ubrk_open_android(UBreakIteratorType type, const char * locale, const UChar * text, int32_t textLength, UErrorCode * status) {
704 return ubrk_open(type, locale, text, textLength, status);
705 }
ubrk_openBinaryRules_android(const uint8_t * binaryRules,int32_t rulesLength,const UChar * text,int32_t textLength,UErrorCode * status)706 UBreakIterator * ubrk_openBinaryRules_android(const uint8_t * binaryRules, int32_t rulesLength, const UChar * text, int32_t textLength, UErrorCode * status) {
707 return ubrk_openBinaryRules(binaryRules, rulesLength, text, textLength, status);
708 }
ubrk_openRules_android(const UChar * rules,int32_t rulesLength,const UChar * text,int32_t textLength,UParseError * parseErr,UErrorCode * status)709 UBreakIterator * ubrk_openRules_android(const UChar * rules, int32_t rulesLength, const UChar * text, int32_t textLength, UParseError * parseErr, UErrorCode * status) {
710 return ubrk_openRules(rules, rulesLength, text, textLength, parseErr, status);
711 }
ubrk_preceding_android(UBreakIterator * bi,int32_t offset)712 int32_t ubrk_preceding_android(UBreakIterator * bi, int32_t offset) {
713 return ubrk_preceding(bi, offset);
714 }
ubrk_previous_android(UBreakIterator * bi)715 int32_t ubrk_previous_android(UBreakIterator * bi) {
716 return ubrk_previous(bi);
717 }
ubrk_refreshUText_android(UBreakIterator * bi,UText * text,UErrorCode * status)718 void ubrk_refreshUText_android(UBreakIterator * bi, UText * text, UErrorCode * status) {
719 ubrk_refreshUText(bi, text, status);
720 }
ubrk_safeClone_android(const UBreakIterator * bi,void * stackBuffer,int32_t * pBufferSize,UErrorCode * status)721 UBreakIterator * ubrk_safeClone_android(const UBreakIterator * bi, void * stackBuffer, int32_t * pBufferSize, UErrorCode * status) {
722 return ubrk_safeClone(bi, stackBuffer, pBufferSize, status);
723 }
ubrk_setText_android(UBreakIterator * bi,const UChar * text,int32_t textLength,UErrorCode * status)724 void ubrk_setText_android(UBreakIterator * bi, const UChar * text, int32_t textLength, UErrorCode * status) {
725 ubrk_setText(bi, text, textLength, status);
726 }
ubrk_setUText_android(UBreakIterator * bi,UText * text,UErrorCode * status)727 void ubrk_setUText_android(UBreakIterator * bi, UText * text, UErrorCode * status) {
728 ubrk_setUText(bi, text, status);
729 }
ucal_add_android(UCalendar * cal,UCalendarDateFields field,int32_t amount,UErrorCode * status)730 void ucal_add_android(UCalendar * cal, UCalendarDateFields field, int32_t amount, UErrorCode * status) {
731 ucal_add(cal, field, amount, status);
732 }
ucal_clear_android(UCalendar * calendar)733 void ucal_clear_android(UCalendar * calendar) {
734 ucal_clear(calendar);
735 }
ucal_clearField_android(UCalendar * cal,UCalendarDateFields field)736 void ucal_clearField_android(UCalendar * cal, UCalendarDateFields field) {
737 ucal_clearField(cal, field);
738 }
ucal_clone_android(const UCalendar * cal,UErrorCode * status)739 UCalendar * ucal_clone_android(const UCalendar * cal, UErrorCode * status) {
740 return ucal_clone(cal, status);
741 }
ucal_close_android(UCalendar * cal)742 void ucal_close_android(UCalendar * cal) {
743 ucal_close(cal);
744 }
ucal_countAvailable_android()745 int32_t ucal_countAvailable_android() {
746 return ucal_countAvailable();
747 }
ucal_equivalentTo_android(const UCalendar * cal1,const UCalendar * cal2)748 UBool ucal_equivalentTo_android(const UCalendar * cal1, const UCalendar * cal2) {
749 return ucal_equivalentTo(cal1, cal2);
750 }
ucal_get_android(const UCalendar * cal,UCalendarDateFields field,UErrorCode * status)751 int32_t ucal_get_android(const UCalendar * cal, UCalendarDateFields field, UErrorCode * status) {
752 return ucal_get(cal, field, status);
753 }
ucal_getAttribute_android(const UCalendar * cal,UCalendarAttribute attr)754 int32_t ucal_getAttribute_android(const UCalendar * cal, UCalendarAttribute attr) {
755 return ucal_getAttribute(cal, attr);
756 }
ucal_getAvailable_android(int32_t localeIndex)757 const char * ucal_getAvailable_android(int32_t localeIndex) {
758 return ucal_getAvailable(localeIndex);
759 }
ucal_getCanonicalTimeZoneID_android(const UChar * id,int32_t len,UChar * result,int32_t resultCapacity,UBool * isSystemID,UErrorCode * status)760 int32_t ucal_getCanonicalTimeZoneID_android(const UChar * id, int32_t len, UChar * result, int32_t resultCapacity, UBool * isSystemID, UErrorCode * status) {
761 return ucal_getCanonicalTimeZoneID(id, len, result, resultCapacity, isSystemID, status);
762 }
ucal_getDSTSavings_android(const UChar * zoneID,UErrorCode * ec)763 int32_t ucal_getDSTSavings_android(const UChar * zoneID, UErrorCode * ec) {
764 return ucal_getDSTSavings(zoneID, ec);
765 }
ucal_getDayOfWeekType_android(const UCalendar * cal,UCalendarDaysOfWeek dayOfWeek,UErrorCode * status)766 UCalendarWeekdayType ucal_getDayOfWeekType_android(const UCalendar * cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode * status) {
767 return ucal_getDayOfWeekType(cal, dayOfWeek, status);
768 }
ucal_getDefaultTimeZone_android(UChar * result,int32_t resultCapacity,UErrorCode * ec)769 int32_t ucal_getDefaultTimeZone_android(UChar * result, int32_t resultCapacity, UErrorCode * ec) {
770 return ucal_getDefaultTimeZone(result, resultCapacity, ec);
771 }
ucal_getFieldDifference_android(UCalendar * cal,UDate target,UCalendarDateFields field,UErrorCode * status)772 int32_t ucal_getFieldDifference_android(UCalendar * cal, UDate target, UCalendarDateFields field, UErrorCode * status) {
773 return ucal_getFieldDifference(cal, target, field, status);
774 }
ucal_getGregorianChange_android(const UCalendar * cal,UErrorCode * pErrorCode)775 UDate ucal_getGregorianChange_android(const UCalendar * cal, UErrorCode * pErrorCode) {
776 return ucal_getGregorianChange(cal, pErrorCode);
777 }
ucal_getKeywordValuesForLocale_android(const char * key,const char * locale,UBool commonlyUsed,UErrorCode * status)778 UEnumeration * ucal_getKeywordValuesForLocale_android(const char * key, const char * locale, UBool commonlyUsed, UErrorCode * status) {
779 return ucal_getKeywordValuesForLocale(key, locale, commonlyUsed, status);
780 }
ucal_getLimit_android(const UCalendar * cal,UCalendarDateFields field,UCalendarLimitType type,UErrorCode * status)781 int32_t ucal_getLimit_android(const UCalendar * cal, UCalendarDateFields field, UCalendarLimitType type, UErrorCode * status) {
782 return ucal_getLimit(cal, field, type, status);
783 }
ucal_getLocaleByType_android(const UCalendar * cal,ULocDataLocaleType type,UErrorCode * status)784 const char * ucal_getLocaleByType_android(const UCalendar * cal, ULocDataLocaleType type, UErrorCode * status) {
785 return ucal_getLocaleByType(cal, type, status);
786 }
ucal_getMillis_android(const UCalendar * cal,UErrorCode * status)787 UDate ucal_getMillis_android(const UCalendar * cal, UErrorCode * status) {
788 return ucal_getMillis(cal, status);
789 }
ucal_getNow_android()790 UDate ucal_getNow_android() {
791 return ucal_getNow();
792 }
ucal_getTZDataVersion_android(UErrorCode * status)793 const char * ucal_getTZDataVersion_android(UErrorCode * status) {
794 return ucal_getTZDataVersion(status);
795 }
ucal_getTimeZoneDisplayName_android(const UCalendar * cal,UCalendarDisplayNameType type,const char * locale,UChar * result,int32_t resultLength,UErrorCode * status)796 int32_t ucal_getTimeZoneDisplayName_android(const UCalendar * cal, UCalendarDisplayNameType type, const char * locale, UChar * result, int32_t resultLength, UErrorCode * status) {
797 return ucal_getTimeZoneDisplayName(cal, type, locale, result, resultLength, status);
798 }
ucal_getTimeZoneID_android(const UCalendar * cal,UChar * result,int32_t resultLength,UErrorCode * status)799 int32_t ucal_getTimeZoneID_android(const UCalendar * cal, UChar * result, int32_t resultLength, UErrorCode * status) {
800 return ucal_getTimeZoneID(cal, result, resultLength, status);
801 }
ucal_getTimeZoneIDForWindowsID_android(const UChar * winid,int32_t len,const char * region,UChar * id,int32_t idCapacity,UErrorCode * status)802 int32_t ucal_getTimeZoneIDForWindowsID_android(const UChar * winid, int32_t len, const char * region, UChar * id, int32_t idCapacity, UErrorCode * status) {
803 return ucal_getTimeZoneIDForWindowsID(winid, len, region, id, idCapacity, status);
804 }
ucal_getTimeZoneTransitionDate_android(const UCalendar * cal,UTimeZoneTransitionType type,UDate * transition,UErrorCode * status)805 UBool ucal_getTimeZoneTransitionDate_android(const UCalendar * cal, UTimeZoneTransitionType type, UDate * transition, UErrorCode * status) {
806 return ucal_getTimeZoneTransitionDate(cal, type, transition, status);
807 }
ucal_getType_android(const UCalendar * cal,UErrorCode * status)808 const char * ucal_getType_android(const UCalendar * cal, UErrorCode * status) {
809 return ucal_getType(cal, status);
810 }
ucal_getWeekendTransition_android(const UCalendar * cal,UCalendarDaysOfWeek dayOfWeek,UErrorCode * status)811 int32_t ucal_getWeekendTransition_android(const UCalendar * cal, UCalendarDaysOfWeek dayOfWeek, UErrorCode * status) {
812 return ucal_getWeekendTransition(cal, dayOfWeek, status);
813 }
ucal_getWindowsTimeZoneID_android(const UChar * id,int32_t len,UChar * winid,int32_t winidCapacity,UErrorCode * status)814 int32_t ucal_getWindowsTimeZoneID_android(const UChar * id, int32_t len, UChar * winid, int32_t winidCapacity, UErrorCode * status) {
815 return ucal_getWindowsTimeZoneID(id, len, winid, winidCapacity, status);
816 }
ucal_inDaylightTime_android(const UCalendar * cal,UErrorCode * status)817 UBool ucal_inDaylightTime_android(const UCalendar * cal, UErrorCode * status) {
818 return ucal_inDaylightTime(cal, status);
819 }
ucal_isSet_android(const UCalendar * cal,UCalendarDateFields field)820 UBool ucal_isSet_android(const UCalendar * cal, UCalendarDateFields field) {
821 return ucal_isSet(cal, field);
822 }
ucal_isWeekend_android(const UCalendar * cal,UDate date,UErrorCode * status)823 UBool ucal_isWeekend_android(const UCalendar * cal, UDate date, UErrorCode * status) {
824 return ucal_isWeekend(cal, date, status);
825 }
ucal_open_android(const UChar * zoneID,int32_t len,const char * locale,UCalendarType type,UErrorCode * status)826