/external/llvm/include/llvm/Support/ |
D | Format.h | 142 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()
|
D | raw_ostream.h | 25 class FormattedNumber; variable 223 raw_ostream &operator<<(const FormattedNumber &);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Format.h | 155 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);
|
D | raw_ostream.h | 31 class FormattedNumber; variable 230 raw_ostream &operator<<(const FormattedNumber &);
|
/external/icu/icu4c/source/i18n/ |
D | number_fluent.cpp | 524 FormattedNumber LocalizedNumberFormatter::formatInt(int64_t value, UErrorCode& status) const { in formatInt() 525 if (U_FAILURE(status)) { return FormattedNumber(U_ILLEGAL_ARGUMENT_ERROR); } in formatInt() 529 return FormattedNumber(status); in formatInt() 536 return FormattedNumber(results); in formatInt() 539 return FormattedNumber(status); in formatInt() 543 FormattedNumber LocalizedNumberFormatter::formatDouble(double value, UErrorCode& status) const { in formatDouble() 544 if (U_FAILURE(status)) { return FormattedNumber(U_ILLEGAL_ARGUMENT_ERROR); } in formatDouble() 548 return FormattedNumber(status); in formatDouble() 555 return FormattedNumber(results); in formatDouble() 558 return FormattedNumber(status); in formatDouble() [all …]
|
D | number_output.cpp | 20 UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL(FormattedNumber) in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() argument 24 void FormattedNumber::toDecimalNumber(ByteSink& sink, UErrorCode& status) const { in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() 31 void FormattedNumber::getAllFieldPositionsImpl(FieldPositionIteratorHandler& fpih, in getAllFieldPositionsImpl() 37 MeasureUnit FormattedNumber::getOutputUnit(UErrorCode& status) const { in getOutputUnit() 42 void FormattedNumber::getDecimalQuantity(impl::DecimalQuantity& output, UErrorCode& status) const { in getDecimalQuantity()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | LocalizedNumberFormatter.java | 53 public FormattedNumber format(long input) { in format() 66 public FormattedNumber format(double input) { in format() 79 public FormattedNumber format(Number input) { in format() 96 public FormattedNumber format(Measure input) { in format() 101 return new FormattedNumber(string, fq, micros.outputUnit); in format() 122 private FormattedNumber format(DecimalQuantity fq) { in format() 125 return new FormattedNumber(string, fq, micros.outputUnit); in format()
|
D | FormattedNumber.java | 26 public class FormattedNumber implements FormattedValue { class 31 FormattedNumber(FormattedStringBuilder nsb, DecimalQuantity fq, MeasureUnit outputUnit) { in FormattedNumber() method in FormattedNumber
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | Format.h | 164 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);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Format.h | 164 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);
|
D | raw_ostream.h | 31 class FormattedNumber; variable 252 raw_ostream &operator<<(const FormattedNumber &);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | LocalizedNumberFormatter.java | 54 public FormattedNumber format(long input) { in format() 68 public FormattedNumber format(double input) { in format() 82 public FormattedNumber format(Number input) { in format() 100 public FormattedNumber format(Measure input) { in format() 105 return new FormattedNumber(string, fq, micros.outputUnit); in format() 127 private FormattedNumber format(DecimalQuantity fq) { in format() 130 return new FormattedNumber(string, fq, micros.outputUnit); in format()
|
D | FormattedNumber.java | 26 public class FormattedNumber implements FormattedValue { class 31 FormattedNumber(FormattedStringBuilder nsb, DecimalQuantity fq, MeasureUnit outputUnit) { in FormattedNumber() method in FormattedNumber
|
/external/icu/icu4c/source/i18n/unicode/ |
D | numberformatter.h | 114 class FormattedNumber; variable 2386 FormattedNumber formatInt(int64_t value, UErrorCode &status) const; 2399 FormattedNumber formatDouble(double value, UErrorCode &status) const; 2415 FormattedNumber formatDecimal(StringPiece value, UErrorCode& status) const; 2422 … FormattedNumber formatDecimalQuantity(const impl::DecimalQuantity& dq, UErrorCode& status) const; 2565 class U_I18N_API FormattedNumber : public UMemory, public FormattedValue { 2572 FormattedNumber() in FormattedNumber() function 2579 FormattedNumber(FormattedNumber&& src) U_NOEXCEPT; 2585 virtual ~FormattedNumber() U_OVERRIDE; 2588 FormattedNumber(const FormattedNumber&) = delete; [all …]
|
D | plurrule.h | 58 class FormattedNumber; variable 374 UnicodeString select(const number::FormattedNumber& number, UErrorCode& status) const;
|
/external/icu/libicu/cts_headers/unicode/ |
D | numberformatter.h | 114 class FormattedNumber; variable 2386 FormattedNumber formatInt(int64_t value, UErrorCode &status) const; 2399 FormattedNumber formatDouble(double value, UErrorCode &status) const; 2415 FormattedNumber formatDecimal(StringPiece value, UErrorCode& status) const; 2422 … FormattedNumber formatDecimalQuantity(const impl::DecimalQuantity& dq, UErrorCode& status) const; 2565 class U_I18N_API FormattedNumber : public UMemory, public FormattedValue { 2572 FormattedNumber() in FormattedNumber() function 2579 FormattedNumber(FormattedNumber&& src) U_NOEXCEPT; 2585 virtual ~FormattedNumber() U_OVERRIDE; 2588 FormattedNumber(const FormattedNumber&) = delete; [all …]
|
D | plurrule.h | 58 class FormattedNumber; variable 374 UnicodeString select(const number::FormattedNumber& number, UErrorCode& status) const;
|
/external/icu/android_icu4j/testing/src/android/icu/extratest/number/ |
D | FormattedNumberTest.java | 7 import android.icu.number.FormattedNumber; 25 FormattedNumber formattedNumber = in test_enUS() 37 FormattedNumber formattedNumber = in testAppendTo()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 33 import android.icu.number.FormattedNumber; 1113 FormattedNumber formattedNum; in unitUsage() 3516 FormattedNumber fmtd = assertFormatSingle( in fieldPositionLogic() 3572 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3592 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3612 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3633 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3654 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3675 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3699 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() [all …]
|
D | DecimalQuantityTest.java | 28 import android.icu.number.FormattedNumber; 681 FormattedNumber fn = formatter.format(input); in testCompactDecimalSuppressedExponent() 755 FormattedNumber fn = formatter.format(formatterInput); in testCompactNotationFractionPluralOperands() 835 FormattedNumber fnCompactScaled = compactScaled.format(input); in testSuppressedExponentUnchangedByInitialScaling() 840 FormattedNumber fnCompact = compactLong.format(input); in testSuppressedExponentUnchangedByInitialScaling()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 32 import com.ibm.icu.number.FormattedNumber; 1110 FormattedNumber formattedNum; in unitUsage() 3513 FormattedNumber fmtd = assertFormatSingle( in fieldPositionLogic() 3569 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3589 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3609 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3630 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3651 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3672 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3696 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() [all …]
|
D | DecimalQuantityTest.java | 27 import com.ibm.icu.number.FormattedNumber; 678 FormattedNumber fn = formatter.format(input); in testCompactDecimalSuppressedExponent() 752 FormattedNumber fn = formatter.format(formatterInput); in testCompactNotationFractionPluralOperands() 832 FormattedNumber fnCompactScaled = compactScaled.format(input); in testSuppressedExponentUnchangedByInitialScaling() 837 FormattedNumber fnCompact = compactLong.format(input); in testSuppressedExponentUnchangedByInitialScaling()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_api.cpp | 956 FormattedNumber num = nf.formatDouble(2.4, status); in unitCompoundMeasure() 1142 FormattedNumber formattedNum; in unitUsage() 3585 FormattedNumber actual = NumberFormatter::forSkeleton(cas.skeleton, status) in skeletonUserGuideExamples() 3590 FormattedNumber actualConcise = NumberFormatter::forSkeleton(cas.conciseSkeleton, status) in skeletonUserGuideExamples() 3625 FormattedNumber fmtd = assertFormatSingle( in fieldPositionLogic() 3683 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3704 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3726 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3748 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() 3770 FormattedNumber result = assertFormatSingle( in fieldPositionCoverage() [all …]
|
D | numbertest.h | 157 FormattedNumber assertFormatSingle( 170 const FormattedNumber& formattedNumber,
|
D | numbertest_decimalquantity.cpp | 537 FormattedNumber fn = formatter.formatDouble(cas.input, status); in testCompactDecimalSuppressedExponent() 616 FormattedNumber fnCompactScaled = compactScaled.formatInt(cas.input, status); in testSuppressedExponentUnchangedByInitialScaling() 621 FormattedNumber fnCompact = compactLong.formatInt(cas.input, status); in testSuppressedExponentUnchangedByInitialScaling()
|