/external/icu/android_icu4j/src/main/java/android/icu/number/ |
IntegerWidth.java | 23 final int maxInt; 25 private IntegerWidth(int minInt, int maxInt) { 27 this.maxInt = maxInt; 58 * For example, with maxInt=3, the number 1234 will get printed as "234". 60 * @param maxInt 61 * The maximum number of places before the decimal separator. maxInt == -1 means no 67 public IntegerWidth truncateAt(int maxInt) { 68 if (maxInt == this.maxInt) { [all...] |
NumberPropertyMapper.java | 137 int maxInt = properties.getMaximumIntegerDigits(); 170 maxInt = maxInt < 0 ? -1 : maxInt > RoundingUtils.MAX_INT_FRAC_SIG ? -1 : maxInt; 176 maxInt = maxInt < 0 ? -1 177 : maxInt < minInt ? minInt : maxInt > RoundingUtils.MAX_INT_FRAC_SIG ? -1 : maxInt; [all...] |
NumberSkeletonImpl.java | [all...] |
NumberFormatterImpl.java | 102 if (micros.integerWidth.maxInt == -1) { 105 inValue.setIntegerLength(micros.integerWidth.minInt, micros.integerWidth.maxInt); 114 if (micros.integerWidth.maxInt == -1) { 117 inValue.setIntegerLength(micros.integerWidth.minInt, micros.integerWidth.maxInt);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
IntegerWidth.java | 22 final int maxInt; 24 private IntegerWidth(int minInt, int maxInt) { 26 this.maxInt = maxInt; 58 * For example, with maxInt=3, the number 1234 will get printed as "234". 60 * @param maxInt 61 * The maximum number of places before the decimal separator. maxInt == -1 means no 68 public IntegerWidth truncateAt(int maxInt) { 69 if (maxInt == this.maxInt) { [all...] |
NumberPropertyMapper.java | 136 int maxInt = properties.getMaximumIntegerDigits(); 169 maxInt = maxInt < 0 ? -1 : maxInt > RoundingUtils.MAX_INT_FRAC_SIG ? -1 : maxInt; 175 maxInt = maxInt < 0 ? -1 176 : maxInt < minInt ? minInt : maxInt > RoundingUtils.MAX_INT_FRAC_SIG ? -1 : maxInt; [all...] |
NumberSkeletonImpl.java | [all...] |
NumberFormatterImpl.java | 101 if (micros.integerWidth.maxInt == -1) { 104 inValue.setIntegerLength(micros.integerWidth.minInt, micros.integerWidth.maxInt); 113 if (micros.integerWidth.maxInt == -1) { 116 inValue.setIntegerLength(micros.integerWidth.minInt, micros.integerWidth.maxInt);
|
/external/icu/icu4c/source/i18n/ |
number_integerwidth.cpp | 16 IntegerWidth::IntegerWidth(digits_t minInt, digits_t maxInt, bool formatFailIfMoreThanMaxDigits) { 18 fUnion.minMaxInt.fMaxInt = maxInt; 30 IntegerWidth IntegerWidth::truncateAt(int32_t maxInt) { 33 if (maxInt >= 0 && maxInt <= kMaxIntFracSig && minInt <= maxInt) { 34 return {minInt, static_cast<digits_t>(maxInt), false}; 35 } else if (maxInt == -1) {
|
number_mapper.cpp | 98 int32_t maxInt = properties.maximumIntegerDigits; 132 maxInt = maxInt < 0 ? -1 : maxInt > kMaxIntFracSig ? -1 : maxInt; 138 maxInt = maxInt < 0 ? -1 : maxInt < minInt ? minInt : maxInt > kMaxIntFracSig ? -1 : maxInt; [all...] |
number_mapper.h | 159 int8_t maxInt;
|
number_skeletons.cpp | [all...] |
number_decimalquantity.h | 60 * @param maxInt The maximum number of integer digits. 62 void setIntegerLength(int32_t minInt, int32_t maxInt); 212 * will be bounded between minInt and maxInt.
|
/external/syzkaller/vendor/google.golang.org/grpc/ |
service_config.go | 31 const maxInt = int(^uint(0) >> 1) 188 if *m.MaxRequestMessageBytes > int64(maxInt) { 189 mc.MaxReqSize = newInt(maxInt) 195 if *m.MaxResponseMessageBytes > int64(maxInt) { 196 mc.MaxRespSize = newInt(maxInt)
|
/external/icu/icu4c/source/common/ |
putilimp.h | 598 uintptr_t maxInt; 602 maxInt = 0x7fffffff; 604 maxInt = (uintptr_t)uprv_maximumPtr((void *)dest); 606 maxInt = destInt + 0x7fffffffu; 607 if (maxInt < destInt) { 610 maxInt = (uintptr_t)-1; 614 uintptr_t maxBytes = maxInt - destInt; // max. 2GB
|
/external/skia/tests/ |
FloatingPointTextureTest.cpp | 29 void runFPTest(skiatest::Reporter* reporter, GrContext* context, T min, T max, T epsilon, T maxInt, 45 controlPixelData[i + 3] = maxInt;
|
/external/skqp/tests/ |
FloatingPointTextureTest.cpp | 29 void runFPTest(skiatest::Reporter* reporter, GrContext* context, T min, T max, T epsilon, T maxInt, 45 controlPixelData[i + 3] = maxInt;
|
/external/deqp/modules/gles31/functional/ |
es31fShaderSharedVarTests.cpp | 195 const int maxInt = m_precision == glu::PRECISION_LOWP ? 2 : 1024; 196 const int minInt = -de::min(numValues/2, maxInt); 200 values[ndx] = float(minInt + (ndx % (maxInt-minInt+1))); 214 const int maxInt = m_precision == glu::PRECISION_LOWP ? 64 : 1024; 215 const int minInt = -de::min(numValues/2, maxInt); 219 values[ndx] = minInt + (ndx % (maxInt-minInt+1)); 233 const deUint32 maxInt = m_precision == glu::PRECISION_LOWP ? 128 : 1024; 237 values[ndx] = ndx % (maxInt+1); 269 const int maxInt = m_precision == glu::PRECISION_LOWP ? 2 : 1024; 270 const int minInt = -de::min(numValues/2, maxInt); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
DecimalQuantity.java | 37 * @param maxInt 40 public void setIntegerLength(int minInt, int maxInt); 159 * be bounded between minInt and maxInt.
|
PatternStringUtils.java | 43 int maxInt = Math.min(properties.getMaximumIntegerDigits(), dosMax); 124 m0 = (maxInt != dosMax) ? Math.max(maxInt, m0) - 1 : m0 - 1;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
DecimalQuantity.java | 35 * @param maxInt 38 public void setIntegerLength(int minInt, int maxInt); 157 * be bounded between minInt and maxInt.
|
PatternStringUtils.java | 41 int maxInt = Math.min(properties.getMaximumIntegerDigits(), dosMax); 122 m0 = (maxInt != dosMax) ? Math.max(maxInt, m0) - 1 : m0 - 1;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/ |
DecimalQuantity_SimpleStorage.java | 325 public void setIntegerLength(int minInt, int maxInt) { 328 maxInt = Math.max(0, maxInt); 331 if (maxInt < minInt) { 332 minInt = maxInt; 337 lOptPos = maxInt;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/ |
DecimalQuantity_SimpleStorage.java | 322 public void setIntegerLength(int minInt, int maxInt) { 325 maxInt = Math.max(0, maxInt); 328 if (maxInt < minInt) { 329 minInt = maxInt; 334 lOptPos = maxInt;
|
/external/jsoncpp/src/lib_json/ |
json_value.cpp | 41 const Int Value::maxInt = Int(UInt(-1) / 2); 93 if (length >= (unsigned)Value::maxInt) 94 length = Value::maxInt - 1; 562 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), 731 (type_ == realValue && InRange(value_.real_, minInt, maxInt)) || 1099 return value_.int_ >= minInt && value_.int_ <= maxInt; 1101 return value_.uint_ <= UInt(maxInt); 1103 return value_.real_ >= minInt && value_.real_ <= maxInt && [all...] |