/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/ |
Serializer.java | 47 import java.nio.ByteBuffer; 343 public static SerializerRegistration readClass(ByteBuffer buffer) { 357 public static Object readClassAndObject(ByteBuffer buffer) throws IOException { 371 public static SerializerRegistration writeClass(ByteBuffer buffer, Class type) throws IOException { 387 public static void writeClassAndObject(ByteBuffer buffer, Object object) throws IOException { 404 public abstract <T> T readObject(ByteBuffer data, Class<T> c) throws IOException; 413 public abstract void writeObject(ByteBuffer buffer, Object object) throws IOException;
|
/external/lzma/CPP/7zip/UI/Common/ |
OpenArchive.cpp | 147 CByteBuffer byteBuffer;
149 byteBuffer.SetCapacity(kBufferSize);
152 RINOK(ReadStream(stream, byteBuffer, &processedSize));
156 const Byte *buf = byteBuffer;
215 CByteBuffer byteBuffer;
217 byteBuffer.SetCapacity(kBufferSize);
218 Byte *buffer = byteBuffer;
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
AC3TrackImpl.java | 12 import java.nio.ByteBuffer; 36 private List<ByteBuffer> samples; 83 samples = new LinkedList<ByteBuffer>(); 90 public List<ByteBuffer> getSamples() { 138 ByteBuffer bb = ByteBuffer.wrap(data); 269 samples.add(ByteBuffer.wrap(data));
|
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/ |
CharsetTest.java | 19 import java.nio.ByteBuffer; 280 ByteBuffer out = cs.encode(s); 287 ByteBuffer in = ByteBuffer.wrap(toByteArray(byteInts)); 654 ByteBuffer bb = c1.encode(CharBuffer.wrap("abcdefg")); 662 ByteBuffer bb = c1.encode(CharBuffer.wrap("abcd\u5D14efg")); 687 ByteBuffer bb = c1.encode("abcdefg"); 695 ByteBuffer bb = c1.encode("abcd\u5D14efg"); 720 CharBuffer cb = c1.decode(ByteBuffer.wrap("abcdefg".getBytes("iso8859-1"))); 722 cb = c1.decode(ByteBuffer.wrap("".getBytes("iso8859-1"))) [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
BinaryInputCapsule.java | 42 import java.nio.ByteBuffer; 114 case BinaryClassField.BYTEBUFFER: { 318 public ByteBuffer readByteBuffer(String name, ByteBuffer defVal) 323 return (ByteBuffer) fieldData.get(field.alias); 327 public ArrayList<ByteBuffer> readByteBufferArrayList(String name, 328 ArrayList<ByteBuffer> defVal) throws IOException { 332 return (ArrayList<ByteBuffer>) fieldData.get(field.alias); [all...] |
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacTest.java | 24 import java.nio.ByteBuffer; 299 ByteBuffer bBuf = ByteBuffer.wrap(buf, 0, 10); 596 * Test for <code>update(ByteBuffer input)</code> 612 ByteBuffer byteNull = null; 613 ByteBuffer byteBuff = ByteBuffer.allocate(0); 639 * Test for <code>update(ByteBuffer input)</code> 656 ByteBuffer byteBuf; 660 byteBuf = ByteBuffer.allocate(5) [all...] |
/frameworks/base/core/jni/ |
android_net_LocalSocketImpl.cpp | 670 jbyte* byteBuffer; 694 byteBuffer = env->GetByteArrayElements(buffer, NULL); 696 if (NULL == byteBuffer) { 702 fd, byteBuffer + off, len); 706 env->ReleaseByteArrayElements(buffer, byteBuffer, 0); 738 jbyte* byteBuffer; 756 byteBuffer = env->GetByteArrayElements(buffer,NULL); 758 if (NULL == byteBuffer) { 764 byteBuffer + off, len); 768 env->ReleaseByteArrayElements(buffer, byteBuffer, JNI_ABORT) [all...] |
/frameworks/base/media/jni/ |
android_media_MediaCodec.cpp | 234 env, env->FindClass("java/nio/ByteBuffer")); 241 "(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;"); 269 // use a null ByteBuffer 273 jobject byteBuffer = 277 if (byteBuffer == NULL) { 282 byteBuffer, orderID, nativeByteOrderObj); 287 *bufArray, i, byteBuffer); 289 env->DeleteLocalRef(byteBuffer); 290 byteBuffer = NULL; 1008 { "getBuffers", "(Z)[Ljava/nio/ByteBuffer;", [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacTest.java | 25 import java.nio.ByteBuffer; 304 ByteBuffer bBuf = ByteBuffer.wrap(buf, 0, 10); 619 * Test for <code>update(ByteBuffer input)</code> 635 ByteBuffer byteNull = null; 636 ByteBuffer byteBuff = ByteBuffer.allocate(0); 662 * Test for <code>update(ByteBuffer input)</code> 679 ByteBuffer byteBuf; 683 byteBuf = ByteBuffer.allocate(5) [all...] |
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
MediaCodecBridge.java | 23 import java.nio.ByteBuffer; 61 private ByteBuffer[] mInputBuffers; 62 private ByteBuffer[] mOutputBuffers; 312 private ByteBuffer getInputBuffer(int index) { 317 private ByteBuffer getOutputBuffer(int index) { 482 format.setByteBuffer(name, ByteBuffer.wrap(bytes));
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
rtpdump.cc | 56 void RtpDumpFileHeader::WriteToByteBuffer(talk_base::ByteBuffer* buf) { 133 talk_base::ByteBuffer buf(header, sizeof(header)); 177 talk_base::ByteBuffer buf(header, sizeof(header)); 310 talk_base::ByteBuffer buffer; 346 talk_base::ByteBuffer buf; 373 talk_base::ByteBuffer buf;
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
ImageToAwt.java | 42 import java.nio.ByteBuffer; 182 private static int readPixel(ByteBuffer buf, int idx, int bpp){ 191 private static void writePixel(ByteBuffer buf, int idx, int pixel, int bpp){ 205 public static void convert(BufferedImage image, Format format, ByteBuffer buf){ 314 ByteBuffer inData = input.getData(0); 382 ByteBuffer buf = image.getData(0);
|
/frameworks/base/media/java/android/media/ |
MediaFormat.java | 19 import java.nio.ByteBuffer; 321 * Returns the value of a ByteBuffer key. 323 public final ByteBuffer getByteBuffer(String name) { 324 return (ByteBuffer)mMap.get(name); 356 * Sets the value of a ByteBuffer key. 358 public final void setByteBuffer(String name, ByteBuffer bytes) {
|
MiniThumbFile.java | 27 import java.nio.ByteBuffer; 54 private ByteBuffer mBuffer; 133 mBuffer = ByteBuffer.allocateDirect(BYTES_PER_MINTHUMB);
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
TextureTestRenderer.java | 25 import java.nio.ByteBuffer; 67 mVertices = ByteBuffer.allocateDirect(mVerticesData.length 121 IntBuffer pixel = ByteBuffer.allocateDirect(4).asIntBuffer();
|
/external/guava/guava-tests/test/com/google/common/hash/ |
AbstractStreamingHasherTest.java | 13 import java.nio.ByteBuffer; 174 @Override protected void process(ByteBuffer bb) { 183 @Override protected void processRemaining(ByteBuffer bb) {
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
TextureGeneratorMagic.java | 42 import java.nio.ByteBuffer; 183 ArrayList<ByteBuffer> dataArray = new ArrayList<ByteBuffer>(1);
|
TextureGeneratorVoronoi.java | 43 import java.nio.ByteBuffer; 157 ArrayList<ByteBuffer> dataArray = new ArrayList<ByteBuffer>(1);
|
TextureGeneratorWood.java | 41 import java.nio.ByteBuffer; 117 ArrayList<ByteBuffer> dataArray = new ArrayList<ByteBuffer>(1);
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
SkyFactory.java | 16 import java.nio.ByteBuffer; 119 ByteBuffer data = images[0].getData(0); 133 ByteBuffer data2 = image.getData(0);
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/udp/ |
UdpKernel.java | 39 import java.nio.ByteBuffer; 123 public void broadcast( Filter<? super Endpoint> filter, ByteBuffer data, boolean reliable, 133 data = ByteBuffer.wrap(temp);
|
/frameworks/base/core/java/android/util/ |
EventLog.java | 24 import java.nio.ByteBuffer; 57 private final ByteBuffer mBuffer; 78 mBuffer = ByteBuffer.wrap(data);
|
/frameworks/base/core/java/com/android/internal/os/ |
LoggingPrintStream.java | 22 import java.nio.ByteBuffer; 46 private ByteBuffer encodedBytes; 122 encodedBytes = ByteBuffer.allocate(80);
|
/frameworks/base/docs/html/sdk/api_diff/19/changes/ |
javax.crypto.Cipher.html | 100 <A NAME="javax.crypto.Cipher.updateAAD_added(java.nio.ByteBuffer)"></A> 101 <nobr><code>void</code> <A HREF="../../../../reference/javax/crypto/Cipher.html#updateAAD(java.nio.ByteBuffer)" target="_top"><code>updateAAD</code></A>(<code>ByteBuffer</code>)</nobr>
|
javax.crypto.CipherSpi.html | 93 <A NAME="javax.crypto.CipherSpi.engineUpdateAAD_added(java.nio.ByteBuffer)"></A> 94 <nobr><code>void</code> <A HREF="../../../../reference/javax/crypto/CipherSpi.html#engineUpdateAAD(java.nio.ByteBuffer)" target="_top"><code>engineUpdateAAD</code></A>(<code>ByteBuffer</code>)</nobr>
|