OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:bytebuffer
(Results
101 - 125
of
744
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
FreeSpaceBox.java
21
import java.nio.
ByteBuffer
;
50
public void _parseDetails(
ByteBuffer
content) {
56
protected void getContent(
ByteBuffer
byteBuffer
) {
57
byteBuffer
.put(data);
NullMediaHeaderBox.java
18
import java.nio.
ByteBuffer
;
35
public void _parseDetails(
ByteBuffer
content) {
40
protected void getContent(
ByteBuffer
byteBuffer
) {
41
writeVersionAndFlags(
byteBuffer
);
OriginalFormatBox.java
23
import java.nio.
ByteBuffer
;
56
public void _parseDetails(
ByteBuffer
content) {
61
protected void getContent(
ByteBuffer
byteBuffer
) {
62
byteBuffer
.put(IsoFile.fourCCtoBytes(dataFormat));
UserBox.java
21
import java.nio.
ByteBuffer
;
55
public void _parseDetails(
ByteBuffer
content) {
61
protected void getContent(
ByteBuffer
byteBuffer
) {
62
byteBuffer
.put(data);
UserDataBox.java
23
import java.nio.
ByteBuffer
;
41
public void parse(ReadableByteChannel readableByteChannel,
ByteBuffer
header, long contentSize, BoxParser boxParser) throws IOException {
46
public void _parseDetails(
ByteBuffer
content) {
51
protected void getContent(
ByteBuffer
byteBuffer
) {
52
super.getContent(
byteBuffer
); //To change body of overridden methods use File | Settings | File Templates.
AuthorBox.java
25
import java.nio.
ByteBuffer
;
76
public void _parseDetails(
ByteBuffer
content) {
83
protected void getContent(
ByteBuffer
byteBuffer
) {
84
writeVersionAndFlags(
byteBuffer
);
85
IsoTypeWriter.writeIso639(
byteBuffer
, language);
86
byteBuffer
.put(Utf8.convert(author));
87
byteBuffer
.put((byte) 0);
SchemeTypeBox.java
25
import java.nio.
ByteBuffer
;
73
public void _parseDetails(
ByteBuffer
content) {
83
protected void getContent(
ByteBuffer
byteBuffer
) {
84
writeVersionAndFlags(
byteBuffer
);
85
byteBuffer
.put(IsoFile.fourCCtoBytes(schemeType));
86
IsoTypeWriter.writeUInt32(
byteBuffer
, schemeVersion);
88
byteBuffer
.put(Utf8.convert(schemeUri));
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
AudioSampleEntry.java
25
import java.nio.
ByteBuffer
;
182
public void _parseDetails(
ByteBuffer
content) {
250
protected void getContent(
ByteBuffer
byteBuffer
) {
251
_writeReservedAndDataReferenceIndex(
byteBuffer
);
252
IsoTypeWriter.writeUInt16(
byteBuffer
, soundVersion);
253
IsoTypeWriter.writeUInt16(
byteBuffer
, reserved1);
254
IsoTypeWriter.writeUInt32(
byteBuffer
, reserved2);
255
IsoTypeWriter.writeUInt16(
byteBuffer
, channelCount);
256
IsoTypeWriter.writeUInt16(
byteBuffer
, sampleSize)
[
all
...]
TextSampleEntry.java
24
import java.nio.
ByteBuffer
;
58
public void _parseDetails(
ByteBuffer
content) {
92
protected void getContent(
ByteBuffer
byteBuffer
) {
93
_writeReservedAndDataReferenceIndex(
byteBuffer
);
94
IsoTypeWriter.writeUInt32(
byteBuffer
, displayFlags);
95
IsoTypeWriter.writeUInt8(
byteBuffer
, horizontalJustification);
96
IsoTypeWriter.writeUInt8(
byteBuffer
, verticalJustification);
97
IsoTypeWriter.writeUInt8(
byteBuffer
, backgroundColorRgba[0]);
98
IsoTypeWriter.writeUInt8(
byteBuffer
, backgroundColorRgba[1])
[
all
...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/
MLPSpecificBox.java
7
import java.nio.
ByteBuffer
;
27
public void _parseDetails(
ByteBuffer
content) {
36
protected void getContent(
ByteBuffer
byteBuffer
) {
37
BitWriterBuffer bwb = new BitWriterBuffer(
byteBuffer
);
/frameworks/base/core/java/android/net/dhcp/
DhcpDeclinePacket.java
20
import java.nio.
ByteBuffer
;
43
public
ByteBuffer
buildPacket(int encap, short destUdp, short srcUdp) {
44
ByteBuffer
result =
ByteBuffer
.allocate(MAX_LENGTH);
55
void finishPacket(
ByteBuffer
buffer) {
/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);
DatagramChannelTest.java
20
import java.nio.
ByteBuffer
;
25
ByteBuffer
readOnly =
ByteBuffer
.allocate(1).asReadOnlyBuffer();
35
dc.read(new
ByteBuffer
[] { readOnly });
40
dc.read(new
ByteBuffer
[] { readOnly }, 0, 1);
53
assertNull(dc.receive(
ByteBuffer
.allocate(2048)));
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
PointerInfo.java
20
import java.nio.
ByteBuffer
;
49
public
ByteBuffer
mTempByteBuffer;
87
private static
ByteBuffer
toByteBuffer(int byteCount, Buffer input) {
88
ByteBuffer
result = null;
90
if (input instanceof
ByteBuffer
) {
91
ByteBuffer
input2 = (
ByteBuffer
) input;
96
result =
ByteBuffer
.allocate(byteCount).order(input2.order());
107
result =
ByteBuffer
.allocate(byteCount).order(input2.order());
119
result =
ByteBuffer
.allocate(byteCount).order(input2.order())
[
all
...]
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/
UTF16CharsetDecoderTest.java
20
import java.nio.
ByteBuffer
;
47
protected
ByteBuffer
getByteBuffer() {
58
return
ByteBuffer
.wrap(b);
61
protected
ByteBuffer
getHeadlessByteBuffer() {
62
ByteBuffer
b = getByteBuffer();
66
return
ByteBuffer
.wrap(bytes);
75
ByteBuffer
.wrap(new byte[] { -1, -2, 32, 0, 98 }), out,
81
assertSame(CoderResult.UNDERFLOW, decoder.decode(
ByteBuffer
83
assertTrue(decoder.decode(
ByteBuffer
.wrap(new byte[] { 98 }), out,
89
assertSame(CoderResult.UNDERFLOW, decoder.decode(
ByteBuffer
[
all
...]
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 {
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,
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
Vector3Serializer.java
6
import java.nio.
ByteBuffer
;
14
public Vector3f readObject(
ByteBuffer
data, Class c) throws IOException {
22
public void writeObject(
ByteBuffer
buffer, Object object) throws IOException {
/cts/tests/tests/opengl/src/android/opengl/cts/
RendererTwoShaderTest.java
20
import java.nio.
ByteBuffer
;
56
ByteBuffer
byteBuffer
=
ByteBuffer
.allocateDirect(triangleCoords.length * 4);
57
byteBuffer
.order(ByteOrder.nativeOrder());
58
floatBuffer =
byteBuffer
.asFloatBuffer();
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/dece/
TrickPlayBox.java
7
import java.nio.
ByteBuffer
;
85
public void _parseDetails(
ByteBuffer
content) {
93
protected void getContent(
ByteBuffer
byteBuffer
) {
94
writeVersionAndFlags(
byteBuffer
);
96
IsoTypeWriter.writeUInt8(
byteBuffer
, entry.value);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
SilenceTrackImpl.java
8
import java.nio.
ByteBuffer
;
19
List<
ByteBuffer
> samples = new LinkedList<
ByteBuffer
>();
31
samples.add((
ByteBuffer
)
ByteBuffer
.wrap(new byte[]{
74
public List<
ByteBuffer
> getSamples() {
ReplaceSampleTrack.java
23
import java.nio.
ByteBuffer
;
29
* Generates a Track where a single sample has been replaced by a given <code>
ByteBuffer
</code>.
35
private
ByteBuffer
sampleContent;
36
private List<
ByteBuffer
> samples;
38
public ReplaceSampleTrack(Track origTrack, long sampleNumber,
ByteBuffer
content) {
46
public List<
ByteBuffer
> getSamples() {
88
private class ReplaceASingleEntryList extends AbstractList<
ByteBuffer
> {
90
public
ByteBuffer
get(int index) {
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/
ProtectionSpecificHeader.java
14
import java.nio.
ByteBuffer
;
22
ByteBuffer
data;
38
public static ProtectionSpecificHeader createFor(UUID systemId,
ByteBuffer
bufferWrapper) {
57
public void parse(
ByteBuffer
buffer) {
62
public
ByteBuffer
getData() {
71
ByteBuffer
data = getData().duplicate();
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
ChannelHelper.java
20
import java.nio.
ByteBuffer
;
30
public static
ByteBuffer
readFully(final ReadableByteChannel channel, long size) throws IOException {
33
ByteBuffer
bb = ((FileChannel) channel).map(FileChannel.MapMode.READ_ONLY, ((FileChannel) channel).position(), size);
37
ByteBuffer
buf =
ByteBuffer
.allocate(l2i(size));
48
public static void readFully(final ReadableByteChannel channel, final
ByteBuffer
buf)
53
public static int readFully(final ReadableByteChannel channel, final
ByteBuffer
buf, final int length)
69
public static void writeFully(final WritableByteChannel channel, final
ByteBuffer
buf)
Completed in 528 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>