Home
last modified time | relevance | path

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

/external/protobuf/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()
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/
DCodedOutputStreamMicro.java337 writeRawBytes(bytes); in writeStringNoTag()
355 writeRawBytes(bytes); in writeBytesNoTag()
361 writeRawBytes(value); in writeByteArrayNoTag()
838 public void writeRawBytes(final byte[] value) throws IOException { in writeRawBytes() method in CodedOutputStreamMicro
839 writeRawBytes(value, 0, value.length); in writeRawBytes()
843 public void writeRawBytes(final byte[] value, int offset, int length) in writeRawBytes() method in CodedOutputStreamMicro
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java303 public final void writeRawBytes(final byte[] value) throws IOException { in writeRawBytes() method in CodedOutputStream
310 public final void writeRawBytes(final byte[] value, int offset, int length) throws IOException { in writeRawBytes() method in CodedOutputStream
315 public final void writeRawBytes(final ByteString value) throws IOException { in writeRawBytes() method in CodedOutputStream
329 public abstract void writeRawBytes(final ByteBuffer value) throws IOException; in writeRawBytes() method in CodedOutputStream
1190 writeRawBytes(value); in writeByteBuffer()
1207 public final void writeRawBytes(final ByteBuffer value) throws IOException { in writeRawBytes() method in CodedOutputStream.ArrayEncoder
1560 writeRawBytes(value); in writeByteBuffer()
1616 public void writeRawBytes(final ByteBuffer value) throws IOException { in writeRawBytes() method in CodedOutputStream.NioEncoder
2040 writeRawBytes(value); in writeByteBuffer()
2056 public void writeRawBytes(final ByteBuffer value) throws IOException { in writeRawBytes() method in CodedOutputStream.ByteOutputEncoder
[all …]
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DUnknownFieldData.java65 output.writeRawBytes(bytes); in writeTo()
DCodedOutputByteBufferNano.java526 writeRawBytes(value); in writeBytesNoTag()
533 writeRawBytes(value, offset, length); in writeBytesNoTag()
991 public void writeRawBytes(final byte[] value) throws IOException { in writeRawBytes() method in CodedOutputByteBufferNano
992 writeRawBytes(value, 0, value.length); in writeRawBytes()
996 public void writeRawBytes(final byte[] value, int offset, int length) in writeRawBytes() method in CodedOutputByteBufferNano