Home
last modified time | relevance | path

Searched refs:dataStream (Results 1 – 16 of 16) sorted by relevance

/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DPacketStream.java36 private ByteArrayOutputStream dataStream = new ByteArrayOutputStream(); field in PacketStream
58 pkt.data = dataStream.toByteArray(); in send()
78 dataStream.write( 1 ); in writeBoolean()
80 dataStream.write( 0 ); in writeBoolean()
85 dataStream.write( data ); in writeByte()
89 dataStream.write( (byte)((data >>> 8) & 0xFF) ); in writeChar()
90 dataStream.write( (byte)((data >>> 0) & 0xFF) ); in writeChar()
94 dataStream.write( (byte)((data >>> 8) & 0xFF) ); in writeShort()
95 dataStream.write( (byte)((data >>> 0) & 0xFF) ); in writeShort()
99 dataStream.write( (byte)((data >>> 24) & 0xFF) ); in writeInt()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/stub/element/
DSmaliMethodParameterElementType.java70 …public void serialize(@NotNull SmaliMethodParameterStub stub, @NotNull StubOutputStream dataStream) in serialize() argument
72 dataStream.writeName(stub.getSmaliTypeName()); in serialize()
73 dataStream.writeName(stub.getName()); in serialize()
77 …public SmaliMethodParameterStub deserialize(@NotNull StubInputStream dataStream, StubElement paren… in deserialize() argument
79 return new SmaliMethodParameterStub(parentStub, dataStream.readName().getString(), in deserialize()
80 deserializeNullableString(dataStream)); in deserialize()
DSmaliBaseReferenceListElementType.java53 public void serialize(@NotNull StubT stub, @NotNull StubOutputStream dataStream) in serialize() argument
56 dataStream.writeVarInt(references.length); in serialize()
58 dataStream.writeName(reference); in serialize()
63 …public StubT deserialize(@NotNull StubInputStream dataStream, StubElement parentStub) throws IOExc… in deserialize() argument
64 String[] smaliTypeNames = new String[dataStream.readVarInt()]; in deserialize()
66 smaliTypeNames[i] = dataStream.readName().getString(); in deserialize()
DSmaliFieldElementType.java84 …public void serialize(@NotNull SmaliFieldStub stub, @NotNull StubOutputStream dataStream) throws I… in serialize() argument
85 dataStream.writeName(stub.getName()); in serialize()
86 dataStream.writeName(stub.getSmaliTypeName()); in serialize()
90 …public SmaliFieldStub deserialize(@NotNull StubInputStream dataStream, StubElement parentStub) thr… in deserialize() argument
91 return new SmaliFieldStub(parentStub, deserializeNullableString(dataStream), in deserialize()
92 dataStream.readName().getString()); in deserialize()
DSmaliClassStatementElementType.java69 …alize(@NotNull SmaliClassStatementStub stub, @NotNull StubOutputStream dataStream) throws IOExcept… in serialize() argument
70 dataStream.writeName(stub.getQualifiedName()); in serialize()
74 …public SmaliClassStatementStub deserialize(@NotNull StubInputStream dataStream, StubElement parent… in deserialize() argument
75 return new SmaliClassStatementStub(parentStub, deserializeNullableString(dataStream)); in deserialize()
DSmaliMethodElementType.java69 …public void serialize(@NotNull SmaliMethodStub stub, @NotNull StubOutputStream dataStream) throws … in serialize() argument
70 dataStream.writeName(stub.getName()); in serialize()
74 …public SmaliMethodStub deserialize(@NotNull StubInputStream dataStream, StubElement parentStub) th… in deserialize() argument
75 return new SmaliMethodStub(parentStub, dataStream.readName().getString()); in deserialize()
DSmaliModifierListElementType.java69 public void serialize(@NotNull SmaliModifierListStub stub, @NotNull StubOutputStream dataStream) in serialize() argument
71 dataStream.writeVarInt(stub.getAccessFlags()); in serialize()
75 …public SmaliModifierListStub deserialize(@NotNull StubInputStream dataStream, StubElement parentSt… in deserialize() argument
77 return new SmaliModifierListStub(parentStub, dataStream.readVarInt()); in deserialize()
DSmaliAnnotationElementType.java69 …public void serialize(@NotNull SmaliAnnotationStub stub, @NotNull StubOutputStream dataStream) thr… in serialize() argument
70 dataStream.writeName(stub.getAnnotationSmaliTypeName()); in serialize()
74 …public SmaliAnnotationStub deserialize(@NotNull StubInputStream dataStream, StubElement parentStub… in deserialize() argument
75 return new SmaliAnnotationStub(parentStub, deserializeNullableString(dataStream)); in deserialize()
DSmaliMethodPrototypeElementType.java77 …public void serialize(@NotNull SmaliMethodPrototypeStub stub, @NotNull StubOutputStream dataStream) in serialize() argument
79 dataStream.writeName(stub.getReturnSmaliTypeName()); in serialize()
83 …public SmaliMethodPrototypeStub deserialize(@NotNull StubInputStream dataStream, StubElement paren… in deserialize() argument
85 return new SmaliMethodPrototypeStub(parentStub, deserializeNullableString(dataStream)); in deserialize()
DSmaliStubElementType.java56 …protected String deserializeNullableString(@NotNull StubInputStream dataStream) throws IOException… in deserializeNullableString() argument
57 StringRef stringRef = dataStream.readName(); in deserializeNullableString()
DSmaliMethodParamListElementType.java70 …public void serialize(@NotNull SmaliMethodParamListStub stub, @NotNull StubOutputStream dataStream) in serialize() argument
75 …public SmaliMethodParamListStub deserialize(@NotNull StubInputStream dataStream, StubElement paren… in deserialize() argument
DSmaliClassElementType.java73 …public void serialize(@NotNull SmaliClassStub stub, @NotNull StubOutputStream dataStream) throws I… in serialize() argument
78 …public SmaliClassStub deserialize(@NotNull StubInputStream dataStream, StubElement parentStub) thr… in deserialize() argument
/external/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/
DDrumPlayer.kt90 val dataStream = assetFD.createInputStream() in loadWavAsset() constant
93 dataStream.read(dataBytes, 0, dataLen) in loadWavAsset()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java628 FramedStream dataStream = getStream(streamId); in data() local
629 if (dataStream == null) { in data()
634 dataStream.receiveData(source, length); in data()
636 dataStream.receiveFin(); in data()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DFramedConnection.java633 FramedStream dataStream = getStream(streamId); in data() local
634 if (dataStream == null) { in data()
639 dataStream.receiveData(source, length); in data()
641 dataStream.receiveFin(); in data()
/external/deqp/framework/common/
DtcuAstcUtil.cpp1198 BitAccessStream dataStream(blockData, colorEndpointDataStart, numBitsAvailable, true); in computeColorEndpoints() local
1199 decodeISE(&colorEndpointData[0], numColorEndpointValues, dataStream, iseParams); in computeColorEndpoints()
1324 …BitAccessStream dataStream(blockData, 127, computeNumRequiredBits(blockMode.weightISEParams, compu… in computeTexelWeights() local
1325 decodeISE(&weightGrid[0], computeNumWeights(blockMode), dataStream, blockMode.weightISEParams); in computeTexelWeights()