HomeSort by relevance Sort by last modified time
    Searched full:bytebuffer (Results 276 - 300 of 935) sorted by null

<<11121314151617181920>>

  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
ByteBuffer.java 24 public class ByteBuffer
37 public ByteBuffer(int initialCapacity)
45 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>.
47 public ByteBuffer(byte[] buffer)
55 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>.
58 public ByteBuffer(byte[] buffer, int length)
75 public ByteBuffer(InputStream in) throws IOException
99 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>.
103 public ByteBuffer(byte[] buffer, int offset, int length)
216 * @param anotherBuffer another <code>ByteBuffer</code
    [all...]
  /external/guava/guava-tests/test/com/google/common/hash/
FunnelsTest.java 11 import java.nio.ByteBuffer;
55 @Override protected void process(ByteBuffer bb) {
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
IsoTypeReaderVariable.java 18 import java.nio.ByteBuffer;
22 public static long read(ByteBuffer bb, int bytes) {
IsoTypeWriterVariable.java 19 import java.nio.ByteBuffer;
23 public static void write(long v, ByteBuffer bb, int bytes) {
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
Box.java 23 import java.nio.ByteBuffer;
50 void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException;
TimeToSampleBox.java 24 import java.nio.ByteBuffer;
59 public void _parseDetails(ByteBuffer content) {
71 protected void getContent(ByteBuffer byteBuffer) {
72 writeVersionAndFlags(byteBuffer);
73 IsoTypeWriter.writeUInt32(byteBuffer, entries.size());
75 IsoTypeWriter.writeUInt32(byteBuffer, entry.getCount());
76 IsoTypeWriter.writeUInt32(byteBuffer, entry.getDelta());
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
AbstractAppleMetaDataBox.java 13 import java.nio.ByteBuffer;
54 public void _parseDetails(ByteBuffer content) {
72 protected void getContent(ByteBuffer byteBuffer) {
74 appleDataBox.getBox(new ByteBufferByteChannel(byteBuffer));
76 throw new RuntimeException("The Channel is based on a ByteBuffer and therefore it shouldn't throw any exception");
109 ByteBuffer bb = ByteBuffer.allocate(content.length);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/
AbstractContainerBox.java 25 import java.nio.ByteBuffer;
104 public void parse(ReadableByteChannel readableByteChannel, ByteBuffer header, long contentSize, BoxParser boxParser) throws IOException {
110 public void _parseDetails(ByteBuffer content) {
140 protected void getContent(ByteBuffer byteBuffer) {
141 writeChildBoxes(byteBuffer);
144 protected final void parseChildBoxes(ByteBuffer content) {
159 protected final void writeChildBoxes(ByteBuffer bb) {
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
Track.java 20 import java.nio.ByteBuffer;
54 List<ByteBuffer> getSamples();
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
ExtensionProfileLevelDescriptor.java 22 import java.nio.ByteBuffer;
36 public void parseDetail(ByteBuffer bb) throws IOException {
ProfileLevelIndicationDescriptor.java 22 import java.nio.ByteBuffer;
35 public void parseDetail( ByteBuffer bb) throws IOException {
  /frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DisplaySinkService.java 33 import java.nio.ByteBuffer;
36 private final ByteBuffer mBuffer = ByteBuffer.allocate(12);
51 private ByteBuffer[] mCodecInputBuffers;
90 public void onMessageReceived(int service, int what, ByteBuffer content) {
168 private void decode(ByteBuffer content) {
188 private boolean provideCodecInputLocked(ByteBuffer content) {
196 final ByteBuffer buffer = mCodecInputBuffers[index];
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/
DirectCharBufferTest.java 18 import java.nio.ByteBuffer;
24 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*2).asCharBuffer();
DirectDoubleBufferTest.java 18 import java.nio.ByteBuffer;
23 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*8).asDoubleBuffer();
DirectFloatBufferTest.java 18 import java.nio.ByteBuffer;
23 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*4).asFloatBuffer();
DirectIntBufferTest.java 18 import java.nio.ByteBuffer;
23 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*4).asIntBuffer();
DirectLongBufferTest.java 18 import java.nio.ByteBuffer;
24 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*8).asLongBuffer();
DirectShortBufferTest.java 18 import java.nio.ByteBuffer;
23 buf = ByteBuffer.allocateDirect(BUFFER_LENGTH*2).asShortBuffer();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/
CharsetEncoderTest.java 21 import java.nio.ByteBuffer;
84 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) {
96 protected CoderResult encodeLoop(CharBuffer arg0, ByteBuffer arg1) {
149 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) {
155 * Test reserve bytes encode(CharBuffer,ByteBuffer,boolean)
162 ByteBuffer bytes = ByteBuffer.allocate(4);
204 // ByteBuffer buf = <result>
  /libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/
CharsetDecoderTest.java 19 import java.nio.ByteBuffer;
199 * Class under test for CharBuffer decode(ByteBuffer)
214 CharBuffer out = decoder.decode(ByteBuffer.allocate(0));
218 ByteBuffer in = getByteBuffer();
237 ByteBuffer in;
298 * Class under test for CoderResult decode(ByteBuffer, CharBuffer, boolean)
308 void implTestDecodeByteBufferCharBuffer(ByteBuffer in) {
403 void implTestDecodeCharBufferByteBufferUnmappedException(ByteBuffer in,
457 void implTestDecodeCharBufferByteBufferMalformedException(ByteBuffer in,
509 void implTestDecodeCharBufferByteBufferException(ByteBuffer in
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/charset/
OldCharset_SingleByteAbstractTest.java 18 import java.nio.ByteBuffer;
49 ByteBuffer inputBB = ByteBuffer.wrap(allBytes);
65 ByteBuffer inputBB = ByteBuffer.wrap(input);
90 // ByteBuffer inputBB = ByteBuffer.wrap(allBytes);
106 ByteBuffer outputBB;
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLEngineImplTest.java 20 import java.nio.ByteBuffer;
372 engine.wrap(ByteBuffer.allocate(0), ByteBuffer.allocate(
446 SSLEngineResult result = engine.wrap(ByteBuffer.allocate(0),
447 ByteBuffer.allocate(20000));
467 SSLEngineResult result = engine.wrap(ByteBuffer.allocate(0),
468 ByteBuffer.allocate(20000));
495 ByteBuffer buffer = ByteBuffer.allocate(packetBufferSize);
496 ByteBuffer app_data_buffer = ByteBuffer.allocate(applicationBufferSize)
    [all...]
  /external/apache-harmony/x-net/src/test/java/javax/net/ssl/
MySSLContextSpi.java 24 import java.nio.ByteBuffer;
161 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts,
166 public SSLEngineResult wrap(ByteBuffer[] srcs, int offset,
167 int length, ByteBuffer dst) throws SSLException {
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/
TextureBlenderDDS.java 3 import java.nio.ByteBuffer;
34 ByteBuffer data = texture.getImage().getData(0);
43 ByteBuffer newData = BufferUtils.createByteBuffer(data.remaining());
91 ArrayList<ByteBuffer> dataArray = new ArrayList<ByteBuffer>(1);
  /external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
MipMapGenerator.java 43 import java.nio.ByteBuffer;
89 ArrayList<ByteBuffer> output = new ArrayList<ByteBuffer>();
111 ByteBuffer combinedData = BufferUtils.createByteBuffer(totalSize);
114 ByteBuffer data = output.get(i);

Completed in 187 milliseconds

<<11121314151617181920>>