Home
last modified time | relevance | path

Searched refs:padString (Results 1 – 21 of 21) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DPaddingMatcher.java16 public static PaddingMatcher getInstance(String padString) { in getInstance() argument
17 return new PaddingMatcher(padString); in getInstance()
DNumberParserImpl.java234 String padString = properties.getPadString(); in createParserFromProperties() local
235 if (padString != null && !ignorables.getSet().contains(padString)) { in createParserFromProperties()
236 parser.addMatcher(PaddingMatcher.getInstance(padString)); in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DPaddingMatcher.java14 public static PaddingMatcher getInstance(String padString) { in getInstance() argument
15 return new PaddingMatcher(padString); in getInstance()
DNumberParserImpl.java232 String padString = properties.getPadString(); in createParserFromProperties() local
233 if (padString != null && !ignorables.getSet().contains(padString)) { in createParserFromProperties()
234 parser.addMatcher(PaddingMatcher.getInstance(padString)); in createParserFromProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalFormatProperties.java114 private transient String padString; field in DecimalFormatProperties
186 padString = null; in _clear()
232 padString = other.padString; in _copyFrom()
279 eq = eq && _equalsHelper(padString, other.padString); in _equals()
342 hashCode ^= _hashCodeHelper(padString); in _hashCode()
523 return padString; in getPadString()
1113 this.padString = paddingString; in setPadString()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalFormatProperties.java119 private transient String padString; field in DecimalFormatProperties
191 padString = null; in _clear()
237 padString = other.padString; in _copyFrom()
284 eq = eq && _equalsHelper(padString, other.padString); in _equals()
347 hashCode ^= _hashCodeHelper(padString); in _hashCode()
528 return padString; in getPadString()
1118 this.padString = paddingString; in setPadString()
/external/icu/icu4c/source/i18n/
Dnumparse_impl.cpp170 UnicodeString padString = properties.padString; in createParserFromProperties() local
171 if (!padString.isBogus() && !ignorables.getSet()->contains(padString)) { in createParserFromProperties()
172 parser->addMatcher(parser->fLocalMatchers.padding = {padString}); in createParserFromProperties()
Dnumber_decimfmtprops.cpp63 padString.setToBogus(); in clear()
103 eq = eq && padString == other.padString; in _equals()
Dnumber_padding.cpp54 if (properties.padString.length() > 0) { in forProperties()
55 padCp = properties.padString.char32At(0); in forProperties()
Dnumparse_symbols.cpp140 PaddingMatcher::PaddingMatcher(const UnicodeString& padString) in PaddingMatcher() argument
141 : SymbolMatcher(padString, unisets::EMPTY) {} in PaddingMatcher()
Dnumber_patternstring.cpp601 properties.padString = rawPaddingString; in patternInfoToProperties()
604 properties.padString.setTo(u"'", -1); in patternInfoToProperties()
606 properties.padString = rawPaddingString; in patternInfoToProperties()
609 … properties.padString = UnicodeString(rawPaddingString, 1, rawPaddingString.length() - 2); in patternInfoToProperties()
614 properties.padString.setToBogus(); in patternInfoToProperties()
678 UnicodeString paddingString = properties.padString; in propertiesToPatternString()
Dnumber_decimfmtprops.h128 UnicodeString padString; member
Dnumparse_symbols.h113 PaddingMatcher(const UnicodeString& padString);
Ddecimfmt.cpp1074 if (fields == nullptr || fields->properties.padString.isBogus()) { in getPadCharacterString()
1078 return fields->properties.padString; in getPadCharacterString()
1084 if (padChar == fields->properties.padString) { return; } in setPadCharacter()
1086 fields->properties.padString = UnicodeString(padChar.char32At(0)); in setPadCharacter()
1088 fields->properties.padString.setToBogus(); in setPadCharacter()
/external/icu/libicu/cts_headers/
Dnumber_decimfmtprops.h128 UnicodeString padString; member
Dnumparse_symbols.h113 PaddingMatcher(const UnicodeString& padString);
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemNumber.java1558 String padString = formatter == null ? String.valueOf(0) : formatter.format(0); in getFormattedNumber() local
1564 formattedNumber.append(padString); in getFormattedNumber()
/external/python/cpython2/Mac/Modules/cf/
D_CFmodule.c2743 CFStringRef padString; in CFMutableStringRefObj_CFStringPad() local
2750 CFStringRefObj_Convert, &padString, in CFMutableStringRefObj_CFStringPad()
2755 padString, in CFMutableStringRefObj_CFStringPad()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java1400 char padString = 'P'; in TestPad() local
1401 fmt.setPadCharacter(padString); in TestPad()
1402 expectPad(fmt, "*P##.##", DecimalFormat.PAD_BEFORE_PREFIX, 5, padString); in TestPad()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTest.java1403 char padString = 'P'; in TestPad() local
1404 fmt.setPadCharacter(padString); in TestPad()
1405 expectPad(fmt, "*P##.##", DecimalFormat.PAD_BEFORE_PREFIX, 5, padString); in TestPad()
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp1756 UnicodeString padString("P"); in TestPad() local
1757 fmt.setPadCharacter(padString); in TestPad()
1758 expectPad(fmt, "*P##.##", DecimalFormat::kPadBeforePrefix, 5, padString); in TestPad()