/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ArrayTest.java | 30 private static short[] shorts; field in class:ArrayTest 41 shorts = new short[] { (short) 0xffff }; 52 try { Array.getBoolean(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} 64 try { Array.getByte(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} 76 try { Array.getChar(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} 88 assertEquals((double) shorts[0], Array.getDouble(shorts, 0)); 100 assertEquals((float) shorts[0], Array.getFloat(shorts, 0)); 112 assertEquals((int) shorts[0], Array.getInt(shorts, 0)) [all...] |
/system/core/libutils/ |
JenkinsHash.cpp | 49 uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, size_t size) { 53 uint32_t data = shorts[i] | (shorts[i+1] << 16); 57 uint32_t data = shorts[i];
|
/dalvik/tests/003-omnibus-opcodes/src/ |
Array.java | 19 static void checkShorts(short[] shorts) { 20 assert(shorts[0] == 20); 21 assert(shorts[1] == 10); 22 assert(shorts[2] == 0); 23 assert(shorts[3] == -10); 24 assert(shorts[4] == -20);
|
IntMath.java | 354 Shorty shorts = new Shorty(); local 356 shorts.mShort = (short) x; 357 shorts.mChar = (char) x; 358 shorts.mByte = (byte) x; 359 return shorts; 361 static void truncateCheck(Shorty shorts) { 362 assert(shorts.mShort == -5597); // 0xea23 363 assert(shorts.mChar == 59939); // 0xea23 364 assert(shorts.mByte == 35); // 0x23 480 Shorty shorts = truncateTest(-16717277); // 0xff00ea2 local [all...] |
/system/core/include/utils/ |
JenkinsHash.h | 44 uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, size_t size);
|
/external/clang/test/CodeGenCXX/ |
lpad-linetable.cpp | 62 std::vector<short> shorts; local 66 shorts.push_back(i);
|
/art/test/003-omnibus-opcodes/src/ |
Array.java | 32 static void checkShorts(short[] shorts) { 33 Main.assertTrue(shorts[0] == 20); 34 Main.assertTrue(shorts[1] == 10); 35 Main.assertTrue(shorts[2] == 0); 36 Main.assertTrue(shorts[3] == -10); 37 Main.assertTrue(shorts[4] == -20);
|
IntMath.java | 475 Shorty shorts = new Shorty(); local 477 shorts.mShort = (short) x; 478 shorts.mChar = (char) x; 479 shorts.mByte = (byte) x; 480 return shorts; 482 static void truncateCheck(Shorty shorts) { 483 Main.assertTrue(shorts.mShort == -5597); // 0xea23 484 Main.assertTrue(shorts.mChar == 59939); // 0xea23 485 Main.assertTrue(shorts.mByte == 35); // 0x23 603 Shorty shorts = truncateTest(-16717277); // 0xff00ea2 local [all...] |
/external/chromium_org/third_party/freetype/src/sfnt/ |
ttmtx.c | 114 TT_ShortMetrics** shorts; local 135 shorts = (TT_ShortMetrics**)sm; 154 shorts = (TT_ShortMetrics**)sm; 179 FT_QNEW_ARRAY( *shorts, num_shorts ) ) 201 TT_ShortMetrics* cur = *shorts; 214 FT_Short val = (*shorts)[num_shorts_checked - 1]; 217 limit = *shorts + num_shorts;
|
/libcore/luni/src/test/java/libcore/java/nio/ |
BufferTest.java | 162 short[] shorts = new short[6]; local 163 b.order(ByteOrder.BIG_ENDIAN).asShortBuffer().get(shorts, 1, 4); 164 assertEquals(0, shorts[0]); 165 assertEquals(0x0102, shorts[1]); 166 assertEquals(0x0304, shorts[2]); 167 assertEquals(0x0506, shorts[3]); 168 assertEquals(0x0708, shorts[4]); 169 assertEquals(0, shorts[5]); 170 b.order(ByteOrder.LITTLE_ENDIAN).asShortBuffer().get(shorts, 1, 4); 171 assertEquals(0, shorts[0]) 233 short[] shorts = new short[] { 0, 0x0102, 0x0304, 0x0506, 0x0708, 0 }; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
Arrays.java | 351 public static int hashCode(short[][][] shorts) 355 for (int i = 0; i != shorts.length; i++) 357 hc = hc * 257 + hashCode(shorts[i]); 363 public static int hashCode(short[][] shorts) 367 for (int i = 0; i != shorts.length; i++) 369 hc = hc * 257 + hashCode(shorts[i]);
|
/external/javassist/src/test/test/javassist/convert/ |
ArrayAccessReplaceTest.java | 282 private short[] shorts; field in class:ArrayAccessReplaceTest.Simple 334 return shorts[pos]; 378 shorts[pos] = value;
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
subtract_mmx.asm | 166 add rdi, 256*2 ;diff = diff + 256 (shorts)
|
temporal_filter_apply_sse2.asm | 141 ; load and extract the predictor up to shorts
|
subtract_sse2.asm | 164 add rdi, 256*2 ;diff = diff + 256 (shorts)
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
vp9_temporal_filter_apply_sse2.asm | 141 ; load and extract the predictor up to shorts
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
DFA.as | 178 /** Given a String that has a run-length-encoding of some unsigned shorts
|
/libcore/dex/src/main/java/com/android/dex/ |
Dex.java | 829 public void write(short[] shorts) { 830 for (short s : shorts) { [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
SerializationStressTest1.java | 479 short[] shorts = { 0, 1, 2, 3 }; local 480 objToSave = shorts; [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.ds_1.2.1.R36x_v20100803.jar | |
org.eclipse.pde.core_3.6.1.v20100902_r361.jar | |