Home
last modified time | relevance | path

Searched refs:writeRawBytes (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DCodedInputStreamTest.java426 output.writeRawBytes(new byte[32]); // Pad with a few random bytes. in testReadMaliciouslyLargeBlob()
566 output.writeRawBytes(bytes); in testReadString()
591 output.writeRawBytes(bytes); in testReadStringRequireUtf8()
614 output.writeRawBytes(new byte[] { (byte) 0x80 }); in testReadStringInvalidUtf8()
634 output.writeRawBytes(new byte[] { (byte) 0x80 }); in testReadStringRequireUtf8InvalidUtf8()
681 output.writeRawBytes(new byte[] { (byte) 23 }); in testReadByteArray()
684 output.writeRawBytes(new byte[] { (byte) 45 }); in testReadByteArray()
691 output.writeRawBytes(bytes); in testReadByteArray()
717 output.writeRawBytes(new byte[]{(byte) 23}); in testReadByteBuffer()
720 output.writeRawBytes(new byte[]{(byte) 45}); in testReadByteBuffer()
[all …]
DCodedOutputStreamTest.java380 coder.stream().writeRawBytes(value, 0, value.length);
434 codedStream.writeRawBytes(data);
462 codedStream.writeRawBytes(byteBuffer);
468 codedStream.writeRawBytes(ByteBuffer.wrap(value, 2, 1).slice());
DByteStringTest.java521 builder.getCodedOutput().writeRawBytes(bytes); in testNewCodedBuilder()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DUnknownFieldData.java65 output.writeRawBytes(bytes); in writeTo()
DCodedOutputByteBufferNano.java518 writeRawBytes(value); in writeBytesNoTag()
959 public void writeRawBytes(final byte[] value) throws IOException { in writeRawBytes() method in CodedOutputByteBufferNano
960 writeRawBytes(value, 0, value.length); in writeRawBytes()
964 public void writeRawBytes(final byte[] value, int offset, int length) in writeRawBytes() method in CodedOutputByteBufferNano
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java337 public final void writeRawBytes(final byte[] value) throws IOException { in writeRawBytes() method in CodedOutputStream
344 public final void writeRawBytes(final byte[] value, int offset, int length) throws IOException { in writeRawBytes() method in CodedOutputStream
349 public final void writeRawBytes(final ByteString value) throws IOException { in writeRawBytes() method in CodedOutputStream
363 public abstract void writeRawBytes(final ByteBuffer value) throws IOException; in writeRawBytes() method in CodedOutputStream
1228 writeRawBytes(value); in writeByteBuffer()
1245 public final void writeRawBytes(final ByteBuffer value) throws IOException { in writeRawBytes() method in CodedOutputStream.ArrayEncoder
1592 writeRawBytes(value); in writeByteBuffer()
1648 public void writeRawBytes(final ByteBuffer value) throws IOException { in writeRawBytes() method in CodedOutputStream.NioEncoder
2072 writeRawBytes(value); in writeByteBuffer()
2088 public void writeRawBytes(final ByteBuffer value) throws IOException { in writeRawBytes() method in CodedOutputStream.ByteOutputEncoder
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DCodedInputStreamTest.java370 output.writeRawBytes(new byte[32]); // Pad with a few random bytes. in testReadMaliciouslyLargeBlob()
436 output.writeRawBytes(new byte[] { (byte)0x80 }); in testReadInvalidUtf8()