/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | StringTokenizerTest.java | 646 // Tests when "if (c < MIN_VALUE || c > MAX_VALUE)" is true in TestIndexOf() 649 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestIndexOf() 651 UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1}; in TestIndexOf() 696 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestAdd_int_int() 698 // Tests when "if (start < MIN_VALUE || start > MAX_VALUE)" is true in TestAdd_int_int() 701 us.add(invalid[i], UnicodeSet.MAX_VALUE); in TestAdd_int_int() 708 // Tests when "if (end < MIN_VALUE || end > MAX_VALUE)" i in TestAdd_int_int() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | StringTokenizerTest.java | 643 // Tests when "if (c < MIN_VALUE || c > MAX_VALUE)" is true in TestIndexOf() 646 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestIndexOf() 648 UnicodeSet.MAX_VALUE, UnicodeSet.MAX_VALUE-1}; in TestIndexOf() 693 UnicodeSet.MAX_VALUE+1, UnicodeSet.MAX_VALUE+2}; in TestAdd_int_int() 695 // Tests when "if (start < MIN_VALUE || start > MAX_VALUE)" is true in TestAdd_int_int() 698 us.add(invalid[i], UnicodeSet.MAX_VALUE); in TestAdd_int_int() 705 // Tests when "if (end < MIN_VALUE || end > MAX_VALUE)" i in TestAdd_int_int() [all...] |
/third_party/node/test/js-native-api/test_number/ |
H A D | test.js | 33 testNumber(Number.MAX_VALUE); 34 testNumber(Number.MAX_VALUE + 10); 86 testInt32(-Number.MAX_VALUE, 0); 87 testInt32(Number.MAX_VALUE, 0); 124 testInt64(-Number.MAX_VALUE, RANGEERROR_NEGATIVE); 125 testInt64(Number.MAX_VALUE, RANGEERROR_POSITIVE);
|
/third_party/jerryscript/tests/jerry-test-suite/15/15.07/15.07.03/15.07.03.02/ |
H A D | 15.07.03.02-004.js | 15 var b = Number.MAX_VALUE; 16 Number.MAX_VALUE = 0; 17 assert(Number.MAX_VALUE === b)
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/ |
H A D | EventScheduler.java | 158 long lowestTime = mEventBuffer.isEmpty() ? Long.MAX_VALUE in add() 217 long millisToWait = Integer.MAX_VALUE; in waitNextEvent() 233 if (millisToWait > Integer.MAX_VALUE) { in waitNextEvent() 234 millisToWait = Integer.MAX_VALUE; in waitNextEvent()
|
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
H A D | BitBuffer.java | 87 * would make bitLength exceed Integer.MAX_VALUE 92 if (Integer.MAX_VALUE - bitLength < len) in appendBits() 104 * would make bitLength exceed Integer.MAX_VALUE 108 if (Integer.MAX_VALUE - bitLength < bb.bitLength) in appendData()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
H A D | UCharacterNameIterator.java | 133 * UCharacter.MIN_VALUE and end at UCharacter.MAX_VALUE.</p> 136 * UCharacter.MAX_VALUE, next(element) will always return false. 157 if (limit > UCharacter.MAX_VALUE + 1) { in setRange() 158 m_limit_ = UCharacter.MAX_VALUE + 1; in setRange() 183 m_limit_ = UCharacter.MAX_VALUE + 1; in UCharacterNameIterator()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | FormattedValueFieldPositionIteratorImpl.java | 82 int s1a = Integer.MAX_VALUE; in addOverlapSpans() 84 int s2a = Integer.MAX_VALUE; in addOverlapSpans() 102 if (s1a != Integer.MAX_VALUE) { in addOverlapSpans()
|
H A D | IntTrieBuilder.java | 173 if (m_isCompacted_ || ch > UCharacter.MAX_VALUE || ch < 0) { in getValue() 191 if (m_isCompacted_ || ch > UCharacter.MAX_VALUE || ch < 0) { in getValue() 216 if (m_isCompacted_ || ch > UCharacter.MAX_VALUE || ch < 0) { in setValue() 408 || start > UCharacter.MAX_VALUE || limit < UCharacter.MIN_VALUE in setRange() 409 || limit > (UCharacter.MAX_VALUE + 1) || start > limit) { in setRange()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | FormattedValueFieldPositionIteratorImpl.java | 84 int s1a = Integer.MAX_VALUE; in addOverlapSpans() 86 int s2a = Integer.MAX_VALUE; in addOverlapSpans() 104 if (s1a != Integer.MAX_VALUE) { in addOverlapSpans()
|
H A D | ICUCurrencyMetaInfo.java | 88 if (filter.from != Long.MIN_VALUE || filter.to != Long.MAX_VALUE) { in collect() 130 long to = Long.MAX_VALUE; in collectRegion() 143 to = getDate(r.at("to"), Long.MAX_VALUE, true); in collectRegion() 264 private static final int Everything = Integer.MAX_VALUE;
|
H A D | IntTrieBuilder.java | 175 if (m_isCompacted_ || ch > UCharacter.MAX_VALUE || ch < 0) { in getValue() 193 if (m_isCompacted_ || ch > UCharacter.MAX_VALUE || ch < 0) { in getValue() 218 if (m_isCompacted_ || ch > UCharacter.MAX_VALUE || ch < 0) { in setValue() 410 || start > UCharacter.MAX_VALUE || limit < UCharacter.MIN_VALUE in setRange() 411 || limit > (UCharacter.MAX_VALUE + 1) || start > limit) { in setRange()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/lang/ |
H A D | UCharacterNameIterator.java | 133 * UCharacter.MIN_VALUE and end at UCharacter.MAX_VALUE.</p> 136 * UCharacter.MAX_VALUE, next(element) will always return false. 157 if (limit > UCharacter.MAX_VALUE + 1) { in setRange() 158 m_limit_ = UCharacter.MAX_VALUE + 1; in setRange() 183 m_limit_ = UCharacter.MAX_VALUE + 1; in UCharacterNameIterator()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | DecodeUtf8Test.java | 31 for (int i = Byte.MIN_VALUE; i <= Byte.MAX_VALUE; i++) { in testOneByte() 44 for (int i = Byte.MIN_VALUE; i <= Byte.MAX_VALUE; i++) { in testTwoBytes() 45 for (int j = Byte.MIN_VALUE; j <= Byte.MAX_VALUE; j++) { in testTwoBytes() 62 for (int i = Byte.MIN_VALUE; i <= Byte.MAX_VALUE; i++) { in testThreeBytes() 63 for (int j = Byte.MIN_VALUE; j <= Byte.MAX_VALUE; j++) { in testThreeBytes() 64 for (int k = Byte.MIN_VALUE; k <= Byte.MAX_VALUE; k++) { in testThreeBytes()
|
/third_party/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
H A D | ICUCurrencyMetaInfo.java | 86 if (filter.from != Long.MIN_VALUE || filter.to != Long.MAX_VALUE) { in collect() 128 long to = Long.MAX_VALUE; in collectRegion() 141 to = getDate(r.at("to"), Long.MAX_VALUE, true); in collectRegion() 262 private static final int Everything = Integer.MAX_VALUE;
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | IntlTestNumberFormat.java | 130 tryIt(Integer.MAX_VALUE); in _testFormat() 132 tryIt((double)Integer.MAX_VALUE); in _testFormat() 134 tryIt(Integer.MAX_VALUE + 1.0); in _testFormat()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | IntlTestNumberFormat.java | 133 tryIt(Integer.MAX_VALUE); in _testFormat() 135 tryIt((double)Integer.MAX_VALUE); in _testFormat() 137 tryIt(Integer.MAX_VALUE + 1.0); in _testFormat()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | NumberFormat.java | 425 * Long.MAX_VALUE] and with no decimals); otherwise, returns another type, 1676 * (or to <code>Byte.MAX_VALUE</code>, whichever is smaller), for compatibility 1682 maxIntegerDigits = (maximumIntegerDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1684 minIntegerDigits = (minimumIntegerDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1686 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1688 minFractionDigits = (minimumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE in writeObject() [all...] |
H A D | UnicodeSet.java | 75 * <code>MIN_VALUE-MAX_VALUE</code> 335 public static final int MAX_VALUE = HIGH - 1; field in UnicodeSet 814 // MIN_VALUE and MAX_VALUE, then the inverse representation will in appendNewPattern() 818 // getRangeEnd(last) == MAX_VALUE) in appendNewPattern() 819 // Invariant: list[len-1] == HIGH == MAX_VALUE + 1 in appendNewPattern() 820 // If limit == len then len is even and the last range ends with MAX_VALUE. in appendNewPattern() 1159 if (c < MIN_VALUE || c > MAX_VALUE) { in indexOf() 1235 if (start < MIN_VALUE || start > MAX_VALUE) { in add_unchecked() 1238 if (end < MIN_VALUE || end > MAX_VALUE) { in add_unchecked() 1312 if (c < MIN_VALUE || c > MAX_VALUE) { in add_unchecked() [all...] |
H A D | MessagePattern.java | 789 private static final int MAX_VALUE=Short.MAX_VALUE; field in MessagePattern.Part 934 if(nestingLevel>Part.MAX_VALUE) { in parseMessage() 1033 if(length>Part.MAX_LENGTH || number>Part.MAX_VALUE) { in parseArg() 1343 if(number>=Integer.MAX_VALUE/10) { in parseArgNumber() 1403 if(value>(Part.MAX_VALUE+isNegative)) { in parseDouble() 1556 if(numericIndex>Part.MAX_VALUE) { in addArgDoublePart()
|
H A D | CurrencyMetaInfo.java | 124 null, null, Long.MIN_VALUE, Long.MAX_VALUE, false); 269 long toLong = to == null ? Long.MAX_VALUE : to.getTime(); in withDateRange() 437 * If there is no date, this is Long.MAX_VALUE. 582 if (date == Long.MAX_VALUE || date == Long.MIN_VALUE) { in dateString()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | NumberFormat.java | 399 * Long.MAX_VALUE] and with no decimals); otherwise, returns another type, 1588 * (or to <code>Byte.MAX_VALUE</code>, whichever is smaller), for compatibility 1594 maxIntegerDigits = (maximumIntegerDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1596 minIntegerDigits = (minimumIntegerDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1598 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject() 1600 minFractionDigits = (minimumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE in writeObject() [all...] |
H A D | UnicodeSet.java | 76 * <code>MIN_VALUE-MAX_VALUE</code> 327 public static final int MAX_VALUE = HIGH - 1; field in UnicodeSet 761 // MIN_VALUE and MAX_VALUE, then the inverse representation will in appendNewPattern() 765 getRangeEnd(count-1) == MAX_VALUE) { in appendNewPattern() 1095 if (c < MIN_VALUE || c > MAX_VALUE) { in indexOf() 1168 if (start < MIN_VALUE || start > MAX_VALUE) { in add_unchecked() 1171 if (end < MIN_VALUE || end > MAX_VALUE) { in add_unchecked() 1244 if (c < MIN_VALUE || c > MAX_VALUE) { in add_unchecked() 1267 // TODO: Is the "list[i]-1" a typo? Even if you pass MAX_VALUE into in add_unchecked() 1269 // is "MAX_VALUE in add_unchecked() [all...] |
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
H A D | UConverterAlias.java | 201 lastMid = Integer.MAX_VALUE; in findConverter() 236 return Integer.MAX_VALUE; in findConverter() 577 return Integer.MAX_VALUE; in getTagNumber() 633 return Integer.MAX_VALUE; in findTaggedAliasListsOffset() 676 return Integer.MAX_VALUE; in findTaggedConverterNum()
|
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
H A D | BitBuffer.java | 78 if (len > Integer.MAX_VALUE - bitLength) in appendBits() 112 if (len > Integer.MAX_VALUE - bitLength) in appendBits()
|