Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMacroProps.java27 public IntegerWidth integerWidth; field in MacroProps
59 if (integerWidth == null) in fallback()
60 integerWidth = fallback.integerWidth; in fallback()
88 integerWidth, in hashCode()
115 && Objects.equals(integerWidth, other.integerWidth) in equals()
DMicroProps.java17 public IntegerWidth integerWidth; field in MicroProps
/external/icu/android_icu4j/src/main/java/android/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.java21 public IntegerWidth integerWidth; field in MicroProps
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberFormatterImpl.java102 if (micros.integerWidth.maxInt == -1) { in preProcess()
103 inValue.setIntegerLength(micros.integerWidth.minInt, Integer.MAX_VALUE); in preProcess()
105 inValue.setIntegerLength(micros.integerWidth.minInt, micros.integerWidth.maxInt); in preProcess()
114 if (micros.integerWidth.maxInt == -1) { in preProcessUnsafe()
115 inValue.setIntegerLength(micros.integerWidth.minInt, Integer.MAX_VALUE); in preProcessUnsafe()
117 inValue.setIntegerLength(micros.integerWidth.minInt, micros.integerWidth.maxInt); in preProcessUnsafe()
290 if (macros.integerWidth != null) { in macrosToMicroGenerator()
291 micros.integerWidth = macros.integerWidth; in macrosToMicroGenerator()
293 micros.integerWidth = IntegerWidth.DEFAULT; in macrosToMicroGenerator()
DNumberFormatterSettings.java301 public T integerWidth(IntegerWidth style) { in integerWidth() method in NumberFormatterSettings
607 if (macros.integerWidth == null) { in resolve()
608 macros.integerWidth = (IntegerWidth) current.value; in resolve()
DNumberSkeletonImpl.java729 checkNull(macros.integerWidth, segment); in parseStem()
838 if (macros.integerWidth != null && GeneratorHelpers.integerWidth(macros, sb)) { in generateSkeleton()
1190 macros.integerWidth = IntegerWidth.zeroFillTo(minInt); in parseIntegerWidthOption()
1192 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption()
1379 private static boolean integerWidth(MacroProps macros, StringBuilder sb) { in integerWidth() method in NumberSkeletonImpl.GeneratorHelpers
1380 if (macros.integerWidth.equals(IntegerWidth.DEFAULT)) { in integerWidth()
1384 BlueprintHelpers.generateIntegerWidthOption(macros.integerWidth.minInt, in integerWidth()
1385 macros.integerWidth.maxInt, in integerWidth()
DNumberPropertyMapper.java206 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
247 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
251 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatterImpl.java101 if (micros.integerWidth.maxInt == -1) { in preProcess()
102 inValue.setIntegerLength(micros.integerWidth.minInt, Integer.MAX_VALUE); in preProcess()
104 inValue.setIntegerLength(micros.integerWidth.minInt, micros.integerWidth.maxInt); in preProcess()
113 if (micros.integerWidth.maxInt == -1) { in preProcessUnsafe()
114 inValue.setIntegerLength(micros.integerWidth.minInt, Integer.MAX_VALUE); in preProcessUnsafe()
116 inValue.setIntegerLength(micros.integerWidth.minInt, micros.integerWidth.maxInt); in preProcessUnsafe()
289 if (macros.integerWidth != null) { in macrosToMicroGenerator()
290 micros.integerWidth = macros.integerWidth; in macrosToMicroGenerator()
292 micros.integerWidth = IntegerWidth.DEFAULT; in macrosToMicroGenerator()
DNumberFormatterSettings.java307 public T integerWidth(IntegerWidth style) { in integerWidth() method in NumberFormatterSettings
620 if (macros.integerWidth == null) { in resolve()
621 macros.integerWidth = (IntegerWidth) current.value; in resolve()
DNumberSkeletonImpl.java728 checkNull(macros.integerWidth, segment); in parseStem()
837 if (macros.integerWidth != null && GeneratorHelpers.integerWidth(macros, sb)) { in generateSkeleton()
1189 macros.integerWidth = IntegerWidth.zeroFillTo(minInt); in parseIntegerWidthOption()
1191 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption()
1378 private static boolean integerWidth(MacroProps macros, StringBuilder sb) { in integerWidth() method in NumberSkeletonImpl.GeneratorHelpers
1379 if (macros.integerWidth.equals(IntegerWidth.DEFAULT)) { in integerWidth()
1383 BlueprintHelpers.generateIntegerWidthOption(macros.integerWidth.minInt, in integerWidth()
1384 macros.integerWidth.maxInt, in integerWidth()
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()
/external/icu/icu4c/source/i18n/
Dnumber_formatimpl.cpp115 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()
Dnumber_skeletons.cpp656 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()
Dnumber_microprops.h31 IntegerWidth integerWidth; member
Dnumber_skeletons.h288 static bool integerWidth(const MacroProps& macros, UnicodeString& sb, UErrorCode& status);
314 bool integerWidth = false; member
Dnumber_mapper.cpp164 macros.integerWidth = IntegerWidth( in oldToNew()
208 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
212 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
Dnumber_fluent.cpp170 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style) const& { in integerWidth() function in NumberFormatterSettings
172 copy.fMacros.integerWidth = style; in integerWidth()
177 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style)&& { in integerWidth() function in NumberFormatterSettings
179 move.fMacros.integerWidth = style; in integerWidth()
Dsmpdtfmt.cpp1217 .integerWidth(number::IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt))); in createFastFormatter()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp78 TESTCASE_AUTO(integerWidth); in runIndexedTest()
942 .integerWidth(IntegerWidth::zeroFillTo(3)), in roundingFigures()
951 .integerWidth(IntegerWidth::zeroFillTo(0)), in roundingFigures()
1490 void NumberFormatterApiTest::integerWidth() { in integerWidth() function in NumberFormatterApiTest
1494 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(1)), in integerWidth()
1509 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(0)), in integerWidth()
1524 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(3)), in integerWidth()
1539 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(1).truncateAt(3)), in integerWidth()
1554 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(2).truncateAt(2)), in integerWidth()
2349 VALID_RANGE_ONEARG(integerWidth, IntegerWidth::zeroFillTo, 0); in validRanges()
[all …]
Dnumbertest.h64 void integerWidth();
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberFormatterApiTest.java929 …NumberFormatter.with().precision(Precision.fixedSignificantDigits(1)).integerWidth(IntegerWidth.ze… in roundingFigures()
937 …NumberFormatter.with().precision(Precision.fixedSignificantDigits(1)).integerWidth(IntegerWidth.ze… in roundingFigures()
1474 public void integerWidth() { in integerWidth() method in NumberFormatterApiTest
1478 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(1)), in integerWidth()
1493 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(0)), in integerWidth()
1508 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(3)), in integerWidth()
1523 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(1).truncateAt(3)), in integerWidth()
1538 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(2).truncateAt(2)), in integerWidth()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java926 …NumberFormatter.with().precision(Precision.fixedSignificantDigits(1)).integerWidth(IntegerWidth.ze… in roundingFigures()
934 …NumberFormatter.with().precision(Precision.fixedSignificantDigits(1)).integerWidth(IntegerWidth.ze… in roundingFigures()
1471 public void integerWidth() { in integerWidth() method in NumberFormatterApiTest
1475 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(1)), in integerWidth()
1490 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(0)), in integerWidth()
1505 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(3)), in integerWidth()
1520 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(1).truncateAt(3)), in integerWidth()
1535 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(2).truncateAt(2)), in integerWidth()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h1433 IntegerWidth integerWidth; // = IntegerWidth(); (bogus) member
1475 padder.copyErrorTo(status) || integerWidth.copyErrorTo(status) || in copyErrorTo()
1823 Derived integerWidth(const IntegerWidth &style) const &;
1834 Derived integerWidth(const IntegerWidth &style) &&;
/external/icu/icu4j/tools/build/
Dicu4j61.api3.gz12;ICU4J 61.1;; 2ST@3.6;PB;NS;NF;NS; ...

12