/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | NumberFormatJDK.java | 66 …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/ |
D | ComplexFormat.java | 146 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/ |
D | Vector3DFormat.java | 202 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/ |
D | BigFractionFormat.java | 138 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()
|
D | FractionFormat.java | 145 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()
|
D | ProperBigFractionFormat.java | 90 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()
|
D | ProperFractionFormat.java | 90 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/ |
D | StepChartExampleActivity.java | 107 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/ |
D | RealVectorFormat.java | 205 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/ |
D | CompositeFormat.java | 208 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/ |
D | rbnf.h | 794 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/ |
D | DateNumberFormat.java | 145 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
|
D | RelativeDateFormat.java | 110 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/ |
D | DateNumberFormat.java | 141 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
|
D | RelativeDateFormat.java | 108 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/ |
D | format.cpp | 112 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()
|
D | rbnf.cpp | 1178 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/ |
D | NumberFormat.java | 250 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 …]
|
D | RuleBasedNumberFormat.java | 1164 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/ |
D | NumberFormat.java | 242 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/ |
D | RuleBasedNumberFormat.java | 1187 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 …]
|
D | NumberFormat.java | 263 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/ |
D | NumberFormatICU.java | 63 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/ |
D | IntlTestNumberFormatAPI.java | 227 …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/ |
D | IntlTestNumberFormatAPI.java | 224 …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
|