/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
LittleEndian.java | 91 if (value > Integer.MAX_VALUE) {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
ObjectOutputStreamTest.java | 835 oos.writeDouble(Double.MAX_VALUE); 839 ois.readDouble() == Double.MAX_VALUE); 855 oos.writeFloat(Float.MAX_VALUE); 859 ois.readFloat() == Float.MAX_VALUE); 869 oos.writeInt(Integer.MAX_VALUE); 873 ois.readInt() == Integer.MAX_VALUE); 882 oos.writeLong(Long.MAX_VALUE); 886 ois.readLong() == Long.MAX_VALUE); [all...] |
SerializationStressTest.java | 492 oos.writeDouble(Double.MAX_VALUE); 496 ois.readDouble() == Double.MAX_VALUE); 505 oos.writeFloat(Float.MAX_VALUE); 509 ois.readFloat() == Float.MAX_VALUE); 520 oos.writeInt(Integer.MAX_VALUE); 524 ois.readInt() == Integer.MAX_VALUE); 534 oos.writeLong(Long.MAX_VALUE); 538 ois.readLong() == Long.MAX_VALUE);
|
/external/chromium_org/v8/test/mjsunit/ |
double-equals.js | 72 testEqual(Number.MAX_VALUE, Number.MAX_VALUE);
|
/external/v8/test/mjsunit/ |
double-equals.js | 72 testEqual(Number.MAX_VALUE, Number.MAX_VALUE);
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
BinaryHprofWriter.java | 87 if (depth > Short.MAX_VALUE) { 89 + depth + " > " + Short.MAX_VALUE);
|
/libcore/json/src/test/java/org/json/ |
ParsingTest.java | 124 assertParsed(Integer.MAX_VALUE, "0x7FFFFFFF"); 126 "value is greater than Integer.MAX_VALUE.";
|
/libcore/luni/src/main/java/java/nio/ |
MemoryBlock.java | 100 if (offset < 0 || size < 0 || offset > Integer.MAX_VALUE || size > Integer.MAX_VALUE) {
|
/libcore/luni/src/main/java/java/text/ |
NumberFormat.java | 696 maximumFractionDigits < Byte.MAX_VALUE ? (byte) maximumFractionDigits 697 : Byte.MAX_VALUE); 701 maximumIntegerDigits < Byte.MAX_VALUE ? (byte) maximumIntegerDigits 702 : Byte.MAX_VALUE); 704 minimumFractionDigits < Byte.MAX_VALUE ? (byte) minimumFractionDigits 705 : Byte.MAX_VALUE); 709 minimumIntegerDigits < Byte.MAX_VALUE ? (byte) minimumIntegerDigits : Byte.MAX_VALUE);
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
SplitTest.java | 46 assertArraysEqual(new String[] { "a", "b", "c" }, "a,b,c".split(",", Integer.MAX_VALUE)); 52 assertArraysEqual(new String[] { "a", "b", "c", "" }, "a,b,c,".split(",", Integer.MAX_VALUE));
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
CountingInputStream.java | 121 if (result > Integer.MAX_VALUE) {
139 if (result > Integer.MAX_VALUE) {
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
LayerDrawableTest.java | 137 layerDrawable.setId(1, Integer.MAX_VALUE); 139 assertSame(colorDrawable, layerDrawable.findDrawableByLayerId(Integer.MAX_VALUE)); 158 layerDrawable.setId(1, Integer.MAX_VALUE); 160 assertEquals(Integer.MAX_VALUE, layerDrawable.getId(1)); 491 layerDrawable.setAlpha(Integer.MAX_VALUE); 599 assertTrue(layerDrawable.onLevelChange(Integer.MAX_VALUE)); [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
DebugInfoEncoder.java | 227 int nextAddrL = Integer.MAX_VALUE; // local variable 228 int nextAddrP = Integer.MAX_VALUE; // position (line number) 241 if (next == Integer.MAX_VALUE) { 250 && nextAddrL == Integer.MAX_VALUE 251 && nextAddrP == Integer.MAX_VALUE) { 895 * represent integers larger than Integer.MAX_VALUE, we currently don't
|
/dalvik/dx/src/com/android/dx/dex/file/ |
DebugInfoEncoder.java | 235 int nextAddrL = Integer.MAX_VALUE; // local variable 236 int nextAddrP = Integer.MAX_VALUE; // position (line number) 249 if (next == Integer.MAX_VALUE) { 258 && nextAddrL == Integer.MAX_VALUE 259 && nextAddrP == Integer.MAX_VALUE) { 903 * represent integers larger than Integer.MAX_VALUE, we currently don't
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
DebugInfoEncoder.java | 227 int nextAddrL = Integer.MAX_VALUE; // local variable 228 int nextAddrP = Integer.MAX_VALUE; // position (line number) 241 if (next == Integer.MAX_VALUE) { 250 && nextAddrL == Integer.MAX_VALUE 251 && nextAddrP == Integer.MAX_VALUE) { 895 * represent integers larger than Integer.MAX_VALUE, we currently don't
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
PhotoView.java | 233 // gesture in film mode. The value Integer.MAX_VALUE means no box was 235 private int mTouchBoxIndex = Integer.MAX_VALUE; 237 // if mTouchBoxIndex is not Integer.MAX_VALUE. 241 // item. The value Integer.MAX_VALUE means there is no such hint. 242 private int mUndoIndexHint = Integer.MAX_VALUE; 409 if (mTouchBoxIndex != Integer.MAX_VALUE) { 411 mTouchBoxIndex = Integer.MAX_VALUE; 421 if (mUndoIndexHint != Integer.MAX_VALUE) { [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | 356 assertValues(history, Long.MIN_VALUE, Long.MAX_VALUE, 512L, 4L, 512L, 4L, 0); 374 assertValues(history, Long.MIN_VALUE, Long.MAX_VALUE, 512L, 4L, 512L, 4L, 0); 659 sTemplateWifi, Long.MIN_VALUE, Long.MAX_VALUE, true); 730 sTemplateWifi, Long.MIN_VALUE, Long.MAX_VALUE, true); [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
DoubleTest.java | 248 double[] values = new double[] { Double.NEGATIVE_INFINITY, -Double.MAX_VALUE, -2d, 249 -Double.MIN_VALUE, -0d, 0d, Double.MIN_VALUE, 2d, Double.MAX_VALUE, 282 Double d = new Double(Double.MAX_VALUE); 363 && !(Double.isInfinite(Double.MAX_VALUE))); 393 Double d = new Double(Double.MAX_VALUE); [all...] |
FloatTest.java | 132 float[] values = new float[] { Float.NEGATIVE_INFINITY, -Float.MAX_VALUE, -2f, 133 -Float.MIN_VALUE, -0f, 0f, Float.MIN_VALUE, 2f, Float.MAX_VALUE, [all...] |
StringBuffer2Test.java | 117 sb.append(Double.MAX_VALUE); 385 testBuffer.insert(15, Double.MAX_VALUE); 387 "This is a test " + Double.MAX_VALUE + "buffer")); 396 testBuffer.insert(15, Float.MAX_VALUE); 399 + String.valueOf(Float.MAX_VALUE) + "buffer";
|
/libcore/luni/src/main/java/java/lang/ |
StrictMath.java | 652 * <li>{@code round((anything > Long.MAX_VALUE) = Long.MAX_VALUE}</li> 654 * <li>{@code round(+infinity) = Long.MAX_VALUE}</li> 675 * <li>{@code round((anything > Integer.MAX_VALUE) = Integer.MAX_VALUE}</li> 677 * <li>{@code round(+infinity) = Integer.MAX_VALUE}</li> 890 } else if (d == Double.MAX_VALUE || d == -Double.MAX_VALUE) { 894 return nextafter(d, Double.MAX_VALUE) - d; [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldDecimalFormatTest.java | 216 assertEquals(new BigDecimal(Double.MAX_VALUE).add(new BigDecimal( 217 Double.MAX_VALUE)), result); 238 // (default to Integer.MAX_VALUE: 2147483647 ) [all...] |
/external/chromium_org/net/url_request/ |
url_request_throttler_simulation_unittest.cc | 232 int max_value = 0; local 234 max_value = std::max(max_value, columns[cx]); 236 double row_divisor_exact = max_value / static_cast<double>(kNumRows); 238 DCHECK_GE(row_divisor * kNumRows, max_value);
|
/external/chromium_org/third_party/libwebp/enc/ |
analysis.c | 117 int max_value = 0, last_non_zero = 1; local 123 if (value > max_value) max_value = value; 130 alpha = (max_value > 1) ? ALPHA_SCALE * last_non_zero / max_value : 0;
|
/external/chromium_org/ui/events/x/ |
device_data_manager.cc | 561 double max_value; local 563 if (GetDataRange(deviceid, type, &min_value, &max_value)) { 564 *value = (*value - min_value) / (max_value - min_value); 636 double max_value) { 647 valuator_max_[deviceid][j] = max_value;
|