Home | History | Annotate | Download | only in common

Lines Matching defs: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;
1291 return reinterpret_cast<UIDNA *>(IDNA::createUTS46Instance(options, *pErrorCode));
1295 uidna_close(UIDNA *idna) {
1296 delete reinterpret_cast<IDNAidna);
1330 uidna_labelToASCII(const UIDNA *idna,
1340 reinterpret_cast<const IDNA *>(idna)->labelToASCII(src, destString, info, *pErrorCode);
1346 uidna_labelToUnicode(const UIDNA *idna,
1356 reinterpret_cast<const IDNA *>(idna)->labelToUnicode(src, destString, info, *pErrorCode);
1362 uidna_nameToASCII(const UIDNA *idna,
1372 reinterpret_cast<const IDNA *>(idna)->nameToASCII(src, destString, info, *pErrorCode);
1378 uidna_nameToUnicode(const UIDNA *idna,
1388 reinterpret_cast<const IDNA *>(idna)->nameToUnicode(src, destString, info, *pErrorCode);
1394 uidna_labelToASCII_UTF8(const UIDNA *idna,
1404 reinterpret_cast<const IDNA *>(idna)->labelToASCII_UTF8(src, sink, info, *pErrorCode);
1410 uidna_labelToUnicodeUTF8(const UIDNA *idna,
1420 reinterpret_cast<const IDNA *>(idna)->labelToUnicodeUTF8(src, sink, info, *pErrorCode);
1426 uidna_nameToASCII_UTF8(const UIDNA *idna,
1436 reinterpret_cast<const IDNA *>(idna)->nameToASCII_UTF8(src, sink, info, *pErrorCode);
1442 uidna_nameToUnicodeUTF8(const UIDNA *idna,
1452 reinterpret_cast<const IDNA *>(idna)->nameToUnicodeUTF8(src, sink, info, *pErrorCode);