Home | History | Annotate | Download | only in common

Lines Matching full:idna

19 #include "unicode/idna.h"
68 // IDNA class default implementations -------------------------------------- ***
70 IDNA::~IDNA() {}
73 IDNA::labelToASCII_UTF8(const StringPiece &label, ByteSink &dest,
83 IDNA::labelToUnicodeUTF8(const StringPiece &label, ByteSink &dest,
93 IDNA::nameToASCII_UTF8(const StringPiece &name, ByteSink &dest,
103 IDNA::nameToUnicodeUTF8(const 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;
1293 return reinterpret_cast<UIDNA *>(IDNA::createUTS46Instance(options, *pErrorCode));
1297 uidna_close(UIDNA *idna) {
1298 delete reinterpret_cast<IDNA *>(idna);
1332 uidna_labelToASCII(const UIDNA *idna,
1342 reinterpret_cast<const IDNA *>(idna)->labelToASCII(src, destString, info, *pErrorCode);
1348 uidna_labelToUnicode(const UIDNA *idna,
1358 reinterpret_cast<const IDNA *>(idna)->labelToUnicode(src, destString, info, *pErrorCode);
1364 uidna_nameToASCII(const UIDNA *idna,
1374 reinterpret_cast<const IDNA *>(idna)->nameToASCII(src, destString, info, *pErrorCode);
1380 uidna_nameToUnicode(const UIDNA *idna,
1390 reinterpret_cast<const IDNA *>(idna)->nameToUnicode(src, destString, info, *pErrorCode);
1396 uidna_labelToASCII_UTF8(const UIDNA *idna,
1406 reinterpret_cast<const IDNA *>(idna)->labelToASCII_UTF8(src, sink, info, *pErrorCode);
1412 uidna_labelToUnicodeUTF8(const UIDNA *idna,
1422 reinterpret_cast<const IDNA *>(idna)->labelToUnicodeUTF8(src, sink, info, *pErrorCode);
1428 uidna_nameToASCII_UTF8(const UIDNA *idna,
1438 reinterpret_cast<const IDNA *>(idna)->nameToASCII_UTF8(src, sink, info, *pErrorCode);
1444 uidna_nameToUnicodeUTF8(const UIDNA *idna,
1454 reinterpret_cast<const IDNA *>(idna)->nameToUnicodeUTF8(src, sink, info, *pErrorCode);