Home
last modified time | relevance | path

Searched refs:NamePrepTransform (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dnptrans.cpp36 const char NamePrepTransform::fgClassID=0;
39 NamePrepTransform* NamePrepTransform::createInstance(UParseError& parseError, UErrorCode& status){ in createInstance()
40 NamePrepTransform* transform = new NamePrepTransform(parseError, status); in createInstance()
49 NamePrepTransform::NamePrepTransform(UParseError& parseError, UErrorCode& status) in NamePrepTransform() function in NamePrepTransform
127 UBool NamePrepTransform::isProhibited(UChar32 ch){ in isProhibited()
131 NamePrepTransform::~NamePrepTransform(){ in ~NamePrepTransform()
141 int32_t NamePrepTransform::map(const UChar* src, int32_t srcLength, in map()
186 int32_t NamePrepTransform::process( const UChar* src, int32_t srcLength, in process()
276 UBool NamePrepTransform::isLabelSeparator(UChar32 ch, UErrorCode& status){ in isLabelSeparator()
Dnptrans.h36 class NamePrepTransform {
44 NamePrepTransform(UParseError& parseError, UErrorCode& status);
49 static NamePrepTransform* createInstance(UParseError& parseError, UErrorCode& status);
51 virtual ~NamePrepTransform();
128 inline UBool NamePrepTransform::isLDHChar(UChar32 ch){ in isLDHChar()
146 class NamePrepTransform {
Dtestidna.h47 class NamePrepTransform; variable
69 static NamePrepTransform* getInstance(UErrorCode& status);
70 static NamePrepTransform* gPrep;
Didnaref.cpp291 NamePrepTransform* prep = TestIDNA::getInstance(*status); in idnaref_toASCII()
442 NamePrepTransform* prep = TestIDNA::getInstance(*status); in idnaref_toUnicode()
644 getNextSeparator(UChar *src,int32_t srcLength,NamePrepTransform* prep, in getNextSeparator()
697 NamePrepTransform* prep = TestIDNA::getInstance(*status); in idnaref_IDNToASCII()
853 NamePrepTransform* prep = TestIDNA::getInstance(*status); in idnaref_IDNToUnicode()
Dtestidna.cpp423 NamePrepTransform* trans = NamePrepTransform::createInstance(parseError,transStatus); in debug()
1599 NamePrepTransform* TestIDNA::gPrep = NULL;
1601 NamePrepTransform* TestIDNA::getInstance(UErrorCode& status){ in getInstance()
1604 TestIDNA::gPrep = NamePrepTransform::createInstance(parseError, status); in getInstance()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DNamePrepTransform.java28 public class NamePrepTransform { class
30 private static final NamePrepTransform transform = new NamePrepTransform();
39 private NamePrepTransform(){ in NamePrepTransform() method in NamePrepTransform
41 …dle.getBundleInstance("com/ibm/icu/dev/data/testdata","idna_rules", NamePrepTransform.class.getCla… in NamePrepTransform()
51 public static final NamePrepTransform getInstance(){ in getInstance()
DIDNAReference.java36 public static final NamePrepTransform transform = NamePrepTransform.getInstance();
95 if(NamePrepTransform.isLabelSeparator(src[start])){ in getSeparatorIndex()
DTestIDNARef.java355 NamePrepTransform namePrep = NamePrepTransform.getInstance(); in TestNamePrepConformance()
364 StringBuffer output = namePrep.prepare(iter,NamePrepTransform.NONE); in TestNamePrepConformance()
380 StringBuffer output = namePrep.prepare(iter,NamePrepTransform.ALLOW_UNASSIGNED); in TestNamePrepConformance()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DNamePrepTransform.java31 public class NamePrepTransform { class
33 private static final NamePrepTransform transform = new NamePrepTransform();
42 private NamePrepTransform(){ in NamePrepTransform() method in NamePrepTransform
44 …dle.getBundleInstance("android/icu/dev/data/testdata","idna_rules", NamePrepTransform.class.getCla… in NamePrepTransform()
54 public static final NamePrepTransform getInstance(){ in getInstance()
DIDNAReference.java39 public static final NamePrepTransform transform = NamePrepTransform.getInstance();
98 if(NamePrepTransform.isLabelSeparator(src[start])){ in getSeparatorIndex()
DTestIDNARef.java358 NamePrepTransform namePrep = NamePrepTransform.getInstance(); in TestNamePrepConformance()
367 StringBuffer output = namePrep.prepare(iter,NamePrepTransform.NONE); in TestNamePrepConformance()
383 StringBuffer output = namePrep.prepare(iter,NamePrepTransform.ALLOW_UNASSIGNED); in TestNamePrepConformance()