Home
last modified time | relevance | path

Searched refs:AffixPattern (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/i18n/
Daffixpatternparser.cpp34 #define UNPACK_TOKEN(c) ((AffixPattern::ETokenType) (((c) >> 8) & 0x7F))
155 AffixPattern::addLiteral( in addLiteral()
187 AffixPattern::add(ETokenType t) { in add()
192 AffixPattern::addCurrency(uint8_t count) { in addCurrency()
197 AffixPattern::add(ETokenType t, uint8_t count) { in add()
217 AffixPattern &
218 AffixPattern::append(const AffixPattern &other) { in append()
240 AffixPattern::remove() { in remove()
316 AffixPattern::toString(UnicodeString &appendTo) const { in toString()
360 AffixPattern::toUserString(UnicodeString &appendTo) const { in toUserString()
[all …]
Daffixpatternparser.h124 class U_I18N_API AffixPattern : public UMemory {
142 AffixPattern() in AffixPattern() function
213 AffixPattern &append(const AffixPattern &other);
253 static AffixPattern &parseAffixString(
255 AffixPattern &appendTo,
269 static AffixPattern &parseUserAffixString(
271 AffixPattern &appendTo,
274 UBool equals(const AffixPattern &other) const { in equals()
335 AffixPattern::ETokenType getTokenType() const;
356 friend class AffixPattern; variable
[all …]
Ddecimalformatpattern.h69 AffixPattern fNegPrefixAffix;
70 AffixPattern fNegSuffixAffix;
71 AffixPattern fPosPrefixAffix;
72 AffixPattern fPosSuffixAffix;
Ddecimfmtimpl.h391 AffixPattern fPositivePrefixPattern;
392 AffixPattern fNegativePrefixPattern;
393 AffixPattern fPositiveSuffixPattern;
394 AffixPattern fNegativeSuffixPattern;
Ddecimalformatpattern.cpp642 AffixPattern::parseAffixString( in applyPatternWithoutExpandAffix()
644 AffixPattern::parseAffixString( in applyPatternWithoutExpandAffix()
646 AffixPattern::parseAffixString( in applyPatternWithoutExpandAffix()
648 AffixPattern::parseAffixString( in applyPatternWithoutExpandAffix()
Ddecimfmtimpl.cpp1539 AffixPattern withNegative; in toPattern()
1540 withNegative.add(AffixPattern::kNegative); in toPattern()
1583 AffixPattern negative; in isParseFastpath()
1584 negative.add(AffixPattern::kNegative); in isParseFastpath()
/external/icu/icu4c/source/test/intltest/
Dnumberformat2test.cpp1441 AffixPattern first; in TestAffixPattern()
1442 first.add(AffixPattern::kPercent); in TestAffixPattern()
1447 AffixPattern second; in TestAffixPattern()
1448 second.add(AffixPattern::kPercent); in TestAffixPattern()
1459 assertEquals("", (int32_t)AffixPattern::kPercent, iter.getTokenType()); in TestAffixPattern()
1464 assertEquals("", (int32_t)AffixPattern::kLiteral, iter.getTokenType()); in TestAffixPattern()
1467 assertEquals("", (int32_t)AffixPattern::kCurrency, iter.getTokenType()); in TestAffixPattern()
1471 assertEquals("", (int32_t)AffixPattern::kLiteral, iter.getTokenType()); in TestAffixPattern()
1478 AffixPattern expected; in TestAffixPatternDoubleQuote()
1482 AffixPattern actual; in TestAffixPatternDoubleQuote()
[all …]