HomeSort by relevance Sort by last modified time
    Searched refs:shortArray (Results 1 - 23 of 23) sorted by null

  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/
DirectReadWriteShortBufferAdapter.java 41 private final Int16Array shortArray;
47 this.shortArray = TypedArrays.createInt16Array(byteBuffer.byteArray.buffer(), byteBuffer.byteArray.byteOffset(), capacity);
87 return (short)shortArray.get(position++);
95 return (short)shortArray.get(index);
133 shortArray.set(position++, c);
142 shortArray.set(index, c);
156 return shortArray;
DirectReadOnlyShortBufferAdapter.java 40 private final Int16Array shortArray;
46 this.shortArray = TypedArrays.createInt16Array(byteBuffer.byteArray.buffer(), byteBuffer.byteArray.byteOffset(), capacity);
77 return (short)shortArray.get(position++);
85 return (short)shortArray.get(index);
138 return shortArray;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DirectByteBufferTest.java 77 short[] shortArray = new short[]{42, 24};
80 shortBuf.put(shortArray);
83 shortBuf.get(shortArray);
85 assertEquals(42, shortArray[0]);
86 assertEquals(24, shortArray[1]);
  /art/test/011-array-copy/src/
Main.java 84 short[] shortArray = new short[ARRAY_SIZE];
90 initShortArray(shortArray);
96 System.arraycopy(shortArray, srcPos, shortArray, dstPos, length);
106 } else if (intArray[i] != shortArray[i]) {
108 Arrays.toString(shortArray));
  /cts/tests/tests/media/src/android/media/cts/
AudioRecordNative.java 94 public int read(@NonNull short[] shortArray,
97 mNativeRecordInJavaObj, shortArray, offsetInSamples, sizeInSamples, readFlags);
156 private static native int nativeReadShortArray(long record, @NonNull short[] shortArray,
AudioTrackNative.java 101 public int write(@NonNull short[] shortArray,
104 mNativeTrackInJavaObj, shortArray, offsetInSamples, sizeInSamples, writeFlags);
163 private static native int nativeWriteShortArray(long track, @NonNull short[] shortArray,
  /art/test/045-reflect-array/src/
Main.java 126 Object shortArray = Array.newInstance(Short.TYPE, 1);
127 Array.setShort(shortArray, 0, (short) -1);
128 if (Array.getInt(shortArray, 0) != -1) {
132 Short box = (Short) Array.get(shortArray, 0);
  /external/libgdx/extensions/gdx-jnigen/src/com/badlogic/gdx/jnigen/test/
MyJniClass.java 32 float floatArg, double doubleArg, Buffer byteBuffer, boolean[] boolArray, char[] charArray, short[] shortArray,
99 * shortArray
  /external/caliper/examples/src/main/java/examples/
CopyArrayBenchmark.java 253 short[] shortArray;
264 shortArray = new short[size];
277 shortArray[i] = (short) num;
348 dummy += System.identityHashCode(strategy.copy(shortArray));
  /external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
InjectedThing.java 63 @Inject short[] shortArray;
132 short[] shortArray,
200 @Inject void shortArray(short[] shortArray) {}
  /art/runtime/
transaction_test.cc 408 mirror::ShortArray* shortArray = shortArrayField->GetObject(h_klass.Get())->AsShortArray();
409 ASSERT_TRUE(shortArray != nullptr);
410 ASSERT_EQ(shortArray->GetLength(), 1);
411 ASSERT_EQ(shortArray->GetWithoutChecks(0), 0);
464 shortArray->SetWithoutChecks<true>(0, 1);
477 EXPECT_EQ(shortArray->GetWithoutChecks(0), 0);
  /cts/tests/tests/os/src/android/os/cts/
BundleTest.java 580 short[] shortArray = mBundle.getShortArray(KEY);
581 assertEquals(s1, shortArray[0]);
582 assertEquals(s2, shortArray[1]);
584 shortArray = mBundle.getShortArray(KEY);
585 assertEquals(s1, shortArray[0]);
586 assertEquals(s2, shortArray[1]);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ArraysTest.java 77 short[] shortArray;
325 Arrays.binarySearch(shortArray, counter) == counter);
332 shortArray[counter] -= 50;
336 Arrays.binarySearch(shortArray, (short) (counter - 50)) == counter);
    [all...]
  /cts/tests/tests/media/libaudiojni/
audio-track-native.cpp 568 jshortArray shortArray, jint offsetInSamples, jint sizeInSamples, jint writeFlags)
571 shortArray, offsetInSamples, sizeInSamples, writeFlags);
572 return writeArray(env, clazz, jtrack, shortArray, offsetInSamples, sizeInSamples, writeFlags);
audio-record-native.cpp 623 jshortArray shortArray, jint offsetInSamples, jint sizeInSamples, jint readFlags)
625 return readArray(env, clazz, jrecord, shortArray, offsetInSamples, sizeInSamples, readFlags);
  /frameworks/base/services/net/java/android/net/dhcp/
DhcpPacket.java 493 short[] shortArray = new short[(end - start) / 2];
494 shortBuf.get(shortArray);
496 for (short s : shortArray) {
500 start += shortArray.length * 2;
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/
OldAndroidNIOTest.java 52 short[] shortArray = new short[8];
53 ShortBuffer sb = ShortBuffer.wrap(shortArray);
  /prebuilts/tools/common/m2/repository/commons-beanutils/commons-beanutils/1.7.0/
commons-beanutils-1.7.0.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-stdlib/0.12.613/
kotlin-stdlib-0.12.613.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-stdlib/0.13.1513/
kotlin-stdlib-0.13.1513.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-stdlib/0.13.1514/
kotlin-stdlib-0.13.1514.jar 
  /prebuilts/tools/common/m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.13/
FastInfoset-1.2.13.jar 
  /prebuilts/tools/common/m2/repository/org/codehaus/groovy/groovy-all/2.3.6/
groovy-all-2.3.6.jar 

Completed in 763 milliseconds