OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ByteBuffer
(Results
1 - 25
of
683
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/
Connector.java
35
import java.nio.
ByteBuffer
;
76
public
ByteBuffer
read();
82
public void write(
ByteBuffer
data );
Endpoint.java
35
import java.nio.
ByteBuffer
;
73
public void send(
ByteBuffer
data );
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/
GroupEntry.java
19
import java.nio.
ByteBuffer
;
22
public abstract void parse(
ByteBuffer
byteBuffer
);
23
public abstract
ByteBuffer
get();
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
ItemDataBox.java
5
import java.nio.
ByteBuffer
;
11
ByteBuffer
data =
ByteBuffer
.allocate(0);
19
public
ByteBuffer
getData() {
23
public void setData(
ByteBuffer
data) {
34
public void _parseDetails(
ByteBuffer
content) {
40
protected void getContent(
ByteBuffer
byteBuffer
) {
41
byteBuffer
.put(data);
UnknownBox.java
22
import java.nio.
ByteBuffer
;
29
ByteBuffer
data;
41
public void _parseDetails(
ByteBuffer
content) {
47
protected void getContent(
ByteBuffer
byteBuffer
) {
49
byteBuffer
.put(data);
52
public
ByteBuffer
getData() {
56
public void setData(
ByteBuffer
data) {
DataEntryUrlBox.java
21
import java.nio.
ByteBuffer
;
36
public void _parseDetails(
ByteBuffer
content) {
42
protected void getContent(
ByteBuffer
byteBuffer
) {
43
writeVersionAndFlags(
byteBuffer
);
NullMediaHeaderBox.java
18
import java.nio.
ByteBuffer
;
35
public void _parseDetails(
ByteBuffer
content) {
40
protected void getContent(
ByteBuffer
byteBuffer
) {
41
writeVersionAndFlags(
byteBuffer
);
SubtitleMediaHeaderBox.java
3
import java.nio.
ByteBuffer
;
18
public void _parseDetails(
ByteBuffer
content) {
23
protected void getContent(
ByteBuffer
byteBuffer
) {
24
writeVersionAndFlags(
byteBuffer
);
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/
ASCCharsetDecoderTest.java
20
import java.nio.
ByteBuffer
;
45
ByteBuffer
getUnmappedByteBuffer() {
48
//
ByteBuffer
buffer =
ByteBuffer
.allocate(8);
56
ByteBuffer
getMalformedByteBuffer() {
58
ByteBuffer
buffer =
ByteBuffer
.allocate(8);
68
ByteBuffer
getExceptionByteArray() throws UnsupportedEncodingException {
GBCharsetDecoderTest.java
20
import java.nio.
ByteBuffer
;
48
ByteBuffer
getUnmappedByteBuffer() throws UnsupportedEncodingException {
52
ByteBuffer
getMalformedByteBuffer() throws UnsupportedEncodingException {
53
ByteBuffer
buffer =
ByteBuffer
.allocate(20);
60
ByteBuffer
getExceptionByteArray() throws UnsupportedEncodingException {
UTF16BECharsetDecoderTest.java
20
import java.nio.
ByteBuffer
;
48
ByteBuffer
getUnmappedByteBuffer() throws UnsupportedEncodingException {
53
ByteBuffer
getMalformedByteBuffer() throws UnsupportedEncodingException {
55
//
ByteBuffer
buffer =
ByteBuffer
.allocate(100);
64
ByteBuffer
getExceptionByteArray() throws UnsupportedEncodingException {
68
protected
ByteBuffer
getByteBuffer() {
69
return
ByteBuffer
.wrap(new byte[] { 0, 32, 0, 98, 0, 117, 0, 102, 0,
UTF16LECharsetDecoderTest.java
20
import java.nio.
ByteBuffer
;
48
ByteBuffer
getUnmappedByteBuffer() throws UnsupportedEncodingException {
53
ByteBuffer
getMalformedByteBuffer() throws UnsupportedEncodingException {
55
//
ByteBuffer
buffer =
ByteBuffer
.allocate(100);
64
ByteBuffer
getExceptionByteArray() throws UnsupportedEncodingException {
68
protected
ByteBuffer
getByteBuffer() {
69
return
ByteBuffer
.wrap(new byte[] { 32, 0, 98, 0, 117, 0, 102, 0, 102,
UTFCharsetDecoderTest.java
20
import java.nio.
ByteBuffer
;
48
ByteBuffer
getUnmappedByteBuffer() throws UnsupportedEncodingException {
52
ByteBuffer
getMalformedByteBuffer() throws UnsupportedEncodingException {
53
ByteBuffer
buffer =
ByteBuffer
.allocate(getByteBuffer().remaining() + 1);
60
ByteBuffer
getExceptionByteArray() throws UnsupportedEncodingException {
68
protected
ByteBuffer
getByteBuffer() {
69
return
ByteBuffer
.wrap(new byte[] { 32, 98, 117, 102, 102, 101, 114,
ISOCharsetDecoderTest.java
20
import java.nio.
ByteBuffer
;
46
ByteBuffer
getUnmappedByteBuffer() throws UnsupportedEncodingException {
52
ByteBuffer
getMalformedByteBuffer() throws UnsupportedEncodingException {
57
ByteBuffer
getExceptionByteArray() throws UnsupportedEncodingException {
/libcore/luni/src/main/java/java/nio/channels/
ReadableByteChannel.java
20
import java.nio.
ByteBuffer
;
65
public int read(
ByteBuffer
buffer) throws IOException;
WritableByteChannel.java
20
import java.nio.
ByteBuffer
;
63
public int write(
ByteBuffer
buffer) throws IOException;
GatheringByteChannel.java
20
import java.nio.
ByteBuffer
;
56
public long write(
ByteBuffer
[] buffers) throws IOException;
93
public long write(
ByteBuffer
[] buffers, int offset, int length)
ScatteringByteChannel.java
20
import java.nio.
ByteBuffer
;
52
public long read(
ByteBuffer
[] buffers) throws IOException;
88
public long read(
ByteBuffer
[] buffers, int offset, int length)
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
BlockDevice.java
23
import java.nio.
ByteBuffer
;
48
public abstract void read(long devOffset,
ByteBuffer
dest)
55
* @param src the source {@code
ByteBuffer
} to write to the device
62
public abstract void write(long devOffset,
ByteBuffer
src)
FsFile.java
23
import java.nio.
ByteBuffer
;
53
* Reads from this file into the specified {@code
ByteBuffer
}. The
55
* {@link
ByteBuffer
#position() position}, and the number of bytes read
56
* will equal the buffer's {@link
ByteBuffer
#remaining() remaining} bytes.
62
public void read(long offset,
ByteBuffer
dest) throws IOException;
66
* {@code
ByteBuffer
}. This method will read the buffer's
67
* {@link
ByteBuffer
#remaining() remaining} bytes starting at it's
68
* {@link
ByteBuffer
#position() position}.
76
public void write(long offset,
ByteBuffer
src)
/libcore/luni/src/test/java/libcore/java/nio/
NoArrayTest.java
19
import java.nio.
ByteBuffer
;
26
assertNoArray(
ByteBuffer
.wrap(new byte[32]).asReadOnlyBuffer());
27
assertNoArray(
ByteBuffer
.allocate(32).asReadOnlyBuffer());
28
assertNoArray(
ByteBuffer
.allocateDirect(32).asReadOnlyBuffer());
31
private void assertNoArray(
ByteBuffer
buf) {
/libcore/luni/src/test/java/libcore/java/nio/channels/
SocketChannelTest.java
20
import java.nio.
ByteBuffer
;
25
ByteBuffer
readOnly =
ByteBuffer
.allocate(1).asReadOnlyBuffer();
35
sc.read(new
ByteBuffer
[] { readOnly });
40
sc.read(new
ByteBuffer
[] { readOnly }, 0, 1);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
ByteBufferHelper.java
18
import java.nio.
ByteBuffer
;
27
public static List<
ByteBuffer
> mergeAdjacentBuffers(List<
ByteBuffer
> samples) {
28
ArrayList<
ByteBuffer
> nuSamples = new ArrayList<
ByteBuffer
>(samples.size());
29
for (
ByteBuffer
buffer : samples) {
33
ByteBuffer
oldBuffer = nuSamples.remove(lastIndex);
34
ByteBuffer
nu =
ByteBuffer
.wrap(buffer.array(), oldBuffer.arrayOffset(), oldBuffer.limit() + buffer.limit()).slice();
41
ByteBuffer
oldBuffer = nuSamples.get(lastIndex)
[
all
...]
/external/chromium/third_party/libjingle/source/talk/base/
bytebuffer.cc
28
#include "talk/base/
bytebuffer
.h"
41
ByteBuffer
::
ByteBuffer
() {
48
ByteBuffer
::
ByteBuffer
(const char* bytes, size_t len) {
56
ByteBuffer
::
ByteBuffer
(const char* bytes) {
64
ByteBuffer
::~
ByteBuffer
() {
68
bool
ByteBuffer
::ReadUInt8(uint8* val)
[
all
...]
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
SSLEngineTest.java
20
import java.nio.
ByteBuffer
;
83
* Test for <code>wrap(
ByteBuffer
src,
ByteBuffer
dst)</code> method
95
ByteBuffer
bbN = null;
96
ByteBuffer
bb =
ByteBuffer
.allocate(10);
102
ByteBuffer
roBb = bb.asReadOnlyBuffer();
109
* Test for <code>wrap(
ByteBuffer
[] srcs,
ByteBuffer
dst)</code> method
123
ByteBuffer
[] bbNA = null
[
all
...]
Completed in 1177 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>