Home
last modified time | relevance | path

Searched refs:integerWidth (Results 1 – 25 of 55) sorted by relevance

123

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DMacroProps.java31 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()
DMicroProps.java22 public IntegerWidth integerWidth; field in MicroProps
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMacroProps.java27 public IntegerWidth integerWidth; field in MacroProps
62 if (integerWidth == null) in fallback()
63 integerWidth = fallback.integerWidth; in fallback()
97 integerWidth, in hashCode()
127 && Objects.equals(integerWidth, other.integerWidth) in equals()
DMicroProps.java27 public IntegerWidth integerWidth; field in MicroProps
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DNumberFormatterImpl.java100 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 …]
DNumberFormatterSettings.java284 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()
DNumberSkeletonImpl.java795 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()
DNumberPropertyMapper.java203 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/
DNumberFormatterImpl.java108 if (micros.integerWidth.maxInt == -1) { in preProcess()
109 inValue.setMinInteger(micros.integerWidth.minInt); in preProcess()
111 inValue.setMinInteger(micros.integerWidth.minInt); in preProcess()
112 inValue.applyMaxInteger(micros.integerWidth.maxInt); in preProcess()
121 if (micros.integerWidth.maxInt == -1) { in preProcessUnsafe()
122 inValue.setMinInteger(micros.integerWidth.minInt); in preProcessUnsafe()
124 inValue.setMinInteger(micros.integerWidth.minInt); in preProcessUnsafe()
125 inValue.applyMaxInteger(micros.integerWidth.maxInt); in preProcessUnsafe()
331 if (macros.integerWidth != null) { in macrosToMicroGenerator()
332 micros.integerWidth = macros.integerWidth; in macrosToMicroGenerator()
[all …]
DNumberSkeletonImpl.java684 checkNull(macros.integerWidth, segment); in parseStem()
757 checkNull(macros.integerWidth, segment); in parseStem()
758 macros.integerWidth = IntegerWidth.zeroFillTo(0).truncateAt(0); in parseStem()
839 checkNull(macros.integerWidth, segment); in parseStem()
967 if (macros.integerWidth != null && GeneratorHelpers.integerWidth(macros, sb)) { in generateSkeleton()
1298 macros.integerWidth = IntegerWidth.zeroFillTo(offset); in parseIntegerStem()
1433 macros.integerWidth = IntegerWidth.zeroFillTo(minInt);
1435 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt);
1635 private static boolean integerWidth(MacroProps macros, StringBuilder sb) {
1636 if (macros.integerWidth.equals(IntegerWidth.DEFAULT)) {
[all …]
DNumberPropertyMapper.java205 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
246 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
250 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
DNumberFormatterSettings.java299 public T integerWidth(IntegerWidth style) { in integerWidth() method in NumberFormatterSettings
690 macros.integerWidth = (IntegerWidth) current.value; in resolve()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_formatimpl.cpp79 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()
Dnumber_skeletons.cpp625 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 …]
Dnumber_fluent.cpp180 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()
Dnumber_mapper.cpp158 macros.integerWidth = IntegerWidth( in oldToNew()
202 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
206 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
Dnumber_microprops.h80 IntegerWidth integerWidth; member
/third_party/node/deps/icu-small/source/i18n/
Dnumber_formatimpl.cpp79 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()
Dnumber_skeletons.cpp626 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()
1451 macros.integerWidth = IntegerWidth::zeroFillTo(minInt); in parseIntegerWidthOption()
1453 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption()
1691 bool GeneratorHelpers::integerWidth(const MacroProps& macros, UnicodeString& sb, UErrorCode& status… in integerWidth() function in GeneratorHelpers
1692 if (macros.integerWidth.fHasError || macros.integerWidth.isBogus() || in integerWidth()
[all …]
Dnumber_fluent.cpp180 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()
Dnumber_mapper.cpp159 macros.integerWidth = IntegerWidth( in oldToNew()
203 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
207 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
/third_party/icu/icu4c/source/i18n/
Dnumber_formatimpl.cpp79 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()
Dnumber_skeletons.cpp626 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()
1451 macros.integerWidth = IntegerWidth::zeroFillTo(minInt); in parseIntegerWidthOption()
1453 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption()
1691 bool GeneratorHelpers::integerWidth(const MacroProps& macros, UnicodeString& sb, UErrorCode& status… in integerWidth() function in GeneratorHelpers
1692 if (macros.integerWidth.fHasError || macros.integerWidth.isBogus() || in integerWidth()
[all …]
Dnumber_fluent.cpp180 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/
DNumberFormatterApiTest.java1117 …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 …]

123