/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | ScientificNotation.java | 131 final ScientificNotation notation; field in ScientificNotation.ScientificHandler 138 ScientificNotation notation, in ScientificHandler() argument 142 this.notation = notation; in ScientificHandler() 165 if (notation.requireMinInt && micros.rounder instanceof SignificantRounderImpl) { in processQuantity() 168 notation.engineeringInterval); in processQuantity() 199 int interval = notation.engineeringInterval; in getMultiplier() 201 if (notation.requireMinInt) { in getMultiplier() 265 if (exponent < 0 && notation.exponentSignDisplay != SignDisplay.NEVER) { in doApply() 267 } else if (exponent >= 0 && notation.exponentSignDisplay == SignDisplay.ALWAYS) { in doApply() 272 for (int j = 0; j < notation.minExponentDigits || disp > 0; j++, disp /= 10) { in doApply()
|
D | NumberFormatterSettings.java | 90 public T notation(Notation notation) { in notation() argument 91 return create(KEY_NOTATION, notation); in notation() 577 if (macros.notation == null) { in resolve() 578 macros.notation = (Notation) current.value; in resolve()
|
D | NumberSkeletonImpl.java | 194 private static Notation notation(StemEnum stem) { in notation() method in NumberSkeletonImpl.StemToObject 628 checkNull(macros.notation, segment); in parseStem() 629 macros.notation = StemToObject.notation(stem); in parseStem() 820 if (macros.notation != null && GeneratorHelpers.notation(macros, sb)) { in generateSkeleton() 902 macros.notation = ((ScientificNotation) macros.notation).withMinExponentDigits(minExp); in parseExponentWidthOption() 925 macros.notation = ((ScientificNotation) macros.notation).withExponentSignDisplay(sign); in parseExponentSignOption() 1249 private static boolean notation(MacroProps macros, StringBuilder sb) { in notation() method in NumberSkeletonImpl.GeneratorHelpers 1250 if (macros.notation instanceof CompactNotation) { in notation() 1251 if (macros.notation == Notation.compactLong()) { in notation() 1254 } else if (macros.notation == Notation.compactShort()) { in notation() [all …]
|
D | CompactNotation.java | 83 CompactNotation notation, in CompactHandler() argument 93 if (notation.compactStyle != null) { in CompactHandler() 94 data.populate(locale, nsName, notation.compactStyle, compactType); in CompactHandler() 96 data.populate(notation.compactCustomData); in CompactHandler()
|
D | NumberFormatterImpl.java | 257 } else if (macros.notation instanceof CompactNotation) { in macrosToMicroGenerator() 274 } else if (macros.notation instanceof CompactNotation) { in macrosToMicroGenerator() 314 if (macros.notation instanceof ScientificNotation) { in macrosToMicroGenerator() 315 … chain = ((ScientificNotation) macros.notation).withLocaleData(micros.symbols, safe, chain); in macrosToMicroGenerator() 363 if (macros.notation instanceof CompactNotation) { in macrosToMicroGenerator() 371 chain = ((CompactNotation) macros.notation).withLocaleData(macros.loc, in macrosToMicroGenerator()
|
D | NumberPropertyMapper.java | 254 macros.notation = new ScientificNotation( in oldToNew() 299 macros.notation = new CompactNotation(properties.getCompactCustomData()); in oldToNew() 301 macros.notation = Notation.compactLong(); in oldToNew() 303 macros.notation = Notation.compactShort(); in oldToNew()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | ScientificNotation.java | 133 final ScientificNotation notation; field in ScientificNotation.ScientificHandler 140 ScientificNotation notation, in ScientificHandler() argument 144 this.notation = notation; in ScientificHandler() 167 if (notation.requireMinInt && micros.rounder instanceof SignificantRounderImpl) { in processQuantity() 170 notation.engineeringInterval); in processQuantity() 201 int interval = notation.engineeringInterval; in getMultiplier() 203 if (notation.requireMinInt) { in getMultiplier() 267 if (exponent < 0 && notation.exponentSignDisplay != SignDisplay.NEVER) { in doApply() 269 } else if (exponent >= 0 && notation.exponentSignDisplay == SignDisplay.ALWAYS) { in doApply() 274 for (int j = 0; j < notation.minExponentDigits || disp > 0; j++, disp /= 10) { in doApply()
|
D | NumberFormatterSettings.java | 90 public T notation(Notation notation) { in notation() argument 91 return create(KEY_NOTATION, notation); in notation() 590 if (macros.notation == null) { in resolve() 591 macros.notation = (Notation) current.value; in resolve()
|
D | CompactNotation.java | 82 CompactNotation notation, in CompactHandler() argument 92 if (notation.compactStyle != null) { in CompactHandler() 93 data.populate(locale, nsName, notation.compactStyle, compactType); in CompactHandler() 95 data.populate(notation.compactCustomData); in CompactHandler()
|
D | NumberSkeletonImpl.java | 193 private static Notation notation(StemEnum stem) { in notation() method in NumberSkeletonImpl.StemToObject 627 checkNull(macros.notation, segment); in parseStem() 628 macros.notation = StemToObject.notation(stem); in parseStem() 819 if (macros.notation != null && GeneratorHelpers.notation(macros, sb)) { in generateSkeleton() 901 macros.notation = ((ScientificNotation) macros.notation).withMinExponentDigits(minExp); in parseExponentWidthOption() 924 macros.notation = ((ScientificNotation) macros.notation).withExponentSignDisplay(sign); in parseExponentSignOption() 1248 private static boolean notation(MacroProps macros, StringBuilder sb) { in notation() method in NumberSkeletonImpl.GeneratorHelpers 1249 if (macros.notation instanceof CompactNotation) { in notation() 1250 if (macros.notation == Notation.compactLong()) { in notation() 1253 } else if (macros.notation == Notation.compactShort()) { in notation() [all …]
|
D | NumberFormatterImpl.java | 256 } else if (macros.notation instanceof CompactNotation) { in macrosToMicroGenerator() 273 } else if (macros.notation instanceof CompactNotation) { in macrosToMicroGenerator() 313 if (macros.notation instanceof ScientificNotation) { in macrosToMicroGenerator() 314 … chain = ((ScientificNotation) macros.notation).withLocaleData(micros.symbols, safe, chain); in macrosToMicroGenerator() 362 if (macros.notation instanceof CompactNotation) { in macrosToMicroGenerator() 370 chain = ((CompactNotation) macros.notation).withLocaleData(macros.loc, in macrosToMicroGenerator()
|
D | NumberPropertyMapper.java | 253 macros.notation = new ScientificNotation( in oldToNew() 298 macros.notation = new CompactNotation(properties.getCompactCustomData()); in oldToNew() 300 macros.notation = Notation.compactLong(); in oldToNew() 302 macros.notation = Notation.compactShort(); in oldToNew()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | MacroProps.java | 20 public Notation notation; field in MacroProps 45 if (notation == null) in fallback() 46 notation = fallback.notation; in fallback() 81 return Objects.hash(notation, in hashCode() 108 return Objects.equals(notation, other.notation) in equals()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | MacroProps.java | 24 public Notation notation; field in MacroProps 49 if (notation == null) in fallback() 50 notation = fallback.notation; in fallback() 85 return Objects.hash(notation, in hashCode() 112 return Objects.equals(notation, other.notation) in equals()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberRangeFormatterTest.java | 420 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse() 437 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse() 453 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 470 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 487 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 504 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 521 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse() 538 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse() 606 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort())), in testIdentity()
|
D | NumberFormatterApiTest.java | 92 NumberFormatter.with().notation(Notation.simple()), in notationSimple() 118 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 133 NumberFormatter.with().notation(Notation.engineering()), in notationScientific() 148 …NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific() 163 NumberFormatter.with().notation(Notation.scientific().withMinExponentDigits(2)), in notationScientific() 178 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 189 NumberFormatter.with().notation(Notation.compactShort()), in notationCompact() 204 NumberFormatter.with().notation(Notation.compactLong()), in notationCompact() 219 NumberFormatter.with().notation(Notation.compactShort()).unit(USD), in notationCompact() 234 … NumberFormatter.with().notation(Notation.compactShort()).unit(USD).unitWidth(UnitWidth.ISO_CODE), in notationCompact() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberRangeFormatterTest.java | 417 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse() 434 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse() 450 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 467 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 484 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 501 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 518 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse() 535 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse() 603 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort())), in testIdentity()
|
D | NumberFormatterApiTest.java | 89 NumberFormatter.with().notation(Notation.simple()), in notationSimple() 115 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 130 NumberFormatter.with().notation(Notation.engineering()), in notationScientific() 145 …NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific() 160 NumberFormatter.with().notation(Notation.scientific().withMinExponentDigits(2)), in notationScientific() 175 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 186 NumberFormatter.with().notation(Notation.compactShort()), in notationCompact() 201 NumberFormatter.with().notation(Notation.compactLong()), in notationCompact() 216 NumberFormatter.with().notation(Notation.compactShort()).unit(USD), in notationCompact() 231 … NumberFormatter.with().notation(Notation.compactShort()).unit(USD).unitWidth(UnitWidth.ISO_CODE), in notationCompact() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_api.cpp | 115 NumberFormatter::with().notation(Notation::simple()), in notationSimple() 141 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 156 NumberFormatter::with().notation(Notation::engineering()), in notationScientific() 171 NumberFormatter::with().notation( in notationScientific() 187 NumberFormatter::with().notation(Notation::scientific().withMinExponentDigits(2)), in notationScientific() 202 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 212 NumberFormatter::with().notation(Notation::compactShort()), in notationCompact() 227 NumberFormatter::with().notation(Notation::compactLong()), in notationCompact() 242 NumberFormatter::with().notation(Notation::compactShort()).unit(USD), in notationCompact() 257 NumberFormatter::with().notation(Notation::compactShort()) in notationCompact() [all …]
|
D | numbertest_range.cpp | 429 .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactLong())), in testCollapse() 446 .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactLong())), in testCollapse() 462 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse() 479 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse() 496 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse() 513 … .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort()).unit(METER)), in testCollapse() 530 .numberFormatterBoth(NumberFormatter::with().notation(Notation::scientific())), in testCollapse() 547 .numberFormatterBoth(NumberFormatter::with().notation(Notation::scientific())), in testCollapse() 614 .numberFormatterBoth(NumberFormatter::with().notation(Notation::compactShort())), in testIdentity()
|
/external/u-boot/doc/ |
D | README.fsl-dpaa | 5 on SoCs T4240, T2080, LS1043A, etc, the notation between 10GEC and MAC as below: 7 on SoCs T1024, etc, the notation between 10GEC and MAC as below:
|
/external/icu/icu4c/source/i18n/ |
D | number_skeletons.cpp | 149 Notation stem_to_object::notation(skeleton::StemEnum stem) { in notation() function in stem_to_object 555 CHECK_NULL(seen, notation, status); in parseStem() 556 macros.notation = stem_to_object::notation(stem); in parseStem() 750 if (GeneratorHelpers::notation(macros, sb, status)) { in generateSkeleton() 842 … macros.notation = static_cast<ScientificNotation&>(macros.notation).withMinExponentDigits(minExp); in parseExponentWidthOption() 866 … macros.notation = static_cast<ScientificNotation&>(macros.notation).withExponentSignDisplay(sign); in parseExponentSignOption() 1287 bool GeneratorHelpers::notation(const MacroProps& macros, UnicodeString& sb, UErrorCode& status) { in notation() function in GeneratorHelpers 1288 if (macros.notation.fType == Notation::NTN_COMPACT) { in notation() 1289 UNumberCompactStyle style = macros.notation.fUnion.compactStyle; in notation() 1302 } else if (macros.notation.fType == Notation::NTN_SCIENTIFIC) { in notation() [all …]
|
D | number_fluent.cpp | 25 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation) const& { in notation() function in NumberFormatterSettings 28 copy.fMacros.notation = notation; in notation() 33 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation)&& { in notation() function in NumberFormatterSettings 36 move.fMacros.notation = notation; in notation()
|
D | number_formatimpl.cpp | 275 } else if (macros.notation.fType == Notation::NTN_COMPACT) { in macrosToMicroGenerator() 294 } else if (macros.notation.fType == Notation::NTN_COMPACT) { in macrosToMicroGenerator() 334 if (macros.notation.fType == Notation::NTN_SCIENTIFIC) { in macrosToMicroGenerator() 335 … fScientificHandler.adoptInstead(new ScientificHandler(¯os.notation, fMicros.symbols, chain)); in macrosToMicroGenerator() 395 if (macros.notation.fType == Notation::NTN_COMPACT) { in macrosToMicroGenerator() 400 macros.notation.fUnion.compactStyle, in macrosToMicroGenerator()
|
D | number_skeletons.h | 169 Notation notation(skeleton::StemEnum stem); 276 static bool notation(const MacroProps& macros, UnicodeString& sb, UErrorCode& status); 307 bool notation = false; member
|