/external/valgrind/main/none/tests/ |
shorts.vgtest | 1 prog: shorts
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
ShortsTest.java | 35 * Unit test for {@link Shorts}. 55 assertEquals(((Short) value).hashCode(), Shorts.hashCode(value)); 61 assertEquals(value, Shorts.checkedCast((long) value)); 71 assertEquals(value, Shorts.saturatedCast((long) value)); 73 assertEquals(GREATEST, Shorts.saturatedCast(GREATEST + 1L)); 74 assertEquals(LEAST, Shorts.saturatedCast(LEAST - 1L)); 75 assertEquals(GREATEST, Shorts.saturatedCast(Long.MAX_VALUE)); 76 assertEquals(LEAST, Shorts.saturatedCast(Long.MIN_VALUE)); 81 Shorts.checkedCast(value); 94 int actual = Shorts.compare(x, y) [all...] |
ShortArrayAsListTest.java | 37 * Test suite covering {@link Shorts#asList(short[])}. 49 return Shorts.asList(temp); 56 .named("Shorts.asList"), 59 .named("Shorts.asList, head subList"), 62 .named("Shorts.asList, tail subList"), 65 .named("Shorts.asList, middle subList")
|
/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];
|
/libcore/luni/src/main/java/java/nio/ |
ShortBuffer.java | 23 * A buffer of shorts. 124 * The remaining shorts will be moved to the head of the buffer, starting 135 * Compare the remaining shorts of this buffer to another short buffer's 136 * remaining shorts. 182 * Two short buffers are equal if and only if their remaining shorts are 222 * Reads shorts from the current position into the specified short array and 223 * increases the position by the number of shorts read. 239 * Reads shorts from the current position into the specified short array, 241 * number of shorts read. 249 * the number of shorts to read, must be no less than zero an [all...] |
/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...] |
/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...] |
/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...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/netinet/ |
in_systm.h | 30 * assumes specific sizes for shorts (16 bit) and longs (32 bit) which
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/netinet/ |
in_systm.h | 30 * assumes specific sizes for shorts (16 bit) and longs (32 bit) which
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/netinet/ |
in_systm.h | 30 * assumes specific sizes for shorts (16 bit) and longs (32 bit) which
|
/system/core/include/utils/ |
JenkinsHash.h | 44 uint32_t JenkinsHashMixShorts(uint32_t hash, const uint16_t* shorts, size_t size);
|
/external/chromium_org/third_party/skia/src/core/ |
SkDither.cpp | 45 #else // used packed shorts for a scanlines worth of dither values
|
/external/skia/src/core/ |
SkDither.cpp | 45 #else // used packed shorts for a scanlines worth of dither values
|
/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/chromium_org/third_party/icu/source/tools/genrb/ |
rle.h | 65 * Construct an array of shorts from a run-length encoded string.
|
/external/grub/stage2/ |
fat.h | 33 /* Note that some shorts are not aligned, and must therefore
|
/external/guava/guava/src/com/google/common/primitives/ |
package-info.java | 51 * <li>{@link com.google.common.primitives.Shorts}
|
/external/icu4c/tools/genrb/ |
rle.h | 65 * Construct an array of shorts from a run-length encoded string.
|
/frameworks/base/core/java/android/speech/ |
IRecognitionListener.aidl | 50 * @param buffer the byte buffer containing a sequence of 16-bit shorts.
|