#include "unicode/utypes.h"
#if !UCONFIG_NO_CONVERSION
#include "unicode/ucnv.h"
#include "unicode/uversion.h"
#include "ucnv_bld.h"
#include "ucnv_cnv.h"
#include "cmemory.h"
enum { … };
U_CDECL_BEGIN
static void U_CALLCONV
_UTF16ToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs,
UErrorCode *pErrorCode);
#if U_IS_BIG_ENDIAN
#define _UTF16PEFromUnicodeWithOffsets …
#else
#define _UTF16PEFromUnicodeWithOffsets …
#endif
static void U_CALLCONV
_UTF16BEFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs,
UErrorCode *pErrorCode) { … }
static void U_CALLCONV
_UTF16BEToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs,
UErrorCode *pErrorCode) { … }
static UChar32 U_CALLCONV
_UTF16BEGetNextUChar(UConverterToUnicodeArgs *pArgs, UErrorCode *err) { … }
static void U_CALLCONV
_UTF16BEReset(UConverter *cnv, UConverterResetChoice choice) { … }
static void U_CALLCONV
_UTF16BEOpen(UConverter *cnv,
UConverterLoadArgs *pArgs,
UErrorCode *pErrorCode) { … }
static const char * U_CALLCONV
_UTF16BEGetName(const UConverter *cnv) { … }
U_CDECL_END
static const UConverterImpl _UTF16BEImpl= …;
static const UConverterStaticData _UTF16BEStaticData= …;
const UConverterSharedData _UTF16BEData= …;
U_CDECL_BEGIN
static void U_CALLCONV
_UTF16LEFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs,
UErrorCode *pErrorCode) { … }
static void U_CALLCONV
_UTF16LEToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs,
UErrorCode *pErrorCode) { … }
static UChar32 U_CALLCONV
_UTF16LEGetNextUChar(UConverterToUnicodeArgs *pArgs, UErrorCode *err) { … }
static void U_CALLCONV
_UTF16LEReset(UConverter *cnv, UConverterResetChoice choice) { … }
static void U_CALLCONV
_UTF16LEOpen(UConverter *cnv,
UConverterLoadArgs *pArgs,
UErrorCode *pErrorCode) { … }
static const char * U_CALLCONV
_UTF16LEGetName(const UConverter *cnv) { … }
U_CDECL_END
static const UConverterImpl _UTF16LEImpl= …;
static const UConverterStaticData _UTF16LEStaticData= …;
const UConverterSharedData _UTF16LEData= …;
U_CDECL_BEGIN
static void U_CALLCONV
_UTF16Reset(UConverter *cnv, UConverterResetChoice choice) { … }
U_CDECL_END
extern const UConverterSharedData _UTF16v2Data;
U_CDECL_BEGIN
static void U_CALLCONV
_UTF16Open(UConverter *cnv,
UConverterLoadArgs *pArgs,
UErrorCode *pErrorCode) { … }
static const char * U_CALLCONV
_UTF16GetName(const UConverter *cnv) { … }
U_CDECL_END
extern const UConverterSharedData _UTF16Data;
static inline bool IS_UTF16BE(const UConverter *cnv) { … }
static inline bool IS_UTF16LE(const UConverter *cnv) { … }
static inline bool IS_UTF16(const UConverter *cnv) { … }
U_CDECL_BEGIN
static void U_CALLCONV
_UTF16ToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs,
UErrorCode *pErrorCode) { … }
static UChar32 U_CALLCONV
_UTF16GetNextUChar(UConverterToUnicodeArgs *pArgs,
UErrorCode *pErrorCode) { … }
U_CDECL_END
static const UConverterImpl _UTF16Impl = …;
static const UConverterStaticData _UTF16StaticData = …;
const UConverterSharedData _UTF16Data = …;
static const UConverterImpl _UTF16v2Impl = …;
static const UConverterStaticData _UTF16v2StaticData = …;
const UConverterSharedData _UTF16v2Data = …;
#endif