Home | History | Annotate | Download | only in common

Lines Matching refs:IDNA

21 #include "unicode/idna.h"
68 // IDNA class default implementations -------------------------------------- ***
70 IDNA::~IDNA() {}
73 IDNA::labelToASCII_UTF8(StringPiece label, ByteSink &dest,
83 IDNA::labelToUnicodeUTF8(StringPiece label, ByteSink &dest,
93 IDNA::nameToASCII_UTF8(StringPiece name, ByteSink &dest,
103 IDNA::nameToUnicodeUTF8(StringPiece name, ByteSink &dest,
114 class UTS46 : public IDNA {
200 IDNA *
201 IDNA::createUTS46Instance(uint32_t options, UErrorCode &errorCode) {
203 IDNA *idna=new UTS46(options, errorCode);
204 if(idna==NULL) {
207 delete idna;
208 idna=NULL;
210 return idna;
1308 return reinterpret_cast<UIDNA *>(IDNA::createUTS46Instance(options, *pErrorCode));
1312 uidna_close(UIDNA *idna) {
1313 delete reinterpret_cast<IDNA *>(idna);
1347 uidna_labelToASCII(const UIDNA *idna,
1357 reinterpret_cast<const IDNA *>(idna)->labelToASCII(src, destString, info, *pErrorCode);
1363 uidna_labelToUnicode(const UIDNA *idna,
1373 reinterpret_cast<const IDNA *>(idna)->labelToUnicode(src, destString, info, *pErrorCode);
1379 uidna_nameToASCII(const UIDNA *idna,
1389 reinterpret_cast<const IDNA *>(idna)->nameToASCII(src, destString, info, *pErrorCode);
1395 uidna_nameToUnicode(const UIDNA *idna,
1405 reinterpret_cast<const IDNA *>(idna)->nameToUnicode(src, destString, info, *pErrorCode);
1411 uidna_labelToASCII_UTF8(const UIDNA *idna,
1421 reinterpret_cast<const IDNA *>(idna)->labelToASCII_UTF8(src, sink, info, *pErrorCode);
1427 uidna_labelToUnicodeUTF8(const UIDNA *idna,
1437 reinterpret_cast<const IDNA *>(idna)->labelToUnicodeUTF8(src, sink, info, *pErrorCode);
1443 uidna_nameToASCII_UTF8(const UIDNA *idna,
1453 reinterpret_cast<const IDNA *>(idna)->nameToASCII_UTF8(src, sink, info, *pErrorCode);
1459 uidna_nameToUnicodeUTF8(const UIDNA *idna,
1469 reinterpret_cast<const IDNA *>(idna)->nameToUnicodeUTF8(src, sink, info, *pErrorCode);