HomeSort by relevance Sort by last modified time
    Searched full:shorts (Results 1 - 25 of 130) sorted by null

1 2 3 4 5 6

  /external/valgrind/main/none/tests/
shorts.vgtest 1 prog: shorts
Makefile.am 147 shorts.stderr.exp shorts.vgtest \
185 shortpush shorts stackgrowth sigstackgrowth \
  /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...]
  /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.
184 * Two short buffers are equal if and only if their remaining shorts are
224 * Reads shorts from the current position into the specified short array and
225 * increases the position by the number of shorts read.
241 * Reads shorts from the current position into the specified short array,
243 * number of shorts read.
251 * the number of shorts to read, must be no less than zero an
    [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/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 106 short[] shorts = new short[6]; local
107 b.order(ByteOrder.BIG_ENDIAN).asShortBuffer().get(shorts, 1, 4);
108 assertEquals(0, shorts[0]);
109 assertEquals(0x0102, shorts[1]);
110 assertEquals(0x0304, shorts[2]);
111 assertEquals(0x0506, shorts[3]);
112 assertEquals(0x0708, shorts[4]);
113 assertEquals(0, shorts[5]);
114 b.order(ByteOrder.LITTLE_ENDIAN).asShortBuffer().get(shorts, 1, 4);
115 assertEquals(0, shorts[0])
177 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
  /external/skia/src/core/
SkDither.cpp 45 #else // used packed shorts for a scanlines worth of dither values
  /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}
Shorts.java 44 public final class Shorts {
45 private Shorts() {}
314 * bytes, in big-endian order; equivalent to {@code Shorts.fromByteArray(new
407 int result = Shorts.compare(left[i], right[i]);
499 && Shorts.indexOf(array, (Short) target, start, end) != -1;
505 int i = Shorts.indexOf(array, (Short) target, start, end);
516 int i = Shorts.lastIndexOf(array, (Short) target, start, end);
563 result = 31 * result + Shorts.hashCode(array[i]);
  /external/icu4c/tools/genrb/
rle.h 65 * Construct an array of shorts from a run-length encoded string.
  /external/quake/quake/src/QW/client/
modelgen.h 77 // TODO: could be shorts
  /external/quake/quake/src/WinQuake/
modelgen.h 77 // TODO: could be shorts
  /frameworks/base/core/java/android/speech/
IRecognitionListener.aidl 50 * @param buffer the byte buffer containing a sequence of 16-bit shorts.
  /external/guava/guava/src/com/google/common/hash/
MessageDigestHashFunction.java 23 import com.google.common.primitives.Shorts;
94 digest.update(scratch.array(), 0, Shorts.BYTES);
  /external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
Shorts.java 42 public final class Shorts {
43 private Shorts() {}
355 int result = Shorts.compare(left[i], right[i]);
447 && Shorts.indexOf(array, (Short) target, start, end) != -1;
453 int i = Shorts.indexOf(array, (Short) target, start, end);
464 int i = Shorts.lastIndexOf(array, (Short) target, start, end);
511 result = 31 * result + Shorts.hashCode(array[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/skia/src/opts/
memset.arm.S 39 /* Multiply count by 2 - go from the number of 16-bit shorts

Completed in 364 milliseconds

1 2 3 4 5 6