| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
| D | MacroProps.java | 31 public IntegerWidth integerWidth; field in MacroProps 63 if (integerWidth == null) in fallback() 64 integerWidth = fallback.integerWidth; in fallback() 92 integerWidth, in hashCode() 119 && Objects.equals(integerWidth, other.integerWidth) in equals()
|
| D | MicroProps.java | 22 public IntegerWidth integerWidth; field in MicroProps
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
| D | MacroProps.java | 27 public IntegerWidth integerWidth; field in MacroProps 61 if (integerWidth == null) in fallback() 62 integerWidth = fallback.integerWidth; in fallback() 94 integerWidth, in hashCode() 123 && Objects.equals(integerWidth, other.integerWidth) in equals()
|
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/ |
| D | NumberFormatterImpl.java | 100 if (micros.integerWidth.maxInt == -1) { in preProcess() 101 inValue.setMinInteger(micros.integerWidth.minInt); in preProcess() 103 inValue.setMinInteger(micros.integerWidth.minInt); in preProcess() 104 inValue.applyMaxInteger(micros.integerWidth.maxInt); in preProcess() 113 if (micros.integerWidth.maxInt == -1) { in preProcessUnsafe() 114 inValue.setMinInteger(micros.integerWidth.minInt); in preProcessUnsafe() 116 inValue.setMinInteger(micros.integerWidth.minInt); in preProcessUnsafe() 117 inValue.applyMaxInteger(micros.integerWidth.maxInt); in preProcessUnsafe() 292 if (macros.integerWidth != null) { in macrosToMicroGenerator() 293 micros.integerWidth = macros.integerWidth; in macrosToMicroGenerator() [all …]
|
| D | NumberFormatterSettings.java | 284 public T integerWidth(IntegerWidth style) { in integerWidth() method in NumberFormatterSettings 583 if (macros.integerWidth == null) { in resolve() 584 macros.integerWidth = (IntegerWidth) current.value; in resolve()
|
| D | NumberSkeletonImpl.java | 795 checkNull(macros.integerWidth, segment); in parseStem() 907 if (macros.integerWidth != null && GeneratorHelpers.integerWidth(macros, sb)) { in generateSkeleton() 1230 macros.integerWidth = IntegerWidth.zeroFillTo(offset); in parseIntegerStem() 1339 macros.integerWidth = IntegerWidth.zeroFillTo(minInt); in parseIntegerWidthOption() 1341 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption() 1528 private static boolean integerWidth(MacroProps macros, StringBuilder sb) { in integerWidth() method in NumberSkeletonImpl.GeneratorHelpers 1529 if (macros.integerWidth.equals(IntegerWidth.DEFAULT)) { in integerWidth() 1533 BlueprintHelpers.generateIntegerWidthOption(macros.integerWidth.minInt, in integerWidth() 1534 macros.integerWidth.maxInt, in integerWidth()
|
| D | NumberPropertyMapper.java | 203 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in oldToNew() 244 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in oldToNew() 248 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
| D | NumberFormatterImpl.java | 107 if (micros.integerWidth.maxInt == -1) { in preProcess() 108 inValue.setMinInteger(micros.integerWidth.minInt); in preProcess() 110 inValue.setMinInteger(micros.integerWidth.minInt); in preProcess() 111 inValue.applyMaxInteger(micros.integerWidth.maxInt); in preProcess() 120 if (micros.integerWidth.maxInt == -1) { in preProcessUnsafe() 121 inValue.setMinInteger(micros.integerWidth.minInt); in preProcessUnsafe() 123 inValue.setMinInteger(micros.integerWidth.minInt); in preProcessUnsafe() 124 inValue.applyMaxInteger(micros.integerWidth.maxInt); in preProcessUnsafe() 330 if (macros.integerWidth != null) { in macrosToMicroGenerator() 331 micros.integerWidth = macros.integerWidth; in macrosToMicroGenerator() [all …]
|
| D | NumberSkeletonImpl.java | 682 checkNull(macros.integerWidth, segment); in parseStem() 832 checkNull(macros.integerWidth, segment); in parseStem() 960 if (macros.integerWidth != null && GeneratorHelpers.integerWidth(macros, sb)) { in generateSkeleton() 1291 macros.integerWidth = IntegerWidth.zeroFillTo(offset); in parseIntegerStem() 1428 macros.integerWidth = IntegerWidth.zeroFillTo(minInt); 1430 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); 1622 private static boolean integerWidth(MacroProps macros, StringBuilder sb) { 1623 if (macros.integerWidth.equals(IntegerWidth.DEFAULT)) { 1627 BlueprintHelpers.generateIntegerWidthOption(macros.integerWidth.minInt, 1628 macros.integerWidth.maxInt,
|
| D | NumberPropertyMapper.java | 202 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in oldToNew() 243 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in oldToNew() 247 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
|
| D | NumberFormatterSettings.java | 297 public T integerWidth(IntegerWidth style) { in integerWidth() method in NumberFormatterSettings 672 macros.integerWidth = (IntegerWidth) current.value; in resolve()
|
| /third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
| D | number_formatimpl.cpp | 115 microsOut.integerWidth.apply(inValue, status); in preProcess() 128 fMicros.integerWidth.apply(inValue, status); in preProcessUnsafe() 310 if (!macros.integerWidth.isBogus()) { in macrosToMicroGenerator() 311 fMicros.integerWidth = macros.integerWidth; in macrosToMicroGenerator() 313 fMicros.integerWidth = IntegerWidth::standard(); in macrosToMicroGenerator()
|
| D | number_skeletons.cpp | 656 CHECK_NULL(seen, integerWidth, status); in parseStem() 774 if (GeneratorHelpers::integerWidth(macros, sb, status)) { in generateSkeleton() 1212 macros.integerWidth = IntegerWidth::zeroFillTo(minInt); in parseIntegerWidthOption() 1214 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption() 1438 bool GeneratorHelpers::integerWidth(const MacroProps& macros, UnicodeString& sb, UErrorCode& status… in integerWidth() function in GeneratorHelpers 1439 if (macros.integerWidth.fHasError || macros.integerWidth.isBogus() || in integerWidth() 1440 macros.integerWidth == IntegerWidth::standard()) { in integerWidth() 1446 macros.integerWidth.fUnion.minMaxInt.fMinInt, in integerWidth() 1447 macros.integerWidth.fUnion.minMaxInt.fMaxInt, in integerWidth()
|
| D | number_microprops.h | 31 IntegerWidth integerWidth; member
|
| D | number_skeletons.h | 288 static bool integerWidth(const MacroProps& macros, UnicodeString& sb, UErrorCode& status); 314 bool integerWidth = false; member
|
| /third_party/node/deps/icu-small/source/i18n/ |
| D | number_formatimpl.cpp | 79 microsOut.integerWidth.apply(inValue, status); in preProcess() 91 fMicros.integerWidth.apply(inValue, status); in preProcessUnsafe() 311 if (!macros.integerWidth.isBogus()) { in macrosToMicroGenerator() 312 fMicros.integerWidth = macros.integerWidth; in macrosToMicroGenerator() 314 fMicros.integerWidth = IntegerWidth::standard(); in macrosToMicroGenerator()
|
| D | number_skeletons.cpp | 626 CHECK_NULL(seen, integerWidth, status); in parseStem() 705 CHECK_NULL(seen, integerWidth, status); in parseStem() 706 macros.integerWidth = IntegerWidth::zeroFillTo(0).truncateAt(0); in parseStem() 782 CHECK_NULL(seen, integerWidth, status); in parseStem() 922 if (GeneratorHelpers::integerWidth(macros, sb, status)) { in generateSkeleton() 1307 macros.integerWidth = IntegerWidth::zeroFillTo(offset); in parseIntegerStem() 1449 macros.integerWidth = IntegerWidth::zeroFillTo(minInt); in parseIntegerWidthOption() 1451 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption() 1678 bool GeneratorHelpers::integerWidth(const MacroProps& macros, UnicodeString& sb, UErrorCode& status… in integerWidth() function in GeneratorHelpers 1679 if (macros.integerWidth.fHasError || macros.integerWidth.isBogus() || in integerWidth() [all …]
|
| D | number_fluent.cpp | 180 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style) const& { in integerWidth() function in NumberFormatterSettings 182 copy.fMacros.integerWidth = style; in integerWidth() 187 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style)&& { in integerWidth() function in NumberFormatterSettings 189 move.fMacros.integerWidth = style; in integerWidth()
|
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| D | number_formatimpl.cpp | 79 microsOut.integerWidth.apply(inValue, status); in preProcess() 91 fMicros.integerWidth.apply(inValue, status); in preProcessUnsafe() 311 if (!macros.integerWidth.isBogus()) { in macrosToMicroGenerator() 312 fMicros.integerWidth = macros.integerWidth; in macrosToMicroGenerator() 314 fMicros.integerWidth = IntegerWidth::standard(); in macrosToMicroGenerator()
|
| D | number_skeletons.cpp | 625 CHECK_NULL(seen, integerWidth, status); in parseStem() 776 CHECK_NULL(seen, integerWidth, status); in parseStem() 916 if (GeneratorHelpers::integerWidth(macros, sb, status)) { in generateSkeleton() 1301 macros.integerWidth = IntegerWidth::zeroFillTo(offset); in parseIntegerStem() 1445 macros.integerWidth = IntegerWidth::zeroFillTo(minInt); in parseIntegerWidthOption() 1447 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption() 1674 bool GeneratorHelpers::integerWidth(const MacroProps& macros, UnicodeString& sb, UErrorCode& status… in integerWidth() function in GeneratorHelpers 1675 if (macros.integerWidth.fHasError || macros.integerWidth.isBogus() || in integerWidth() 1676 macros.integerWidth == IntegerWidth::standard()) { in integerWidth() 1682 macros.integerWidth.fUnion.minMaxInt.fMinInt, in integerWidth() [all …]
|
| D | number_fluent.cpp | 180 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style) const& { in integerWidth() function in NumberFormatterSettings 182 copy.fMacros.integerWidth = style; in integerWidth() 187 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style)&& { in integerWidth() function in NumberFormatterSettings 189 move.fMacros.integerWidth = style; in integerWidth()
|
| /third_party/icu/icu4c/source/i18n/ |
| D | number_formatimpl.cpp | 79 microsOut.integerWidth.apply(inValue, status); in preProcess() 91 fMicros.integerWidth.apply(inValue, status); in preProcessUnsafe() 311 if (!macros.integerWidth.isBogus()) { in macrosToMicroGenerator() 312 fMicros.integerWidth = macros.integerWidth; in macrosToMicroGenerator() 314 fMicros.integerWidth = IntegerWidth::standard(); in macrosToMicroGenerator()
|
| D | number_skeletons.cpp | 625 CHECK_NULL(seen, integerWidth, status); in parseStem() 776 CHECK_NULL(seen, integerWidth, status); in parseStem() 916 if (GeneratorHelpers::integerWidth(macros, sb, status)) { in generateSkeleton() 1301 macros.integerWidth = IntegerWidth::zeroFillTo(offset); in parseIntegerStem() 1445 macros.integerWidth = IntegerWidth::zeroFillTo(minInt); in parseIntegerWidthOption() 1447 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption() 1674 bool GeneratorHelpers::integerWidth(const MacroProps& macros, UnicodeString& sb, UErrorCode& status… in integerWidth() function in GeneratorHelpers 1675 if (macros.integerWidth.fHasError || macros.integerWidth.isBogus() || in integerWidth() 1676 macros.integerWidth == IntegerWidth::standard()) { in integerWidth() 1682 macros.integerWidth.fUnion.minMaxInt.fMinInt, in integerWidth() [all …]
|
| D | number_fluent.cpp | 180 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style) const& { in integerWidth() function in NumberFormatterSettings 182 copy.fMacros.integerWidth = style; in integerWidth() 187 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style)&& { in integerWidth() function in NumberFormatterSettings 189 move.fMacros.integerWidth = style; in integerWidth()
|
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
| D | NumberFormatterApiTest.java | 1117 …NumberFormatter.with().precision(Precision.fixedSignificantDigits(1)).integerWidth(IntegerWidth.ze… in roundingFigures() 1126 …NumberFormatter.with().precision(Precision.fixedSignificantDigits(1)).integerWidth(IntegerWidth.ze… in roundingFigures() 1751 public void integerWidth() { in integerWidth() method in NumberFormatterApiTest 1756 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(1)), in integerWidth() 1772 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(0)), in integerWidth() 1788 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(3)), in integerWidth() 1804 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(1).truncateAt(3)), in integerWidth() 1820 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(2).truncateAt(2)), in integerWidth() 1838 .integerWidth(IntegerWidth.zeroFillTo(3).truncateAt(3)), in integerWidth() 1856 .integerWidth(IntegerWidth.zeroFillTo(3).truncateAt(3)), in integerWidth() [all …]
|