Lines Matching full:unicodestring
50 #define NO_VARIANT UnicodeString()
63 TransliteratorAlias::TransliteratorAlias(const UnicodeString& theAliasID,
73 TransliteratorAlias::TransliteratorAlias(const UnicodeString& theID,
74 const UnicodeString& idBlocks,
85 TransliteratorAlias::TransliteratorAlias(const UnicodeString& theID,
86 const UnicodeString& rules,
129 UnicodeString noIDBlock((UChar)(0xffff));
138 UnicodeString idBlock;
210 TransliteratorSpec(const UnicodeString& spec);
213 const UnicodeString& get() const;
215 const UnicodeString& next();
221 operator const UnicodeString&() const { return get(); }
222 const UnicodeString& getTop() const { return top; }
227 UnicodeString top;
228 UnicodeString spec;
229 UnicodeString nextSpec;
230 UnicodeString scriptName;
239 TransliteratorSpec::TransliteratorSpec(const UnicodeString& theSpec)
265 scriptName = UnicodeString(uscript_getName(script[0]), -1, US_INV);
271 UnicodeString locStr;
321 // for(const UnicodeString& s(spec.get());
324 const UnicodeString& TransliteratorSpec::next() {
331 const UnicodeString& TransliteratorSpec::get() const {
437 UnicodeString stringArg; // For RULES_*, ALIAS, COMPOUND_RBT
531 Transliterator* TransliteratorRegistry::get(const UnicodeString& ID,
540 Transliterator* TransliteratorRegistry::reget(const UnicodeString& ID,
580 entry->stringArg = *(UnicodeString*)(parser.idBlockVector.elementAt(0));
596 UnicodeString* idBlock = (UnicodeString*)parser.idBlockVector.elementAt(i);
627 void TransliteratorRegistry::put(const UnicodeString& ID,
641 void TransliteratorRegistry::put(const UnicodeString& ID,
642 const UnicodeString& resourceName,
663 void TransliteratorRegistry::put(const UnicodeString& ID,
664 const UnicodeString& alias,
682 void TransliteratorRegistry::remove(const UnicodeString& ID) {
683 UnicodeString source, target, variant;
687 UnicodeString id;
714 const UnicodeString& TransliteratorRegistry::getAvailableID(int32_t index) const {
718 return *(const UnicodeString*) availableIDs[index];
729 UnicodeString& TransliteratorRegistry::getAvailableSource(int32_t index,
730 UnicodeString& result) const {
742 result = *(UnicodeString*) e->key.pointer;
747 int32_t TransliteratorRegistry::countAvailableTargets(const UnicodeString& source) const {
752 UnicodeString& TransliteratorRegistry::getAvailableTarget(int32_t index,
753 const UnicodeString& source,
754 UnicodeString& result) const {
771 result = *(UnicodeString*) e->key.pointer;
776 int32_t TransliteratorRegistry::countAvailableVariants(const UnicodeString& source,
777 const UnicodeString& target) const {
787 UnicodeString& TransliteratorRegistry::getAvailableVariant(int32_t index,
788 const UnicodeString& source,
789 const UnicodeString& target,
790 UnicodeString& result) const {
801 UnicodeString *v = (UnicodeString*) variants->elementAt(index);
825 const UnicodeString* TransliteratorRegistry::Enumeration::snext(UErrorCode& status) {
845 unistr = *(const UnicodeString*)reg.availableIDs[index++];
865 void TransliteratorRegistry::registerEntry(const UnicodeString& source,
866 const UnicodeString& target,
867 const UnicodeString& variant,
870 UnicodeString ID;
871 UnicodeString s(source);
882 void TransliteratorRegistry::registerEntry(const UnicodeString& ID,
885 UnicodeString source, target, variant;
889 UnicodeString id;
898 void TransliteratorRegistry::registerEntry(const UnicodeString& ID,
899 const UnicodeString& source,
900 const UnicodeString& target,
901 const UnicodeString& variant,
909 UnicodeString *newID = (UnicodeString *)ID.clone();
929 void TransliteratorRegistry::registerSTV(const UnicodeString& source,
930 const UnicodeString& target,
931 const UnicodeString& variant) {
957 UnicodeString *tempus; // Used for null pointer check.
959 tempus = new UnicodeString(variant);
964 tempus = new UnicodeString(); // = NO_VARIANT
975 void TransliteratorRegistry::removeSTV(const UnicodeString& source,
976 const UnicodeString& target,
977 const UnicodeString& variant) {
1006 const UnicodeString& variant) const {
1007 UnicodeString ID;
1027 const UnicodeString& variant) {
1063 const UnicodeString& variant,
1066 UnicodeString utag;
1067 UnicodeString resStr;
1082 UnicodeString s(specToFind.get());
1142 TransliteratorEntry* TransliteratorRegistry::find(const UnicodeString& ID) {
1143 UnicodeString source, target, variant;
1170 TransliteratorEntry* TransliteratorRegistry::find(UnicodeString& source,
1171 UnicodeString& target,
1172 UnicodeString& variant) {
1181 UnicodeString ID;
1245 Transliterator* TransliteratorRegistry::instantiateEntry(const UnicodeString& ID,
1288 Transliterator* t = new RuleBasedTransliterator(UnicodeString(CompoundTransliterator::PASS_STRING) + UnicodeString(passNumber++),
1326 UnicodeString rules = entry->stringArg;