Home
last modified time | relevance | path

Searched refs:FormattedNumber (Results 1 – 25 of 39) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dnumber_fluent.cpp590 FormattedNumber LocalizedNumberFormatter::formatInt(int64_t value, UErrorCode& status) const { in formatInt()
591 if (U_FAILURE(status)) { return FormattedNumber(U_ILLEGAL_ARGUMENT_ERROR); } in formatInt()
595 return FormattedNumber(status); in formatInt()
602 return FormattedNumber(results); in formatInt()
605 return FormattedNumber(status); in formatInt()
609 FormattedNumber LocalizedNumberFormatter::formatDouble(double value, UErrorCode& status) const { in formatDouble()
610 if (U_FAILURE(status)) { return FormattedNumber(U_ILLEGAL_ARGUMENT_ERROR); } in formatDouble()
614 return FormattedNumber(status); in formatDouble()
621 return FormattedNumber(results); in formatDouble()
624 return FormattedNumber(status); in formatDouble()
[all …]
Ddecimfmt.cpp434 FormattedNumber output = fields->formatter->formatDouble(number, localStatus); in format()
446 FormattedNumber output = fields->formatter->formatDouble(number, status); in format()
459 FormattedNumber output = fields->formatter->formatDouble(number, status); in format()
486 FormattedNumber output = fields->formatter->formatInt(number, localStatus); in format()
498 FormattedNumber output = fields->formatter->formatInt(number, status); in format()
511 FormattedNumber output = fields->formatter->formatInt(number, status); in format()
521 FormattedNumber output = fields->formatter->formatDecimal(number, status); in format()
530 FormattedNumber output = fields->formatter->formatDecimalQuantity(number, status); in format()
540 FormattedNumber output = fields->formatter->formatDecimalQuantity(number, status); in format()
1252 DecimalFormat::fieldPositionHelper(const number::FormattedNumber& formatted, FieldPosition& fieldPo… in fieldPositionHelper()
[all …]
/external/llvm/include/llvm/Support/
DFormat.h142 class FormattedNumber {
152 FormattedNumber(uint64_t HV, int64_t DV, unsigned W, bool H, bool U, in FormattedNumber() function
164 inline FormattedNumber format_hex(uint64_t N, unsigned Width,
167 return FormattedNumber(N, 0, Width, true, Upper, true);
177 inline FormattedNumber format_hex_no_prefix(uint64_t N, unsigned Width,
180 return FormattedNumber(N, 0, Width, true, Upper, false);
189 inline FormattedNumber format_decimal(int64_t N, unsigned Width) { in format_decimal()
190 return FormattedNumber(0, N, Width, false, false, false); in format_decimal()
Draw_ostream.h25 class FormattedNumber; variable
223 raw_ostream &operator<<(const FormattedNumber &);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormat.h155 class FormattedNumber {
165 FormattedNumber(uint64_t HV, int64_t DV, unsigned W, bool H, bool U,
177 inline FormattedNumber format_hex(uint64_t N, unsigned Width,
180 return FormattedNumber(N, 0, Width, true, Upper, true);
190 inline FormattedNumber format_hex_no_prefix(uint64_t N, unsigned Width,
193 return FormattedNumber(N, 0, Width, true, Upper, false);
202 inline FormattedNumber format_decimal(int64_t N, unsigned Width) {
203 return FormattedNumber(0, N, Width, false, false, false);
Draw_ostream.h31 class FormattedNumber; variable
230 raw_ostream &operator<<(const FormattedNumber &);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DFormat.h164 class FormattedNumber {
174 FormattedNumber(uint64_t HV, int64_t DV, unsigned W, bool H, bool U,
186 inline FormattedNumber format_hex(uint64_t N, unsigned Width,
189 return FormattedNumber(N, 0, Width, true, Upper, true);
199 inline FormattedNumber format_hex_no_prefix(uint64_t N, unsigned Width,
202 return FormattedNumber(N, 0, Width, true, Upper, false);
211 inline FormattedNumber format_decimal(int64_t N, unsigned Width) {
212 return FormattedNumber(0, N, Width, false, false, false);
Draw_ostream.h31 class FormattedNumber; variable
236 raw_ostream &operator<<(const FormattedNumber &);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DLocalizedNumberFormatter.java53 public FormattedNumber format(long input) { in format()
68 public FormattedNumber format(double input) { in format()
83 public FormattedNumber format(Number input) { in format()
102 public FormattedNumber format(Measure input) { in format()
152 public FormattedNumber format(DecimalQuantity fq) { in format()
159 return new FormattedNumber(string, fq); in format()
DFormattedNumber.java24 public class FormattedNumber { class
28 FormattedNumber(NumberStringBuilder nsb, DecimalQuantity fq) { in FormattedNumber() method in FormattedNumber
226 if (!(other instanceof FormattedNumber)) in equals()
230 FormattedNumber _other = (FormattedNumber) other; in equals()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DLocalizedNumberFormatter.java53 public FormattedNumber format(long input) { in format()
67 public FormattedNumber format(double input) { in format()
81 public FormattedNumber format(Number input) { in format()
99 public FormattedNumber format(Measure input) { in format()
148 public FormattedNumber format(DecimalQuantity fq) { in format()
155 return new FormattedNumber(string, fq); in format()
DFormattedNumber.java25 public class FormattedNumber { class
29 FormattedNumber(NumberStringBuilder nsb, DecimalQuantity fq) { in FormattedNumber() method in FormattedNumber
220 if (!(other instanceof FormattedNumber)) in equals()
224 FormattedNumber _other = (FormattedNumber) other; in equals()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h100 class FormattedNumber; variable
2272 FormattedNumber formatInt(int64_t value, UErrorCode &status) const;
2285 FormattedNumber formatDouble(double value, UErrorCode &status) const;
2301 FormattedNumber formatDecimal(StringPiece value, UErrorCode& status) const;
2308FormattedNumber formatDecimalQuantity(const impl::DecimalQuantity& dq, UErrorCode& status) const;
2438 class U_I18N_API FormattedNumber : public UMemory {
2600 FormattedNumber(const FormattedNumber&) = delete;
2605 FormattedNumber& operator=(const FormattedNumber&) = delete;
2612 FormattedNumber(FormattedNumber&& src) U_NOEXCEPT;
2619 FormattedNumber& operator=(FormattedNumber&& src) U_NOEXCEPT;
[all …]
Ddecimfmt.h53 class FormattedNumber; variable
2141 …static void fieldPositionHelper(const number::FormattedNumber& formatted, FieldPosition& fieldPosi…
2144 static void fieldPositionIteratorHelper(const number::FormattedNumber& formatted,
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java39 import com.ibm.icu.number.FormattedNumber;
322 FormattedNumber result = formatMeasure((Measure) obj); in format()
388 FormattedNumber result = getUnitFormatterFromCache(NUMBER_FORMATTER_STANDARD, in formatMeasurePerUnit()
435 FormattedNumber result = formatMeasure(measures[0]); in formatMeasuresInternal()
769 private FormattedNumber formatMeasure(Measure measure) { in formatMeasure()
780 private FormattedNumber formatMeasureInteger(Measure measure) { in formatMeasureInteger()
798 FormattedNumber result; in formatMeasuresSlowTrack()
931 FormattedNumber result = getNumberFormatter().format(smallestAmount); in formatNumeric()
DDecimalFormat.java27 import com.ibm.icu.number.FormattedNumber;
711 FormattedNumber output = formatter.format(number); in format()
724 FormattedNumber output = formatter.format(number); in format()
737 FormattedNumber output = formatter.format(number); in format()
751 FormattedNumber output = formatter.format(number); in format()
764 FormattedNumber output = formatter.format(number); in format()
779 FormattedNumber output = formatter.format(number); in formatToCharacterIterator()
790 FormattedNumber output = formatter.format(currAmt); in format()
2580 …static void fieldPositionHelper(FormattedNumber formatted, FieldPosition fieldPosition, int offset… in fieldPositionHelper()
DPluralFormat.java20 import com.ibm.icu.number.FormattedNumber;
622 FormattedNumber result; in format()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java40 import android.icu.number.FormattedNumber;
300 FormattedNumber result = formatMeasure((Measure) obj); in format()
363 FormattedNumber result = getUnitFormatterFromCache(NUMBER_FORMATTER_STANDARD, in formatMeasurePerUnit()
409 FormattedNumber result = formatMeasure(measures[0]); in formatMeasuresInternal()
728 private FormattedNumber formatMeasure(Measure measure) { in formatMeasure()
739 private FormattedNumber formatMeasureInteger(Measure measure) { in formatMeasureInteger()
757 FormattedNumber result; in formatMeasuresSlowTrack()
890 FormattedNumber result = getNumberFormatter().format(smallestAmount); in formatNumeric()
DDecimalFormat.java28 import android.icu.number.FormattedNumber;
696 FormattedNumber output = formatter.format(number); in format()
707 FormattedNumber output = formatter.format(number); in format()
718 FormattedNumber output = formatter.format(number); in format()
730 FormattedNumber output = formatter.format(number); in format()
741 FormattedNumber output = formatter.format(number); in format()
754 FormattedNumber output = formatter.format(number); in formatToCharacterIterator()
763 FormattedNumber output = formatter.format(currAmt); in format()
2390 …static void fieldPositionHelper(FormattedNumber formatted, FieldPosition fieldPosition, int offset… in fieldPositionHelper()
DPluralFormat.java21 import android.icu.number.FormattedNumber;
605 FormattedNumber result; in format()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java16 import android.icu.number.FormattedNumber;
51 FormattedNumber result = formatter.format((Number) obj); in format()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java15 import com.ibm.icu.number.FormattedNumber;
49 FormattedNumber result = formatter.format((Number) obj); in format()
/external/tensorflow/tensorflow/lite/toco/
Ddump_graphviz.cc411 attrs["math"] = FormattedNumber(math_ops_count) + "ops"; in GetOpAttributes()
605 attrs["math"] = FormattedNumber(node.math_ops) + "ops"; in GetSubgraphLabel()
736 attrs["math"] = FormattedNumber(ops_count) + "ops"; in GetGraphLabel()
/external/llvm/lib/Support/
DSignals.cpp59 static FormattedNumber format_ptr(void *PC) { in format_ptr()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSignals.cpp59 static FormattedNumber format_ptr(void *PC) { in format_ptr()

12