Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPatternStringUtils.java90 StringBuilder digitsString = new StringBuilder(); in propertiesToPatternString() local
94 while (digitsString.length() < minSig) { in propertiesToPatternString()
95 digitsString.append('@'); in propertiesToPatternString()
97 while (digitsString.length() < maxSig) { in propertiesToPatternString()
98 digitsString.append('#'); in propertiesToPatternString()
107 digitsString.append(str, 1, str.length()); in propertiesToPatternString()
109 digitsString.append(str); in propertiesToPatternString()
112 while (digitsString.length() + digitsStringScale < minInt) { in propertiesToPatternString()
113 digitsString.insert(0, '0'); in propertiesToPatternString()
116 digitsString.append('0'); in propertiesToPatternString()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DPatternStringUtils.java92 StringBuilder digitsString = new StringBuilder(); in propertiesToPatternString() local
96 while (digitsString.length() < minSig) { in propertiesToPatternString()
97 digitsString.append('@'); in propertiesToPatternString()
99 while (digitsString.length() < maxSig) { in propertiesToPatternString()
100 digitsString.append('#'); in propertiesToPatternString()
109 digitsString.append(str, 1, str.length()); in propertiesToPatternString()
111 digitsString.append(str); in propertiesToPatternString()
114 while (digitsString.length() + digitsStringScale < minInt) { in propertiesToPatternString()
115 digitsString.insert(0, '0'); in propertiesToPatternString()
118 digitsString.append('0'); in propertiesToPatternString()
[all …]
/external/icu/icu4c/source/i18n/
Dnumber_patternstring.cpp707 UnicodeString digitsString; in propertiesToPatternString() local
711 while (digitsString.length() < minSig) { in propertiesToPatternString()
712 digitsString.append(u'@'); in propertiesToPatternString()
714 while (digitsString.length() < maxSig) { in propertiesToPatternString()
715 digitsString.append(u'#'); in propertiesToPatternString()
728 digitsString.append(str, 1, str.length() - 1); in propertiesToPatternString()
730 digitsString.append(str); in propertiesToPatternString()
733 while (digitsString.length() + digitsStringScale < minInt) { in propertiesToPatternString()
734 digitsString.insert(0, u'0'); in propertiesToPatternString()
737 digitsString.append(u'0'); in propertiesToPatternString()
[all …]