Home | History | Annotate | Download | only in i18n

Lines Matching refs:UnicodeString

61 TransliteratorAlias::TransliteratorAlias(const UnicodeString& theAliasID,
71 TransliteratorAlias::TransliteratorAlias(const UnicodeString& theID,
72 const UnicodeString& idBlocks,
83 TransliteratorAlias::TransliteratorAlias(const UnicodeString& theID,
84 const UnicodeString& rules,
127 UnicodeString noIDBlock((UChar)(0xffff));
136 UnicodeString idBlock;
208 TransliteratorSpec(const UnicodeString& spec);
211 const UnicodeString& get() const;
213 const UnicodeString& next();
219 operator const UnicodeString&() const { return get(); }
220 const UnicodeString& getTop() const { return top; }
225 UnicodeString top;
226 UnicodeString spec;
227 UnicodeString nextSpec;
228 UnicodeString scriptName;
237 TransliteratorSpec::TransliteratorSpec(const UnicodeString& theSpec)
263 scriptName = UnicodeString(uscript_getName(script[0]), -1, US_INV);
269 UnicodeString locStr;
319 // for(const UnicodeString& s(spec.get());
322 const UnicodeString& TransliteratorSpec::next() {
329 const UnicodeString& TransliteratorSpec::get() const {
435 UnicodeString stringArg; // For RULES_*, ALIAS, COMPOUND_RBT
529 Transliterator* TransliteratorRegistry::get(const UnicodeString& ID,
538 Transliterator* TransliteratorRegistry::reget(const UnicodeString& ID,
578 entry->stringArg = *(UnicodeString*)(parser.idBlockVector.elementAt(0));
594 UnicodeString* idBlock = (UnicodeString*)parser.idBlockVector.elementAt(i);
625 void TransliteratorRegistry::put(const UnicodeString& ID,
639 void TransliteratorRegistry::put(const UnicodeString& ID,
640 const UnicodeString& resourceName,
661 void TransliteratorRegistry::put(const UnicodeString& ID,
662 const UnicodeString& alias,
680 void TransliteratorRegistry::remove(const UnicodeString& ID) {
681 UnicodeString source, target, variant;
685 UnicodeString id;
712 const UnicodeString& TransliteratorRegistry::getAvailableID(int32_t index) const {
716 return *(const UnicodeString*) availableIDs[index];
727 UnicodeString& TransliteratorRegistry::getAvailableSource(int32_t index,
728 UnicodeString& result) const {
740 result = *(UnicodeString*) e->key.pointer;
745 int32_t TransliteratorRegistry::countAvailableTargets(const UnicodeString& source) const {
750 UnicodeString& TransliteratorRegistry::getAvailableTarget(int32_t index,
751 const UnicodeString& source,
752 UnicodeString& result) const {
769 result = *(UnicodeString*) e->key.pointer;
774 int32_t TransliteratorRegistry::countAvailableVariants(const UnicodeString& source,
775 const UnicodeString& target) const {
785 UnicodeString& TransliteratorRegistry::getAvailableVariant(int32_t index,
786 const UnicodeString& source,
787 const UnicodeString& target,
788 UnicodeString& result) const {
799 UnicodeString *v = (UnicodeString*) variants->elementAt(index);
823 const UnicodeString* TransliteratorRegistry::Enumeration::snext(UErrorCode& status) {
843 unistr = *(const UnicodeString*)reg.availableIDs[index++];
863 void TransliteratorRegistry::registerEntry(const UnicodeString& source,
864 const UnicodeString& target,
865 const UnicodeString& variant,
868 UnicodeString ID;
869 UnicodeString s(source);
880 void TransliteratorRegistry::registerEntry(const UnicodeString& ID,
883 UnicodeString source, target, variant;
887 UnicodeString id;
896 void TransliteratorRegistry::registerEntry(const UnicodeString& ID,
897 const UnicodeString& source,
898 const UnicodeString& target,
899 const UnicodeString& variant,
907 UnicodeString *newID = (UnicodeString *)ID.clone();
927 void TransliteratorRegistry::registerSTV(const UnicodeString& source,
928 const UnicodeString& target,
929 const UnicodeString& variant) {
955 UnicodeString *tempus; // Used for null pointer check.
957 tempus = new UnicodeString(variant);
962 tempus = new UnicodeString(NO_VARIANT) ;
973 void TransliteratorRegistry::removeSTV(const UnicodeString& source,
974 const UnicodeString& target,
975 const UnicodeString& variant) {
1004 const UnicodeString& variant) const {
1005 UnicodeString ID;
1025 const UnicodeString& variant) {
1061 const UnicodeString& variant,
1064 UnicodeString utag;
1065 UnicodeString resStr;
1080 UnicodeString s(specToFind.get());
1140 TransliteratorEntry* TransliteratorRegistry::find(const UnicodeString& ID) {
1141 UnicodeString source, target, variant;
1168 TransliteratorEntry* TransliteratorRegistry::find(UnicodeString& source,
1169 UnicodeString& target,
1170 UnicodeString& variant) {
1179 UnicodeString ID;
1243 Transliterator* TransliteratorRegistry::instantiateEntry(const UnicodeString& ID,
1285 Transliterator* t = new RuleBasedTransliterator(UnicodeString(CompoundTransliterator::PASS_STRING) + (passNumber++),
1323 UnicodeString rules = entry->stringArg;