Home
last modified time | relevance | path

Searched refs:toAppendTo (Results 1 – 25 of 62) sorted by relevance

123

/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java66 …public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos… in format() argument
67 return fJdkNfmt.format(number, toAppendTo, pos); in format()
71 public StringBuffer format(BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
72 return fJdkNfmt.format(number.toBigDecimal(), toAppendTo, pos); in format()
76 …public StringBuffer format(java.math.BigInteger number, StringBuffer toAppendTo, FieldPosition pos… in format() argument
77 return fJdkNfmt.format(number, toAppendTo, pos); in format()
85 public StringBuffer format(CurrencyAmount currAmt, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
92 fJdkNfmt.format(currAmt.getNumber(), toAppendTo, pos); in format() local
96 return toAppendTo; in format()
102 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/
DComplexFormat.java146 public StringBuffer format(Complex complex, StringBuffer toAppendTo, in format() argument
154 formatDouble(re, getRealFormat(), toAppendTo, pos); in format()
159 toAppendTo.append(" - "); in format()
160 formatDouble(-im, getImaginaryFormat(), toAppendTo, pos); in format()
161 toAppendTo.append(getImaginaryCharacter()); in format()
163 toAppendTo.append(" + "); in format()
164 formatDouble(im, getImaginaryFormat(), toAppendTo, pos); in format()
165 toAppendTo.append(getImaginaryCharacter()); in format()
168 return toAppendTo; in format()
185 public StringBuffer format(Object obj, StringBuffer toAppendTo, in format() argument
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DVector3DFormat.java202 public StringBuffer format(Vector3D vector, StringBuffer toAppendTo, in format() argument
209 toAppendTo.append(prefix); in format()
212 formatDouble(vector.getX(), format, toAppendTo, pos); in format() local
213 toAppendTo.append(separator); in format()
214 formatDouble(vector.getY(), format, toAppendTo, pos); in format() local
215 toAppendTo.append(separator); in format()
216 formatDouble(vector.getZ(), format, toAppendTo, pos); in format() local
219 toAppendTo.append(suffix); in format()
221 return toAppendTo; in format()
238 public StringBuffer format(Object obj, StringBuffer toAppendTo, in format() argument
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DBigFractionFormat.java138 final StringBuffer toAppendTo, final FieldPosition pos) { in format() argument
143 getNumeratorFormat().format(BigFraction.getNumerator(), toAppendTo, pos); in format() local
144 toAppendTo.append(" / "); in format()
145 getDenominatorFormat().format(BigFraction.getDenominator(), toAppendTo, pos); in format() local
147 return toAppendTo; in format()
166 final StringBuffer toAppendTo, final FieldPosition pos) { in format() argument
170 ret = format((BigFraction) obj, toAppendTo, pos); in format()
172 ret = format(new BigFraction((BigInteger) obj), toAppendTo, pos); in format()
175 toAppendTo, pos); in format()
DFractionFormat.java145 final StringBuffer toAppendTo, final FieldPosition pos) { in format() argument
150 getNumeratorFormat().format(fraction.getNumerator(), toAppendTo, pos); in format() local
151 toAppendTo.append(" / "); in format()
152 getDenominatorFormat().format(fraction.getDenominator(), toAppendTo, in format() local
155 return toAppendTo; in format()
173 final StringBuffer toAppendTo, final FieldPosition pos) { in format() argument
177 ret = format((Fraction) obj, toAppendTo, pos); in format()
181 toAppendTo, pos); in format()
DProperBigFractionFormat.java90 final StringBuffer toAppendTo, final FieldPosition pos) { in format() argument
101 getWholeFormat().format(whole, toAppendTo, pos); in format()
102 toAppendTo.append(' '); in format()
107 getNumeratorFormat().format(num, toAppendTo, pos); in format()
108 toAppendTo.append(" / "); in format()
109 getDenominatorFormat().format(den, toAppendTo, pos); in format()
111 return toAppendTo; in format()
DProperFractionFormat.java90 public StringBuffer format(Fraction fraction, StringBuffer toAppendTo, in format() argument
102 getWholeFormat().format(whole, toAppendTo, pos); in format()
103 toAppendTo.append(' '); in format()
106 getNumeratorFormat().format(num, toAppendTo, pos); in format()
107 toAppendTo.append(" / "); in format()
108 getDenominatorFormat().format(den, toAppendTo, in format()
111 return toAppendTo; in format()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DStepChartExampleActivity.java107 public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos) { in onCreate()
111 toAppendTo.append("Init"); in onCreate()
114 toAppendTo.append("Idle"); in onCreate()
117 toAppendTo.append("Recv"); in onCreate()
120 toAppendTo.append("Send"); in onCreate()
123 toAppendTo.append("Unknown"); in onCreate()
126 return toAppendTo; in onCreate()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DRealVectorFormat.java205 public StringBuffer format(RealVector vector, StringBuffer toAppendTo, in format() argument
212 toAppendTo.append(prefix); in format()
217 toAppendTo.append(separator); in format()
219 formatDouble(vector.getEntry(i), format, toAppendTo, pos); in format() local
223 toAppendTo.append(suffix); in format()
225 return toAppendTo; in format()
242 public StringBuffer format(Object obj, StringBuffer toAppendTo, in format() argument
246 return format( (RealVector)obj, toAppendTo, pos); in format()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DCompositeFormat.java208 final StringBuffer toAppendTo, in formatDouble() argument
211 toAppendTo.append('('); in formatDouble()
212 toAppendTo.append(value); in formatDouble()
213 toAppendTo.append(')'); in formatDouble()
215 format.format(value, toAppendTo, pos); in formatDouble()
217 return toAppendTo; in formatDouble()
/external/icu/icu4c/source/i18n/unicode/
Drbnf.h794 UnicodeString& toAppendTo,
806 UnicodeString& toAppendTo,
817 UnicodeString& toAppendTo,
833 UnicodeString& toAppendTo,
849 UnicodeString& toAppendTo,
865 UnicodeString& toAppendTo,
1094 …UnicodeString& format(int64_t number, NFRuleSet *ruleSet, UnicodeString& toAppendTo, UErrorCode& s…
1095 void format(double number, NFRuleSet& rs, UnicodeString& toAppendTo, UErrorCode& status) const;
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DDateNumberFormat.java145 public StringBuffer format(double number, StringBuffer toAppendTo, in format() argument
151 public StringBuffer format(long numberL, StringBuffer toAppendTo, in format() argument
156 toAppendTo.append(minusSign); in format()
180 toAppendTo.append(decimalBuf, index, length); in format()
187 return toAppendTo; in format()
191 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, in format() argument
197 public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, in format() argument
204 StringBuffer toAppendTo, FieldPosition pos) { in format() argument
DRelativeDateFormat.java110 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, in format() argument
151 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
155 toAppendTo.append(relativeDayString); in format()
158 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
169 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
175 toAppendTo.append(relativeDayString); in format()
177 fDateFormat.format(cal, toAppendTo, fieldPosition); in format()
181 return toAppendTo; in format()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDateNumberFormat.java141 public StringBuffer format(double number, StringBuffer toAppendTo, in format() argument
147 public StringBuffer format(long numberL, StringBuffer toAppendTo, in format() argument
152 toAppendTo.append(minusSign); in format()
176 toAppendTo.append(decimalBuf, index, length); in format()
183 return toAppendTo; in format()
187 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, in format() argument
193 public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, in format() argument
200 StringBuffer toAppendTo, FieldPosition pos) { in format() argument
DRelativeDateFormat.java108 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, in format() argument
149 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
153 toAppendTo.append(relativeDayString); in format()
156 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
167 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format()
173 toAppendTo.append(relativeDayString); in format()
175 fDateFormat.format(cal, toAppendTo, fieldPosition); in format()
179 return toAppendTo; in format()
/external/icu/icu4c/source/i18n/
Dformat.cpp112 UnicodeString& toAppendTo, in format() argument
115 if (U_FAILURE(status)) return toAppendTo; in format()
119 return format(obj, toAppendTo, pos, status); in format()
128 UnicodeString& toAppendTo, in format() argument
135 return toAppendTo; in format()
Drbnf.cpp1178 UnicodeString& toAppendTo, in format() argument
1181 return format((int64_t)number, toAppendTo, pos); in format()
1187 UnicodeString& toAppendTo, in format() argument
1192 format(number, defaultRuleSet, toAppendTo, status); in format()
1194 return toAppendTo; in format()
1200 UnicodeString& toAppendTo, in format() argument
1205 format(number, *defaultRuleSet, toAppendTo, status); in format()
1207 return toAppendTo; in format()
1214 UnicodeString& toAppendTo, in format() argument
1218 return format((int64_t)number, ruleSetName, toAppendTo, pos, status); in format()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberFormat.java250 StringBuffer toAppendTo, in format() argument
253 return format(((Long)number).longValue(), toAppendTo, pos); in format()
255 return format((BigInteger) number, toAppendTo, pos); in format()
257 return format((java.math.BigDecimal) number, toAppendTo, pos); in format()
259 return format((android.icu.math.BigDecimal) number, toAppendTo, pos); in format()
261 return format((CurrencyAmount)number, toAppendTo, pos); in format()
263 return format(((Number)number).doubleValue(), toAppendTo, pos); in format()
339 StringBuffer toAppendTo, in format() argument
347 StringBuffer toAppendTo, in format() argument
354 StringBuffer toAppendTo, in format() argument
[all …]
DRuleBasedNumberFormat.java1164 StringBuffer toAppendTo, in format() argument
1170 if (toAppendTo.length() == 0) { in format()
1171 toAppendTo.append(adjustForContext(format(number, defaultRuleSet))); in format()
1174 toAppendTo.append(format(number, defaultRuleSet)); in format()
1176 return toAppendTo; in format()
1193 StringBuffer toAppendTo, in format() argument
1198 if (toAppendTo.length() == 0) { in format()
1199 toAppendTo.append(adjustForContext(format(number, defaultRuleSet))); in format()
1202 toAppendTo.append(format(number, defaultRuleSet)); in format()
1204 return toAppendTo; in format()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DNumberFormat.java242 StringBuffer toAppendTo, in format() argument
245 StringBuffer buf = numberFormat.format(number, toAppendTo, jdkPos); in format()
322 StringBuffer toAppendTo, in format() argument
325 StringBuffer buf = numberFormat.format(number, toAppendTo, jdkPos); in format()
337 StringBuffer toAppendTo, in format() argument
340 StringBuffer buf = numberFormat.format(number, toAppendTo, jdkPos); in format()
351 StringBuffer toAppendTo, in format() argument
354 StringBuffer buf = numberFormat.format(number, toAppendTo, jdkPos); in format()
365 StringBuffer toAppendTo, in format() argument
368 StringBuffer buf = numberFormat.format(number, toAppendTo, jdkPos); in format()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedNumberFormat.java1187 StringBuffer toAppendTo, in format() argument
1193 if (toAppendTo.length() == 0) { in format()
1194 toAppendTo.append(adjustForContext(format(number, defaultRuleSet))); in format()
1197 toAppendTo.append(format(number, defaultRuleSet)); in format()
1199 return toAppendTo; in format()
1217 StringBuffer toAppendTo, in format() argument
1222 if (toAppendTo.length() == 0) { in format()
1223 toAppendTo.append(adjustForContext(format(number, defaultRuleSet))); in format()
1226 toAppendTo.append(format(number, defaultRuleSet)); in format()
1228 return toAppendTo; in format()
[all …]
DNumberFormat.java263 StringBuffer toAppendTo, in format() argument
266 return format(((Long)number).longValue(), toAppendTo, pos); in format()
268 return format((BigInteger) number, toAppendTo, pos); in format()
270 return format((java.math.BigDecimal) number, toAppendTo, pos); in format()
272 return format((com.ibm.icu.math.BigDecimal) number, toAppendTo, pos); in format()
274 return format((CurrencyAmount)number, toAppendTo, pos); in format()
276 return format(((Number)number).doubleValue(), toAppendTo, pos); in format()
360 StringBuffer toAppendTo, in format() argument
369 StringBuffer toAppendTo, in format() argument
377 StringBuffer toAppendTo, in format() argument
[all …]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DNumberFormatICU.java63 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
64 return fIcuNfmt.format(number, toAppendTo, pos); in format()
70 public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
71 return fIcuNfmt.format(number, toAppendTo, pos); in format()
75 public StringBuffer format(Object number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument
76 return fIcuNfmt.format(number, toAppendTo, pos); in format()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestNumberFormatAPI.java227 …public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) {return null… in TestCoverage() argument
229 … public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) {return null;} in TestCoverage() argument
231 …public StringBuffer format(BigInteger number, StringBuffer toAppendTo, FieldPosition pos) {return … in TestCoverage() argument
233 …public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos… in TestCoverage() argument
235 …public StringBuffer format(android.icu.math.BigDecimal number, StringBuffer toAppendTo, FieldPosit… in TestCoverage() argument
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestNumberFormatAPI.java224 …public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) {return null… in TestCoverage() argument
226 … public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) {return null;} in TestCoverage() argument
228 …public StringBuffer format(BigInteger number, StringBuffer toAppendTo, FieldPosition pos) {return … in TestCoverage() argument
230 …public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos… in TestCoverage() argument
232 …public StringBuffer format(com.ibm.icu.math.BigDecimal number, StringBuffer toAppendTo, FieldPosit… in TestCoverage() argument

123