#include "unicode/utypes.h"
#if !UCONFIG_NO_IDNA
#include "unicode/uidna.h"
#include "unicode/ustring.h"
#include "unicode/usprep.h"
#include "punycode.h"
#include "ustr_imp.h"
#include "cmemory.h"
#include "uassert.h"
#include "sprpimpl.h"
static const char16_t ACE_PREFIX[] = … ;
#define ACE_PREFIX_LENGTH …
#define MAX_LABEL_LENGTH …
#define MAX_LABEL_BUFFER_SIZE …
#define MAX_DOMAIN_NAME_LENGTH …
#define MAX_IDN_BUFFER_SIZE …
#define LOWER_CASE_DELTA …
#define HYPHEN …
#define FULL_STOP …
#define CAPITAL_A …
#define CAPITAL_Z …
inline static char16_t
toASCIILower(char16_t ch){ … }
inline static UBool
startsWithPrefix(const char16_t* src , int32_t srcLength){ … }
inline static int32_t
compareCaseInsensitiveASCII(const char16_t* s1, int32_t s1Len,
const char16_t* s2, int32_t s2Len){ … }
static inline UBool isLabelSeparator(char16_t ch){ … }
static inline int32_t
getNextSeparator(char16_t *src, int32_t srcLength,
char16_t **limit, UBool *done){ … }
static inline UBool isLDHChar(char16_t ch){ … }
static int32_t
_internal_toASCII(const char16_t* src, int32_t srcLength,
char16_t* dest, int32_t destCapacity,
int32_t options,
UStringPrepProfile* nameprep,
UParseError* parseError,
UErrorCode* status)
{ … }
static int32_t
_internal_toUnicode(const char16_t* src, int32_t srcLength,
char16_t* dest, int32_t destCapacity,
int32_t options,
UStringPrepProfile* nameprep,
UParseError* parseError,
UErrorCode* status)
{ … }
U_CAPI int32_t U_EXPORT2
uidna_toASCII(const char16_t* src, int32_t srcLength,
char16_t* dest, int32_t destCapacity,
int32_t options,
UParseError* parseError,
UErrorCode* status){ … }
U_CAPI int32_t U_EXPORT2
uidna_toUnicode(const char16_t* src, int32_t srcLength,
char16_t* dest, int32_t destCapacity,
int32_t options,
UParseError* parseError,
UErrorCode* status){ … }
U_CAPI int32_t U_EXPORT2
uidna_IDNToASCII( const char16_t *src, int32_t srcLength,
char16_t* dest, int32_t destCapacity,
int32_t options,
UParseError *parseError,
UErrorCode *status){ … }
U_CAPI int32_t U_EXPORT2
uidna_IDNToUnicode( const char16_t* src, int32_t srcLength,
char16_t* dest, int32_t destCapacity,
int32_t options,
UParseError* parseError,
UErrorCode* status){ … }
U_CAPI int32_t U_EXPORT2
uidna_compare( const char16_t *s1, int32_t length1,
const char16_t *s2, int32_t length2,
int32_t options,
UErrorCode* status){ … }
#endif