/libcore/luni/src/test/java/libcore/icu/ |
TransliteratorTest.java | 21 for (String id : Transliterator.getAvailableIDs()) { 23 Transliterator t = new Transliterator(id); 30 Transliterator t = new Transliterator("Unknown"); 38 Transliterator t = new Transliterator(null); 46 Transliterator t = new Transliterator("Any-Upper"); 54 Transliterator t = new Transliterator("Any-Upper") [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
remtrans.cpp | 27 static Transliterator* RemoveTransliterator_create(const UnicodeString& /*ID*/, 28 Transliterator::Token /*context*/) { 38 Transliterator::_registerFactory(::CURR_ID, RemoveTransliterator_create, integerToken(0)); 40 Transliterator::_registerSpecialInverse(UNICODE_STRING_SIMPLE("Remove"), 44 RemoveTransliterator::RemoveTransliterator() : Transliterator(::CURR_ID, 0) {} 48 Transliterator* RemoveTransliterator::clone(void) const { 49 Transliterator* result = new RemoveTransliterator();
|
nortrans.h | 23 * A transliterator that performs normalization. 26 class NormalizationTransliterator : public Transliterator { 42 * Transliterator API. 45 virtual Transliterator* clone(void) const; 60 * Implements {@link Transliterator#handleTransliterate}. 73 * System registration hook. Public to Transliterator only. 79 // Transliterator::Factory methods 80 static Transliterator* _create(const UnicodeString& ID, 84 * Constructs a transliterator. This method is private.
|
anytrans.h | 24 * A transliterator named Any-T or Any-T/V, where T is the target 35 class AnyTransliterator : public Transliterator { 38 * Cache mapping UScriptCode values to Transliterator*. 65 * Transliterator API. 67 virtual Transliterator* clone() const; 70 * Implements {@link Transliterator#handleTransliterate}. 107 * Returns a transliterator from the given source to our target or 110 * Caches the result and returns the same transliterator the next 114 Transliterator* getTransliterator(UScriptCode source) const; 118 * Transliterator during initialization [all...] |
nortrans.cpp | 23 static inline Transliterator::Token cstrToken(const char *s) { 24 return Transliterator::pointerToken((void *)s); 32 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-NFC"), 34 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-NFKC"), 36 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-NFD"), 38 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-NFKD"), 40 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-FCD"), 42 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-FCC"), 44 Transliterator::_registerSpecialInverse(UNICODE_STRING_SIMPLE("NFC"), 46 Transliterator::_registerSpecialInverse(UNICODE_STRING_SIMPLE("NFKC") [all...] |
esctrn.cpp | 35 static Transliterator* _createEscUnicode(const UnicodeString& ID, Transliterator::Token /*context*/) { 39 static Transliterator* _createEscJava(const UnicodeString& ID, Transliterator::Token /*context*/) { 43 static Transliterator* _createEscC(const UnicodeString& ID, Transliterator::Token /*context*/) { 48 static Transliterator* _createEscXML(const UnicodeString& ID, Transliterator::Token /*context*/) { 52 static Transliterator* _createEscXML10(const UnicodeString& ID, Transliterator::Token /*context*/) [all...] |
name2uni.h | 23 * A transliterator that performs name to character mapping. 27 class NameUnicodeTransliterator : public Transliterator { 31 * Constructs a transliterator. 32 * @param adoptedFilter the filter for this transliterator. 47 * Transliterator API. 50 virtual Transliterator* clone(void) const; 65 * Implements {@link Transliterator#handleTransliterate}.
|
nultrans.cpp | 21 NullTransliterator::NullTransliterator() : Transliterator(UNICODE_STRING_SIMPLE("Any-Null"), 0) {} 25 Transliterator* NullTransliterator::clone(void) const {
|
nultrans.h | 22 * A transliterator that leaves text unchanged. 24 * @internal Use transliterator factory methods instead since this class will be removed in that release. 26 class NullTransliterator : public Transliterator { 31 * Constructs a transliterator. 32 * @internal Use transliterator factory methods instead since this class will be removed in that release. 38 * @internal Use transliterator factory methods instead since this class will be removed in that release. 43 * Transliterator API. 44 * @internal Use transliterator factory methods instead since this class will be removed in that release. 46 virtual Transliterator* clone(void) const; 49 * Implements {@link Transliterator#handleTransliterate} [all...] |
remtrans.h | 22 * A transliterator that removes text. 25 class RemoveTransliterator : public Transliterator { 30 * Constructs a transliterator. 45 * Transliterator API. 48 virtual Transliterator* clone(void) const; 51 * Implements {@link Transliterator#handleTransliterate}.
|
uni2name.h | 22 * A transliterator that performs character to name mapping. 26 class UnicodeNameTransliterator : public Transliterator { 31 * Constructs a transliterator. 47 * Transliterator API. 49 virtual Transliterator* clone(void) const; 64 * Implements {@link Transliterator#handleTransliterate}.
|
cpdtrans.h | 25 * A transliterator that is composed of two or more other 26 * transliterator objects linked together. For example, if one 27 * transliterator transliterates from script A to script B, and 29 * combined to form a new transliterator from A to C. 33 * transliterator. See the class documentation for {@link 34 * Transliterator} for details. 37 * @internal Use transliterator factory methods instead since this class will be removed in that release. 39 class U_I18N_API CompoundTransliterator : public Transliterator { 41 Transliterator** trans; 50 * Constructs a new compound transliterator given an array o [all...] |
funcrepl.h | 23 class Transliterator; 26 * A replacer that calls a transliterator to generate its output text. 27 * The input text to the transliterator is the output of another 29 * replacer with a transliterator. 38 * The transliterator. Must not be null. OWNED. 40 Transliterator* translit; 52 * replacer, passes it through the given transliterator, and emits 55 FunctionReplacer(Transliterator* adoptedTranslit,
|
/libcore/luni/src/main/native/ |
libcore_icu_Transliterator.cpp | 17 #define LOG_TAG "Transliterator" 26 static Transliterator* fromPeer(jlong peer) { 27 return reinterpret_cast<Transliterator*>(static_cast<uintptr_t>(peer)); 36 Transliterator* t = Transliterator::createInstance(id.unicodeString(), UTRANS_FORWARD, status); 37 if (maybeThrowIcuException(env, "Transliterator::createInstance", status)) { 49 StringEnumeration* e = Transliterator::getAvailableIDs(status); 50 return fromStringEnumeration(env, status, "Transliterator::getAvailableIDs", e); 54 Transliterator* t = fromPeer(peer); 66 NATIVE_METHOD(Transliterator, create, "(Ljava/lang/String;)J") [all...] |
/external/icu4c/i18n/ |
nortrans.h | 23 * A transliterator that performs normalization. 26 class NormalizationTransliterator : public Transliterator { 42 * Transliterator API. 45 virtual Transliterator* clone(void) const; 60 * Implements {@link Transliterator#handleTransliterate}. 73 * System registration hook. Public to Transliterator only. 79 // Transliterator::Factory methods 80 static Transliterator* _create(const UnicodeString& ID, 84 * Constructs a transliterator. This method is private.
|
anytrans.h | 24 * A transliterator named Any-T or Any-T/V, where T is the target 35 class AnyTransliterator : public Transliterator { 38 * Cache mapping UScriptCode values to Transliterator*. 65 * Transliterator API. 67 virtual Transliterator* clone() const; 70 * Implements {@link Transliterator#handleTransliterate}. 107 * Returns a transliterator from the given source to our target or 110 * Caches the result and returns the same transliterator the next 114 Transliterator* getTransliterator(UScriptCode source) const; 118 * Transliterator during initialization [all...] |
nortrans.cpp | 24 static inline Transliterator::Token cstrToken(const char *s) { 25 return Transliterator::pointerToken((void *)s); 33 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-NFC"), 35 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-NFKC"), 37 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-NFD"), 39 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-NFKD"), 41 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-FCD"), 43 Transliterator::_registerFactory(UNICODE_STRING_SIMPLE("Any-FCC"), 45 Transliterator::_registerSpecialInverse(UNICODE_STRING_SIMPLE("NFC"), 47 Transliterator::_registerSpecialInverse(UNICODE_STRING_SIMPLE("NFKC") [all...] |
name2uni.h | 23 * A transliterator that performs name to character mapping. 27 class NameUnicodeTransliterator : public Transliterator { 31 * Constructs a transliterator. 32 * @param adoptedFilter the filter for this transliterator. 47 * Transliterator API. 50 virtual Transliterator* clone(void) const; 65 * Implements {@link Transliterator#handleTransliterate}.
|
nultrans.cpp | 21 NullTransliterator::NullTransliterator() : Transliterator(UNICODE_STRING_SIMPLE("Any-Null"), 0) {} 25 Transliterator* NullTransliterator::clone(void) const {
|
nultrans.h | 22 * A transliterator that leaves text unchanged. 24 * @internal Use transliterator factory methods instead since this class will be removed in that release. 26 class NullTransliterator : public Transliterator { 31 * Constructs a transliterator. 32 * @internal Use transliterator factory methods instead since this class will be removed in that release. 38 * @internal Use transliterator factory methods instead since this class will be removed in that release. 43 * Transliterator API. 44 * @internal Use transliterator factory methods instead since this class will be removed in that release. 46 virtual Transliterator* clone(void) const; 49 * Implements {@link Transliterator#handleTransliterate} [all...] |
remtrans.h | 22 * A transliterator that removes text. 25 class RemoveTransliterator : public Transliterator { 30 * Constructs a transliterator. 45 * Transliterator API. 48 virtual Transliterator* clone(void) const; 51 * Implements {@link Transliterator#handleTransliterate}.
|
uni2name.h | 22 * A transliterator that performs character to name mapping. 26 class UnicodeNameTransliterator : public Transliterator { 31 * Constructs a transliterator. 47 * Transliterator API. 49 virtual Transliterator* clone(void) const; 64 * Implements {@link Transliterator#handleTransliterate}.
|
remtrans.cpp | 27 static Transliterator* RemoveTransliterator_create(const UnicodeString& /*ID*/, 28 Transliterator::Token /*context*/) { 38 Transliterator::_registerFactory(UnicodeString(TRUE, ::CURR_ID, -1), 41 Transliterator::_registerSpecialInverse(UNICODE_STRING_SIMPLE("Remove"), 45 RemoveTransliterator::RemoveTransliterator() : Transliterator(UnicodeString(TRUE, ::CURR_ID, -1), 0) {} 49 Transliterator* RemoveTransliterator::clone(void) const { 50 Transliterator* result = new RemoveTransliterator();
|
cpdtrans.h | 25 * A transliterator that is composed of two or more other 26 * transliterator objects linked together. For example, if one 27 * transliterator transliterates from script A to script B, and 29 * combined to form a new transliterator from A to C. 33 * transliterator. See the class documentation for {@link 34 * Transliterator} for details. 38 class U_I18N_API CompoundTransliterator : public Transliterator { 40 Transliterator** trans; 49 * Constructs a new compound transliterator given an array of 53 * @param transliterators array of <code>Transliterator</code [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
canittst.h | 25 class Transliterator; 51 Transliterator *nameTrans; 52 Transliterator *hexTrans;
|