Lines Matching refs:UnicodeString
110 PluralRules::createRules(const UnicodeString& description, UErrorCode& status) {
118 newRules->parseDescription((UnicodeString &)description, rules, status);
147 UnicodeString locRule = newObj->getRuleFromResource(locale, status);
157 UnicodeString defRule = UnicodeString(PLURAL_DEFAULT_RULE);
165 UnicodeString
175 UnicodeString
196 PluralRules::isKeyword(const UnicodeString& keyword) const {
210 UnicodeString
219 const UnicodeString *ptrKeyword;
270 UnicodeString myKeyword, otherKeyword;
282 PluralRules::parseDescription(UnicodeString& data, RuleChain& rules, UErrorCode &status)
285 UnicodeString token;
296 UnicodeString ruleData = data.toLower();
376 PluralRules::getNumberValue(const UnicodeString& token) const {
388 PluralRules::getNextLocale(const UnicodeString& localeData, int32_t* curIndex, UnicodeString& localeName) {
427 UnicodeString
429 UnicodeString emptyStr;
517 return UnicodeString(result);
720 UnicodeString
738 RuleChain::dumpRules(UnicodeString& result) {
753 result += UnicodeString(digitString);
759 result += UnicodeString(digitString);
768 result += UnicodeString(digitString);
773 result += UnicodeString(digitString);
785 result += UnicodeString(digitString);
788 result += UnicodeString(digitString);
798 result += UnicodeString(digitString);
847 RuleChain::getKeywords(int32_t capacityOfKeywords, UnicodeString* keywords, int32_t& arraySize) const {
864 RuleChain::isKeyword(const UnicodeString& keywordParam) const {
880 const UnicodeString idStart=UNICODE_STRING_SIMPLE("[[a-z]]");
881 const UnicodeString idContinue=UNICODE_STRING_SIMPLE("[[a-z][A-Z][_][0-9]]");
960 RuleParser::getNextToken(const UnicodeString& ruleData,
962 UnicodeString& token,
982 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex);
995 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex);
1027 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex);
1047 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex);
1092 RuleParser::getKeyType(const UnicodeString& token, tokenType& keyType, UErrorCode &status)
1132 RuleParser::isValidKeyword(const UnicodeString& token) {
1162 fKeywordNames.addElement(new UnicodeString(node->keyword), status);
1173 fKeywordNames.addElement(new UnicodeString(PLURAL_KEYWORD_OTHER), status);
1180 const UnicodeString*
1183 return (const UnicodeString*)fKeywordNames.elementAt(pos++);
1199 UnicodeString *s;
1201 if ((s=(UnicodeString *)fKeywordNames.elementAt(i))!=NULL) {