OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:bytebuffer
(Results
251 - 275
of
994
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
MessageDigestSpiTest.java
24
import java.nio.
ByteBuffer
;
89
* java.security.MessageDigestSpi#engineUpdate(
ByteBuffer
)
95
ByteBuffer
buf =
ByteBuffer
.wrap(b, 0, b.length);
102
buf =
ByteBuffer
.wrap(b, 0, b.length);
157
protected void engineUpdate(
ByteBuffer
input) {
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
SampleEntry.java
29
import java.nio.
ByteBuffer
;
109
public void parse(ReadableByteChannel readableByteChannel,
ByteBuffer
header, long contentSize, BoxParser boxParser) throws IOException {
116
public void _parseReservedAndDataReferenceIndex(
ByteBuffer
content) {
121
public void _parseChildBoxes(
ByteBuffer
content) {
133
public void _writeReservedAndDataReferenceIndex(
ByteBuffer
bb) {
138
public void _writeChildBoxes(
ByteBuffer
bb) {
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
QuicktimeTextTrackImpl.java
31
import java.nio.
ByteBuffer
;
64
public List<
ByteBuffer
> getSamples() {
65
List<
ByteBuffer
> samples = new LinkedList<
ByteBuffer
>();
70
samples.add(
ByteBuffer
.wrap(new byte[]{0, 0}));
83
samples.add(
ByteBuffer
.wrap(baos.toByteArray()));
TextTrackImpl.java
27
import java.nio.
ByteBuffer
;
67
public List<
ByteBuffer
> getSamples() {
68
List<
ByteBuffer
> samples = new LinkedList<
ByteBuffer
>();
73
samples.add(
ByteBuffer
.wrap(new byte[]{0, 0}));
86
samples.add(
ByteBuffer
.wrap(baos.toByteArray()));
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
SimpleFrame.java
26
import java.nio.
ByteBuffer
;
110
public void setData(
ByteBuffer
buffer, int offset, int length) {
112
setGenericObjectValue(
ByteBuffer
.wrap(buffer.array(), offset, length));
116
public
ByteBuffer
getData() {
117
return (mObject instanceof
ByteBuffer
) ? (
ByteBuffer
)mObject : null;
/libcore/benchmarks/src/benchmarks/regression/
ByteBufferBenchmark.java
47
public static
ByteBuffer
newBuffer(MyByteOrder byteOrder, boolean aligned, MyBufferType bufferType) throws IOException {
49
ByteBuffer
result = null;
52
result =
ByteBuffer
.allocateDirect(size);
55
result =
ByteBuffer
.allocate(size);
81
ByteBuffer
src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType);
91
ByteBuffer
src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType);
102
ByteBuffer
src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType);
112
ByteBuffer
src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType);
133
ByteBuffer
src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType);
143
ByteBuffer
src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType)
[
all
...]
/libcore/luni/src/main/java/java/nio/
PipeImpl.java
78
public int read(
ByteBuffer
buffer) throws IOException {
82
public long read(
ByteBuffer
[] buffers) throws IOException {
86
public long read(
ByteBuffer
[] buffers, int offset, int length) throws IOException {
113
public int write(
ByteBuffer
buffer) throws IOException {
117
public long write(
ByteBuffer
[] buffers) throws IOException {
121
public long write(
ByteBuffer
[] buffers, int offset, int length) throws IOException {
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
ServiceMessage.java
7
import java.nio.
ByteBuffer
;
58
ByteBuffer
truncatedBuffer =
59
((
ByteBuffer
) getData().position(getHeader().getSize())).slice();
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/
TrackRunBox.java
24
import java.nio.
ByteBuffer
;
187
protected void getContent(
ByteBuffer
byteBuffer
) {
188
writeVersionAndFlags(
byteBuffer
);
189
IsoTypeWriter.writeUInt32(
byteBuffer
, entries.size());
193
IsoTypeWriter.writeUInt32(
byteBuffer
, dataOffset);
196
firstSampleFlags.getContent(
byteBuffer
);
201
IsoTypeWriter.writeUInt32(
byteBuffer
, entry.sampleDuration);
204
IsoTypeWriter.writeUInt32(
byteBuffer
, entry.sampleSize);
207
entry.sampleFlags.getContent(
byteBuffer
);
[
all
...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/
AbstractFullBox.java
24
import java.nio.
ByteBuffer
;
64
protected final long parseVersionAndFlags(
ByteBuffer
content) {
70
protected final void writeVersionAndFlags(
ByteBuffer
bb) {
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
MarshalQueryableBoolean.java
25
import java.nio.
ByteBuffer
;
38
public void marshal(Boolean value,
ByteBuffer
buffer) {
44
public Boolean unmarshal(
ByteBuffer
buffer) {
MarshalQueryableNativeByteToInteger.java
25
import java.nio.
ByteBuffer
;
41
public void marshal(Integer value,
ByteBuffer
buffer) {
46
public Integer unmarshal(
ByteBuffer
buffer) {
MarshalQueryableSize.java
26
import java.nio.
ByteBuffer
;
40
public void marshal(Size value,
ByteBuffer
buffer) {
46
public Size unmarshal(
ByteBuffer
buffer) {
MarshalQueryableSizeF.java
26
import java.nio.
ByteBuffer
;
42
public void marshal(SizeF value,
ByteBuffer
buffer) {
48
public SizeF unmarshal(
ByteBuffer
buffer) {
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
OutputStreamTarget.java
27
import java.nio.
ByteBuffer
;
49
ByteBuffer
data;
53
data =
ByteBuffer
.wrap(stringVal.getBytes());
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
Chunk.java
19
import java.nio.
ByteBuffer
;
53
* Construct from a
ByteBuffer
. The chunk is assumed to start at
56
public Chunk(int type,
ByteBuffer
buf) {
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
BufferSubDataTransform.java
22
import java.nio.
ByteBuffer
;
49
ByteBuffer
bb =
ByteBuffer
.wrap(mNewData);
/cts/tests/tests/opengl/src/android/opengl/cts/
RendererOneColorBufferTest.java
20
import java.nio.
ByteBuffer
;
66
mVertices =
ByteBuffer
.allocateDirect(mVerticesData.length * 4)
70
ByteBuffer
ibb =
ByteBuffer
.allocateDirect(mIndices.length * 2);
76
mColor =
ByteBuffer
.allocateDirect(mVertexColor.length*4).
84
mVertices =
ByteBuffer
.allocateDirect(mVerticesData.length * 4)
88
ByteBuffer
ibb =
ByteBuffer
.allocateDirect(mIndices.length * 2);
94
mColor =
ByteBuffer
.allocateDirect(mVertexColor.length*4).
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/
Triangle.java
18
import java.nio.
ByteBuffer
;
47
ByteBuffer
bb =
ByteBuffer
.allocateDirect(
53
// create a floating point buffer from the
ByteBuffer
/external/chromium_org/third_party/webrtc/examples/android/media_demo/jni/
media_codec_video_decoder.cc
30
jni->GetMethodID(decoderClass, "pushBuffer", "(Ljava/nio/
ByteBuffer
;J)V");
58
jobject
byteBuffer
=
60
jni->CallVoidMethod(decoder_, j_push_buffer_,
byteBuffer
, renderTimeMs);
61
jni->DeleteLocalRef(
byteBuffer
);
/external/conscrypt/src/main/java/org/conscrypt/
OpenSSLBIOSource.java
21
import java.nio.
ByteBuffer
;
26
public static OpenSSLBIOSource wrap(
ByteBuffer
buffer) {
55
private final
ByteBuffer
source;
57
public ByteBufferInputStream(
ByteBuffer
source) {
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
AbstractBoxParser.java
23
import java.nio.
ByteBuffer
;
50
ByteBuffer
header = ChannelHelper.readFully(byteChannel, 8);
65
ByteBuffer
bb =
ByteBuffer
.allocate(8);
81
ByteBuffer
bb =
ByteBuffer
.allocate(16);
98
header =
ByteBuffer
.allocate(16);
103
header =
ByteBuffer
.allocate(24);
108
header =
ByteBuffer
.allocate(32);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
BaseDescriptor.java
22
import java.nio.
ByteBuffer
;
65
public final void parse(int tag,
ByteBuffer
bb) throws IOException {
79
ByteBuffer
detailSource = bb.slice();
86
public abstract void parseDetail(
ByteBuffer
bb) throws IOException;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
GLToolbox.java
24
import java.nio.
ByteBuffer
;
70
public static void readFbo(int fboId,
ByteBuffer
pixels, int width, int height) {
76
public static void readTarget(RenderTarget target,
ByteBuffer
pixels, int width, int height) {
104
setTexturePixels(texId, target, (
ByteBuffer
)null, width, height);
114
public static void setTexturePixels(int texId, int target,
ByteBuffer
pixels,
120
pixels =
ByteBuffer
.allocateDirect(width * height * 4);
151
public static void setVboData(int vboId,
ByteBuffer
data) {
159
ByteBuffer
buffer =
ByteBuffer
.allocateDirect(len).order(ByteOrder.nativeOrder());
/libcore/luni/src/test/java/libcore/java/nio/charset/
CharsetEncoderTest.java
19
import java.nio.
ByteBuffer
;
69
ByteBuffer
bb =
ByteBuffer
.allocate(128);
83
ByteBuffer
bb =
ByteBuffer
.allocate(128);
120
ByteBuffer
bb =
ByteBuffer
.allocate(128);
144
ByteBuffer
bb =
ByteBuffer
.allocate(128);
Completed in 976 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>