Home
last modified time | relevance | path

Searched refs:truncateAt (Results 1 – 25 of 40) sorted by relevance

12

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DIntegerWidth.java66 public IntegerWidth truncateAt(int maxInt) { in truncateAt() method 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()
DNumberSkeletonImpl.java1341 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DIntegerWidth.java67 public IntegerWidth truncateAt(int maxInt) { in truncateAt() method in IntegerWidth
DNumberPropertyMapper.java202 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()
DNumberSkeletonImpl.java1430 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt);
/third_party/icu/icu4c/source/i18n/
Dnumber_integerwidth.cpp30 IntegerWidth IntegerWidth::truncateAt(int32_t maxInt) { in truncateAt() function in IntegerWidth
Dnumber_mapper.cpp202 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
206 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
Dnumber_skeletons.cpp1447 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_integerwidth.cpp30 IntegerWidth IntegerWidth::truncateAt(int32_t maxInt) { in truncateAt() function in IntegerWidth
Dnumber_mapper.cpp202 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
206 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_integerwidth.cpp30 IntegerWidth IntegerWidth::truncateAt(int32_t maxInt) { in truncateAt() function in IntegerWidth
Dnumber_mapper.cpp202 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
206 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
Dnumber_skeletons.cpp706 macros.integerWidth = IntegerWidth::zeroFillTo(0).truncateAt(0); in parseStem()
1451 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_integerwidth.cpp30 IntegerWidth IntegerWidth::truncateAt(int32_t maxInt) { in truncateAt() function in IntegerWidth
Dnumber_mapper.cpp208 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
212 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
Dnumber_skeletons.cpp1214 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DNumberFormatterApiTest.java1804 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()
1874 .integerWidth(IntegerWidth.zeroFillTo(3).truncateAt(3)), in integerWidth()
1890 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(2).truncateAt(2)), in integerWidth()
1899 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(2).truncateAt(2)), in integerWidth()
1908 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(2).truncateAt(2)), in integerWidth()
3109 IntegerWidth.zeroFillTo(4).truncateAt(2); in validRanges()
/third_party/icu/docs/userguide/format_parse/numbers/
Dskeletons.md299 …` | - | Between 1 and 3 <br/> integer digits | `IntegerWidth::zeroFillTo(1)` <br/> `.truncateAt(3)`
300 …h/00` | - | Exactly 2 <br/> integer digits | `IntegerWidth::zeroFillTo(2)` <br/> `.truncateAt(2)` |
304 on the number of integer digits (no *`truncateAt`*), or zero or more `#` symbols.
307 maximum integer digits (the argument to *`truncateAt`*) is the number of `#`
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java3653 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(1).truncateAt(3)), in integerWidth()
3669 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(2).truncateAt(2)), in integerWidth()
3687 .integerWidth(IntegerWidth.zeroFillTo(3).truncateAt(3)), in integerWidth()
3705 .integerWidth(IntegerWidth.zeroFillTo(3).truncateAt(3)), in integerWidth()
3723 .integerWidth(IntegerWidth.zeroFillTo(3).truncateAt(3)), in integerWidth()
3739 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(2).truncateAt(2)), in integerWidth()
3748 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(2).truncateAt(2)), in integerWidth()
3757 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(2).truncateAt(2)), in integerWidth()
5039 IntegerWidth.zeroFillTo(4).truncateAt(2); in validRanges()
/third_party/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp3685 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(1).truncateAt(3)), in integerWidth()
3701 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(2).truncateAt(2)), in integerWidth()
3719 .integerWidth(IntegerWidth::zeroFillTo(3).truncateAt(3)), in integerWidth()
3737 .integerWidth(IntegerWidth::zeroFillTo(3).truncateAt(3)), in integerWidth()
3755 .integerWidth(IntegerWidth::zeroFillTo(3).truncateAt(3)), in integerWidth()
3771 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(2).truncateAt(2)), in integerWidth()
3780 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(2).truncateAt(2)), in integerWidth()
3789 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(2).truncateAt(2)), in integerWidth()
5159 VALID_RANGE_ONEARG(integerWidth, IntegerWidth::zeroFillTo(0).truncateAt, -1); in validRanges()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dnumberformatter.h980 IntegerWidth truncateAt(int32_t maxInt);
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dnumberformatter.h980 IntegerWidth truncateAt(int32_t maxInt);
/third_party/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h980 IntegerWidth truncateAt(int32_t maxInt);
/third_party/node/deps/icu-small/source/i18n/unicode/
Dnumberformatter.h980 IntegerWidth truncateAt(int32_t maxInt);

12