Home
last modified time | relevance | path

Searched refs:rawOutput (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/java/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java82 ByteArrayOutputStream rawOutput = new ByteArrayOutputStream(); in assertWriteVarint() local
83 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint()
86 assertEqualBytes(data, rawOutput.toByteArray()); in assertWriteVarint()
94 ByteArrayOutputStream rawOutput = new ByteArrayOutputStream(); in assertWriteVarint() local
95 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint()
98 assertEqualBytes(data, rawOutput.toByteArray()); in assertWriteVarint()
109 ByteArrayOutputStream rawOutput = new ByteArrayOutputStream(); in assertWriteVarint() local
111 CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteVarint()
114 assertEqualBytes(data, rawOutput.toByteArray()); in assertWriteVarint()
118 ByteArrayOutputStream rawOutput = new ByteArrayOutputStream(); in assertWriteVarint() local
[all …]
DCodedInputStreamTest.java383 ByteString.Output rawOutput = ByteString.newOutput(); in testReadMaliciouslyLargeBlob() local
384 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in testReadMaliciouslyLargeBlob()
392 CodedInputStream input = rawOutput.toByteString().newCodedInput(); in testReadMaliciouslyLargeBlob()
492 ByteString.Output rawOutput = ByteString.newOutput(); in testReadInvalidUtf8() local
493 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in testReadInvalidUtf8()
501 CodedInputStream input = rawOutput.toByteString().newCodedInput(); in testReadInvalidUtf8()
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java83 ByteArrayOutputStream rawOutput = new ByteArrayOutputStream(); in assertWriteVarint() local
84 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint()
87 assertEqualBytes(data, rawOutput.toByteArray()); in assertWriteVarint()
95 ByteArrayOutputStream rawOutput = new ByteArrayOutputStream(); in assertWriteVarint() local
96 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint()
99 assertEqualBytes(data, rawOutput.toByteArray()); in assertWriteVarint()
110 ByteArrayOutputStream rawOutput = new ByteArrayOutputStream(); in assertWriteVarint() local
112 CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteVarint()
115 assertEqualBytes(data, rawOutput.toByteArray()); in assertWriteVarint()
119 ByteArrayOutputStream rawOutput = new ByteArrayOutputStream(); in assertWriteVarint() local
[all …]
DCodedInputStreamTest.java378 ByteString.Output rawOutput = ByteString.newOutput(); in testReadMaliciouslyLargeBlob() local
379 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in testReadMaliciouslyLargeBlob()
387 CodedInputStream input = rawOutput.toByteString().newCodedInput(); in testReadMaliciouslyLargeBlob()
487 ByteString.Output rawOutput = ByteString.newOutput(); in testReadInvalidUtf8() local
488 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in testReadInvalidUtf8()
496 CodedInputStream input = rawOutput.toByteString().newCodedInput(); in testReadInvalidUtf8()
/external/chromium_org/third_party/skia/tests/
DAnnotationTest.cpp67 const char* rawOutput = (const char*)out->data(); in DEF_TEST() local
70 ContainsString(rawOutput, out->size(), "/Annots ") in DEF_TEST()
91 const char* rawOutput = (const char*)out->data(); in DEF_TEST() local
94 ContainsString(rawOutput, out->size(), "/example ")); in DEF_TEST()
/external/skia/tests/
DAnnotationTest.cpp67 const char* rawOutput = (const char*)out->data(); in DEF_TEST() local
70 ContainsString(rawOutput, out->size(), "/Annots ") in DEF_TEST()
91 const char* rawOutput = (const char*)out->data(); in DEF_TEST() local
94 ContainsString(rawOutput, out->size(), "/example ")); in DEF_TEST()