Home
last modified time | relevance | path

Searched refs:codedStream (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java469 CodedOutputStream codedStream = CodedOutputStream.newInstance(buffer); in testWriteToByteBuffer() local
473 codedStream.writeRawByte((byte) 1); in testWriteToByteBuffer()
478 codedStream.writeRawBytes(data); in testWriteToByteBuffer()
481 codedStream.writeRawByte((byte) 3); in testWriteToByteBuffer()
483 codedStream.flush(); in testWriteToByteBuffer()
503 CodedOutputStream codedStream = CodedOutputStream.newInstance(outputStream); in testWriteByteBuffer() local
507 codedStream.writeRawBytes(byteBuffer); in testWriteByteBuffer()
513 codedStream.writeRawBytes(ByteBuffer.wrap(value, 2, 1).slice()); in testWriteByteBuffer()
515 codedStream.flush(); in testWriteByteBuffer()
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java469 CodedOutputStream codedStream = CodedOutputStream.newInstance(buffer); in testWriteToByteBuffer() local
473 codedStream.writeRawByte((byte) 1); in testWriteToByteBuffer()
478 codedStream.writeRawBytes(data); in testWriteToByteBuffer()
481 codedStream.writeRawByte((byte) 3); in testWriteToByteBuffer()
483 codedStream.flush(); in testWriteToByteBuffer()
503 CodedOutputStream codedStream = CodedOutputStream.newInstance(outputStream); in testWriteByteBuffer() local
507 codedStream.writeRawBytes(byteBuffer); in testWriteByteBuffer()
513 codedStream.writeRawBytes(ByteBuffer.wrap(value, 2, 1).slice()); in testWriteByteBuffer()
515 codedStream.flush(); in testWriteByteBuffer()
/external/armnn/src/armnnOnnxParser/
DOnnxParser.cpp771 …google::protobuf::io::CodedInputStream codedStream(binaryContent.data(), static_cast<int>(binaryCo… in LoadModelFromBinary() local
772 codedStream.SetTotalBytesLimit(INT_MAX); in LoadModelFromBinary()
773 bool success = modelProto.get()->ParseFromCodedStream(&codedStream); in LoadModelFromBinary()
797 google::protobuf::io::CodedInputStream codedStream(&inStream); in LoadModelFromBinaryFile() local
798 codedStream.SetTotalBytesLimit(INT_MAX); in LoadModelFromBinaryFile()
799 bool success = modelProto.get()->ParseFromCodedStream(&codedStream); in LoadModelFromBinaryFile()