Home
last modified time | relevance | path

Searched refs:rawPaddingString (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPatternStringParser.java662 String rawPaddingString = patternInfo.getString(AffixPatternProvider.Flags.PADDING); in patternInfoToProperties() local
663 if (rawPaddingString.length() == 1) { in patternInfoToProperties()
664 properties.setPadString(rawPaddingString); in patternInfoToProperties()
665 } else if (rawPaddingString.length() == 2) { in patternInfoToProperties()
666 if (rawPaddingString.charAt(0) == '\'') { in patternInfoToProperties()
669 properties.setPadString(rawPaddingString); in patternInfoToProperties()
672 … properties.setPadString(rawPaddingString.substring(1, rawPaddingString.length() - 1)); in patternInfoToProperties()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DPatternStringParser.java668 String rawPaddingString = patternInfo.getString(AffixPatternProvider.Flags.PADDING); in patternInfoToProperties() local
669 if (rawPaddingString.length() == 1) { in patternInfoToProperties()
670 properties.setPadString(rawPaddingString); in patternInfoToProperties()
671 } else if (rawPaddingString.length() == 2) { in patternInfoToProperties()
672 if (rawPaddingString.charAt(0) == '\'') { in patternInfoToProperties()
675 properties.setPadString(rawPaddingString); in patternInfoToProperties()
678 … properties.setPadString(rawPaddingString.substring(1, rawPaddingString.length() - 1)); in patternInfoToProperties()
/external/icu/icu4c/source/i18n/
Dnumber_patternstring.cpp598 UnicodeString rawPaddingString = patternInfo.getString(AffixPatternProvider::AFFIX_PADDING); in patternInfoToProperties() local
599 if (rawPaddingString.length() == 1) { in patternInfoToProperties()
600 properties.padString = rawPaddingString; in patternInfoToProperties()
601 } else if (rawPaddingString.length() == 2) { in patternInfoToProperties()
602 if (rawPaddingString.charAt(0) == u'\'') { in patternInfoToProperties()
605 properties.padString = rawPaddingString; in patternInfoToProperties()
608 … properties.padString = UnicodeString(rawPaddingString, 1, rawPaddingString.length() - 2); in patternInfoToProperties()