Searched refs:nameprep (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4c/source/common/ |
D | uidna.cpp | 199 UStringPrepProfile* nameprep, in _internal_toASCII() argument 253 …b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, stat… in _internal_toASCII() 269 … b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toASCII() 399 UStringPrepProfile* nameprep, in _internal_toUnicode() argument 458 …b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, stat… in _internal_toUnicode() 470 … b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toUnicode() 626 UStringPrepProfile* nameprep = usprep_openByType(USPREP_RFC3491_NAMEPREP, status); in uidna_toASCII() local 632 …int32_t retLen = _internal_toASCII(src, srcLength, dest, destCapacity, options, nameprep, parseErr… in uidna_toASCII() 635 usprep_close(nameprep); in uidna_toASCII() 655 UStringPrepProfile* nameprep = usprep_openByType(USPREP_RFC3491_NAMEPREP, status); in uidna_toUnicode() local [all …]
|
/external/python/cpython2/Lib/encodings/ |
D | idna.py | 14 def nameprep(label): function 76 label = nameprep(label) 117 label = nameprep(label)
|
/external/python/cpython2/Doc/library/ |
D | stringprep.rst | 26 ``nameprep``, which is used for internationalized domain names.
|
D | codecs.rst | 1282 The module :mod:`encodings.idna` also implements the nameprep procedure, which 1284 international domain names, and to unify similar characters. The nameprep 1288 .. function:: nameprep(label)
|
/external/python/cpython2/Lib/test/ |
D | test_codecs.py | 1277 from encodings.idna import nameprep 1286 self.assertRaises(UnicodeError, nameprep, orig) 1290 self.assertEqual(nameprep(orig), prepped)
|