/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ShortTest.java | 22 private Short sp = new Short((short) 18000); 23 private Short sn = new Short((short) -19000); 26 * @tests java.lang.Short#byteValue() 29 // Test for method byte java.lang.Short.byteValue() 30 assertEquals("Returned incorrect byte value", 0, new Short(Short.MIN_VALUE [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int_lit16/d/ |
T_add_int_lit16_12.java | 22 return Short.MIN_VALUE + Short.MIN_VALUE;
|
T_add_int_lit16_7.java | 22 return 0 + Short.MAX_VALUE;
|
T_add_int_lit16_8.java | 22 return Integer.MAX_VALUE + Short.MAX_VALUE;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/and_int_lit16/d/ |
T_and_int_lit16_5.java | 22 return Short.MAX_VALUE & Short.MIN_VALUE;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/and_int_lit8/d/ |
T_and_int_lit8_5.java | 22 return Short.MAX_VALUE & Short.MIN_VALUE;
|
/libcore/luni/src/test/java/libcore/java/lang/ |
ShortTest.java | 21 final short min = Short.MIN_VALUE; 22 final short zero = 0; 23 final short max = Short.MAX_VALUE; 24 assertTrue(Short.compare(max, max) == 0); 25 assertTrue(Short.compare(min, min) == 0); 26 assertTrue(Short.compare(zero, zero) == 0); 27 assertTrue(Short.compare(max, zero) > 0); 28 assertTrue(Short.compare(max, min) > 0) [all...] |
/external/guava/guava-tests/test/com/google/common/primitives/ |
ShortArrayAsListTest.java | 37 * Test suite covering {@link Shorts#asList(short[])}. 44 private static List<Short> asList(Short[] values) { 45 short[] temp = new short[values.length]; 46 for (short i = 0; i < values.length; i++) { 53 List<ListTestSuiteBuilder<Short>> builders = 69 for (ListTestSuiteBuilder<Short> builder : builders) { 85 @Override protected List<Short> create(Short[] elements) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int_lit16/d/ |
T_div_int_lit16_11.java | 22 return 1 / Short.MAX_VALUE;
|
T_div_int_lit16_12.java | 22 return 1 / Short.MIN_VALUE;
|
T_div_int_lit16_10.java | 22 return Integer.MIN_VALUE / Short.MAX_VALUE;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
dct.h | 51 void idct_col0(Short *blk); 52 void idct_col1(Short *blk); 53 void idct_col2(Short *blk); 54 void idct_col3(Short *blk); 55 void idct_col4(Short *blk); 56 void idct_col0x40(Short *blk); 57 void idct_col0x20(Short *blk); 58 void idct_col0x10(Short *blk); 60 void idct_rowInter(Short *srce, UChar *rec, Int lx); 61 void idct_row0Inter(Short *blk, UChar *rec, Int lx) [all...] |
mp4enc_lib.h | 54 Int getBlockSAV(Short block[]); 59 void blockIdct(Short *block); 60 void blockIdct_SSE(Short *input); 61 void BlockDCTEnc(Short *blockData, Short *blockCoeff); 65 Int BlockQuantDequantH263Inter(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam, 69 Int BlockQuantDequantH263Intra(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam, 73 Int BlockQuantDequantH263DCInter(Short *rcoeff, Short *qcoeff, struct QPstruct *QuantParam [all...] |
/libcore/luni/src/main/java/java/lang/ |
Short.java | 21 * The wrapper for the primitive type {@code short}. 27 public final class Short extends Number implements Comparable<Short> { 34 private final short value; 37 * Constant for the maximum {@code short} value, 2<sup>15</sup>-1. 39 public static final short MAX_VALUE = (short) 0x7FFF; 42 * Constant for the minimum {@code short} value, -2<sup>15</sup>. 44 public static final short MIN_VALUE = (short) 0x8000 [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int_lit8/d/ |
T_add_int_lit8_12.java | 22 return Short.MIN_VALUE + Byte.MIN_VALUE;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/or_int_lit16/d/ |
T_or_int_lit16_5.java | 22 int a = Short.MAX_VALUE;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/d/ |
T_rsub_int_4.java | 22 int b = Short.MAX_VALUE;
|
T_rsub_int_5.java | 22 int b = Short.MIN_VALUE;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/xor_int_lit16/d/ |
T_xor_int_lit16_4.java | 22 return Integer.MAX_VALUE ^ Short.MIN_VALUE;
|
/external/aac/libAACenc/src/ |
psy_data.h | 99 * short energies and thresholds between FDKaacEnc_groupShortData() and BuildInterface() in FDKaacEnc_psyMain(). 105 FIXP_DBL Short[TRANS_FAC][MAX_SFB_SHORT]; 110 FIXP_DBL Short[TRANS_FAC][MAX_SFB_SHORT]; 115 FIXP_DBL Short[TRANS_FAC][MAX_SFB_SHORT]; 120 INT Short[TRANS_FAC][MAX_SFB_SHORT];
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
ShortSerializer.java | 40 * Short serializer. 46 public Short readObject(ByteBuffer data, Class c) throws IOException { 51 buffer.putShort((Short)object);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/ |
Test_rsub_int.java | 59 * 2: a = Short.MAX_VALUE, b = 0, b-a = -Short.MAX_VALUE 64 assertEquals(-Short.MAX_VALUE, t.run(Short.MAX_VALUE)); 70 * 2: a = Short.MIN_VALUE, b = 0, b-a = 32768 75 assertEquals(32768, t.run(Short.MIN_VALUE)); 88 * 1: a = 0, b = Short.MAX_VALUE, b-a = Short.MAX_VALUE 89 * 2: a = 1, b = Short.MAX_VALUE, b-a = 32766 90 * 3: a = -1, b = Short.MAX_VALUE, b-a = 3276 [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
Shorts.java | 37 * Static utility methods pertaining to {@code short} primitives, that are not 38 * already found in either {@link Short} or {@link Arrays}. 48 * The number of bytes required to represent a primitive {@code short} 51 public static final int BYTES = Short.SIZE / Byte.SIZE; 54 * The largest power of two that can be represented as a {@code short}. 58 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); 62 * {@code ((Short) value).hashCode()}. 64 * @param value a primitive {@code short} value 67 public static int hashCode(short value) [all...] |
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
Shorts.java | 35 * Static utility methods pertaining to {@code short} primitives, that are not 36 * already found in either {@link Short} or {@link Arrays}. 46 * The number of bytes required to represent a primitive {@code short} 49 public static final int BYTES = Short.SIZE / Byte.SIZE; 52 * The largest power of two that can be represented as a {@code short}. 56 public static final short MAX_POWER_OF_TWO = 1 << (Short.SIZE - 2); 60 * {@code ((Short) value).hashCode()}. 62 * @param value a primitive {@code short} value 65 public static int hashCode(short value) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int_lit16/ |
Test_mul_int_lit16.java | 71 * @title Arguments = 0, Short.MAX_VALUE 75 assertEquals(0, t.run(Short.MAX_VALUE)); 79 * @title Arguments = 1, Short.MAX_VALUE 83 assertEquals(Short.MAX_VALUE, t.run(Short.MAX_VALUE)); 87 * @title Arguments = 1, Short.MIN_VALUE 91 assertEquals(Short.MIN_VALUE, t.run(Short.MIN_VALUE)); 95 * @title Arguments = 32767, Short.MIN_VALUE 99 assertEquals(-1073709056, t.run(Short.MIN_VALUE)) [all...] |