/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/number/ |
D | ScientificNotation.java | 129 final ScientificNotation notation; field in ScientificNotation.ScientificHandler 136 ScientificNotation notation, in ScientificHandler() argument 140 this.notation = notation; in ScientificHandler() 169 if (notation.requireMinInt && micros.rounder instanceof SignificantRounderImpl) { in processQuantity() 172 notation.engineeringInterval); in processQuantity() 208 int interval = notation.engineeringInterval; in getMultiplier() 210 if (notation.requireMinInt) { in getMultiplier() 274 if (exponent < 0 && notation.exponentSignDisplay != SignDisplay.NEVER) { in doApply() 276 } else if (exponent >= 0 && notation.exponentSignDisplay == SignDisplay.ALWAYS) { in doApply() 281 for (int j = 0; j < notation.minExponentDigits || disp > 0; j++, disp /= 10) { in doApply()
|
D | CompactNotation.java | 83 CompactNotation notation, in CompactHandler() argument 94 if (notation.compactStyle != null) { in CompactHandler() 95 data.populate(locale, nsName, notation.compactStyle, compactType); in CompactHandler() 97 data.populate(notation.compactCustomData); in CompactHandler()
|
D | NumberSkeletonImpl.java | 243 private static Notation notation(StemEnum stem) { in notation() method in NumberSkeletonImpl.StemToObject 680 checkNull(macros.notation, segment); in parseStem() 707 checkNull(macros.notation, segment); in parseStem() 708 macros.notation = StemToObject.notation(stem); in parseStem() 949 if (macros.notation != null && GeneratorHelpers.notation(macros, sb)) { in generateSkeleton() 1035 macros.notation = ((ScientificNotation) macros.notation).withMinExponentDigits(minExp); in parseExponentWidthOption() 1058 macros.notation = ((ScientificNotation) macros.notation).withExponentSignDisplay(sign); in parseExponentSignOption() 1278 macros.notation = (isEngineering ? Notation.engineering() : Notation.scientific()) in parseScientificStem() 1492 private static boolean notation(MacroProps macros, StringBuilder sb) { 1493 if (macros.notation instanceof CompactNotation) { [all …]
|
D | NumberFormatterSettings.java | 92 public T notation(Notation notation) { in notation() method in NumberFormatterSettings 93 return create(KEY_NOTATION, notation); in notation() 672 macros.notation = (Notation) current.value; in resolve()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | ScientificNotation.java | 127 final ScientificNotation notation; field in ScientificNotation.ScientificHandler 134 ScientificNotation notation, in ScientificHandler() argument 138 this.notation = notation; in ScientificHandler() 167 if (notation.requireMinInt && micros.rounder instanceof SignificantRounderImpl) { in processQuantity() 170 notation.engineeringInterval); in processQuantity() 206 int interval = notation.engineeringInterval; in getMultiplier() 208 if (notation.requireMinInt) { in getMultiplier() 272 if (exponent < 0 && notation.exponentSignDisplay != SignDisplay.NEVER) { in doApply() 274 } else if (exponent >= 0 && notation.exponentSignDisplay == SignDisplay.ALWAYS) { in doApply() 279 for (int j = 0; j < notation.minExponentDigits || disp > 0; j++, disp /= 10) { in doApply()
|
D | CompactNotation.java | 83 CompactNotation notation, in CompactHandler() argument 94 if (notation.compactStyle != null) { in CompactHandler() 95 data.populate(locale, nsName, notation.compactStyle, compactType); in CompactHandler() 97 data.populate(notation.compactCustomData); in CompactHandler()
|
D | NumberSkeletonImpl.java | 244 private static Notation notation(StemEnum stem) { in notation() method in NumberSkeletonImpl.StemToObject 681 checkNull(macros.notation, segment); in parseStem() 708 checkNull(macros.notation, segment); in parseStem() 709 macros.notation = StemToObject.notation(stem); in parseStem() 950 if (macros.notation != null && GeneratorHelpers.notation(macros, sb)) { in generateSkeleton() 1036 macros.notation = ((ScientificNotation) macros.notation).withMinExponentDigits(minExp); in parseExponentWidthOption() 1059 macros.notation = ((ScientificNotation) macros.notation).withExponentSignDisplay(sign); in parseExponentSignOption() 1279 macros.notation = (isEngineering ? Notation.engineering() : Notation.scientific()) in parseScientificStem() 1493 private static boolean notation(MacroProps macros, StringBuilder sb) { 1494 if (macros.notation instanceof CompactNotation) { [all …]
|
D | NumberFormatterSettings.java | 91 public T notation(Notation notation) { in notation() method in NumberFormatterSettings 92 return create(KEY_NOTATION, notation); in notation() 647 macros.notation = (Notation) current.value; in resolve()
|
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/android_icu4j/src/main/java/android/icu/impl/number/ |
D | MacroProps.java | 24 public Notation notation; field in MacroProps 52 if (notation == null) in fallback() 53 notation = fallback.notation; in fallback() 94 return Objects.hash(notation, in hashCode() 124 return Objects.equals(notation, other.notation) in equals()
|
/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/impl/number/ |
D | MacroProps.java | 20 public Notation notation; field in MacroProps 48 if (notation == null) in fallback() 49 notation = fallback.notation; in fallback() 90 return Objects.hash(notation, in hashCode() 120 return Objects.equals(notation, other.notation) in equals()
|
/external/icu/android_icu4j/src/main/java/android/icu/message2/ |
D | NumberFormatterFactory.java | 285 Notation notation; in formatterForOptions() local 288 notation = Notation.scientific(); in formatterForOptions() 291 notation = Notation.engineering(); in formatterForOptions() 297 notation = Notation.compactLong(); in formatterForOptions() 301 notation = Notation.compactShort(); in formatterForOptions() 307 notation = Notation.simple(); in formatterForOptions() 309 nf = nf.notation(notation); in formatterForOptions()
|
/external/icu/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 100 NumberFormatter.with().notation(Notation.simple()), in notationSimple() 128 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 144 NumberFormatter.with().notation(Notation.engineering()), in notationScientific() 160 …NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific() 176 NumberFormatter.with().notation(Notation.scientific().withMinExponentDigits(2)), in notationScientific() 192 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 201 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 210 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 222 NumberFormatter.with().notation(Notation.compactShort()), in notationCompact() 238 NumberFormatter.with().notation(Notation.compactLong()), in notationCompact() [all …]
|
D | NumberRangeFormatterTest.java | 432 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse() 449 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse() 465 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 482 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 499 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 516 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 533 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse() 550 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse() 618 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort())), in testIdentity() 772 .notation(Notation.compactShort())) in testFieldPositions()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 103 NumberFormatter.with().notation(Notation.simple()), in notationSimple() 131 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 147 NumberFormatter.with().notation(Notation.engineering()), in notationScientific() 163 …NumberFormatter.with().notation(Notation.scientific().withExponentSignDisplay(SignDisplay.ALWAYS)), in notationScientific() 179 NumberFormatter.with().notation(Notation.scientific().withMinExponentDigits(2)), in notationScientific() 195 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 204 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 213 NumberFormatter.with().notation(Notation.scientific()), in notationScientific() 225 NumberFormatter.with().notation(Notation.compactShort()), in notationCompact() 241 NumberFormatter.with().notation(Notation.compactLong()), in notationCompact() [all …]
|
D | NumberRangeFormatterTest.java | 435 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse() 452 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactLong())), in testCollapse() 468 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 485 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 502 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 519 ….numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort()).unit(MeasureUnit.MET… in testCollapse() 536 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse() 553 .numberFormatterBoth(NumberFormatter.with().notation(Notation.scientific())), in testCollapse() 621 .numberFormatterBoth(NumberFormatter.with().notation(Notation.compactShort())), in testIdentity() 775 .notation(Notation.compactShort())) in testFieldPositions()
|
/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/message2/ |
D | NumberFormatterFactory.java | 284 Notation notation; in formatterForOptions() local 287 notation = Notation.scientific(); in formatterForOptions() 290 notation = Notation.engineering(); in formatterForOptions() 296 notation = Notation.compactLong(); in formatterForOptions() 300 notation = Notation.compactShort(); in formatterForOptions() 306 notation = Notation.simple(); in formatterForOptions() 308 nf = nf.notation(notation); in formatterForOptions()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_api.cpp | 161 NumberFormatter::with().notation(Notation::simple()), in notationSimple() 189 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 205 NumberFormatter::with().notation(Notation::engineering()), in notationScientific() 221 NumberFormatter::with().notation( in notationScientific() 238 NumberFormatter::with().notation(Notation::scientific().withMinExponentDigits(2)), in notationScientific() 254 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 263 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 272 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 283 NumberFormatter::with().notation(Notation::compactShort()), in notationCompact() 299 NumberFormatter::with().notation(Notation::compactLong()), in notationCompact() [all …]
|
/external/cronet/tot/third_party/icu/source/test/intltest/ |
D | numbertest_api.cpp | 161 NumberFormatter::with().notation(Notation::simple()), in notationSimple() 189 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 205 NumberFormatter::with().notation(Notation::engineering()), in notationScientific() 221 NumberFormatter::with().notation( in notationScientific() 238 NumberFormatter::with().notation(Notation::scientific().withMinExponentDigits(2)), in notationScientific() 254 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 263 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 272 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 283 NumberFormatter::with().notation(Notation::compactShort()), in notationCompact() 299 NumberFormatter::with().notation(Notation::compactLong()), in notationCompact() [all …]
|
/external/cronet/stable/third_party/icu/source/test/intltest/ |
D | numbertest_api.cpp | 161 NumberFormatter::with().notation(Notation::simple()), in notationSimple() 189 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 205 NumberFormatter::with().notation(Notation::engineering()), in notationScientific() 221 NumberFormatter::with().notation( in notationScientific() 238 NumberFormatter::with().notation(Notation::scientific().withMinExponentDigits(2)), in notationScientific() 254 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 263 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 272 NumberFormatter::with().notation(Notation::scientific()), in notationScientific() 283 NumberFormatter::with().notation(Notation::compactShort()), in notationCompact() 299 NumberFormatter::with().notation(Notation::compactLong()), in notationCompact() [all …]
|
/external/chromiumos-config/proto/chromiumos/test/lab/api/ |
D | ip_endpoint.proto | 15 // IPv4 address in dotted decimal notation. 16 // IPv6 address in RFC4291 notation.
|
/external/cronet/tot/third_party/icu/source/i18n/ |
D | number_fluent.cpp | 35 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation) const& { in notation() function in NumberFormatterSettings 38 copy.fMacros.notation = notation; in notation() 43 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation)&& { in notation() function in NumberFormatterSettings 46 move.fMacros.notation = notation; in notation()
|
D | number_skeletons.cpp | 167 Notation stem_to_object::notation(skeleton::StemEnum stem) { in notation() function in stem_to_object 622 CHECK_NULL(seen, notation, status); in parseStem() 652 CHECK_NULL(seen, notation, status); in parseStem() 653 macros.notation = stem_to_object::notation(stem); in parseStem() 898 if (GeneratorHelpers::notation(macros, sb, status)) { in generateSkeleton() 990 … macros.notation = static_cast<ScientificNotation&>(macros.notation).withMinExponentDigits(minExp); in parseExponentWidthOption() 1014 … macros.notation = static_cast<ScientificNotation&>(macros.notation).withExponentSignDisplay(sign); in parseExponentSignOption() 1282 macros.notation = (isEngineering ? Notation::engineering() : Notation::scientific()) in parseScientificStem() 1526 bool GeneratorHelpers::notation(const MacroProps& macros, UnicodeString& sb, UErrorCode& status) { in notation() function in GeneratorHelpers 1527 if (macros.notation.fType == Notation::NTN_COMPACT) { in notation() [all …]
|
/external/cronet/stable/third_party/icu/source/i18n/ |
D | number_fluent.cpp | 35 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation) const& { in notation() function in NumberFormatterSettings 38 copy.fMacros.notation = notation; in notation() 43 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation)&& { in notation() function in NumberFormatterSettings 46 move.fMacros.notation = notation; in notation()
|
/external/icu/icu4c/source/i18n/ |
D | number_fluent.cpp | 35 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation) const& { in notation() function in NumberFormatterSettings 38 copy.fMacros.notation = notation; in notation() 43 Derived NumberFormatterSettings<Derived>::notation(const Notation& notation)&& { in notation() function in NumberFormatterSettings 46 move.fMacros.notation = notation; in notation()
|