Victor Chang | 2b8ba1e | 2020-08-19 18:14:25 +0100 | [diff] [blame] | 1 | /* GENERATED SOURCE. DO NOT MODIFY. */ |
| 2 | /* Run external/icu/tools/icu4c_srcgen/generate_ndk.py to regenerate */ |
| 3 | // © 2018 and later: Unicode, Inc. and others.' |
| 4 | // License & terms of use: http://www.unicode.org/copyright.html |
| 5 | |
Victor Chang | f1a8c98 | 2020-11-20 18:16:37 +0000 | [diff] [blame^] | 6 | #include <unicode/ubidi.h> |
| 7 | #include <unicode/ubrk.h> |
Victor Chang | 2b8ba1e | 2020-08-19 18:14:25 +0100 | [diff] [blame] | 8 | #include <unicode/uchar.h> |
Victor Chang | f1a8c98 | 2020-11-20 18:16:37 +0000 | [diff] [blame^] | 9 | #include <unicode/uenum.h> |
| 10 | #include <unicode/uldnames.h> |
Victor Chang | 2b8ba1e | 2020-08-19 18:14:25 +0100 | [diff] [blame] | 11 | #include <unicode/uloc.h> |
Victor Chang | 2c8a76d | 2020-10-27 17:27:57 +0000 | [diff] [blame] | 12 | #include <unicode/ulocdata.h> |
Victor Chang | f1a8c98 | 2020-11-20 18:16:37 +0000 | [diff] [blame^] | 13 | #include <unicode/unorm2.h> |
| 14 | #include <unicode/uscript.h> |
Victor Chang | 2b8ba1e | 2020-08-19 18:14:25 +0100 | [diff] [blame] | 15 | #include <unicode/ustring.h> |
Victor Chang | f1a8c98 | 2020-11-20 18:16:37 +0000 | [diff] [blame^] | 16 | #include <unicode/utext.h> |
Victor Chang | 2b8ba1e | 2020-08-19 18:14:25 +0100 | [diff] [blame] | 17 | #include <unicode/utypes.h> |
| 18 | #include <unicode/uversion.h> |
| 19 | |
| 20 | /* Disable the macros in urename.h renaming the below C function definitions. */ |
| 21 | #undef u_charAge |
| 22 | #undef u_charDigitValue |
| 23 | #undef u_charDirection |
| 24 | #undef u_charFromName |
| 25 | #undef u_charMirror |
| 26 | #undef u_charName |
| 27 | #undef u_charType |
| 28 | #undef u_countChar32 |
| 29 | #undef u_digit |
| 30 | #undef u_enumCharNames |
| 31 | #undef u_enumCharTypes |
| 32 | #undef u_errorName |
| 33 | #undef u_foldCase |
| 34 | #undef u_forDigit |
| 35 | #undef u_getBidiPairedBracket |
| 36 | #undef u_getCombiningClass |
| 37 | #undef u_getIntPropertyMaxValue |
| 38 | #undef u_getIntPropertyMinValue |
| 39 | #undef u_getIntPropertyValue |
| 40 | #undef u_getNumericValue |
| 41 | #undef u_getPropertyEnum |
| 42 | #undef u_getPropertyName |
| 43 | #undef u_getPropertyValueEnum |
| 44 | #undef u_getPropertyValueName |
| 45 | #undef u_getUnicodeVersion |
| 46 | #undef u_getVersion |
| 47 | #undef u_hasBinaryProperty |
| 48 | #undef u_isIDIgnorable |
| 49 | #undef u_isIDPart |
| 50 | #undef u_isIDStart |
| 51 | #undef u_isISOControl |
| 52 | #undef u_isJavaIDPart |
| 53 | #undef u_isJavaIDStart |
| 54 | #undef u_isJavaSpaceChar |
| 55 | #undef u_isMirrored |
| 56 | #undef u_isUAlphabetic |
| 57 | #undef u_isULowercase |
| 58 | #undef u_isUUppercase |
| 59 | #undef u_isUWhiteSpace |
| 60 | #undef u_isWhitespace |
| 61 | #undef u_isalnum |
| 62 | #undef u_isalpha |
| 63 | #undef u_isbase |
| 64 | #undef u_isblank |
| 65 | #undef u_iscntrl |
| 66 | #undef u_isdefined |
| 67 | #undef u_isdigit |
| 68 | #undef u_isgraph |
| 69 | #undef u_islower |
| 70 | #undef u_isprint |
| 71 | #undef u_ispunct |
| 72 | #undef u_isspace |
| 73 | #undef u_istitle |
| 74 | #undef u_isupper |
| 75 | #undef u_isxdigit |
| 76 | #undef u_memcasecmp |
| 77 | #undef u_memchr |
| 78 | #undef u_memchr32 |
| 79 | #undef u_memcmp |
| 80 | #undef u_memcmpCodePointOrder |
| 81 | #undef u_memcpy |
| 82 | #undef u_memmove |
| 83 | #undef u_memrchr |
| 84 | #undef u_memrchr32 |
| 85 | #undef u_memset |
| 86 | #undef u_strCaseCompare |
| 87 | #undef u_strCompare |
| 88 | #undef u_strFindFirst |
| 89 | #undef u_strFindLast |
| 90 | #undef u_strFoldCase |
| 91 | #undef u_strFromUTF32 |
| 92 | #undef u_strFromUTF32WithSub |
| 93 | #undef u_strFromUTF8 |
| 94 | #undef u_strFromUTF8Lenient |
| 95 | #undef u_strFromUTF8WithSub |
| 96 | #undef u_strHasMoreChar32Than |
| 97 | #undef u_strToLower |
| 98 | #undef u_strToTitle |
| 99 | #undef u_strToUTF32 |
| 100 | #undef u_strToUTF32WithSub |
| 101 | #undef u_strToUTF8 |
| 102 | #undef u_strToUTF8WithSub |
| 103 | #undef u_strToUpper |
| 104 | #undef u_strcasecmp |
| 105 | #undef u_strcat |
| 106 | #undef u_strchr |
| 107 | #undef u_strchr32 |
| 108 | #undef u_strcmp |
| 109 | #undef u_strcmpCodePointOrder |
| 110 | #undef u_strcpy |
| 111 | #undef u_strcspn |
| 112 | #undef u_strlen |
| 113 | #undef u_strncasecmp |
| 114 | #undef u_strncat |
| 115 | #undef u_strncmp |
| 116 | #undef u_strncmpCodePointOrder |
| 117 | #undef u_strncpy |
| 118 | #undef u_strpbrk |
| 119 | #undef u_strrchr |
| 120 | #undef u_strrchr32 |
| 121 | #undef u_strrstr |
| 122 | #undef u_strspn |
| 123 | #undef u_strstr |
| 124 | #undef u_strtok_r |
| 125 | #undef u_tolower |
| 126 | #undef u_totitle |
| 127 | #undef u_toupper |
| 128 | #undef u_versionToString |
Victor Chang | f1a8c98 | 2020-11-20 18:16:37 +0000 | [diff] [blame^] | 129 | #undef ubidi_close |
| 130 | #undef ubidi_countParagraphs |
| 131 | #undef ubidi_countRuns |
| 132 | #undef ubidi_getBaseDirection |
| 133 | #undef ubidi_getClassCallback |
| 134 | #undef ubidi_getCustomizedClass |
| 135 | #undef ubidi_getDirection |
| 136 | #undef ubidi_getLength |
| 137 | #undef ubidi_getLevelAt |
| 138 | #undef ubidi_getLevels |
| 139 | #undef ubidi_getLogicalIndex |
| 140 | #undef ubidi_getLogicalMap |
| 141 | #undef ubidi_getLogicalRun |
| 142 | #undef ubidi_getParaLevel |
| 143 | #undef ubidi_getParagraph |
| 144 | #undef ubidi_getParagraphByIndex |
| 145 | #undef ubidi_getProcessedLength |
| 146 | #undef ubidi_getReorderingMode |
| 147 | #undef ubidi_getReorderingOptions |
| 148 | #undef ubidi_getResultLength |
| 149 | #undef ubidi_getText |
| 150 | #undef ubidi_getVisualIndex |
| 151 | #undef ubidi_getVisualMap |
| 152 | #undef ubidi_getVisualRun |
| 153 | #undef ubidi_invertMap |
| 154 | #undef ubidi_isInverse |
| 155 | #undef ubidi_isOrderParagraphsLTR |
| 156 | #undef ubidi_open |
| 157 | #undef ubidi_openSized |
| 158 | #undef ubidi_orderParagraphsLTR |
| 159 | #undef ubidi_reorderLogical |
| 160 | #undef ubidi_reorderVisual |
| 161 | #undef ubidi_setClassCallback |
| 162 | #undef ubidi_setContext |
| 163 | #undef ubidi_setInverse |
| 164 | #undef ubidi_setLine |
| 165 | #undef ubidi_setPara |
| 166 | #undef ubidi_setReorderingMode |
| 167 | #undef ubidi_setReorderingOptions |
| 168 | #undef ubidi_writeReordered |
| 169 | #undef ubidi_writeReverse |
| 170 | #undef ubrk_close |
| 171 | #undef ubrk_countAvailable |
| 172 | #undef ubrk_current |
| 173 | #undef ubrk_first |
| 174 | #undef ubrk_following |
| 175 | #undef ubrk_getAvailable |
| 176 | #undef ubrk_getRuleStatus |
| 177 | #undef ubrk_getRuleStatusVec |
| 178 | #undef ubrk_isBoundary |
| 179 | #undef ubrk_last |
| 180 | #undef ubrk_next |
| 181 | #undef ubrk_open |
| 182 | #undef ubrk_preceding |
| 183 | #undef ubrk_previous |
| 184 | #undef ubrk_setText |
| 185 | #undef ubrk_setUText |
| 186 | #undef uenum_close |
| 187 | #undef uenum_count |
| 188 | #undef uenum_next |
| 189 | #undef uenum_openCharStringsEnumeration |
| 190 | #undef uenum_openUCharStringsEnumeration |
| 191 | #undef uenum_reset |
| 192 | #undef uenum_unext |
| 193 | #undef uldn_close |
| 194 | #undef uldn_getContext |
| 195 | #undef uldn_getDialectHandling |
| 196 | #undef uldn_getLocale |
| 197 | #undef uldn_keyDisplayName |
| 198 | #undef uldn_keyValueDisplayName |
| 199 | #undef uldn_languageDisplayName |
| 200 | #undef uldn_localeDisplayName |
| 201 | #undef uldn_open |
| 202 | #undef uldn_openForContext |
| 203 | #undef uldn_regionDisplayName |
| 204 | #undef uldn_scriptCodeDisplayName |
| 205 | #undef uldn_scriptDisplayName |
| 206 | #undef uldn_variantDisplayName |
Victor Chang | 2b8ba1e | 2020-08-19 18:14:25 +0100 | [diff] [blame] | 207 | #undef uloc_acceptLanguage |
| 208 | #undef uloc_addLikelySubtags |
| 209 | #undef uloc_canonicalize |
| 210 | #undef uloc_countAvailable |
| 211 | #undef uloc_forLanguageTag |
| 212 | #undef uloc_getAvailable |
| 213 | #undef uloc_getBaseName |
| 214 | #undef uloc_getCharacterOrientation |
| 215 | #undef uloc_getCountry |
Victor Chang | 7de8cc2 | 2020-09-08 11:53:38 +0100 | [diff] [blame] | 216 | #undef uloc_getDefault |
Victor Chang | 2b8ba1e | 2020-08-19 18:14:25 +0100 | [diff] [blame] | 217 | #undef uloc_getDisplayCountry |
| 218 | #undef uloc_getDisplayKeyword |
| 219 | #undef uloc_getDisplayKeywordValue |
| 220 | #undef uloc_getDisplayLanguage |
| 221 | #undef uloc_getDisplayName |
| 222 | #undef uloc_getDisplayScript |
| 223 | #undef uloc_getDisplayVariant |
| 224 | #undef uloc_getISO3Country |
| 225 | #undef uloc_getISO3Language |
| 226 | #undef uloc_getISOCountries |
| 227 | #undef uloc_getISOLanguages |
| 228 | #undef uloc_getKeywordValue |
| 229 | #undef uloc_getLanguage |
| 230 | #undef uloc_getLineOrientation |
| 231 | #undef uloc_getName |
| 232 | #undef uloc_getScript |
| 233 | #undef uloc_getVariant |
| 234 | #undef uloc_isRightToLeft |
| 235 | #undef uloc_minimizeSubtags |
| 236 | #undef uloc_openKeywords |
| 237 | #undef uloc_setKeywordValue |
| 238 | #undef uloc_toLanguageTag |
| 239 | #undef uloc_toLegacyKey |
| 240 | #undef uloc_toLegacyType |
| 241 | #undef uloc_toUnicodeLocaleKey |
| 242 | #undef uloc_toUnicodeLocaleType |
Victor Chang | 2c8a76d | 2020-10-27 17:27:57 +0000 | [diff] [blame] | 243 | #undef ulocdata_getCLDRVersion |
Victor Chang | f1a8c98 | 2020-11-20 18:16:37 +0000 | [diff] [blame^] | 244 | #undef unorm2_append |
| 245 | #undef unorm2_close |
| 246 | #undef unorm2_composePair |
| 247 | #undef unorm2_getCombiningClass |
| 248 | #undef unorm2_getDecomposition |
| 249 | #undef unorm2_getNFCInstance |
| 250 | #undef unorm2_getNFDInstance |
| 251 | #undef unorm2_getNFKCCasefoldInstance |
| 252 | #undef unorm2_getNFKCInstance |
| 253 | #undef unorm2_getNFKDInstance |
| 254 | #undef unorm2_getRawDecomposition |
| 255 | #undef unorm2_hasBoundaryAfter |
| 256 | #undef unorm2_hasBoundaryBefore |
| 257 | #undef unorm2_isInert |
| 258 | #undef unorm2_isNormalized |
| 259 | #undef unorm2_normalize |
| 260 | #undef unorm2_normalizeSecondAndAppend |
| 261 | #undef unorm2_quickCheck |
| 262 | #undef unorm2_spanQuickCheckYes |
| 263 | #undef uscript_breaksBetweenLetters |
| 264 | #undef uscript_getCode |
| 265 | #undef uscript_getName |
| 266 | #undef uscript_getSampleString |
| 267 | #undef uscript_getScript |
| 268 | #undef uscript_getScriptExtensions |
| 269 | #undef uscript_getShortName |
| 270 | #undef uscript_getUsage |
| 271 | #undef uscript_hasScript |
| 272 | #undef uscript_isCased |
| 273 | #undef uscript_isRightToLeft |
| 274 | #undef utext_char32At |
| 275 | #undef utext_clone |
| 276 | #undef utext_close |
| 277 | #undef utext_current32 |
| 278 | #undef utext_equals |
| 279 | #undef utext_extract |
| 280 | #undef utext_getNativeIndex |
| 281 | #undef utext_moveIndex32 |
| 282 | #undef utext_nativeLength |
| 283 | #undef utext_next32 |
| 284 | #undef utext_next32From |
| 285 | #undef utext_openUChars |
| 286 | #undef utext_openUTF8 |
| 287 | #undef utext_previous32 |
| 288 | #undef utext_previous32From |
| 289 | #undef utext_setNativeIndex |
Victor Chang | 2b8ba1e | 2020-08-19 18:14:25 +0100 | [diff] [blame] | 290 | |
| 291 | extern "C" { |
| 292 | void u_charAge(UChar32 c, UVersionInfo versionArray) { |
| 293 | U_ICU_ENTRY_POINT_RENAME(u_charAge)(c, versionArray); |
| 294 | } |
| 295 | int32_t u_charDigitValue(UChar32 c) { |
| 296 | return U_ICU_ENTRY_POINT_RENAME(u_charDigitValue)(c); |
| 297 | } |
| 298 | UCharDirection u_charDirection(UChar32 c) { |
| 299 | return U_ICU_ENTRY_POINT_RENAME(u_charDirection)(c); |
| 300 | } |
| 301 | UChar32 u_charFromName(UCharNameChoice nameChoice, const char * name, UErrorCode * pErrorCode) { |
| 302 | return U_ICU_ENTRY_POINT_RENAME(u_charFromName)(nameChoice, name, pErrorCode); |
| 303 | } |
| 304 | UChar32 u_charMirror(UChar32 c) { |
| 305 | return U_ICU_ENTRY_POINT_RENAME(u_charMirror)(c); |
| 306 | } |
| 307 | int32_t u_charName(UChar32 code, UCharNameChoice nameChoice, char * buffer, int32_t bufferLength, UErrorCode * pErrorCode) { |
| 308 | return U_ICU_ENTRY_POINT_RENAME(u_charName)(code, nameChoice, buffer, bufferLength, pErrorCode); |
| 309 | } |
| 310 | int8_t u_charType(UChar32 c) { |
| 311 | return U_ICU_ENTRY_POINT_RENAME(u_charType)(c); |
| 312 | } |
| 313 | int32_t u_countChar32(const UChar * s, int32_t length) { |
| 314 | return U_ICU_ENTRY_POINT_RENAME(u_countChar32)(s, length); |
| 315 | } |
| 316 | int32_t u_digit(UChar32 ch, int8_t radix) { |
| 317 | return U_ICU_ENTRY_POINT_RENAME(u_digit)(ch, radix); |
| 318 | } |
| 319 | void u_enumCharNames(UChar32 start, UChar32 limit, UEnumCharNamesFn * fn, void * context, UCharNameChoice nameChoice, UErrorCode * pErrorCode) { |
| 320 | U_ICU_ENTRY_POINT_RENAME(u_enumCharNames)(start, limit, fn, context, nameChoice, pErrorCode); |
| 321 | } |
| 322 | void u_enumCharTypes(UCharEnumTypeRange * enumRange, const void * context) { |
| 323 | U_ICU_ENTRY_POINT_RENAME(u_enumCharTypes)(enumRange, context); |
| 324 | } |
| 325 | const char * u_errorName(UErrorCode code) { |
| 326 | return U_ICU_ENTRY_POINT_RENAME(u_errorName)(code); |
| 327 | } |
| 328 | UChar32 u_foldCase(UChar32 c, uint32_t options) { |
| 329 | return U_ICU_ENTRY_POINT_RENAME(u_foldCase)(c, options); |
| 330 | } |
| 331 | UChar32 u_forDigit(int32_t digit, int8_t radix) { |
| 332 | return U_ICU_ENTRY_POINT_RENAME(u_forDigit)(digit, radix); |
| 333 | } |
| 334 | UChar32 u_getBidiPairedBracket(UChar32 c) { |
| 335 | return U_ICU_ENTRY_POINT_RENAME(u_getBidiPairedBracket)(c); |
| 336 | } |
| 337 | uint8_t u_getCombiningClass(UChar32 c) { |
| 338 | return U_ICU_ENTRY_POINT_RENAME(u_getCombiningClass)(c); |
| 339 | } |
| 340 | int32_t u_getIntPropertyMaxValue(UProperty which) { |
| 341 | return U_ICU_ENTRY_POINT_RENAME(u_getIntPropertyMaxValue)(which); |
| 342 | } |
| 343 | int32_t u_getIntPropertyMinValue(UProperty which) { |
| 344 | return U_ICU_ENTRY_POINT_RENAME(u_getIntPropertyMinValue)(which); |
| 345 | } |
| 346 | int32_t u_getIntPropertyValue(UChar32 c, UProperty which) { |
| 347 | return U_ICU_ENTRY_POINT_RENAME(u_getIntPropertyValue)(c, which); |
| 348 | } |
| 349 | double u_getNumericValue(UChar32 c) { |
| 350 | return U_ICU_ENTRY_POINT_RENAME(u_getNumericValue)(c); |
| 351 | } |
| 352 | UProperty u_getPropertyEnum(const char * alias) { |
| 353 | return U_ICU_ENTRY_POINT_RENAME(u_getPropertyEnum)(alias); |
| 354 | } |
| 355 | const char * u_getPropertyName(UProperty property, UPropertyNameChoice nameChoice) { |
| 356 | return U_ICU_ENTRY_POINT_RENAME(u_getPropertyName)(property, nameChoice); |
| 357 | } |
| 358 | int32_t u_getPropertyValueEnum(UProperty property, const char * alias) { |
| 359 | return U_ICU_ENTRY_POINT_RENAME(u_getPropertyValueEnum)(property, alias); |
| 360 | } |
| 361 | const char * u_getPropertyValueName(UProperty property, int32_t value, UPropertyNameChoice nameChoice) { |
| 362 | return U_ICU_ENTRY_POINT_RENAME(u_getPropertyValueName)(property, value, nameChoice); |
| 363 | } |
| 364 | void u_getUnicodeVersion(UVersionInfo versionArray) { |
| 365 | U_ICU_ENTRY_POINT_RENAME(u_getUnicodeVersion)(versionArray); |
| 366 | } |
| 367 | void u_getVersion(UVersionInfo versionArray) { |
| 368 | U_ICU_ENTRY_POINT_RENAME(u_getVersion)(versionArray); |
| 369 | } |
| 370 | UBool u_hasBinaryProperty(UChar32 c, UProperty which) { |
| 371 | return U_ICU_ENTRY_POINT_RENAME(u_hasBinaryProperty)(c, which); |
| 372 | } |
| 373 | UBool u_isIDIgnorable(UChar32 c) { |
| 374 | return U_ICU_ENTRY_POINT_RENAME(u_isIDIgnorable)(c); |
| 375 | } |
| 376 | UBool u_isIDPart(UChar32 c) { |
| 377 | return U_ICU_ENTRY_POINT_RENAME(u_isIDPart)(c); |
| 378 | } |
| 379 | UBool u_isIDStart(UChar32 c) { |
| 380 | return U_ICU_ENTRY_POINT_RENAME(u_isIDStart)(c); |
| 381 | } |
| 382 | UBool u_isISOControl(UChar32 c) { |
| 383 | return U_ICU_ENTRY_POINT_RENAME(u_isISOControl)(c); |
| 384 | } |
| 385 | UBool u_isJavaIDPart(UChar32 c) { |
| 386 | return U_ICU_ENTRY_POINT_RENAME(u_isJavaIDPart)(c); |
| 387 | } |
| 388 | UBool u_isJavaIDStart(UChar32 c) { |
| 389 | return U_ICU_ENTRY_POINT_RENAME(u_isJavaIDStart)(c); |
| 390 | } |
| 391 | UBool u_isJavaSpaceChar(UChar32 c) { |
| 392 | return U_ICU_ENTRY_POINT_RENAME(u_isJavaSpaceChar)(c); |
| 393 | } |
| 394 | UBool u_isMirrored(UChar32 c) { |
| 395 | return U_ICU_ENTRY_POINT_RENAME(u_isMirrored)(c); |
| 396 | } |
| 397 | UBool u_isUAlphabetic(UChar32 c) { |
| 398 | return U_ICU_ENTRY_POINT_RENAME(u_isUAlphabetic)(c); |
| 399 | } |
| 400 | UBool u_isULowercase(UChar32 c) { |
| 401 | return U_ICU_ENTRY_POINT_RENAME(u_isULowercase)(c); |
| 402 | } |
| 403 | UBool u_isUUppercase(UChar32 c) { |
| 404 | return U_ICU_ENTRY_POINT_RENAME(u_isUUppercase)(c); |
| 405 | } |
| 406 | UBool u_isUWhiteSpace(UChar32 c) { |
| 407 | return U_ICU_ENTRY_POINT_RENAME(u_isUWhiteSpace)(c); |
| 408 | } |
| 409 | UBool u_isWhitespace(UChar32 c) { |
| 410 | return U_ICU_ENTRY_POINT_RENAME(u_isWhitespace)(c); |
| 411 | } |
| 412 | UBool u_isalnum(UChar32 c) { |
| 413 | return U_ICU_ENTRY_POINT_RENAME(u_isalnum)(c); |
| 414 | } |
| 415 | UBool u_isalpha(UChar32 c) { |
| 416 | return U_ICU_ENTRY_POINT_RENAME(u_isalpha)(c); |
| 417 | } |
| 418 | UBool u_isbase(UChar32 c) { |
| 419 | return U_ICU_ENTRY_POINT_RENAME(u_isbase)(c); |
| 420 | } |
| 421 | UBool u_isblank(UChar32 c) { |
| 422 | return U_ICU_ENTRY_POINT_RENAME(u_isblank)(c); |
| 423 | } |
| 424 | UBool u_iscntrl(UChar32 c) { |
| 425 | return U_ICU_ENTRY_POINT_RENAME(u_iscntrl)(c); |
| 426 | } |
| 427 | UBool u_isdefined(UChar32 c) { |
| 428 | return U_ICU_ENTRY_POINT_RENAME(u_isdefined)(c); |
| 429 | } |
| 430 | UBool u_isdigit(UChar32 c) { |
| 431 | return U_ICU_ENTRY_POINT_RENAME(u_isdigit)(c); |
| 432 | } |
| 433 | UBool u_isgraph(UChar32 c) { |
| 434 | return U_ICU_ENTRY_POINT_RENAME(u_isgraph)(c); |
| 435 | } |
| 436 | UBool u_islower(UChar32 c) { |
| 437 | return U_ICU_ENTRY_POINT_RENAME(u_islower)(c); |
| 438 | } |
| 439 | UBool u_isprint(UChar32 c) { |
| 440 | return U_ICU_ENTRY_POINT_RENAME(u_isprint)(c); |
| 441 | } |
| 442 | UBool u_ispunct(UChar32 c) { |
| 443 | return U_ICU_ENTRY_POINT_RENAME(u_ispunct)(c); |
| 444 | } |
| 445 | UBool u_isspace(UChar32 c) { |
| 446 | return U_ICU_ENTRY_POINT_RENAME(u_isspace)(c); |
| 447 | } |
| 448 | UBool u_istitle(UChar32 c) { |
| 449 | return U_ICU_ENTRY_POINT_RENAME(u_istitle)(c); |
| 450 | } |
| 451 | UBool u_isupper(UChar32 c) { |
| 452 | return U_ICU_ENTRY_POINT_RENAME(u_isupper)(c); |
| 453 | } |
| 454 | UBool u_isxdigit(UChar32 c) { |
| 455 | return U_ICU_ENTRY_POINT_RENAME(u_isxdigit)(c); |
| 456 | } |
| 457 | int32_t u_memcasecmp(const UChar * s1, const UChar * s2, int32_t length, uint32_t options) { |
| 458 | return U_ICU_ENTRY_POINT_RENAME(u_memcasecmp)(s1, s2, length, options); |
| 459 | } |
| 460 | UChar * u_memchr(const UChar * s, UChar c, int32_t count) { |
| 461 | return U_ICU_ENTRY_POINT_RENAME(u_memchr)(s, c, count); |
| 462 | } |
| 463 | UChar * u_memchr32(const UChar * s, UChar32 c, int32_t count) { |
| 464 | return U_ICU_ENTRY_POINT_RENAME(u_memchr32)(s, c, count); |
| 465 | } |
| 466 | int32_t u_memcmp(const UChar * buf1, const UChar * buf2, int32_t count) { |
| 467 | return U_ICU_ENTRY_POINT_RENAME(u_memcmp)(buf1, buf2, count); |
| 468 | } |
| 469 | int32_t u_memcmpCodePointOrder(const UChar * s1, const UChar * s2, int32_t count) { |
| 470 | return U_ICU_ENTRY_POINT_RENAME(u_memcmpCodePointOrder)(s1, s2, count); |
| 471 | } |
| 472 | UChar * u_memcpy(UChar * dest, const UChar * src, int32_t count) { |
| 473 | return U_ICU_ENTRY_POINT_RENAME(u_memcpy)(dest, src, count); |
| 474 | } |
| 475 | UChar * u_memmove(UChar * dest, const UChar * src, int32_t count) { |
| 476 | return U_ICU_ENTRY_POINT_RENAME(u_memmove)(dest, src, count); |
| 477 | } |
| 478 | UChar * u_memrchr(const UChar * s, UChar c, int32_t count) { |
| 479 | return U_ICU_ENTRY_POINT_RENAME(u_memrchr)(s, c, count); |
| 480 | } |
| 481 | UChar * u_memrchr32(const UChar * s, UChar32 c, int32_t count) { |
| 482 | return U_ICU_ENTRY_POINT_RENAME(u_memrchr32)(s, c, count); |
| 483 | } |
| 484 | UChar * u_memset(UChar * dest, UChar c, int32_t count) { |
| 485 | return U_ICU_ENTRY_POINT_RENAME(u_memset)(dest, c, count); |
| 486 | } |
| 487 | int32_t u_strCaseCompare(const UChar * s1, int32_t length1, const UChar * s2, int32_t length2, uint32_t options, UErrorCode * pErrorCode) { |
| 488 | return U_ICU_ENTRY_POINT_RENAME(u_strCaseCompare)(s1, length1, s2, length2, options, pErrorCode); |
| 489 | } |
| 490 | int32_t u_strCompare(const UChar * s1, int32_t length1, const UChar * s2, int32_t length2, UBool codePointOrder) { |
| 491 | return U_ICU_ENTRY_POINT_RENAME(u_strCompare)(s1, length1, s2, length2, codePointOrder); |
| 492 | } |
| 493 | UChar * u_strFindFirst(const UChar * s, int32_t length, const UChar * substring, int32_t subLength) { |
| 494 | return U_ICU_ENTRY_POINT_RENAME(u_strFindFirst)(s, length, substring, subLength); |
| 495 | } |
| 496 | UChar * u_strFindLast(const UChar * s, int32_t length, const UChar * substring, int32_t subLength) { |
| 497 | return U_ICU_ENTRY_POINT_RENAME(u_strFindLast)(s, length, substring, subLength); |
| 498 | } |
| 499 | int32_t u_strFoldCase(UChar * dest, int32_t destCapacity, const UChar * src, int32_t srcLength, uint32_t options, UErrorCode * pErrorCode) { |
| 500 | return U_ICU_ENTRY_POINT_RENAME(u_strFoldCase)(dest, destCapacity, src, srcLength, options, pErrorCode); |
| 501 | } |
| 502 | UChar * u_strFromUTF32(UChar * dest, int32_t destCapacity, int32_t * pDestLength, const UChar32 * src, int32_t srcLength, UErrorCode * pErrorCode) { |
| 503 | return U_ICU_ENTRY_POINT_RENAME(u_strFromUTF32)(dest, destCapacity, pDestLength, src, srcLength, pErrorCode); |
| 504 | } |
| 505 | UChar * u_strFromUTF32WithSub(UChar * dest, int32_t destCapacity, int32_t * pDestLength, const UChar32 * src, int32_t srcLength, UChar32 subchar, int32_t * pNumSubstitutions, UErrorCode * pErrorCode) { |
| 506 | return U_ICU_ENTRY_POINT_RENAME(u_strFromUTF32WithSub)(dest, destCapacity, pDestLength, src, srcLength, subchar, pNumSubstitutions, pErrorCode); |
| 507 | } |
| 508 | UChar * u_strFromUTF8(UChar * dest, int32_t destCapacity, int32_t * pDestLength, const char * src, int32_t srcLength, UErrorCode * pErrorCode) { |
| 509 | return U_ICU_ENTRY_POINT_RENAME(u_strFromUTF8)(dest, destCapacity, pDestLength, src, srcLength, pErrorCode); |
| 510 | } |
| 511 | UChar * u_strFromUTF8Lenient(UChar * dest, int32_t destCapacity, int32_t * pDestLength, const char * src, int32_t srcLength, UErrorCode * pErrorCode) { |
| 512 | return U_ICU_ENTRY_POINT_RENAME(u_strFromUTF8Lenient)(dest, destCapacity, pDestLength, src, srcLength, pErrorCode); |
| 513 | } |
| 514 | UChar * u_strFromUTF8WithSub(UChar * dest, int32_t destCapacity, int32_t * pDestLength, const char * src, int32_t srcLength, UChar32 subchar, int32_t * pNumSubstitutions, UErrorCode * pErrorCode) { |
| 515 | return U_ICU_ENTRY_POINT_RENAME(u_strFromUTF8WithSub)(dest, destCapacity, pDestLength, src, srcLength, subchar, pNumSubstitutions, pErrorCode); |
| 516 | } |
| 517 | UBool u_strHasMoreChar32Than(const UChar * s, int32_t length, int32_t number) { |
| 518 | return U_ICU_ENTRY_POINT_RENAME(u_strHasMoreChar32Than)(s, length, number); |
| 519 | } |
| 520 | int32_t u_strToLower(UChar * dest, int32_t destCapacity, const UChar * src, int32_t srcLength, const char * locale, UErrorCode * pErrorCode) { |
| 521 | return U_ICU_ENTRY_POINT_RENAME(u_strToLower)(dest, destCapacity, src, srcLength, locale, pErrorCode); |
| 522 | } |
| 523 | int32_t u_strToTitle(UChar * dest, int32_t destCapacity, const UChar * src, int32_t srcLength, UBreakIterator * titleIter, const char * locale, UErrorCode * pErrorCode) { |
| 524 | return U_ICU_ENTRY_POINT_RENAME(u_strToTitle)(dest, destCapacity, src, srcLength, titleIter, locale, pErrorCode); |
| 525 | } |
| 526 | UChar32 * u_strToUTF32(UChar32 * dest, int32_t destCapacity, int32_t * pDestLength, const UChar * src, int32_t srcLength, UErrorCode * pErrorCode) { |
| 527 | return U_ICU_ENTRY_POINT_RENAME(u_strToUTF32)(dest, destCapacity, pDestLength, src, srcLength, pErrorCode); |
| 528 | } |
| 529 | UChar32 * u_strToUTF32WithSub(UChar32 * dest, int32_t destCapacity, int32_t * pDestLength, const UChar * src, int32_t srcLength, UChar32 subchar, int32_t * pNumSubstitutions, UErrorCode * pErrorCode) { |
| 530 | return U_ICU_ENTRY_POINT_RENAME(u_strToUTF32WithSub)(dest, destCapacity, pDestLength, src, srcLength, subchar, pNumSubstitutions, pErrorCode); |
| 531 | } |
| 532 | char * u_strToUTF8(char * dest, int32_t destCapacity, int32_t * pDestLength, const UChar * src, int32_t srcLength, UErrorCode * pErrorCode) { |
| 533 | return U_ICU_ENTRY_POINT_RENAME(u_strToUTF8)(dest, destCapacity, pDestLength, src, srcLength, pErrorCode); |
| 534 | } |
| 535 | char * u_strToUTF8WithSub(char * dest, int32_t destCapacity, int32_t * pDestLength, const UChar * src, int32_t srcLength, UChar32 subchar, int32_t * pNumSubstitutions, UErrorCode * pErrorCode) { |
| 536 | return U_ICU_ENTRY_POINT_RENAME(u_strToUTF8WithSub)(dest, destCapacity, pDestLength, src, srcLength, subchar, pNumSubstitutions, pErrorCode); |
| 537 | } |
| 538 | int32_t u_strToUpper(UChar * dest, int32_t destCapacity, const UChar * src, int32_t srcLength, const char * locale, UErrorCode * pErrorCode) { |
| 539 | return U_ICU_ENTRY_POINT_RENAME(u_strToUpper)(dest, destCapacity, src, srcLength, locale, pErrorCode); |
| 540 | } |
| 541 | int32_t u_strcasecmp(const UChar * s1, const UChar * s2, uint32_t options) { |
| 542 | return U_ICU_ENTRY_POINT_RENAME(u_strcasecmp)(s1, s2, options); |
| 543 | } |
| 544 | UChar * u_strcat(UChar * dst, const UChar * src) { |
| 545 | return U_ICU_ENTRY_POINT_RENAME(u_strcat)(dst, src); |
| 546 | } |
| 547 | UChar * u_strchr(const UChar * s, UChar c) { |
| 548 | return U_ICU_ENTRY_POINT_RENAME(u_strchr)(s, c); |
| 549 | } |
| 550 | UChar * u_strchr32(const UChar * s, UChar32 c) { |
| 551 | return U_ICU_ENTRY_POINT_RENAME(u_strchr32)(s, c); |
| 552 | } |
| 553 | int32_t u_strcmp(const UChar * s1, const UChar * s2) { |
| 554 | return U_ICU_ENTRY_POINT_RENAME(u_strcmp)(s1, s2); |
| 555 | } |
| 556 | int32_t u_strcmpCodePointOrder(const UChar * s1, const UChar * s2) { |
| 557 | return U_ICU_ENTRY_POINT_RENAME(u_strcmpCodePointOrder)(s1, s2); |
| 558 | } |
| 559 | UChar * u_strcpy(UChar * dst, const UChar * src) { |
| 560 | return U_ICU_ENTRY_POINT_RENAME(u_strcpy)(dst, src); |
| 561 | } |
| 562 | int32_t u_strcspn(const UChar * string, const UChar * matchSet) { |
| 563 | return U_ICU_ENTRY_POINT_RENAME(u_strcspn)(string, matchSet); |
| 564 | } |
| 565 | int32_t u_strlen(const UChar * s) { |
| 566 | return U_ICU_ENTRY_POINT_RENAME(u_strlen)(s); |
| 567 | } |
| 568 | int32_t u_strncasecmp(const UChar * s1, const UChar * s2, int32_t n, uint32_t options) { |
| 569 | return U_ICU_ENTRY_POINT_RENAME(u_strncasecmp)(s1, s2, n, options); |
| 570 | } |
| 571 | UChar * u_strncat(UChar * dst, const UChar * src, int32_t n) { |
| 572 | return U_ICU_ENTRY_POINT_RENAME(u_strncat)(dst, src, n); |
| 573 | } |
| 574 | int32_t u_strncmp(const UChar * ucs1, const UChar * ucs2, int32_t n) { |
| 575 | return U_ICU_ENTRY_POINT_RENAME(u_strncmp)(ucs1, ucs2, n); |
| 576 | } |
| 577 | int32_t u_strncmpCodePointOrder(const UChar * s1, const UChar * s2, int32_t n) { |
| 578 | return U_ICU_ENTRY_POINT_RENAME(u_strncmpCodePointOrder)(s1, s2, n); |
| 579 | } |
| 580 | UChar * u_strncpy(UChar * dst, const UChar * src, int32_t n) { |
| 581 | return U_ICU_ENTRY_POINT_RENAME(u_strncpy)(dst, src, n); |
| 582 | } |
| 583 | UChar * u_strpbrk(const UChar * string, const UChar * matchSet) { |
| 584 | return U_ICU_ENTRY_POINT_RENAME(u_strpbrk)(string, matchSet); |
| 585 | } |
| 586 | UChar * u_strrchr(const UChar * s, UChar c) { |
| 587 | return U_ICU_ENTRY_POINT_RENAME(u_strrchr)(s, c); |
| 588 | } |
| 589 | UChar * u_strrchr32(const UChar * s, UChar32 c) { |
| 590 | return U_ICU_ENTRY_POINT_RENAME(u_strrchr32)(s, c); |
| 591 | } |
| 592 | UChar * u_strrstr(const UChar * s, const UChar * substring) { |
| 593 | return U_ICU_ENTRY_POINT_RENAME(u_strrstr)(s, substring); |
| 594 | } |
| 595 | int32_t u_strspn(const UChar * string, const UChar * matchSet) { |
| 596 | return U_ICU_ENTRY_POINT_RENAME(u_strspn)(string, matchSet); |
| 597 | } |
| 598 | UChar * u_strstr(const UChar * s, const UChar * substring) { |
| 599 | return U_ICU_ENTRY_POINT_RENAME(u_strstr)(s, substring); |
| 600 | } |
| 601 | UChar * u_strtok_r(UChar * src, const UChar * delim, UChar ** saveState) { |
| 602 | return U_ICU_ENTRY_POINT_RENAME(u_strtok_r)(src, delim, saveState); |
| 603 | } |
| 604 | UChar32 u_tolower(UChar32 c) { |
| 605 | return U_ICU_ENTRY_POINT_RENAME(u_tolower)(c); |
| 606 | } |
| 607 | UChar32 u_totitle(UChar32 c) { |
| 608 | return U_ICU_ENTRY_POINT_RENAME(u_totitle)(c); |
| 609 | } |
| 610 | UChar32 u_toupper(UChar32 c) { |
| 611 | return U_ICU_ENTRY_POINT_RENAME(u_toupper)(c); |
| 612 | } |
| 613 | void u_versionToString(const UVersionInfo versionArray, char * versionString) { |
| 614 | U_ICU_ENTRY_POINT_RENAME(u_versionToString)(versionArray, versionString); |
| 615 | } |
Victor Chang | f1a8c98 | 2020-11-20 18:16:37 +0000 | [diff] [blame^] | 616 | void ubidi_close(UBiDi * pBiDi) { |
| 617 | U_ICU_ENTRY_POINT_RENAME(ubidi_close)(pBiDi); |
| 618 | } |
| 619 | int32_t ubidi_countParagraphs(UBiDi * pBiDi) { |
| 620 | return U_ICU_ENTRY_POINT_RENAME(ubidi_countParagraphs)(pBiDi); |
| 621 | } |
| 622 | int32_t ubidi_countRuns(UBiDi * pBiDi, UErrorCode * pErrorCode) { |
| 623 | return U_ICU_ENTRY_POINT_RENAME(ubidi_countRuns)(pBiDi, pErrorCode); |
| 624 | } |
| 625 | UBiDiDirection ubidi_getBaseDirection(const UChar * text, int32_t length) { |
| 626 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getBaseDirection)(text, length); |
| 627 | } |
| 628 | void ubidi_getClassCallback(UBiDi * pBiDi, UBiDiClassCallback ** fn, const void ** context) { |
| 629 | U_ICU_ENTRY_POINT_RENAME(ubidi_getClassCallback)(pBiDi, fn, context); |
| 630 | } |
| 631 | UCharDirection ubidi_getCustomizedClass(UBiDi * pBiDi, UChar32 c) { |
| 632 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getCustomizedClass)(pBiDi, c); |
| 633 | } |
| 634 | UBiDiDirection ubidi_getDirection(const UBiDi * pBiDi) { |
| 635 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getDirection)(pBiDi); |
| 636 | } |
| 637 | int32_t ubidi_getLength(const UBiDi * pBiDi) { |
| 638 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getLength)(pBiDi); |
| 639 | } |
| 640 | UBiDiLevel ubidi_getLevelAt(const UBiDi * pBiDi, int32_t charIndex) { |
| 641 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getLevelAt)(pBiDi, charIndex); |
| 642 | } |
| 643 | const UBiDiLevel * ubidi_getLevels(UBiDi * pBiDi, UErrorCode * pErrorCode) { |
| 644 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getLevels)(pBiDi, pErrorCode); |
| 645 | } |
| 646 | int32_t ubidi_getLogicalIndex(UBiDi * pBiDi, int32_t visualIndex, UErrorCode * pErrorCode) { |
| 647 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getLogicalIndex)(pBiDi, visualIndex, pErrorCode); |
| 648 | } |
| 649 | void ubidi_getLogicalMap(UBiDi * pBiDi, int32_t * indexMap, UErrorCode * pErrorCode) { |
| 650 | U_ICU_ENTRY_POINT_RENAME(ubidi_getLogicalMap)(pBiDi, indexMap, pErrorCode); |
| 651 | } |
| 652 | void ubidi_getLogicalRun(const UBiDi * pBiDi, int32_t logicalPosition, int32_t * pLogicalLimit, UBiDiLevel * pLevel) { |
| 653 | U_ICU_ENTRY_POINT_RENAME(ubidi_getLogicalRun)(pBiDi, logicalPosition, pLogicalLimit, pLevel); |
| 654 | } |
| 655 | UBiDiLevel ubidi_getParaLevel(const UBiDi * pBiDi) { |
| 656 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getParaLevel)(pBiDi); |
| 657 | } |
| 658 | int32_t ubidi_getParagraph(const UBiDi * pBiDi, int32_t charIndex, int32_t * pParaStart, int32_t * pParaLimit, UBiDiLevel * pParaLevel, UErrorCode * pErrorCode) { |
| 659 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getParagraph)(pBiDi, charIndex, pParaStart, pParaLimit, pParaLevel, pErrorCode); |
| 660 | } |
| 661 | void ubidi_getParagraphByIndex(const UBiDi * pBiDi, int32_t paraIndex, int32_t * pParaStart, int32_t * pParaLimit, UBiDiLevel * pParaLevel, UErrorCode * pErrorCode) { |
| 662 | U_ICU_ENTRY_POINT_RENAME(ubidi_getParagraphByIndex)(pBiDi, paraIndex, pParaStart, pParaLimit, pParaLevel, pErrorCode); |
| 663 | } |
| 664 | int32_t ubidi_getProcessedLength(const UBiDi * pBiDi) { |
| 665 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getProcessedLength)(pBiDi); |
| 666 | } |
| 667 | UBiDiReorderingMode ubidi_getReorderingMode(UBiDi * pBiDi) { |
| 668 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getReorderingMode)(pBiDi); |
| 669 | } |
| 670 | uint32_t ubidi_getReorderingOptions(UBiDi * pBiDi) { |
| 671 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getReorderingOptions)(pBiDi); |
| 672 | } |
| 673 | int32_t ubidi_getResultLength(const UBiDi * pBiDi) { |
| 674 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getResultLength)(pBiDi); |
| 675 | } |
| 676 | const UChar * ubidi_getText(const UBiDi * pBiDi) { |
| 677 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getText)(pBiDi); |
| 678 | } |
| 679 | int32_t ubidi_getVisualIndex(UBiDi * pBiDi, int32_t logicalIndex, UErrorCode * pErrorCode) { |
| 680 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getVisualIndex)(pBiDi, logicalIndex, pErrorCode); |
| 681 | } |
| 682 | void ubidi_getVisualMap(UBiDi * pBiDi, int32_t * indexMap, UErrorCode * pErrorCode) { |
| 683 | U_ICU_ENTRY_POINT_RENAME(ubidi_getVisualMap)(pBiDi, indexMap, pErrorCode); |
| 684 | } |
| 685 | UBiDiDirection ubidi_getVisualRun(UBiDi * pBiDi, int32_t runIndex, int32_t * pLogicalStart, int32_t * pLength) { |
| 686 | return U_ICU_ENTRY_POINT_RENAME(ubidi_getVisualRun)(pBiDi, runIndex, pLogicalStart, pLength); |
| 687 | } |
| 688 | void ubidi_invertMap(const int32_t * srcMap, int32_t * destMap, int32_t length) { |
| 689 | U_ICU_ENTRY_POINT_RENAME(ubidi_invertMap)(srcMap, destMap, length); |
| 690 | } |
| 691 | UBool ubidi_isInverse(UBiDi * pBiDi) { |
| 692 | return U_ICU_ENTRY_POINT_RENAME(ubidi_isInverse)(pBiDi); |
| 693 | } |
| 694 | UBool ubidi_isOrderParagraphsLTR(UBiDi * pBiDi) { |
| 695 | return U_ICU_ENTRY_POINT_RENAME(ubidi_isOrderParagraphsLTR)(pBiDi); |
| 696 | } |
| 697 | UBiDi * ubidi_open() { |
| 698 | return U_ICU_ENTRY_POINT_RENAME(ubidi_open)(); |
| 699 | } |
| 700 | UBiDi * ubidi_openSized(int32_t maxLength, int32_t maxRunCount, UErrorCode * pErrorCode) { |
| 701 | return U_ICU_ENTRY_POINT_RENAME(ubidi_openSized)(maxLength, maxRunCount, pErrorCode); |
| 702 | } |
| 703 | void ubidi_orderParagraphsLTR(UBiDi * pBiDi, UBool orderParagraphsLTR) { |
| 704 | U_ICU_ENTRY_POINT_RENAME(ubidi_orderParagraphsLTR)(pBiDi, orderParagraphsLTR); |
| 705 | } |
| 706 | void ubidi_reorderLogical(const UBiDiLevel * levels, int32_t length, int32_t * indexMap) { |
| 707 | U_ICU_ENTRY_POINT_RENAME(ubidi_reorderLogical)(levels, length, indexMap); |
| 708 | } |
| 709 | void ubidi_reorderVisual(const UBiDiLevel * levels, int32_t length, int32_t * indexMap) { |
| 710 | U_ICU_ENTRY_POINT_RENAME(ubidi_reorderVisual)(levels, length, indexMap); |
| 711 | } |
| 712 | void ubidi_setClassCallback(UBiDi * pBiDi, UBiDiClassCallback * newFn, const void * newContext, UBiDiClassCallback ** oldFn, const void ** oldContext, UErrorCode * pErrorCode) { |
| 713 | U_ICU_ENTRY_POINT_RENAME(ubidi_setClassCallback)(pBiDi, newFn, newContext, oldFn, oldContext, pErrorCode); |
| 714 | } |
| 715 | void ubidi_setContext(UBiDi * pBiDi, const UChar * prologue, int32_t proLength, const UChar * epilogue, int32_t epiLength, UErrorCode * pErrorCode) { |
| 716 | U_ICU_ENTRY_POINT_RENAME(ubidi_setContext)(pBiDi, prologue, proLength, epilogue, epiLength, pErrorCode); |
| 717 | } |
| 718 | void ubidi_setInverse(UBiDi * pBiDi, UBool isInverse) { |
| 719 | U_ICU_ENTRY_POINT_RENAME(ubidi_setInverse)(pBiDi, isInverse); |
| 720 | } |
| 721 | void ubidi_setLine(const UBiDi * pParaBiDi, int32_t start, int32_t limit, UBiDi * pLineBiDi, UErrorCode * pErrorCode) { |
| 722 | U_ICU_ENTRY_POINT_RENAME(ubidi_setLine)(pParaBiDi, start, limit, pLineBiDi, pErrorCode); |
| 723 | } |
| 724 | void ubidi_setPara(UBiDi * pBiDi, const UChar * text, int32_t length, UBiDiLevel paraLevel, UBiDiLevel * embeddingLevels, UErrorCode * pErrorCode) { |
| 725 | U_ICU_ENTRY_POINT_RENAME(ubidi_setPara)(pBiDi, text, length, paraLevel, embeddingLevels, pErrorCode); |
| 726 | } |
| 727 | void ubidi_setReorderingMode(UBiDi * pBiDi, UBiDiReorderingMode reorderingMode) { |
| 728 | U_ICU_ENTRY_POINT_RENAME(ubidi_setReorderingMode)(pBiDi, reorderingMode); |
| 729 | } |
| 730 | void ubidi_setReorderingOptions(UBiDi * pBiDi, uint32_t reorderingOptions) { |
| 731 | U_ICU_ENTRY_POINT_RENAME(ubidi_setReorderingOptions)(pBiDi, reorderingOptions); |
| 732 | } |
| 733 | int32_t ubidi_writeReordered(UBiDi * pBiDi, UChar * dest, int32_t destSize, uint16_t options, UErrorCode * pErrorCode) { |
| 734 | return U_ICU_ENTRY_POINT_RENAME(ubidi_writeReordered)(pBiDi, dest, destSize, options, pErrorCode); |
| 735 | } |
| 736 | int32_t ubidi_writeReverse(const UChar * src, int32_t srcLength, UChar * dest, int32_t destSize, uint16_t options, UErrorCode * pErrorCode) { |
| 737 | return U_ICU_ENTRY_POINT_RENAME(ubidi_writeReverse)(src, srcLength, dest, destSize, options, pErrorCode); |
| 738 | } |
| 739 | void ubrk_close(UBreakIterator * bi) { |
| 740 | U_ICU_ENTRY_POINT_RENAME(ubrk_close)(bi); |
| 741 | } |
| 742 | int32_t ubrk_countAvailable() { |
| 743 | return U_ICU_ENTRY_POINT_RENAME(ubrk_countAvailable)(); |
| 744 | } |
| 745 | int32_t ubrk_current(const UBreakIterator * bi) { |
| 746 | return U_ICU_ENTRY_POINT_RENAME(ubrk_current)(bi); |
| 747 | } |
| 748 | int32_t ubrk_first(UBreakIterator * bi) { |
| 749 | return U_ICU_ENTRY_POINT_RENAME(ubrk_first)(bi); |
| 750 | } |
| 751 | int32_t ubrk_following(UBreakIterator * bi, int32_t offset) { |
| 752 | return U_ICU_ENTRY_POINT_RENAME(ubrk_following)(bi, offset); |
| 753 | } |
| 754 | const char * ubrk_getAvailable(int32_t index) { |
| 755 | return U_ICU_ENTRY_POINT_RENAME(ubrk_getAvailable)(index); |
| 756 | } |
| 757 | int32_t ubrk_getRuleStatus(UBreakIterator * bi) { |
| 758 | return U_ICU_ENTRY_POINT_RENAME(ubrk_getRuleStatus)(bi); |
| 759 | } |
| 760 | int32_t ubrk_getRuleStatusVec(UBreakIterator * bi, int32_t * fillInVec, int32_t capacity, UErrorCode * status) { |
| 761 | return U_ICU_ENTRY_POINT_RENAME(ubrk_getRuleStatusVec)(bi, fillInVec, capacity, status); |
| 762 | } |
| 763 | UBool ubrk_isBoundary(UBreakIterator * bi, int32_t offset) { |
| 764 | return U_ICU_ENTRY_POINT_RENAME(ubrk_isBoundary)(bi, offset); |
| 765 | } |
| 766 | int32_t ubrk_last(UBreakIterator * bi) { |
| 767 | return U_ICU_ENTRY_POINT_RENAME(ubrk_last)(bi); |
| 768 | } |
| 769 | int32_t ubrk_next(UBreakIterator * bi) { |
| 770 | return U_ICU_ENTRY_POINT_RENAME(ubrk_next)(bi); |
| 771 | } |
| 772 | UBreakIterator * ubrk_open(UBreakIteratorType type, const char * locale, const UChar * text, int32_t textLength, UErrorCode * status) { |
| 773 | return U_ICU_ENTRY_POINT_RENAME(ubrk_open)(type, locale, text, textLength, status); |
| 774 | } |
| 775 | int32_t ubrk_preceding(UBreakIterator * bi, int32_t offset) { |
| 776 | return U_ICU_ENTRY_POINT_RENAME(ubrk_preceding)(bi, offset); |
| 777 | } |
| 778 | int32_t ubrk_previous(UBreakIterator * bi) { |
| 779 | return U_ICU_ENTRY_POINT_RENAME(ubrk_previous)(bi); |
| 780 | } |
| 781 | void ubrk_setText(UBreakIterator * bi, const UChar * text, int32_t textLength, UErrorCode * status) { |
| 782 | U_ICU_ENTRY_POINT_RENAME(ubrk_setText)(bi, text, textLength, status); |
| 783 | } |
| 784 | void ubrk_setUText(UBreakIterator * bi, UText * text, UErrorCode * status) { |
| 785 | U_ICU_ENTRY_POINT_RENAME(ubrk_setUText)(bi, text, status); |
| 786 | } |
| 787 | void uenum_close(UEnumeration * en) { |
| 788 | U_ICU_ENTRY_POINT_RENAME(uenum_close)(en); |
| 789 | } |
| 790 | int32_t uenum_count(UEnumeration * en, UErrorCode * status) { |
| 791 | return U_ICU_ENTRY_POINT_RENAME(uenum_count)(en, status); |
| 792 | } |
| 793 | const char * uenum_next(UEnumeration * en, int32_t * resultLength, UErrorCode * status) { |
| 794 | return U_ICU_ENTRY_POINT_RENAME(uenum_next)(en, resultLength, status); |
| 795 | } |
| 796 | UEnumeration * uenum_openCharStringsEnumeration(const char *const strings[], int32_t count, UErrorCode * ec) { |
| 797 | return U_ICU_ENTRY_POINT_RENAME(uenum_openCharStringsEnumeration)(strings, count, ec); |
| 798 | } |
| 799 | UEnumeration * uenum_openUCharStringsEnumeration(const UChar *const strings[], int32_t count, UErrorCode * ec) { |
| 800 | return U_ICU_ENTRY_POINT_RENAME(uenum_openUCharStringsEnumeration)(strings, count, ec); |
| 801 | } |
| 802 | void uenum_reset(UEnumeration * en, UErrorCode * status) { |
| 803 | U_ICU_ENTRY_POINT_RENAME(uenum_reset)(en, status); |
| 804 | } |
| 805 | const UChar * uenum_unext(UEnumeration * en, int32_t * resultLength, UErrorCode * status) { |
| 806 | return U_ICU_ENTRY_POINT_RENAME(uenum_unext)(en, resultLength, status); |
| 807 | } |
| 808 | void uldn_close(ULocaleDisplayNames * ldn) { |
| 809 | U_ICU_ENTRY_POINT_RENAME(uldn_close)(ldn); |
| 810 | } |
| 811 | UDisplayContext uldn_getContext(const ULocaleDisplayNames * ldn, UDisplayContextType type, UErrorCode * pErrorCode) { |
| 812 | return U_ICU_ENTRY_POINT_RENAME(uldn_getContext)(ldn, type, pErrorCode); |
| 813 | } |
| 814 | UDialectHandling uldn_getDialectHandling(const ULocaleDisplayNames * ldn) { |
| 815 | return U_ICU_ENTRY_POINT_RENAME(uldn_getDialectHandling)(ldn); |
| 816 | } |
| 817 | const char * uldn_getLocale(const ULocaleDisplayNames * ldn) { |
| 818 | return U_ICU_ENTRY_POINT_RENAME(uldn_getLocale)(ldn); |
| 819 | } |
| 820 | int32_t uldn_keyDisplayName(const ULocaleDisplayNames * ldn, const char * key, UChar * result, int32_t maxResultSize, UErrorCode * pErrorCode) { |
| 821 | return U_ICU_ENTRY_POINT_RENAME(uldn_keyDisplayName)(ldn, key, result, maxResultSize, pErrorCode); |
| 822 | } |
| 823 | int32_t uldn_keyValueDisplayName(const ULocaleDisplayNames * ldn, const char * key, const char * value, UChar * result, int32_t maxResultSize, UErrorCode * pErrorCode) { |
| 824 | return U_ICU_ENTRY_POINT_RENAME(uldn_keyValueDisplayName)(ldn, key, value, result, maxResultSize, pErrorCode); |
| 825 | } |
| 826 | int32_t uldn_languageDisplayName(const ULocaleDisplayNames * ldn, const char * lang, UChar * result, int32_t maxResultSize, UErrorCode * pErrorCode) { |
| 827 | return U_ICU_ENTRY_POINT_RENAME(uldn_languageDisplayName)(ldn, lang, result, maxResultSize, pErrorCode); |
| 828 | } |
| 829 | int32_t uldn_localeDisplayName(const ULocaleDisplayNames * ldn, const char * locale, UChar * result, int32_t maxResultSize, UErrorCode * pErrorCode) { |
| 830 | return U_ICU_ENTRY_POINT_RENAME(uldn_localeDisplayName)(ldn, locale, result, maxResultSize, pErrorCode); |
| 831 | } |
| 832 | ULocaleDisplayNames * uldn_open(const char * locale, UDialectHandling dialectHandling, UErrorCode * pErrorCode) { |
| 833 | return U_ICU_ENTRY_POINT_RENAME(uldn_open)(locale, dialectHandling, pErrorCode); |
| 834 | } |
| 835 | ULocaleDisplayNames * uldn_openForContext(const char * locale, UDisplayContext * contexts, int32_t length, UErrorCode * pErrorCode) { |
| 836 | return U_ICU_ENTRY_POINT_RENAME(uldn_openForContext)(locale, contexts, length, pErrorCode); |
| 837 | } |
| 838 | int32_t uldn_regionDisplayName(const ULocaleDisplayNames * ldn, const char * region, UChar * result, int32_t maxResultSize, UErrorCode * pErrorCode) { |
| 839 | return U_ICU_ENTRY_POINT_RENAME(uldn_regionDisplayName)(ldn, region, result, maxResultSize, pErrorCode); |
| 840 | } |
| 841 | int32_t uldn_scriptCodeDisplayName(const ULocaleDisplayNames * ldn, UScriptCode scriptCode, UChar * result, int32_t maxResultSize, UErrorCode * pErrorCode) { |
| 842 | return U_ICU_ENTRY_POINT_RENAME(uldn_scriptCodeDisplayName)(ldn, scriptCode, result, maxResultSize, pErrorCode); |
| 843 | } |
| 844 | int32_t uldn_scriptDisplayName(const ULocaleDisplayNames * ldn, const char * script, UChar * result, int32_t maxResultSize, UErrorCode * pErrorCode) { |
| 845 | return U_ICU_ENTRY_POINT_RENAME(uldn_scriptDisplayName)(ldn, script, result, maxResultSize, pErrorCode); |
| 846 | } |
| 847 | int32_t uldn_variantDisplayName(const ULocaleDisplayNames * ldn, const char * variant, UChar * result, int32_t maxResultSize, UErrorCode * pErrorCode) { |
| 848 | return U_ICU_ENTRY_POINT_RENAME(uldn_variantDisplayName)(ldn, variant, result, maxResultSize, pErrorCode); |
| 849 | } |
Victor Chang | 2b8ba1e | 2020-08-19 18:14:25 +0100 | [diff] [blame] | 850 | int32_t uloc_acceptLanguage(char * result, int32_t resultAvailable, UAcceptResult * outResult, const char ** acceptList, int32_t acceptListCount, UEnumeration * availableLocales, UErrorCode * status) { |
| 851 | return U_ICU_ENTRY_POINT_RENAME(uloc_acceptLanguage)(result, resultAvailable, outResult, acceptList, acceptListCount, availableLocales, status); |
| 852 | } |
| 853 | int32_t uloc_addLikelySubtags(const char * localeID, char * maximizedLocaleID, int32_t maximizedLocaleIDCapacity, UErrorCode * err) { |
| 854 | return U_ICU_ENTRY_POINT_RENAME(uloc_addLikelySubtags)(localeID, maximizedLocaleID, maximizedLocaleIDCapacity, err); |
| 855 | } |
| 856 | int32_t uloc_canonicalize(const char * localeID, char * name, int32_t nameCapacity, UErrorCode * err) { |
| 857 | return U_ICU_ENTRY_POINT_RENAME(uloc_canonicalize)(localeID, name, nameCapacity, err); |
| 858 | } |
| 859 | int32_t uloc_countAvailable() { |
| 860 | return U_ICU_ENTRY_POINT_RENAME(uloc_countAvailable)(); |
| 861 | } |
| 862 | int32_t uloc_forLanguageTag(const char * langtag, char * localeID, int32_t localeIDCapacity, int32_t * parsedLength, UErrorCode * err) { |
| 863 | return U_ICU_ENTRY_POINT_RENAME(uloc_forLanguageTag)(langtag, localeID, localeIDCapacity, parsedLength, err); |
| 864 | } |
| 865 | const char * uloc_getAvailable(int32_t n) { |
| 866 | return U_ICU_ENTRY_POINT_RENAME(uloc_getAvailable)(n); |
| 867 | } |
| 868 | int32_t uloc_getBaseName(const char * localeID, char * name, int32_t nameCapacity, UErrorCode * err) { |
| 869 | return U_ICU_ENTRY_POINT_RENAME(uloc_getBaseName)(localeID, name, nameCapacity, err); |
| 870 | } |
| 871 | ULayoutType uloc_getCharacterOrientation(const char * localeId, UErrorCode * status) { |
| 872 | return U_ICU_ENTRY_POINT_RENAME(uloc_getCharacterOrientation)(localeId, status); |
| 873 | } |
| 874 | int32_t uloc_getCountry(const char * localeID, char * country, int32_t countryCapacity, UErrorCode * err) { |
| 875 | return U_ICU_ENTRY_POINT_RENAME(uloc_getCountry)(localeID, country, countryCapacity, err); |
| 876 | } |
Victor Chang | 7de8cc2 | 2020-09-08 11:53:38 +0100 | [diff] [blame] | 877 | const char * uloc_getDefault() { |
| 878 | return U_ICU_ENTRY_POINT_RENAME(uloc_getDefault)(); |
| 879 | } |
Victor Chang | 2b8ba1e | 2020-08-19 18:14:25 +0100 | [diff] [blame] | 880 | int32_t uloc_getDisplayCountry(const char * locale, const char * displayLocale, UChar * country, int32_t countryCapacity, UErrorCode * status) { |
| 881 | return U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayCountry)(locale, displayLocale, country, countryCapacity, status); |
| 882 | } |
| 883 | int32_t uloc_getDisplayKeyword(const char * keyword, const char * displayLocale, UChar * dest, int32_t destCapacity, UErrorCode * status) { |
| 884 | return U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayKeyword)(keyword, displayLocale, dest, destCapacity, status); |
| 885 | } |
| 886 | int32_t uloc_getDisplayKeywordValue(const char * locale, const char * keyword, const char * displayLocale, UChar * dest, int32_t destCapacity, UErrorCode * status) { |
| 887 | return U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayKeywordValue)(locale, keyword, displayLocale, dest, destCapacity, status); |
| 888 | } |
| 889 | int32_t uloc_getDisplayLanguage(const char * locale, const char * displayLocale, UChar * language, int32_t languageCapacity, UErrorCode * status) { |
| 890 | return U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayLanguage)(locale, displayLocale, language, languageCapacity, status); |
| 891 | } |
| 892 | int32_t uloc_getDisplayName(const char * localeID, const char * inLocaleID, UChar * result, int32_t maxResultSize, UErrorCode * err) { |
| 893 | return U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayName)(localeID, inLocaleID, result, maxResultSize, err); |
| 894 | } |
| 895 | int32_t uloc_getDisplayScript(const char * locale, const char * displayLocale, UChar * script, int32_t scriptCapacity, UErrorCode * status) { |
| 896 | return U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayScript)(locale, displayLocale, script, scriptCapacity, status); |
| 897 | } |
| 898 | int32_t uloc_getDisplayVariant(const char * locale, const char * displayLocale, UChar * variant, int32_t variantCapacity, UErrorCode * status) { |
| 899 | return U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayVariant)(locale, displayLocale, variant, variantCapacity, status); |
| 900 | } |
| 901 | const char * uloc_getISO3Country(const char * localeID) { |
| 902 | return U_ICU_ENTRY_POINT_RENAME(uloc_getISO3Country)(localeID); |
| 903 | } |
| 904 | const char * uloc_getISO3Language(const char * localeID) { |
| 905 | return U_ICU_ENTRY_POINT_RENAME(uloc_getISO3Language)(localeID); |
| 906 | } |
| 907 | const char *const * uloc_getISOCountries() { |
| 908 | return U_ICU_ENTRY_POINT_RENAME(uloc_getISOCountries)(); |
| 909 | } |
| 910 | const char *const * uloc_getISOLanguages() { |
| 911 | return U_ICU_ENTRY_POINT_RENAME(uloc_getISOLanguages)(); |
| 912 | } |
| 913 | int32_t uloc_getKeywordValue(const char * localeID, const char * keywordName, char * buffer, int32_t bufferCapacity, UErrorCode * status) { |
| 914 | return U_ICU_ENTRY_POINT_RENAME(uloc_getKeywordValue)(localeID, keywordName, buffer, bufferCapacity, status); |
| 915 | } |
| 916 | int32_t uloc_getLanguage(const char * localeID, char * language, int32_t languageCapacity, UErrorCode * err) { |
| 917 | return U_ICU_ENTRY_POINT_RENAME(uloc_getLanguage)(localeID, language, languageCapacity, err); |
| 918 | } |
| 919 | ULayoutType uloc_getLineOrientation(const char * localeId, UErrorCode * status) { |
| 920 | return U_ICU_ENTRY_POINT_RENAME(uloc_getLineOrientation)(localeId, status); |
| 921 | } |
| 922 | int32_t uloc_getName(const char * localeID, char * name, int32_t nameCapacity, UErrorCode * err) { |
| 923 | return U_ICU_ENTRY_POINT_RENAME(uloc_getName)(localeID, name, nameCapacity, err); |
| 924 | } |
| 925 | int32_t uloc_getScript(const char * localeID, char * script, int32_t scriptCapacity, UErrorCode * err) { |
| 926 | return U_ICU_ENTRY_POINT_RENAME(uloc_getScript)(localeID, script, scriptCapacity, err); |
| 927 | } |
| 928 | int32_t uloc_getVariant(const char * localeID, char * variant, int32_t variantCapacity, UErrorCode * err) { |
| 929 | return U_ICU_ENTRY_POINT_RENAME(uloc_getVariant)(localeID, variant, variantCapacity, err); |
| 930 | } |
| 931 | UBool uloc_isRightToLeft(const char * locale) { |
| 932 | return U_ICU_ENTRY_POINT_RENAME(uloc_isRightToLeft)(locale); |
| 933 | } |
| 934 | int32_t uloc_minimizeSubtags(const char * localeID, char * minimizedLocaleID, int32_t minimizedLocaleIDCapacity, UErrorCode * err) { |
| 935 | return U_ICU_ENTRY_POINT_RENAME(uloc_minimizeSubtags)(localeID, minimizedLocaleID, minimizedLocaleIDCapacity, err); |
| 936 | } |
| 937 | UEnumeration * uloc_openKeywords(const char * localeID, UErrorCode * status) { |
| 938 | return U_ICU_ENTRY_POINT_RENAME(uloc_openKeywords)(localeID, status); |
| 939 | } |
| 940 | int32_t uloc_setKeywordValue(const char * keywordName, const char * keywordValue, char * buffer, int32_t bufferCapacity, UErrorCode * status) { |
| 941 | return U_ICU_ENTRY_POINT_RENAME(uloc_setKeywordValue)(keywordName, keywordValue, buffer, bufferCapacity, status); |
| 942 | } |
| 943 | int32_t uloc_toLanguageTag(const char * localeID, char * langtag, int32_t langtagCapacity, UBool strict, UErrorCode * err) { |
| 944 | return U_ICU_ENTRY_POINT_RENAME(uloc_toLanguageTag)(localeID, langtag, langtagCapacity, strict, err); |
| 945 | } |
| 946 | const char * uloc_toLegacyKey(const char * keyword) { |
| 947 | return U_ICU_ENTRY_POINT_RENAME(uloc_toLegacyKey)(keyword); |
| 948 | } |
| 949 | const char * uloc_toLegacyType(const char * keyword, const char * value) { |
| 950 | return U_ICU_ENTRY_POINT_RENAME(uloc_toLegacyType)(keyword, value); |
| 951 | } |
| 952 | const char * uloc_toUnicodeLocaleKey(const char * keyword) { |
| 953 | return U_ICU_ENTRY_POINT_RENAME(uloc_toUnicodeLocaleKey)(keyword); |
| 954 | } |
| 955 | const char * uloc_toUnicodeLocaleType(const char * keyword, const char * value) { |
| 956 | return U_ICU_ENTRY_POINT_RENAME(uloc_toUnicodeLocaleType)(keyword, value); |
| 957 | } |
Victor Chang | 2c8a76d | 2020-10-27 17:27:57 +0000 | [diff] [blame] | 958 | void ulocdata_getCLDRVersion(UVersionInfo versionArray, UErrorCode * status) { |
| 959 | U_ICU_ENTRY_POINT_RENAME(ulocdata_getCLDRVersion)(versionArray, status); |
| 960 | } |
Victor Chang | f1a8c98 | 2020-11-20 18:16:37 +0000 | [diff] [blame^] | 961 | int32_t unorm2_append(const UNormalizer2 * norm2, UChar * first, int32_t firstLength, int32_t firstCapacity, const UChar * second, int32_t secondLength, UErrorCode * pErrorCode) { |
| 962 | return U_ICU_ENTRY_POINT_RENAME(unorm2_append)(norm2, first, firstLength, firstCapacity, second, secondLength, pErrorCode); |
| 963 | } |
| 964 | void unorm2_close(UNormalizer2 * norm2) { |
| 965 | U_ICU_ENTRY_POINT_RENAME(unorm2_close)(norm2); |
| 966 | } |
| 967 | UChar32 unorm2_composePair(const UNormalizer2 * norm2, UChar32 a, UChar32 b) { |
| 968 | return U_ICU_ENTRY_POINT_RENAME(unorm2_composePair)(norm2, a, b); |
| 969 | } |
| 970 | uint8_t unorm2_getCombiningClass(const UNormalizer2 * norm2, UChar32 c) { |
| 971 | return U_ICU_ENTRY_POINT_RENAME(unorm2_getCombiningClass)(norm2, c); |
| 972 | } |
| 973 | int32_t unorm2_getDecomposition(const UNormalizer2 * norm2, UChar32 c, UChar * decomposition, int32_t capacity, UErrorCode * pErrorCode) { |
| 974 | return U_ICU_ENTRY_POINT_RENAME(unorm2_getDecomposition)(norm2, c, decomposition, capacity, pErrorCode); |
| 975 | } |
| 976 | const UNormalizer2 * unorm2_getNFCInstance(UErrorCode * pErrorCode) { |
| 977 | return U_ICU_ENTRY_POINT_RENAME(unorm2_getNFCInstance)(pErrorCode); |
| 978 | } |
| 979 | const UNormalizer2 * unorm2_getNFDInstance(UErrorCode * pErrorCode) { |
| 980 | return U_ICU_ENTRY_POINT_RENAME(unorm2_getNFDInstance)(pErrorCode); |
| 981 | } |
| 982 | const UNormalizer2 * unorm2_getNFKCCasefoldInstance(UErrorCode * pErrorCode) { |
| 983 | return U_ICU_ENTRY_POINT_RENAME(unorm2_getNFKCCasefoldInstance)(pErrorCode); |
| 984 | } |
| 985 | const UNormalizer2 * unorm2_getNFKCInstance(UErrorCode * pErrorCode) { |
| 986 | return U_ICU_ENTRY_POINT_RENAME(unorm2_getNFKCInstance)(pErrorCode); |
| 987 | } |
| 988 | const UNormalizer2 * unorm2_getNFKDInstance(UErrorCode * pErrorCode) { |
| 989 | return U_ICU_ENTRY_POINT_RENAME(unorm2_getNFKDInstance)(pErrorCode); |
| 990 | } |
| 991 | int32_t unorm2_getRawDecomposition(const UNormalizer2 * norm2, UChar32 c, UChar * decomposition, int32_t capacity, UErrorCode * pErrorCode) { |
| 992 | return U_ICU_ENTRY_POINT_RENAME(unorm2_getRawDecomposition)(norm2, c, decomposition, capacity, pErrorCode); |
| 993 | } |
| 994 | UBool unorm2_hasBoundaryAfter(const UNormalizer2 * norm2, UChar32 c) { |
| 995 | return U_ICU_ENTRY_POINT_RENAME(unorm2_hasBoundaryAfter)(norm2, c); |
| 996 | } |
| 997 | UBool unorm2_hasBoundaryBefore(const UNormalizer2 * norm2, UChar32 c) { |
| 998 | return U_ICU_ENTRY_POINT_RENAME(unorm2_hasBoundaryBefore)(norm2, c); |
| 999 | } |
| 1000 | UBool unorm2_isInert(const UNormalizer2 * norm2, UChar32 c) { |
| 1001 | return U_ICU_ENTRY_POINT_RENAME(unorm2_isInert)(norm2, c); |
| 1002 | } |
| 1003 | UBool unorm2_isNormalized(const UNormalizer2 * norm2, const UChar * s, int32_t length, UErrorCode * pErrorCode) { |
| 1004 | return U_ICU_ENTRY_POINT_RENAME(unorm2_isNormalized)(norm2, s, length, pErrorCode); |
| 1005 | } |
| 1006 | int32_t unorm2_normalize(const UNormalizer2 * norm2, const UChar * src, int32_t length, UChar * dest, int32_t capacity, UErrorCode * pErrorCode) { |
| 1007 | return U_ICU_ENTRY_POINT_RENAME(unorm2_normalize)(norm2, src, length, dest, capacity, pErrorCode); |
| 1008 | } |
| 1009 | int32_t unorm2_normalizeSecondAndAppend(const UNormalizer2 * norm2, UChar * first, int32_t firstLength, int32_t firstCapacity, const UChar * second, int32_t secondLength, UErrorCode * pErrorCode) { |
| 1010 | return U_ICU_ENTRY_POINT_RENAME(unorm2_normalizeSecondAndAppend)(norm2, first, firstLength, firstCapacity, second, secondLength, pErrorCode); |
| 1011 | } |
| 1012 | UNormalizationCheckResult unorm2_quickCheck(const UNormalizer2 * norm2, const UChar * s, int32_t length, UErrorCode * pErrorCode) { |
| 1013 | return U_ICU_ENTRY_POINT_RENAME(unorm2_quickCheck)(norm2, s, length, pErrorCode); |
| 1014 | } |
| 1015 | int32_t unorm2_spanQuickCheckYes(const UNormalizer2 * norm2, const UChar * s, int32_t length, UErrorCode * pErrorCode) { |
| 1016 | return U_ICU_ENTRY_POINT_RENAME(unorm2_spanQuickCheckYes)(norm2, s, length, pErrorCode); |
| 1017 | } |
| 1018 | UBool uscript_breaksBetweenLetters(UScriptCode script) { |
| 1019 | return U_ICU_ENTRY_POINT_RENAME(uscript_breaksBetweenLetters)(script); |
| 1020 | } |
| 1021 | int32_t uscript_getCode(const char * nameOrAbbrOrLocale, UScriptCode * fillIn, int32_t capacity, UErrorCode * err) { |
| 1022 | return U_ICU_ENTRY_POINT_RENAME(uscript_getCode)(nameOrAbbrOrLocale, fillIn, capacity, err); |
| 1023 | } |
| 1024 | const char * uscript_getName(UScriptCode scriptCode) { |
| 1025 | return U_ICU_ENTRY_POINT_RENAME(uscript_getName)(scriptCode); |
| 1026 | } |
| 1027 | int32_t uscript_getSampleString(UScriptCode script, UChar * dest, int32_t capacity, UErrorCode * pErrorCode) { |
| 1028 | return U_ICU_ENTRY_POINT_RENAME(uscript_getSampleString)(script, dest, capacity, pErrorCode); |
| 1029 | } |
| 1030 | UScriptCode uscript_getScript(UChar32 codepoint, UErrorCode * err) { |
| 1031 | return U_ICU_ENTRY_POINT_RENAME(uscript_getScript)(codepoint, err); |
| 1032 | } |
| 1033 | int32_t uscript_getScriptExtensions(UChar32 c, UScriptCode * scripts, int32_t capacity, UErrorCode * errorCode) { |
| 1034 | return U_ICU_ENTRY_POINT_RENAME(uscript_getScriptExtensions)(c, scripts, capacity, errorCode); |
| 1035 | } |
| 1036 | const char * uscript_getShortName(UScriptCode scriptCode) { |
| 1037 | return U_ICU_ENTRY_POINT_RENAME(uscript_getShortName)(scriptCode); |
| 1038 | } |
| 1039 | UScriptUsage uscript_getUsage(UScriptCode script) { |
| 1040 | return U_ICU_ENTRY_POINT_RENAME(uscript_getUsage)(script); |
| 1041 | } |
| 1042 | UBool uscript_hasScript(UChar32 c, UScriptCode sc) { |
| 1043 | return U_ICU_ENTRY_POINT_RENAME(uscript_hasScript)(c, sc); |
| 1044 | } |
| 1045 | UBool uscript_isCased(UScriptCode script) { |
| 1046 | return U_ICU_ENTRY_POINT_RENAME(uscript_isCased)(script); |
| 1047 | } |
| 1048 | UBool uscript_isRightToLeft(UScriptCode script) { |
| 1049 | return U_ICU_ENTRY_POINT_RENAME(uscript_isRightToLeft)(script); |
| 1050 | } |
| 1051 | UChar32 utext_char32At(UText * ut, int64_t nativeIndex) { |
| 1052 | return U_ICU_ENTRY_POINT_RENAME(utext_char32At)(ut, nativeIndex); |
| 1053 | } |
| 1054 | UText * utext_clone(UText * dest, const UText * src, UBool deep, UBool readOnly, UErrorCode * status) { |
| 1055 | return U_ICU_ENTRY_POINT_RENAME(utext_clone)(dest, src, deep, readOnly, status); |
| 1056 | } |
| 1057 | UText * utext_close(UText * ut) { |
| 1058 | return U_ICU_ENTRY_POINT_RENAME(utext_close)(ut); |
| 1059 | } |
| 1060 | UChar32 utext_current32(UText * ut) { |
| 1061 | return U_ICU_ENTRY_POINT_RENAME(utext_current32)(ut); |
| 1062 | } |
| 1063 | UBool utext_equals(const UText * a, const UText * b) { |
| 1064 | return U_ICU_ENTRY_POINT_RENAME(utext_equals)(a, b); |
| 1065 | } |
| 1066 | int32_t utext_extract(UText * ut, int64_t nativeStart, int64_t nativeLimit, UChar * dest, int32_t destCapacity, UErrorCode * status) { |
| 1067 | return U_ICU_ENTRY_POINT_RENAME(utext_extract)(ut, nativeStart, nativeLimit, dest, destCapacity, status); |
| 1068 | } |
| 1069 | int64_t utext_getNativeIndex(const UText * ut) { |
| 1070 | return U_ICU_ENTRY_POINT_RENAME(utext_getNativeIndex)(ut); |
| 1071 | } |
| 1072 | UBool utext_moveIndex32(UText * ut, int32_t delta) { |
| 1073 | return U_ICU_ENTRY_POINT_RENAME(utext_moveIndex32)(ut, delta); |
| 1074 | } |
| 1075 | int64_t utext_nativeLength(UText * ut) { |
| 1076 | return U_ICU_ENTRY_POINT_RENAME(utext_nativeLength)(ut); |
| 1077 | } |
| 1078 | UChar32 utext_next32(UText * ut) { |
| 1079 | return U_ICU_ENTRY_POINT_RENAME(utext_next32)(ut); |
| 1080 | } |
| 1081 | UChar32 utext_next32From(UText * ut, int64_t nativeIndex) { |
| 1082 | return U_ICU_ENTRY_POINT_RENAME(utext_next32From)(ut, nativeIndex); |
| 1083 | } |
| 1084 | UText * utext_openUChars(UText * ut, const UChar * s, int64_t length, UErrorCode * status) { |
| 1085 | return U_ICU_ENTRY_POINT_RENAME(utext_openUChars)(ut, s, length, status); |
| 1086 | } |
| 1087 | UText * utext_openUTF8(UText * ut, const char * s, int64_t length, UErrorCode * status) { |
| 1088 | return U_ICU_ENTRY_POINT_RENAME(utext_openUTF8)(ut, s, length, status); |
| 1089 | } |
| 1090 | UChar32 utext_previous32(UText * ut) { |
| 1091 | return U_ICU_ENTRY_POINT_RENAME(utext_previous32)(ut); |
| 1092 | } |
| 1093 | UChar32 utext_previous32From(UText * ut, int64_t nativeIndex) { |
| 1094 | return U_ICU_ENTRY_POINT_RENAME(utext_previous32From)(ut, nativeIndex); |
| 1095 | } |
| 1096 | void utext_setNativeIndex(UText * ut, int64_t nativeIndex) { |
| 1097 | U_ICU_ENTRY_POINT_RENAME(utext_setNativeIndex)(ut, nativeIndex); |
| 1098 | } |
Victor Chang | 2b8ba1e | 2020-08-19 18:14:25 +0100 | [diff] [blame] | 1099 | } |