/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/ |
properties-002.js | 46 * all the way up to Number.MAX_VALUE. So that's why we need cases 67 re_10.lastIndex = Number.MAX_VALUE; 68 AddRegExpCases( re_10, "\\B", false, false, false, Number.MAX_VALUE );
|
/frameworks/base/core/java/android/util/ |
NtpTrustedTime.java | 104 return Long.MAX_VALUE; 113 return Long.MAX_VALUE;
|
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/ |
JavaBridgeArrayTest.java | 179 long length = (long)Integer.MAX_VALUE + 1L; 185 length = (long)Integer.MAX_VALUE + 1L - (long)Integer.MIN_VALUE + 1L;
|
/libcore/luni/src/main/java/java/util/zip/ |
Inflater.java | 178 return (int) Math.min(getTotalInImpl(streamHandle), (long) Integer.MAX_VALUE); 189 return (int) Math.min(getTotalOutImpl(streamHandle), (long) Integer.MAX_VALUE);
|
/libcore/luni/src/main/java/libcore/net/http/ |
HeaderParser.java | 155 if (seconds > Integer.MAX_VALUE) { 156 return Integer.MAX_VALUE;
|
/libcore/luni/src/main/java/libcore/net/url/ |
FileURLConnection.java | 84 length = lengthAsLong <= Integer.MAX_VALUE ? (int) lengthAsLong : Integer.MAX_VALUE;
|
/libcore/luni/src/test/java/libcore/java/text/ |
NumberFormatTest.java | 62 assertEquals("long", nf.format(BigInteger.valueOf(Long.MAX_VALUE))); 63 assertEquals("double", nf.format(BigInteger.valueOf(Long.MAX_VALUE).add(BigInteger.ONE)));
|
/packages/apps/Calendar/src/com/android/calendar/ |
ExpandableTextView.java | 68 mTv.setMaxLines(mCollapsed ? mMaxCollapsedLines : Integer.MAX_VALUE); 83 mTv.setMaxLines(Integer.MAX_VALUE);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
AccessPoint.java | 190 mRssi = Integer.MAX_VALUE; 210 if (mRssi == Integer.MAX_VALUE) { 231 if (mRssi != Integer.MAX_VALUE && other.mRssi == Integer.MAX_VALUE) return -1; 232 if (mRssi == Integer.MAX_VALUE && other.mRssi != Integer.MAX_VALUE) return 1; 305 if (mRssi == Integer.MAX_VALUE) { 353 } else if (mRssi == Integer.MAX_VALUE) { // Wifi out of range
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
WifiP2pPeer.java | 57 if (mRssi == Integer.MAX_VALUE) { 88 if (mRssi == Integer.MAX_VALUE) {
|
/libcore/luni/src/test/java/tests/api/java/util/ |
ArraysTest.java | 156 -Double.MAX_VALUE, -2d, -Double.MIN_VALUE, -0d, 0d, 157 Double.MIN_VALUE, 2d, Double.MAX_VALUE, 190 -Float.MAX_VALUE, -2f, -Float.MIN_VALUE, -0f, 0f, 191 Float.MIN_VALUE, 2f, Float.MAX_VALUE, Float.POSITIVE_INFINITY, 326 Arrays.fill(d, Byte.MAX_VALUE); 329 d[i] == Byte.MAX_VALUE); 337 byte val = Byte.MAX_VALUE; 382 Arrays.fill(d, Short.MAX_VALUE); 385 d[i] == Short.MAX_VALUE); 393 short val = Short.MAX_VALUE; [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
RandomAccessFileTest.java | 289 raf.writeDouble(Double.MAX_VALUE); 291 assertEquals("Incorrect double read/written", Double.MAX_VALUE, raf 302 raf.writeFloat(Float.MAX_VALUE); 304 assertEquals("Incorrect float read/written", Float.MAX_VALUE, raf 380 raf.writeLong(Long.MAX_VALUE); 382 assertEquals("Incorrect long read/written", Long.MAX_VALUE, raf 755 raf.writeDouble(Double.MAX_VALUE); 757 assertEquals("Incorrect double read/written", Double.MAX_VALUE, raf 768 raf.writeFloat(Float.MAX_VALUE); 770 assertEquals("Incorrect float read/written", Float.MAX_VALUE, ra [all...] |
/libcore/luni/src/test/java/libcore/java/sql/ |
OldPreparedStatementTest.java | 492 ps.setInt(1, Integer.MAX_VALUE); 496 + Integer.MAX_VALUE); 512 + Integer.MAX_VALUE); 548 ps.setLong(1, Long.MAX_VALUE); 551 st.execute("select * from type where LongVal=" + Long.MAX_VALUE); 565 st.execute("select * from type where LongVal=" + Long.MAX_VALUE); 657 ps.setDouble(1, Double.MAX_VALUE); 661 + Double.MAX_VALUE); [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
URLConnectionTest.java | 230 assertEquals("A", readAscii(connection.getErrorStream(), Integer.MAX_VALUE)); 296 assertEquals("ABC", readAscii(connection1.getInputStream(), Integer.MAX_VALUE)); 299 assertEquals("DEF", readAscii(connection2.getInputStream(), Integer.MAX_VALUE)); 508 readAscii(connection.getInputStream(), Integer.MAX_VALUE); 723 cache = new HttpResponseCache(cacheDir, Integer.MAX_VALUE); [all...] |
/cts/libs/vogar-expect/src/vogar/util/ |
Threads.java | 50 new LinkedBlockingQueue<Runnable>(Integer.MAX_VALUE), threadFactory) {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RadioButtonTest.java | 65 new RadioButton(mContext, attrs, Integer.MAX_VALUE);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/and_int/ |
Test_and_int.java | 59 * @title Arguments = Integer.MAX_VALUE & Integer.MIN_VALUE 63 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/and_int_2addr/ |
Test_and_int_2addr.java | 58 * @title Arguments = Integer.MAX_VALUE & Integer.MIN_VALUE 62 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/and_long/ |
Test_and_long.java | 59 * @title Arguments = Long.MAX_VALUE & Long.MIN_VALUE 63 assertEquals(0, t.run(Long.MAX_VALUE, Long.MIN_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/and_long_2addr/ |
Test_and_long_2addr.java | 58 * @title Arguments = Long.MAX_VALUE & Long.MIN_VALUE 62 assertEquals(0, t.run(Long.MAX_VALUE, Long.MIN_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/int_to_double/ |
Test_int_to_double.java | 51 * @title Argument = Integer.MAX_VALUE 55 assertEquals(2147483647d, t.run(Integer.MAX_VALUE), 0d);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/long_to_float/ |
Test_long_to_float.java | 50 * @title Argument = Long.MAX_VALUE 54 assertEquals(9.223372036854776E18, t.run(Long.MAX_VALUE), 0f);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/long_to_int/ |
Test_long_to_int.java | 58 * @title Argument = Long.MAX_VALUE 62 assertEquals(-1, t.run(Long.MAX_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/or_int/ |
Test_or_int.java | 59 * @title Arguments = Integer.MAX_VALUE & Integer.MIN_VALUE 63 assertEquals(0xffffffff, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/or_int_2addr/ |
Test_or_int_2addr.java | 59 * @title Arguments = Integer.MAX_VALUE & Integer.MIN_VALUE 63 assertEquals(0xffffffff, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE));
|