1# Copyright (C) 2018 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15# The shim library includes the stable C symbols exposed by libicuuc.so. 16# 17# If a new symbol is needed in the shim, please add the API in the following list, 18# and re-run external/icu/tools/icu4c_srcgen/generate_ndk.py. 19 20u_charAge,31 21u_charDigitValue,31 22u_charDirection,31 23u_charFromName,31 24u_charMirror,31 25u_charName,31 26u_charType,31 27u_countChar32,31 28u_digit,31 29u_enumCharNames,31 30u_enumCharTypes,31 31u_errorName,31 32u_foldCase,31 33u_forDigit,31 34u_getBidiPairedBracket,31 35u_getCombiningClass,31 36u_getIntPropertyMaxValue,31 37u_getIntPropertyMinValue,31 38u_getIntPropertyValue,31 39u_getNumericValue,31 40u_getPropertyEnum,31 41u_getPropertyName,31 42u_getPropertyValueEnum,31 43u_getPropertyValueName,31 44u_getUnicodeVersion,31 45u_getVersion,31 46u_hasBinaryProperty,31 47u_isIDIgnorable,31 48u_isIDPart,31 49u_isIDStart,31 50u_isISOControl,31 51u_isJavaIDPart,31 52u_isJavaIDStart,31 53u_isJavaSpaceChar,31 54u_isMirrored,31 55u_isUAlphabetic,31 56u_isULowercase,31 57u_isUUppercase,31 58u_isUWhiteSpace,31 59u_isWhitespace,31 60u_isalnum,31 61u_isalpha,31 62u_isbase,31 63u_isblank,31 64u_iscntrl,31 65u_isdefined,31 66u_isdigit,31 67u_isgraph,31 68u_islower,31 69u_isprint,31 70u_ispunct,31 71u_isspace,31 72u_istitle,31 73u_isupper,31 74u_isxdigit,31 75u_memcasecmp,31 76u_memchr,31 77u_memchr32,31 78u_memcmp,31 79u_memcmpCodePointOrder,31 80u_memcpy,31 81u_memmove,31 82u_memrchr,31 83u_memrchr32,31 84u_memset,31 85u_strCaseCompare,31 86u_strCompare,31 87u_strFindFirst,31 88u_strFindLast,31 89u_strFoldCase,31 90u_strFromUTF32,31 91u_strFromUTF32WithSub,31 92u_strFromUTF8,31 93u_strFromUTF8Lenient,31 94u_strFromUTF8WithSub,31 95u_strHasMoreChar32Than,31 96u_strToLower,31 97u_strToTitle,31 98u_strToUTF32,31 99u_strToUTF32WithSub,31 100u_strToUTF8,31 101u_strToUTF8WithSub,31 102u_strToUpper,31 103u_strcasecmp,31 104u_strcat,31 105u_strchr,31 106u_strchr32,31 107u_strcmp,31 108u_strcmpCodePointOrder,31 109u_strcpy,31 110u_strcspn,31 111u_strlen,31 112u_strncasecmp,31 113u_strncat,31 114u_strncmp,31 115u_strncmpCodePointOrder,31 116u_strncpy,31 117u_strpbrk,31 118u_strrchr,31 119u_strrchr32,31 120u_strrstr,31 121u_strspn,31 122u_strstr,31 123u_strtok_r,31 124u_tolower,31 125u_totitle,31 126u_toupper,31 127u_versionToString,31 128ubidi_close,31 129ubidi_countParagraphs,31 130ubidi_countRuns,31 131ubidi_getBaseDirection,31 132ubidi_getClassCallback,31 133ubidi_getCustomizedClass,31 134ubidi_getDirection,31 135ubidi_getLength,31 136ubidi_getLevelAt,31 137ubidi_getLevels,31 138ubidi_getLogicalIndex,31 139ubidi_getLogicalMap,31 140ubidi_getLogicalRun,31 141ubidi_getParaLevel,31 142ubidi_getParagraph,31 143ubidi_getParagraphByIndex,31 144ubidi_getProcessedLength,31 145ubidi_getReorderingMode,31 146ubidi_getReorderingOptions,31 147ubidi_getResultLength,31 148ubidi_getText,31 149ubidi_getVisualIndex,31 150ubidi_getVisualMap,31 151ubidi_getVisualRun,31 152ubidi_invertMap,31 153ubidi_isInverse,31 154ubidi_isOrderParagraphsLTR,31 155ubidi_open,31 156ubidi_openSized,31 157ubidi_orderParagraphsLTR,31 158ubidi_reorderLogical,31 159ubidi_reorderVisual,31 160ubidi_setClassCallback,31 161ubidi_setContext,31 162ubidi_setInverse,31 163ubidi_setLine,31 164ubidi_setPara,31 165ubidi_setReorderingMode,31 166ubidi_setReorderingOptions,31 167ubidi_writeReordered,31 168ubidi_writeReverse,31 169ubrk_clone,31 170ubrk_close,31 171ubrk_countAvailable,31 172ubrk_current,31 173ubrk_first,31 174ubrk_following,31 175ubrk_getAvailable,31 176ubrk_getRuleStatus,31 177ubrk_getRuleStatusVec,31 178ubrk_isBoundary,31 179ubrk_last,31 180ubrk_next,31 181ubrk_open,31 182ubrk_preceding,31 183ubrk_previous,31 184ubrk_setText,31 185ubrk_setUText,31 186# Don't expose the following API because NDK has no mutable APIs for UText yet. 187# ubrk_refreshUText 188# Don't expose the following APIs because android.icu.text.RuleBasedBreakIterator is not 189# public API yet. 190# ubrk_getBinaryRules 191# ubrk_getLocaleByType 192# ubrk_openBinaryRules 193# ubrk_openRules 194ucol_clone,T 195ucol_close,T 196ucol_countAvailable,T 197ucol_getAttribute,T 198ucol_getAvailable,T 199ucol_getDisplayName,T 200ucol_getEquivalentReorderCodes,T 201ucol_getFunctionalEquivalent,T 202ucol_getKeywords,T 203ucol_getKeywordValues,T 204ucol_getKeywordValuesForLocale,T 205ucol_getMaxVariable,T 206ucol_getReorderCodes,T 207ucol_getSortKey,T 208ucol_getStrength,T 209ucol_open,T 210ucol_openRules,T 211ucol_openAvailableLocales,T 212ucol_mergeSortkeys,T 213ucol_setStrength,T 214ucol_setReorderCodes,T 215ucol_setAttribute,T 216ucol_setMaxVariable,T 217ucol_strcoll,T 218ucol_strcollUTF8,T 219# UCharIterator and uiter_* are not APIs in NDK yet 220# ucol_strcollIter 221# No equivalent API in android.icu.text.Collator yet 222# ucol_getLocaleByType 223uenum_close,31 224uenum_count,31 225uenum_next,31 226uenum_openCharStringsEnumeration,31 227uenum_openUCharStringsEnumeration,31 228uenum_reset,31 229uenum_unext,31 230uldn_close,31 231uldn_getContext,31 232uldn_getDialectHandling,31 233uldn_getLocale,31 234uldn_keyDisplayName,31 235uldn_keyValueDisplayName,31 236uldn_languageDisplayName,31 237uldn_localeDisplayName,31 238uldn_open,31 239uldn_openForContext,31 240uldn_regionDisplayName,31 241uldn_scriptCodeDisplayName,31 242uldn_scriptDisplayName,31 243uldn_variantDisplayName,31 244ulocdata_getCLDRVersion,31 245uloc_acceptLanguage,31 246uloc_addLikelySubtags,31 247uloc_canonicalize,31 248uloc_countAvailable,31 249uloc_forLanguageTag,31 250uloc_getAvailable,31 251uloc_getBaseName,31 252uloc_getCharacterOrientation,31 253uloc_getCountry,31 254uloc_getDefault,31 255uloc_getDisplayCountry,31 256uloc_getDisplayKeyword,31 257uloc_getDisplayKeywordValue,31 258uloc_getDisplayLanguage,31 259uloc_getDisplayName,31 260uloc_getDisplayScript,31 261uloc_getDisplayVariant,31 262uloc_getISO3Country,31 263uloc_getISO3Language,31 264uloc_getISOCountries,31 265uloc_getISOLanguages,31 266uloc_getKeywordValue,31 267uloc_getLanguage,31 268uloc_getLineOrientation,31 269uloc_getName,31 270uloc_getScript,31 271uloc_getVariant,31 272uloc_isRightToLeft,31 273uloc_minimizeSubtags,31 274uloc_openKeywords,31 275uloc_setKeywordValue,31 276uloc_toLanguageTag,31 277uloc_toLegacyKey,31 278uloc_toLegacyType,31 279uloc_toUnicodeLocaleKey,31 280uloc_toUnicodeLocaleType,31 281unorm2_append,31 282unorm2_close,31 283unorm2_composePair,31 284unorm2_getCombiningClass,31 285unorm2_getDecomposition,31 286unorm2_getNFCInstance,31 287unorm2_getNFDInstance,31 288unorm2_getNFKCCasefoldInstance,31 289unorm2_getNFKCInstance,31 290unorm2_getNFKDInstance,31 291unorm2_getRawDecomposition,31 292unorm2_hasBoundaryAfter,31 293unorm2_hasBoundaryBefore,31 294unorm2_isInert,31 295unorm2_isNormalized,31 296unorm2_normalize,31 297unorm2_normalizeSecondAndAppend,31 298unorm2_quickCheck,31 299unorm2_spanQuickCheckYes,31 300# Do not support reading app-supplied .nrm data file. 301# unorm2_getInstance 302# The java counterpart android.icu.text.FilteredNormalizer2 is not a public API yet. 303# unorm2_openFiltered 304uscript_breaksBetweenLetters,31 305uscript_getCode,31 306uscript_getName,31 307uscript_getSampleString,31 308uscript_getScript,31 309uscript_getScriptExtensions,31 310uscript_getShortName,31 311uscript_getUsage,31 312uscript_hasScript,31 313uscript_isCased,31 314uscript_isRightToLeft,31 315utext_char32At,31 316utext_clone,31 317utext_close,31 318utext_current32,31 319utext_equals,31 320utext_extract,31 321utext_getNativeIndex,31 322utext_moveIndex32,31 323utext_nativeLength,31 324utext_next32,31 325utext_next32From,31 326utext_openUChars,31 327utext_openUTF8,31 328utext_previous32,31 329utext_previous32From,31 330utext_setNativeIndex,31 331# Do not expose the following APIs because mutability of UText is not strictly required by the users 332# , e.g. when being used in UBreakIterator. 333# utext_copy 334# utext_freeze 335# utext_isWritable 336# utext_replace 337# utext_setup 338# No strong use case of the following APIs is found yet. 339# utext_getPreviousNativeIndex 340# utext_hasMetaData 341# utext_isLengthExpensive 342utrans_clone,T 343utrans_close,T 344utrans_openIDs,T 345utrans_openInverse,T 346utrans_openU,T 347utrans_setFilter,T 348utrans_toRules,T 349utrans_trans,T 350utrans_transIncremental,T 351utrans_transIncrementalUChars,T 352utrans_transUChars,T 353# Please expose the following API when USet API is exposed. 354# utrans_getSourceSet 355