Lines Matching refs:UnicodeString
78 UnicodeString negPrefixPatternForCurrency;
80 UnicodeString negSuffixPatternForCurrency;
82 UnicodeString posPrefixPatternForCurrency;
84 UnicodeString posSuffixPatternForCurrency;
87 AffixPatternsForCurrency(const UnicodeString& negPrefix,
88 const UnicodeString& negSuffix,
89 const UnicodeString& posPrefix,
90 const UnicodeString& posSuffix,
106 UnicodeString negPrefixForCurrency;
108 UnicodeString negSuffixForCurrency;
110 UnicodeString posPrefixForCurrency;
112 UnicodeString posSuffixForCurrency;
116 AffixesForCurrency(const UnicodeString& negPrefix,
117 const UnicodeString& negSuffix,
118 const UnicodeString& posPrefix,
119 const UnicodeString& posSuffix) {
177 static void debugout(UnicodeString s) {
253 DecimalFormat::DecimalFormat(const UnicodeString& pattern,
265 DecimalFormat::DecimalFormat(const UnicodeString& pattern,
275 DecimalFormat::DecimalFormat( const UnicodeString& pattern,
290 DecimalFormat::DecimalFormat(const UnicodeString& pattern,
303 DecimalFormat::DecimalFormat(const UnicodeString& pattern,
356 const UnicodeString* pattern,
386 UnicodeString str;
417 const UnicodeString* patternUsed;
418 UnicodeString currencyPluralPatternForOther;
488 UnicodeString currencyPattern;
501 applyPatternWithoutExpandAffix(UnicodeString(patResStr, patLen), false,
519 const UnicodeString* value = (UnicodeString*)valueTok.pointer;
521 const UnicodeString* key = (UnicodeString*)keyTok.pointer;
538 DecimalFormat::setupCurrencyAffixes(const UnicodeString& pattern,
559 UnicodeString pluralCount = UnicodeString(pluralCountCh);
587 UnicodeString pluralCount = UnicodeString(pluralCountCh);
588 UnicodeString ptn;
633 static void _copy_us_ptr(UnicodeString** pdest, const UnicodeString* source) {
638 *pdest = new UnicodeString(*source);
921 UnicodeString&
923 UnicodeString& appendTo,
929 UnicodeString&
931 UnicodeString& appendTo,
940 UnicodeString&
942 UnicodeString& appendTo,
949 UnicodeString&
951 UnicodeString& appendTo,
959 UnicodeString&
961 UnicodeString& appendTo,
972 UnicodeString&
974 UnicodeString& appendTo,
981 UnicodeString&
983 UnicodeString& appendTo,
991 UnicodeString&
993 UnicodeString& appendTo,
1021 UnicodeString&
1023 UnicodeString &toAppendTo,
1038 UnicodeString&
1040 UnicodeString &appendTo,
1050 UnicodeString&
1052 UnicodeString& appendTo,
1062 UnicodeString&
1064 UnicodeString& appendTo,
1137 UnicodeString&
1139 UnicodeString& appendTo,
1174 UnicodeString&
1175 DecimalFormat::subformat(UnicodeString& appendTo,
1196 const UnicodeString *grouping ;
1202 const UnicodeString *decimal;
1506 void DecimalFormat::addPadding(UnicodeString& appendTo,
1514 UnicodeString padding;
1542 DecimalFormat::parse(const UnicodeString& text,
1550 DecimalFormat::parse(const UnicodeString& text,
1556 Formattable& DecimalFormat::parseCurrency(const UnicodeString& text,
1575 void DecimalFormat::parse(const UnicodeString& text,
1594 const UnicodeString *nan = &getConstSymbol(DecimalFormatSymbols::kNaNSymbol);
1672 DecimalFormat::parseForCurrency(const UnicodeString& text,
1809 UBool DecimalFormat::subparse(const UnicodeString& text,
1810 const UnicodeString* negPrefix,
1811 const UnicodeString* negSuffix,
1812 const UnicodeString* posPrefix,
1813 const UnicodeString* posSuffix,
1862 const UnicodeString *inf = &getConstSymbol(DecimalFormatSymbols::kInfinitySymbol);
1879 const UnicodeString *decimal;
1885 const UnicodeString *grouping = &getConstSymbol(DecimalFormatSymbols::kGroupingSeparatorSymbol);
1962 const UnicodeString *tmp;
2094 int32_t DecimalFormat::skipPadding(const UnicodeString& text, int32_t position) const {
2121 int32_t DecimalFormat::compareAffix(const UnicodeString& text,
2125 const UnicodeString* affixPat,
2130 const UnicodeString *patternToCompare;
2168 int32_t DecimalFormat::compareSimpleAffix(const UnicodeString& affix,
2169 const UnicodeString& input,
2231 int32_t DecimalFormat::skipRuleWhiteSpace(const UnicodeString& text, int32_t pos) {
2246 int32_t DecimalFormat::skipUWhiteSpace(const UnicodeString& text, int32_t pos) {
2269 int32_t DecimalFormat::compareComplexAffix(const UnicodeString& affixPat,
2270 const UnicodeString& text,
2290 const UnicodeString* affix = NULL;
2368 int32_t DecimalFormat::match(const UnicodeString& text, int32_t pos, UChar32 ch) {
2388 int32_t DecimalFormat::match(const UnicodeString& text, int32_t pos, const UnicodeString& str) {
2505 UnicodeString currencySymbol;
2524 UnicodeString&
2525 DecimalFormat::getPositivePrefix(UnicodeString& result) const
2535 DecimalFormat::setPositivePrefix(const UnicodeString& newValue)
2545 UnicodeString&
2546 DecimalFormat::getNegativePrefix(UnicodeString& result) const
2556 DecimalFormat::setNegativePrefix(const UnicodeString& newValue)
2566 UnicodeString&
2567 DecimalFormat::getPositiveSuffix(UnicodeString& result) const
2577 DecimalFormat::setPositiveSuffix(const UnicodeString& newValue)
2587 UnicodeString&
2588 DecimalFormat::getNegativeSuffix(UnicodeString& result) const
2598 DecimalFormat::setNegativeSuffix(const UnicodeString& newValue)
2738 UnicodeString DecimalFormat::getPadCharacterString() const {
2742 void DecimalFormat::setPadCharacter(const UnicodeString &padChar) {
2937 UnicodeString&
2938 DecimalFormat::toPattern(UnicodeString& result) const
2946 UnicodeString&
2947 DecimalFormat::toLocalizedPattern(UnicodeString& result) const
2966 void DecimalFormat::expandAffixes(const UnicodeString* pluralCount) {
2981 UnicodeString s;
3032 void DecimalFormat::expandAffix(const UnicodeString& pattern,
3033 UnicodeString& affix,
3037 const UnicodeString* pluralCount) const {
3085 affix += UnicodeString(s, len);
3145 affix += UnicodeString(s, len);
3191 int32_t DecimalFormat::appendAffix(UnicodeString& buf, double number,
3197 const UnicodeString* affixPat;
3204 UnicodeString affixBuf;
3212 const UnicodeString* affix;
3214 UnicodeString pluralCount = fCurrencyPluralInfo->getPluralRules()->select(number);
3243 UnicodeString aff = getConstSymbol(DecimalFormatSymbols::kCurrencySymbol);
3249 UnicodeString aff = getConstSymbol(DecimalFormatSymbols::kIntlCurrencySymbol);
3255 UnicodeString aff = getConstSymbol(DecimalFormatSymbols::kMinusSignSymbol);
3261 UnicodeString aff = getConstSymbol(DecimalFormatSymbols::kPercentSymbol);
3267 UnicodeString aff = getConstSymbol(DecimalFormatSymbols::kPerMillSymbol);
3289 void DecimalFormat::appendAffixPattern(UnicodeString& appendTo,
3290 const UnicodeString* affixPattern,
3291 const UnicodeString& expAffix,
3300 UnicodeString s;
3306 UnicodeString s;
3350 DecimalFormat::appendAffixPattern(UnicodeString& appendTo,
3351 const UnicodeString& affix,
3398 UnicodeString&
3399 DecimalFormat::toPattern(UnicodeString& result, UBool localized) const
3413 UnicodeString digit, group;
3416 UnicodeString roundingDigits;
3418 UnicodeString padSpec;
3634 DecimalFormat::applyPattern(const UnicodeString& pattern, UErrorCode& status)
3643 DecimalFormat::applyPattern(const UnicodeString& pattern,
3652 DecimalFormat::applyLocalizedPattern(const UnicodeString& pattern, UErrorCode& status)
3661 DecimalFormat::applyLocalizedPattern(const UnicodeString& pattern,
3671 DecimalFormat::applyPatternWithoutExpandAffix(const UnicodeString& pattern,
3687 UnicodeString groupingSeparator ((UChar)kPatternGroupingSeparator);
3688 UnicodeString decimalSeparator ((UChar)kPatternDecimalSeparator);
3689 UnicodeString percent ((UChar)kPatternPercent);
3690 UnicodeString perMill ((UChar)kPatternPerMill);
3691 UnicodeString digit ((UChar)kPatternDigit); // '#'
3692 UnicodeString separator ((UChar)kPatternSeparator);
3693 UnicodeString exponent ((UChar)kPatternExponent);
3694 UnicodeString plus ((UChar)kPatternPlus);
3695 UnicodeString minus ((UChar)kPatternMinus);
3696 UnicodeString padEscape ((UChar)kPatternPadEscape);
3735 UnicodeString prefix;
3736 UnicodeString suffix;
3750 UnicodeString* affix = &prefix;
4102 fPosPrefixPattern = new UnicodeString(prefix);
4108 fPosSuffixPattern = new UnicodeString(suffix);
4185 fNegPrefixPattern = new UnicodeString(prefix);
4191 fNegSuffixPattern = new UnicodeString(suffix);
4209 fPosPrefixPattern = new UnicodeString();
4219 fPosSuffixPattern = new UnicodeString();
4252 fNegPrefixPattern = new UnicodeString();
4265 UnicodeString s;
4276 DecimalFormat::expandAffixAdjustWidth(const UnicodeString* pluralCount) {
4288 DecimalFormat::applyPattern(const UnicodeString& pattern,
4314 DecimalFormat::applyPatternInternally(const UnicodeString& pluralCount,
4315 const UnicodeString& pattern,
4435 UnicodeString savedPtn = fFormatPattern;
4458 const UnicodeString &intl =
4563 const UnicodeString* key = (UnicodeString*)keyTok.pointer;
4572 target->put(UnicodeString(*key), copy, status);
4594 const UnicodeString* key = (UnicodeString*)keyTok.pointer;
4603 target->put(UnicodeString(*key), copy, status);