Home
last modified time | relevance | path

Searched refs:NamePrepTransform (Results 1 – 16 of 16) 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
124 UBool NamePrepTransform::isProhibited(UChar32 ch){ in isProhibited()
128 NamePrepTransform::~NamePrepTransform(){ in ~NamePrepTransform()
138 int32_t NamePrepTransform::map(const UChar* src, int32_t srcLength, in map()
183 int32_t NamePrepTransform::process( const UChar* src, int32_t srcLength, in process()
273 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 NamePrepTransform* getInstance(UErrorCode& status);
70 NamePrepTransform* gPrep;
Didnaref.cpp202 static NamePrepTransform* getInstance(UErrorCode& status){ in getInstance()
302 NamePrepTransform* prep = getInstance(*status); in idnaref_toASCII()
453 NamePrepTransform* prep = getInstance(*status); in idnaref_toUnicode()
655 getNextSeparator(UChar *src,int32_t srcLength,NamePrepTransform* prep, in getNextSeparator()
708 NamePrepTransform* prep = getInstance(*status); in idnaref_IDNToASCII()
864 NamePrepTransform* prep = getInstance(*status); in idnaref_IDNToUnicode()
Dtestidna.cpp423 NamePrepTransform* trans = NamePrepTransform::createInstance(parseError,transStatus); in debug()
1606 NamePrepTransform* TestIDNA::getInstance(UErrorCode& status){ in getInstance()
1609 gPrep = NamePrepTransform::createInstance(parseError, status); in getInstance()
/external/cronet/third_party/icu/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
124 UBool NamePrepTransform::isProhibited(UChar32 ch){ in isProhibited()
128 NamePrepTransform::~NamePrepTransform(){ in ~NamePrepTransform()
138 int32_t NamePrepTransform::map(const UChar* src, int32_t srcLength, in map()
183 int32_t NamePrepTransform::process( const UChar* src, int32_t srcLength, in process()
273 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 NamePrepTransform* getInstance(UErrorCode& status);
70 NamePrepTransform* gPrep;
Didnaref.cpp202 static NamePrepTransform* getInstance(UErrorCode& status){ in getInstance()
302 NamePrepTransform* prep = getInstance(*status); in idnaref_toASCII()
453 NamePrepTransform* prep = getInstance(*status); in idnaref_toUnicode()
655 getNextSeparator(UChar *src,int32_t srcLength,NamePrepTransform* prep, in getNextSeparator()
708 NamePrepTransform* prep = getInstance(*status); in idnaref_IDNToASCII()
864 NamePrepTransform* prep = getInstance(*status); in idnaref_IDNToUnicode()
Dtestidna.cpp423 NamePrepTransform* trans = NamePrepTransform::createInstance(parseError,transStatus); in debug()
1606 NamePrepTransform* TestIDNA::getInstance(UErrorCode& status){ in getInstance()
1609 gPrep = NamePrepTransform::createInstance(parseError, status); in getInstance()
/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()
/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()