/external/valgrind/none/tests/ |
shorts.vgtest | 1 prog: shorts
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
ShortsTest.java | 36 * Unit test for {@link Shorts}. 56 assertEquals(((Short) value).hashCode(), Shorts.hashCode(value)); 62 assertEquals(value, Shorts.checkedCast((long) value)); 72 assertEquals(value, Shorts.saturatedCast((long) value)); 74 assertEquals(GREATEST, Shorts.saturatedCast(GREATEST + 1L)); 75 assertEquals(LEAST, Shorts.saturatedCast(LEAST - 1L)); 76 assertEquals(GREATEST, Shorts.saturatedCast(Long.MAX_VALUE)); 77 assertEquals(LEAST, Shorts.saturatedCast(Long.MIN_VALUE)); 82 Shorts.checkedCast(value); 95 int actual = Shorts.compare(x, y) 376 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); local [all...] |
ShortArrayAsListTest.java | 38 * Test suite covering {@link Shorts#asList(short[])}. 50 return Shorts.asList(temp); 58 .named("Shorts.asList"), 61 .named("Shorts.asList, head subList"), 64 .named("Shorts.asList, tail subList"), 67 .named("Shorts.asList, middle subList")
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
ShortsTest.java | 32 * Unit test for {@link Shorts}. 52 assertEquals(((Short) value).hashCode(), Shorts.hashCode(value)); 58 assertEquals(value, Shorts.checkedCast((long) value)); 68 assertEquals(value, Shorts.saturatedCast((long) value)); 70 assertEquals(GREATEST, Shorts.saturatedCast(GREATEST + 1L)); 71 assertEquals(LEAST, Shorts.saturatedCast(LEAST - 1L)); 72 assertEquals(GREATEST, Shorts.saturatedCast(Long.MAX_VALUE)); 73 assertEquals(LEAST, Shorts.saturatedCast(Long.MIN_VALUE)); 78 Shorts.checkedCast(value); 91 int actual = Shorts.compare(x, y) 316 List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); local [all...] |
ShortArrayAsListTest.java | 30 * Test suite covering {@link Shorts#asList(short[])}. 42 return Shorts.asList(temp);
|
/art/test/121-modifiers/src/ |
Main.java | 148 String shortS = name.substring(0, index); 149 if (shortS.equals("public")) { 152 if (shortS.equals("private")) { 155 if (shortS.equals("protected")) { 158 if (shortS.equals("static")) { 161 if (shortS.equals("transient")) { 164 if (shortS.equals("volatile")) { 167 if (shortS.equals("final")) { 177 String shortS = name.substring(0, index); 178 if (shortS.equals("public")) [all...] |
/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];
|
/external/lldb/test/lang/cpp/unique-types/ |
main.cpp | 17 std::vector<short> shorts; local 21 shorts.push_back(i); 23 return 0; // Set breakpoint here to verify that std::vector 'longs' and 'shorts' have unique types.
|
TestUniqueTypes.py | 32 "// Set breakpoint here to verify that std::vector 'longs' and 'shorts' have unique types.") 63 # Do a "frame variable --show-types shorts" and verify "short" is in each line of output. 64 self.runCmd("frame variable --show-types shorts")
|
/art/test/407-arrays/src/ |
Main.java | 32 static void $opt$testReads(boolean[] bools, byte[] bytes, char[] chars, short[] shorts, 44 assertEquals(0, shorts[0]); 45 assertEquals(0, shorts[index]); 63 static void $opt$testWrites(boolean[] bools, byte[] bytes, char[] chars, short[] shorts, 90 shorts[0] = -42; 91 assertEquals(-42, shorts[0]); 92 shorts[index] = -84; 93 assertEquals(-84, shorts[index]);
|
/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);
|
/external/libvncserver/libvncserver/ |
tableinitcmtemplate.c | 62 r = colourMap->data.shorts[3*i+0]; 63 g = colourMap->data.shorts[3*i+1]; 64 b = colourMap->data.shorts[3*i+2];
|
tableinit24.c | 44 r = colourMap->data.shorts[3*i+0]; 45 g = colourMap->data.shorts[3*i+1]; 46 b = colourMap->data.shorts[3*i+2];
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/value/ |
BaseShortEncodedValue.java | 35 import com.google.common.primitives.Shorts; 61 return Shorts.compare(getValue(), ((ShortEncodedValue)o).getValue());
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
row_neon.cc | [all...] |
row_neon64.cc | [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/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.15-4.8/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);
|
/libcore/luni/src/test/java/libcore/java/nio/ |
BufferTest.java | 178 short[] shorts = new short[6]; local 179 b.order(ByteOrder.BIG_ENDIAN).asShortBuffer().get(shorts, 1, 4); 180 assertEquals(0, shorts[0]); 181 assertEquals(0x0102, shorts[1]); 182 assertEquals(0x0304, shorts[2]); 183 assertEquals(0x0506, shorts[3]); 184 assertEquals(0x0708, shorts[4]); 185 assertEquals(0, shorts[5]); 186 b.order(ByteOrder.LITTLE_ENDIAN).asShortBuffer().get(shorts, 1, 4); 187 assertEquals(0, shorts[0]) 249 short[] shorts = new short[] { 0, 0x0102, 0x0304, 0x0506, 0x0708, 0 }; local [all...] |
/external/guava/guava/src/com/google/common/hash/ |
AbstractByteHasher.java | 25 import com.google.common.primitives.Shorts; 96 return update(Shorts.BYTES);
|
/external/skia/src/core/ |
SkDither.cpp | 45 #else // used packed shorts for a scanlines worth of dither values
|