/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
ShortTest.java | 22 private Short sp = new Short((short) 18000); 23 private Short sn = new Short((short) -19000); 26 * 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...] |
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
ShortArrayAsListTest.java | 30 * Test suite covering {@link Shorts#asList(short[])}. 37 private static List<Short> asList(Short[] values) { 38 short[] temp = new short[values.length]; 39 for (short i = 0; i < values.length; i++) { 49 @Override protected List<Short> create(Short[] elements) { 55 @Override protected List<Short> create(Short[] elements) [all...] |
/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...] |
/cts/tests/vm/src/android/vm/cts/opcodes/add_int_lit16/ |
AddIntLit16_12.java | 22 return Short.MIN_VALUE + Short.MIN_VALUE;
|
AddIntLit16_7.java | 22 return 0 + Short.MAX_VALUE;
|
AddIntLit16_8.java | 22 return Integer.MAX_VALUE + Short.MAX_VALUE;
|
/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;
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
ShortArrayAsListTest.java | 38 * Test suite covering {@link Shorts#asList(short[])}. 45 private static List<Short> asList(Short[] values) { 46 short[] temp = new short[values.length]; 47 for (short i = 0; i < values.length; i++) { 55 List<ListTestSuiteBuilder<Short>> builders = 71 for (ListTestSuiteBuilder<Short> builder : builders) { 87 @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;
|
/external/clang/test/CodeGen/ |
x86_32-fpcc-struct-return.c | 13 typedef struct { short s; } Short; 30 Short returnShort(Short x) { return x; }
|
/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...] |
/libcore/ojluni/src/main/java/java/lang/ |
Short.java | 30 * The {@code Short} class wraps a value of primitive type {@code 31 * short} in an object. An object of type {@code Short} contains a 32 * single field whose type is {@code short}. 35 * a {@code short} to a {@code String} and a {@code String} to a 36 * {@code short}, as well as other constants and methods useful when 37 * dealing with a {@code short}. 44 public final class Short extends Number implements Comparable<Short> { 47 * A constant holding the minimum value a {@code short} ca [all...] |
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
ViewDumpParser.java | 11 private Map<String, Short> mIds; 12 private List<Map<Short,Object>> mViews; 22 mViews.add((Map<Short, Object>) o); 31 Map<Short,Object> idMap = mViews.remove(mViews.size() - 1); 40 Map<Short, Object> props = mViews.get(0); 51 private Object getProperty(Map<Short, Object> props, String key) { 55 private static Map<String, Short> reverse(Map<Short, Object> m) { 56 Map<String, Short> r = new HashMap<String, Short>(m.size()) [all...] |
/cts/tests/vm/src/android/vm/cts/opcodes/add_int_lit8/ |
AddIntLit8_12.java | 22 return Short.MIN_VALUE + Byte.MIN_VALUE;
|
/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;
|