#include "unicode/utypes.h"
#if !UCONFIG_NO_TRANSLITERATION
#include "unicode/utrans.h"
#include "unicode/putil.h"
#include "unicode/rep.h"
#include "unicode/translit.h"
#include "unicode/unifilt.h"
#include "unicode/uniset.h"
#include "unicode/ustring.h"
#include "unicode/uenum.h"
#include "unicode/uset.h"
#include "uenumimp.h"
#include "cpputils.h"
#include "rbt.h"
#define utrans_ENTRY(s) …
U_NAMESPACE_BEGIN
U_NAMESPACE_USE
U_CAPI UTransliterator* U_EXPORT2
utrans_openU(const char16_t *id,
int32_t idLength,
UTransDirection dir,
const char16_t *rules,
int32_t rulesLength,
UParseError *parseError,
UErrorCode *status) { … }
U_CAPI UTransliterator* U_EXPORT2
utrans_open(const char* id,
UTransDirection dir,
const char16_t* rules,
int32_t rulesLength,
UParseError* parseError,
UErrorCode* status) { … }
U_CAPI UTransliterator* U_EXPORT2
utrans_openInverse(const UTransliterator* trans,
UErrorCode* status) { … }
U_CAPI UTransliterator* U_EXPORT2
utrans_clone(const UTransliterator* trans,
UErrorCode* status) { … }
U_CAPI void U_EXPORT2
utrans_close(UTransliterator* trans) { … }
U_CAPI const char16_t * U_EXPORT2
utrans_getUnicodeID(const UTransliterator *trans,
int32_t *resultLength) { … }
U_CAPI int32_t U_EXPORT2
utrans_getID(const UTransliterator* trans,
char* buf,
int32_t bufCapacity) { … }
U_CAPI void U_EXPORT2
utrans_register(UTransliterator* adoptedTrans,
UErrorCode* status) { … }
U_CAPI void U_EXPORT2
utrans_unregisterID(const char16_t* id, int32_t idLength) { … }
U_CAPI void U_EXPORT2
utrans_unregister(const char* id) { … }
U_CAPI void U_EXPORT2
utrans_setFilter(UTransliterator* trans,
const char16_t* filterPattern,
int32_t filterPatternLen,
UErrorCode* status) { … }
U_CAPI int32_t U_EXPORT2
utrans_countAvailableIDs() { … }
U_CAPI int32_t U_EXPORT2
utrans_getAvailableID(int32_t index,
char* buf,
int32_t bufCapacity) { … }
UTransEnumeration;
U_CDECL_BEGIN
static int32_t U_CALLCONV
utrans_enum_count(UEnumeration *uenum, UErrorCode *pErrorCode) { … }
static const char16_t* U_CALLCONV
utrans_enum_unext(UEnumeration *uenum,
int32_t* resultLength,
UErrorCode *pErrorCode) { … }
static void U_CALLCONV
utrans_enum_reset(UEnumeration *uenum, UErrorCode *pErrorCode) { … }
static void U_CALLCONV
utrans_enum_close(UEnumeration *uenum) { … }
U_CDECL_END
static const UEnumeration utransEnumeration= …;
U_CAPI UEnumeration * U_EXPORT2
utrans_openIDs(UErrorCode *pErrorCode) { … }
U_CAPI void U_EXPORT2
utrans_trans(const UTransliterator* trans,
UReplaceable* rep,
const UReplaceableCallbacks* repFunc,
int32_t start,
int32_t* limit,
UErrorCode* status) { … }
U_CAPI void U_EXPORT2
utrans_transIncremental(const UTransliterator* trans,
UReplaceable* rep,
const UReplaceableCallbacks* repFunc,
UTransPosition* pos,
UErrorCode* status) { … }
U_CAPI void U_EXPORT2
utrans_transUChars(const UTransliterator* trans,
char16_t* text,
int32_t* textLength,
int32_t textCapacity,
int32_t start,
int32_t* limit,
UErrorCode* status) { … }
U_CAPI void U_EXPORT2
utrans_transIncrementalUChars(const UTransliterator* trans,
char16_t* text,
int32_t* textLength,
int32_t textCapacity,
UTransPosition* pos,
UErrorCode* status) { … }
U_CAPI int32_t U_EXPORT2
utrans_toRules( const UTransliterator* trans,
UBool escapeUnprintable,
char16_t* result, int32_t resultLength,
UErrorCode* status) { … }
U_CAPI USet* U_EXPORT2
utrans_getSourceSet(const UTransliterator* trans,
UBool ignoreFilter,
USet* fillIn,
UErrorCode* status) { … }
#endif