/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
D | NumberFormatJDK.java | 64 …public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos… in format() argument 65 return fJdkNfmt.format(number, toAppendTo, pos); in format() 69 public StringBuffer format(BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument 70 return fJdkNfmt.format(number.toBigDecimal(), toAppendTo, pos); in format() 74 …public StringBuffer format(java.math.BigInteger number, StringBuffer toAppendTo, FieldPosition pos… in format() argument 75 return fJdkNfmt.format(number, toAppendTo, pos); in format() 83 public StringBuffer format(CurrencyAmount currAmt, StringBuffer toAppendTo, FieldPosition pos) { in format() argument 90 fJdkNfmt.format(currAmt.getNumber(), toAppendTo, pos); in format() local 94 return toAppendTo; in format() 100 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/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CompactDecimalFormat.java | 227 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument 231 currencyUnit.value.writePrefix(toAppendTo); in format() 234 unit.writePrefix(toAppendTo); in format() 235 super.format(amount.getQty(), toAppendTo, pos); in format() local 236 unit.writeSuffix(toAppendTo); in format() 238 currencyUnit.value.writeSuffix(toAppendTo); in format() 240 return toAppendTo; in format() 260 public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument 261 return format((double) number, toAppendTo, pos); in format() 268 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument [all …]
|
D | NumberFormat.java | 248 StringBuffer toAppendTo, in format() argument 251 return format(((Long)number).longValue(), toAppendTo, pos); in format() 253 return format((BigInteger) number, toAppendTo, pos); in format() 255 return format((java.math.BigDecimal) number, toAppendTo, pos); in format() 257 return format((android.icu.math.BigDecimal) number, toAppendTo, pos); in format() 259 return format((CurrencyAmount)number, toAppendTo, pos); in format() 261 return format(((Number)number).doubleValue(), toAppendTo, pos); in format() 337 StringBuffer toAppendTo, in format() argument 345 StringBuffer toAppendTo, in format() argument 352 StringBuffer toAppendTo, in format() argument [all …]
|
D | RuleBasedNumberFormat.java | 1156 StringBuffer toAppendTo, in format() argument 1162 if (toAppendTo.length() == 0) { in format() 1163 toAppendTo.append(adjustForContext(format(number, defaultRuleSet))); in format() 1166 toAppendTo.append(format(number, defaultRuleSet)); in format() 1168 return toAppendTo; in format() 1184 StringBuffer toAppendTo, in format() argument 1189 if (toAppendTo.length() == 0) { in format() 1190 toAppendTo.append(adjustForContext(format(number, defaultRuleSet))); in format() 1193 toAppendTo.append(format(number, defaultRuleSet)); in format() 1195 return toAppendTo; in format() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CompactDecimalFormat.java | 234 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument 238 currencyUnit.value.writePrefix(toAppendTo); in format() 241 unit.writePrefix(toAppendTo); in format() 242 super.format(amount.getQty(), toAppendTo, pos); in format() local 243 unit.writeSuffix(toAppendTo); in format() 245 currencyUnit.value.writeSuffix(toAppendTo); in format() 247 return toAppendTo; in format() 269 public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument 270 return format((double) number, toAppendTo, pos); in format() 278 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument [all …]
|
D | NumberFormat.java | 261 StringBuffer toAppendTo, in format() argument 264 return format(((Long)number).longValue(), toAppendTo, pos); in format() 266 return format((BigInteger) number, toAppendTo, pos); in format() 268 return format((java.math.BigDecimal) number, toAppendTo, pos); in format() 270 return format((com.ibm.icu.math.BigDecimal) number, toAppendTo, pos); in format() 272 return format((CurrencyAmount)number, toAppendTo, pos); in format() 274 return format(((Number)number).doubleValue(), toAppendTo, pos); in format() 358 StringBuffer toAppendTo, in format() argument 367 StringBuffer toAppendTo, in format() argument 375 StringBuffer toAppendTo, in format() argument [all …]
|
D | RuleBasedNumberFormat.java | 1179 StringBuffer toAppendTo, in format() argument 1185 if (toAppendTo.length() == 0) { in format() 1186 toAppendTo.append(adjustForContext(format(number, defaultRuleSet))); in format() 1189 toAppendTo.append(format(number, defaultRuleSet)); in format() 1191 return toAppendTo; in format() 1208 StringBuffer toAppendTo, in format() argument 1213 if (toAppendTo.length() == 0) { in format() 1214 toAppendTo.append(adjustForContext(format(number, defaultRuleSet))); in format() 1217 toAppendTo.append(format(number, defaultRuleSet)); in format() 1219 return toAppendTo; in format() [all …]
|
/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/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | DateNumberFormat.java | 131 public StringBuffer format(double number, StringBuffer toAppendTo, in format() argument 136 public StringBuffer format(long numberL, StringBuffer toAppendTo, in format() argument 141 toAppendTo.append(minusSign); in format() 165 toAppendTo.append(decimalBuf, index, length); in format() 172 return toAppendTo; in format() 175 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, in format() argument 180 public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, in format() argument 186 StringBuffer toAppendTo, FieldPosition pos) { in format() argument
|
D | RelativeDateFormat.java | 107 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, in format() argument 148 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 152 toAppendTo.append(relativeDayString); in format() 155 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 166 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 172 toAppendTo.append(relativeDayString); in format() 174 fDateFormat.format(cal, toAppendTo, fieldPosition); in format() 178 return toAppendTo; in format()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | DateNumberFormat.java | 135 public StringBuffer format(double number, StringBuffer toAppendTo, in format() argument 140 public StringBuffer format(long numberL, StringBuffer toAppendTo, in format() argument 145 toAppendTo.append(minusSign); in format() 169 toAppendTo.append(decimalBuf, index, length); in format() 176 return toAppendTo; in format() 179 public StringBuffer format(BigInteger number, StringBuffer toAppendTo, in format() argument 184 public StringBuffer format(java.math.BigDecimal number, StringBuffer toAppendTo, in format() argument 190 StringBuffer toAppendTo, FieldPosition pos) { in format() argument
|
D | RelativeDateFormat.java | 109 public StringBuffer format(Calendar cal, StringBuffer toAppendTo, in format() argument 150 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 154 toAppendTo.append(relativeDayString); in format() 157 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 168 fDateTimeFormat.format(cal, toAppendTo, fieldPosition); in format() 174 toAppendTo.append(relativeDayString); in format() 176 fDateFormat.format(cal, toAppendTo, fieldPosition); in format() 180 return toAppendTo; in format()
|
/external/icu/icu4c/source/i18n/ |
D | rbnf.cpp | 1081 UnicodeString& toAppendTo, in format() argument 1086 int32_t startPos = toAppendTo.length(); in format() 1087 defaultRuleSet->format((int64_t)number, toAppendTo, toAppendTo.length(), 0, status); in format() 1088 adjustForCapitalizationContext(startPos, toAppendTo); in format() 1090 return toAppendTo; in format() 1096 UnicodeString& toAppendTo, in format() argument 1101 int32_t startPos = toAppendTo.length(); in format() 1102 defaultRuleSet->format(number, toAppendTo, toAppendTo.length(), 0, status); in format() 1103 adjustForCapitalizationContext(startPos, toAppendTo); in format() 1105 return toAppendTo; in format() [all …]
|
D | format.cpp | 110 UnicodeString& toAppendTo, in format() argument 113 if (U_FAILURE(status)) return toAppendTo; in format() 117 return format(obj, toAppendTo, pos, status); in format() 126 UnicodeString& toAppendTo, in format() argument 133 return toAppendTo; in format()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | NumberFormat.java | 240 StringBuffer toAppendTo, in format() argument 243 StringBuffer buf = numberFormat.format(number, toAppendTo, jdkPos); in format() 320 StringBuffer toAppendTo, in format() argument 323 StringBuffer buf = numberFormat.format(number, toAppendTo, jdkPos); in format() 335 StringBuffer toAppendTo, in format() argument 338 StringBuffer buf = numberFormat.format(number, toAppendTo, jdkPos); in format() 349 StringBuffer toAppendTo, in format() argument 352 StringBuffer buf = numberFormat.format(number, toAppendTo, jdkPos); in format() 363 StringBuffer toAppendTo, in format() argument 366 StringBuffer buf = numberFormat.format(number, toAppendTo, jdkPos); in format() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | rbnf.h | 786 UnicodeString& toAppendTo, 798 UnicodeString& toAppendTo, 809 UnicodeString& toAppendTo, 825 UnicodeString& toAppendTo, 841 UnicodeString& toAppendTo, 857 UnicodeString& toAppendTo,
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | NumberFormatICU.java | 61 public StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument 62 return fIcuNfmt.format(number, toAppendTo, pos); in format() 68 public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument 69 return fIcuNfmt.format(number, toAppendTo, pos); in format() 73 public StringBuffer format(Object number, StringBuffer toAppendTo, FieldPosition pos) { in format() argument 74 return fIcuNfmt.format(number, toAppendTo, pos); in format()
|