/dalvik/libcore/json/src/test/java/org/json/ |
JSONArrayTest.java | 190 array.put(Double.MAX_VALUE); 199 assertEquals(Double.MAX_VALUE, array.get(2)); 203 assertEquals(Double.MAX_VALUE, array.getDouble(2)); 207 assertEquals(Long.MAX_VALUE, array.getLong(2)); 211 assertEquals(Integer.MAX_VALUE, array.getInt(2)); 225 other.put(Double.MAX_VALUE); 273 assertEquals(Integer.MAX_VALUE, array.getInt(2));
|
/frameworks/base/awt/java/awt/image/ |
Raster.java | 130 if ((long)location.x + w > Integer.MAX_VALUE || (long)location.y + h > Integer.MAX_VALUE) { 195 if ((long)location.x + w > Integer.MAX_VALUE || (long)location.y + h > Integer.MAX_VALUE) { 274 if ((long)location.x + w > Integer.MAX_VALUE || (long)location.y + h > Integer.MAX_VALUE) { 328 if ((long)location.x + w > Integer.MAX_VALUE || (long)location.y + h > Integer.MAX_VALUE) { 397 if ((long)location.x + w > Integer.MAX_VALUE || (long)location.y + h > Integer.MAX_VALUE) { [all...] |
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
Inflater.java | 172 * result value is limited by {@code Integer.MAX_VALUE}. 181 return (totalIn <= Integer.MAX_VALUE ? (int) totalIn 182 : Integer.MAX_VALUE); 189 * Inflater}. The result value is limited by {@code Integer.MAX_VALUE}. 198 return (totalOut <= Integer.MAX_VALUE ? (int) totalOut 199 : Integer.MAX_VALUE);
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
15.10.6.2-2.js | 156 * all the way up to Number.MAX_VALUE. So that's why we need cases 208 pattern.lastIndex = Number.MAX_VALUE; 214 pattern.lastIndex = -Number.MAX_VALUE; 272 * all the way up to Number.MAX_VALUE. So that's why we need cases 324 pattern.lastIndex = Number.MAX_VALUE; 330 pattern.lastIndex = -Number.MAX_VALUE;
|
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
ByteBufferTest.java | 515 buf.get(array, 1, Integer.MAX_VALUE); 521 buf.get(array, Integer.MAX_VALUE, 1); 719 buf.put(Byte.MAX_VALUE); 720 assertEquals(Byte.MAX_VALUE, buf.get(0)); 826 buf.put(array, 2, Integer.MAX_VALUE); 832 buf.put(array, Integer.MAX_VALUE, 1); 838 buf.put((byte[])null, 2, Integer.MAX_VALUE); 951 buf.put(0, Byte.MAX_VALUE); 952 assertEquals(Byte.MAX_VALUE, buf.get(0)); [all...] |
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
FileLockTest.java | 103 new MockFileLock(readWriteChannel, Long.MAX_VALUE, 1, false); 138 final long position = ((long) Integer.MAX_VALUE + 1); 158 final long size = ((long) Integer.MAX_VALUE + 1);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RelativeLayout_LayoutParamsTest.java | 233 layoutParams.addRule(Integer.MAX_VALUE); 292 layoutParams.addRule(Integer.MAX_VALUE, 0); 298 layoutParams.addRule(RelativeLayout.ALIGN_LEFT, Integer.MAX_VALUE); 300 assertEquals(Integer.MAX_VALUE, rules[RelativeLayout.ALIGN_LEFT]);
|
/cts/tools/vm-tests/src/dot/junit/opcodes/xor_int_lit16/ |
Test_xor_int_lit16.java | 65 * @title Arguments = Integer.MAX_VALUE, Short.MIN_VALUE
|
/cts/tools/vm-tests/src/dot/junit/opcodes/xor_int_lit8/ |
Test_xor_int_lit8.java | 65 * @title Arguments = Integer.MAX_VALUE, Byte.MIN_VALUE
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
HexStringParser.java | 154 exponent = expSign * Long.MAX_VALUE; 211 * Sets the exponent variable to Long.MAX_VALUE or -Long.MAX_VALUE if 218 exponent = expSign * Long.MAX_VALUE;
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
PushBackInputStreamTest.java | 102 pb.mark(Integer.MAX_VALUE);
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
CharacterImplTest.java | 53 for (int c = '\u0512'; c <= Character.MAX_VALUE; c++) {
|
/dalvik/libcore/luni/src/test/java/tests/api/java/net/ |
HttpRetryExceptionTest.java | 93 int [] codes = {400, -1, Integer.MAX_VALUE, Integer.MIN_VALUE, 0};
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
ReadOnlyFileChannel.java | 89 if (position < 0 || size < 0 || size > Integer.MAX_VALUE) {
|
WriteOnlyFileChannel.java | 95 if (position < 0 || size < 0 || size > Integer.MAX_VALUE) {
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
MessageDigest1Test.java | 101 // offset + len > Integer.MAX_VALUE 102 md.update(bytes, Integer.MAX_VALUE, 1); 221 // offset + len > Integer.MAX_VALUE 222 md.digest(bytes, Integer.MAX_VALUE, 1);
|
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ |
SocketFactoryTest.java | 110 int[] invalidPorts = {Integer.MIN_VALUE, -1, 65536, Integer.MAX_VALUE}; 168 int[] invalidPorts = {Integer.MIN_VALUE, -1, 65536, Integer.MAX_VALUE}; 218 int[] invalidPorts = {Integer.MIN_VALUE, -1, 65536, Integer.MAX_VALUE}; 282 int[] invalidPorts = {Integer.MIN_VALUE, -1, 65536, Integer.MAX_VALUE};
|
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/ |
SSLSocketTest.java | 84 int[] invalidPort = {-1, Integer.MIN_VALUE, 65536, Integer.MAX_VALUE}; 204 ssl = getSSLSocket(InetAddress.getLocalHost(), Integer.MAX_VALUE, 206 fail("IOException wasn't thrown for " + Integer.MAX_VALUE); 213 + Integer.MAX_VALUE); 217 InetAddress.getLocalHost(), Integer.MAX_VALUE); 219 + Integer.MAX_VALUE); 224 + Integer.MAX_VALUE); 242 int[] invalidPort = {-1, Integer.MIN_VALUE, 65536, Integer.MAX_VALUE}; 292 int[] invalidPort = {-1, Integer.MIN_VALUE, 65536, Integer.MAX_VALUE}; [all...] |
/external/guava/src/com/google/common/collect/ |
AbstractMapBasedMultiset.java | 58 * the multiset had once been larger than Integer.MAX_VALUE. 175 return (int) Math.min(this.size, Integer.MAX_VALUE); 237 * {@link Integer#MAX_VALUE} occurrences of {@code element} in this 254 checkArgument(newCount <= Integer.MAX_VALUE,
|
/external/proguard/src/proguard/optimize/info/ |
MethodInvocationMarker.java | 105 Integer.MAX_VALUE;
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.13.2-4.js | 101 array[item++] = new TestCase( SECTION, "VAR1 = Number.MAX_VALUE; VAR2= -Number.MAX_VALUE; VAR1 += VAR2; VAR1", 0, eval("VAR1 = Number.MAX_VALUE; VAR2= -Number.MAX_VALUE; VAR1 += VAR2; VAR1") );
|
11.13.2-5.js | 101 array[item++] = new TestCase( SECTION, "VAR1 = Number.MAX_VALUE; VAR2= Number.MAX_VALUE; VAR1 -= VAR2; VAR1", 0, eval("VAR1 = Number.MAX_VALUE; VAR2= Number.MAX_VALUE; VAR1 -= VAR2; VAR1") );
|
11.9.1.js | 82 array[item++] = new TestCase( SECTION, "Number.MAX_VALUE == Number.MAX_VALUE", true, Number.MAX_VALUE == Number.MAX_VALUE );
|
11.9.2.js | 81 array[item++] = new TestCase( SECTION, "Number.MAX_VALUE != Number.MAX_VALUE", false, Number.MAX_VALUE != Number.MAX_VALUE );
|
11.9.3.js | 81 array[item++] = new TestCase( SECTION, "Number.MAX_VALUE == Number.MAX_VALUE", true, Number.MAX_VALUE == Number.MAX_VALUE );
|