/libcore/luni/src/test/java/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/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/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/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/main/java/java/lang/ |
Short.java | 21 * The wrapper for the primitive type {@code short}. 26 public final class Short extends Number implements Comparable<Short> { 33 private final short value; 36 * Constant for the maximum {@code short} value, 2<sup>15</sup>-1. 38 public static final short MAX_VALUE = (short) 0x7FFF; 41 * Constant for the minimum {@code short} value, -2<sup>15</sup>. 43 public static final short MIN_VALUE = (short) 0x8000 [all...] |
/cts/tools/vm-tests/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/base/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...] |
fastcodemb.cpp | 53 Short *output, *dataBlock; 63 Int(*BlockQuantDequantH263)(Short *, Short *, struct QPstruct *, 65 Int(*BlockQuantDequantH263DC)(Short *, Short *, struct QPstruct *, 67 void (*BlockDCT1x1)(Short *, UChar *, UChar *, Int); 68 void (*BlockDCT2x2)(Short *, UChar *, UChar *, Int); 69 void (*BlockDCT4x4)(Short *, UChar *, UChar *, Int); 70 void (*BlockDCT8x8)(Short *, UChar *, UChar *, Int); 89 // M4VENC_MEMSET(output,0,(sizeof(Short)<<6)*6); /* reset quantized coeff. to zero , 7/24/01* [all...] |
/cts/tools/vm-tests/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/src/dot/junit/opcodes/or_int_lit16/d/ |
T_or_int_lit16_5.java | 22 int a = Short.MAX_VALUE;
|
/cts/tools/vm-tests/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/src/dot/junit/opcodes/xor_int_lit16/d/ |
T_xor_int_lit16_4.java | 22 return Integer.MAX_VALUE ^ Short.MIN_VALUE;
|
/cts/tools/vm-tests/src/dot/junit/opcodes/rsub_int/ |
Test_rsub_int.java | 71 * 2: a = Short.MAX_VALUE, b = 0, b-a = -Short.MAX_VALUE 76 assertEquals(-Short.MAX_VALUE, t.run(Short.MAX_VALUE)); 82 * 2: a = Short.MIN_VALUE, b = 0, b-a = 32768 87 assertEquals(32768, t.run(Short.MIN_VALUE)); 100 * 1: a = 0, b = Short.MAX_VALUE, b-a = Short.MAX_VALUE 101 * 2: a = 1, b = Short.MAX_VALUE, b-a = 32766 102 * 3: a = -1, b = Short.MAX_VALUE, b-a = 3276 [all...] |
/external/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; 55 * {@code ((Short) value).hashCode()}. 57 * @param value a primitive {@code short} value 60 public static int hashCode(short value) { 65 * Returns the {@code short} value that is equal to {@code value}, if possible. 67 * @param value any value in the range of the {@code short} type 68 * @return the {@code short} value that equals {@code value [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/mul_int_lit16/ |
Test_mul_int_lit16.java | 83 * @title Arguments = 0, Short.MAX_VALUE 87 assertEquals(0, t.run(Short.MAX_VALUE)); 91 * @title Arguments = 1, Short.MAX_VALUE 95 assertEquals(Short.MAX_VALUE, t.run(Short.MAX_VALUE)); 99 * @title Arguments = 1, Short.MIN_VALUE 103 assertEquals(Short.MIN_VALUE, t.run(Short.MIN_VALUE)); 107 * @title Arguments = 32767, Short.MIN_VALUE 111 assertEquals(-1073709056, t.run(Short.MIN_VALUE)) [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
EnvironmentalReverb.java | 156 public void setRoomLevel(short room) 169 public short getRoomLevel() 185 public void setRoomHFLevel(short roomHF) 198 public short getRoomHFLevel() 241 public void setDecayHFRatio(short decayHFRatio) 249 * @return the decay HF ration. See {@link #setDecayHFRatio(short)} for units. 254 public short getDecayHFRatio() 264 * (set using {@link #setRoomLevel(short)}). 270 public void setReflectionsLevel(short reflectionsLevel) 283 public short getReflectionsLevel( [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/not_int/ |
Test_not_int.java | 106 * @title Argument = Short.MAX_VALUE 110 assertEquals(Short.MIN_VALUE, t.run(Short.MAX_VALUE)); 114 * @title Argument = Short.MIN_VALUE 118 assertEquals(Short.MAX_VALUE, t.run(Short.MIN_VALUE));
|
/cts/tools/vm-tests/src/dot/junit/opcodes/rem_int_lit16/ |
Test_rem_int_lit16.java | 94 * @title Arguments = Short.MIN_VALUE, -1 98 assertEquals(0, t.run(Short.MIN_VALUE)); 102 * @title Arguments = Short.MIN_VALUE, 1 106 assertEquals(0, t.run(Short.MIN_VALUE)); 110 * @title Arguments = Short.MAX_VALUE, 1 114 assertEquals(0, t.run(Short.MAX_VALUE)); 118 * @title Arguments = Short.MIN_VALUE, 32767 122 assertEquals(-1, t.run(Short.MIN_VALUE));
|
/cts/tools/vm-tests/src/dot/junit/opcodes/mul_int_lit8/ |
Test_mul_int_lit8.java | 99 * @title Arguments = 1, Short.MIN_VALUE 103 assertEquals(Short.MIN_VALUE, t.run(Short.MIN_VALUE)); 107 * @title Arguments = 127, Short.MIN_VALUE 111 assertEquals(-4161536, t.run(Short.MIN_VALUE));
|