Home
last modified time | relevance | path

Searched refs:IntegerWidth (Results 1 – 25 of 44) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/number/
DIntegerWidth.java16 public class IntegerWidth { class
18 /* package-private */ static final IntegerWidth DEFAULT = new IntegerWidth(1, -1);
23 private IntegerWidth(int minInt, int maxInt) { in IntegerWidth() method in IntegerWidth
41 public static IntegerWidth zeroFillTo(int minInt) { in zeroFillTo()
45 return new IntegerWidth(minInt, -1); in zeroFillTo()
65 public IntegerWidth truncateAt(int maxInt) { in truncateAt()
69 return new IntegerWidth(minInt, maxInt); in truncateAt()
73 return new IntegerWidth(minInt, -1); in truncateAt()
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()
DNumberFormatterSettings.java279 public T integerWidth(IntegerWidth style) { in integerWidth()
628 macros.integerWidth = (IntegerWidth) current.value; in resolve()
DNumberSkeletonImpl.java1289 macros.integerWidth = IntegerWidth.zeroFillTo(offset); in parseIntegerStem()
1398 macros.integerWidth = IntegerWidth.zeroFillTo(minInt); in parseIntegerWidthOption()
1400 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption()
1588 if (macros.integerWidth.equals(IntegerWidth.DEFAULT)) { in integerWidth()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DIntegerWidth.java16 public class IntegerWidth { class
18 /* package-private */ static final IntegerWidth DEFAULT = new IntegerWidth(1, -1);
23 private IntegerWidth(int minInt, int maxInt) { in IntegerWidth() method in IntegerWidth
42 public static IntegerWidth zeroFillTo(int minInt) { in zeroFillTo()
46 return new IntegerWidth(minInt, -1); in zeroFillTo()
67 public IntegerWidth truncateAt(int maxInt) { in truncateAt()
71 return new IntegerWidth(minInt, maxInt); in truncateAt()
75 return new IntegerWidth(minInt, -1); in truncateAt()
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()
DNumberFormatterSettings.java296 public T integerWidth(IntegerWidth style) { in integerWidth()
652 macros.integerWidth = (IntegerWidth) current.value; in resolve()
DNumberSkeletonImpl.java1288 macros.integerWidth = IntegerWidth.zeroFillTo(offset); in parseIntegerStem()
1397 macros.integerWidth = IntegerWidth.zeroFillTo(minInt); in parseIntegerWidthOption()
1399 macros.integerWidth = IntegerWidth.zeroFillTo(minInt).truncateAt(maxInt); in parseIntegerWidthOption()
1587 if (macros.integerWidth.equals(IntegerWidth.DEFAULT)) { in integerWidth()
/external/icu/icu4c/source/i18n/
Dnumber_integerwidth.cpp16 IntegerWidth::IntegerWidth(digits_t minInt, digits_t maxInt, bool formatFailIfMoreThanMaxDigits) { in IntegerWidth() function in IntegerWidth
22 IntegerWidth IntegerWidth::zeroFillTo(int32_t minInt) { in zeroFillTo()
30 IntegerWidth IntegerWidth::truncateAt(int32_t maxInt) { in truncateAt()
42 void IntegerWidth::apply(impl::DecimalQuantity& quantity, UErrorCode& status) const { in apply()
61 bool IntegerWidth::operator==(const IntegerWidth& other) const { in operator ==()
Dnumber_microprops.h81 IntegerWidth 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_fluent.cpp180 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style) const& { in integerWidth()
187 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style)&& { in integerWidth()
/external/mesa3d/src/gallium/targets/haiku-softpipe/
DSoftwareRenderer.cpp73 fWidth = (GLint)b.IntegerWidth(); in SoftwareRenderer()
171 != fBitmap->Bounds().IntegerWidth()) { in SwapBuffers()
177 uint8 bytesPerPixel = bytesPerRow / fBitmap->Bounds().IntegerWidth(); in SwapBuffers()
247 memcpy(d, s, dr.IntegerWidth() * 4); in CopyPixelsOut()
289 memcpy(d, s, dr.IntegerWidth() * 4); in CopyPixelsIn()
355 fBitmap->Bounds().IntegerWidth(), fBitmap->Bounds().IntegerHeight()); in _AllocateBitmap()
/external/icu/libicu/cts_headers/unicode/
Dnumberformatter.h121 class IntegerWidth; variable
915 class U_I18N_API IntegerWidth : public UMemory {
928 static IntegerWidth zeroFillTo(int32_t minInt);
941 IntegerWidth truncateAt(int32_t maxInt);
954 IntegerWidth(impl::digits_t minInt, impl::digits_t maxInt, bool formatFailIfMoreThanMaxDigits);
956 IntegerWidth(UErrorCode errorCode) { // NOLINT in IntegerWidth() function
961 IntegerWidth() { // NOLINT in IntegerWidth() function
966 static IntegerWidth standard() { in standard()
967 return IntegerWidth::zeroFillTo(1); in standard()
984 bool operator==(const IntegerWidth& other) const;
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h121 class IntegerWidth; variable
915 class U_I18N_API IntegerWidth : public UMemory {
928 static IntegerWidth zeroFillTo(int32_t minInt);
941 IntegerWidth truncateAt(int32_t maxInt);
954 IntegerWidth(impl::digits_t minInt, impl::digits_t maxInt, bool formatFailIfMoreThanMaxDigits);
956 IntegerWidth(UErrorCode errorCode) { // NOLINT in IntegerWidth() function
961 IntegerWidth() { // NOLINT in IntegerWidth() function
966 static IntegerWidth standard() { in standard()
967 return IntegerWidth::zeroFillTo(1); in standard()
984 bool operator==(const IntegerWidth& other) const;
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DMicroProps.java8 import android.icu.number.IntegerWidth;
29 public IntegerWidth integerWidth;
DMacroProps.java9 import android.icu.number.IntegerWidth;
31 public IntegerWidth integerWidth;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMicroProps.java7 import com.ibm.icu.number.IntegerWidth;
27 public IntegerWidth integerWidth;
DMacroProps.java8 import com.ibm.icu.number.IntegerWidth;
27 public IntegerWidth integerWidth;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java34 import com.ibm.icu.number.IntegerWidth;
2021 …ter.with().precision(Precision.fixedSignificantDigits(1)).integerWidth(IntegerWidth.zeroFillTo(0)), in roundingFigures()
2030 …ter.with().precision(Precision.fixedSignificantDigits(1)).integerWidth(IntegerWidth.zeroFillTo(3)), in roundingFigures()
2660 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(1)), in integerWidth()
2676 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(0)), in integerWidth()
2692 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(3)), in integerWidth()
2708 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(1).truncateAt(3)), in integerWidth()
2724 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(2).truncateAt(2)), in integerWidth()
2742 .integerWidth(IntegerWidth.zeroFillTo(3).truncateAt(3)), in integerWidth()
2760 .integerWidth(IntegerWidth.zeroFillTo(3).truncateAt(3)), in integerWidth()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberFormatterApiTest.java35 import android.icu.number.IntegerWidth;
2024 …ter.with().precision(Precision.fixedSignificantDigits(1)).integerWidth(IntegerWidth.zeroFillTo(0)), in roundingFigures()
2033 …ter.with().precision(Precision.fixedSignificantDigits(1)).integerWidth(IntegerWidth.zeroFillTo(3)), in roundingFigures()
2663 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(1)), in integerWidth()
2679 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(0)), in integerWidth()
2695 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(3)), in integerWidth()
2711 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(1).truncateAt(3)), in integerWidth()
2727 NumberFormatter.with().integerWidth(IntegerWidth.zeroFillTo(2).truncateAt(2)), in integerWidth()
2745 .integerWidth(IntegerWidth.zeroFillTo(3).truncateAt(3)), in integerWidth()
2763 .integerWidth(IntegerWidth.zeroFillTo(3).truncateAt(3)), in integerWidth()
[all …]
/external/icu/libicu/cts_headers/
Dnumber_microprops.h81 IntegerWidth integerWidth;
/external/mesa3d/src/gallium/frontends/hgl/
Dbitmap_wrapper.cpp58 uint32 w = bb->Bounds().IntegerWidth() + 1; in get_bitmap_size()
/external/mesa3d/src/hgl/
DGLView.cpp208 glViewport(0, 0, Bounds().IntegerWidth(), Bounds().IntegerHeight()); in AttachedToWindow()
210 fRenderer->FrameResized(Bounds().IntegerWidth(), in AttachedToWindow()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp2064 .integerWidth(IntegerWidth::zeroFillTo(3)), in roundingFigures()
2074 .integerWidth(IntegerWidth::zeroFillTo(0)), in roundingFigures()
2711 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(1)), in integerWidth()
2727 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(0)), in integerWidth()
2743 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(3)), in integerWidth()
2759 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(1).truncateAt(3)), in integerWidth()
2775 NumberFormatter::with().integerWidth(IntegerWidth::zeroFillTo(2).truncateAt(2)), in integerWidth()
2793 .integerWidth(IntegerWidth::zeroFillTo(3).truncateAt(3)), in integerWidth()
2811 .integerWidth(IntegerWidth::zeroFillTo(3).truncateAt(3)), in integerWidth()
2829 .integerWidth(IntegerWidth::zeroFillTo(3).truncateAt(3)), in integerWidth()
[all …]

12