Home
last modified time | relevance | path

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

/external/protobuf/java/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java84 ByteArrayOutputStream rawOutput = new ByteArrayOutputStream(); in assertWriteVarint() local
85 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint()
88 assertEqualBytes(data, rawOutput.toByteArray()); in assertWriteVarint()
96 ByteArrayOutputStream rawOutput = new ByteArrayOutputStream(); in assertWriteVarint() local
97 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in assertWriteVarint()
100 assertEqualBytes(data, rawOutput.toByteArray()); in assertWriteVarint()
111 ByteArrayOutputStream rawOutput = new ByteArrayOutputStream(); in assertWriteVarint() local
113 CodedOutputStream.newInstance(rawOutput, blockSize); in assertWriteVarint()
116 assertEqualBytes(data, rawOutput.toByteArray()); in assertWriteVarint()
120 ByteArrayOutputStream rawOutput = new ByteArrayOutputStream(); in assertWriteVarint() local
[all …]
DCodedInputStreamTest.java418 ByteString.Output rawOutput = ByteString.newOutput(); in testReadMaliciouslyLargeBlob() local
419 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in testReadMaliciouslyLargeBlob()
427 CodedInputStream input = rawOutput.toByteString().newCodedInput(); in testReadMaliciouslyLargeBlob()
556 ByteString.Output rawOutput = ByteString.newOutput(); in testReadStringInvalidUtf8() local
557 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in testReadStringInvalidUtf8()
565 CodedInputStream input = rawOutput.toByteString().newCodedInput(); in testReadStringInvalidUtf8()
576 ByteString.Output rawOutput = ByteString.newOutput(); in testReadStringRequireUtf8InvalidUtf8() local
577 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); in testReadStringRequireUtf8InvalidUtf8()
585 CodedInputStream input = rawOutput.toByteString().newCodedInput(); in testReadStringRequireUtf8InvalidUtf8()
623 ByteString.Output rawOutput = ByteString.newOutput(); in testReadByteArray() local
[all …]
/external/skia/tests/
DAnnotationTest.cpp56 const char* rawOutput = (const char*)out->data(); in DEF_TEST() local
58 REPORTER_ASSERT(reporter, ContainsString(rawOutput, out->size(), "/Annots ")); in DEF_TEST()
74 const char* rawOutput = (const char*)out->data(); in DEF_TEST() local
77 ContainsString(rawOutput, out->size(), "/example ")); in DEF_TEST()
/external/opencv3/modules/ml/src/
Dnbayes.cpp205 rawOutput = _rawOutput; in NBPredictBody()
219 bool rawOutput; member in cv::ml::NormalBayesClassifierImpl::NBPredictBody
288 int ival = rawOutput ? cls : cls_labels->at<int>(cls); in operator ()()
310 bool rawOutput = (flags & RAW_OUTPUT) != 0; in predictProb() local
336 var_idx, cls_labels, results, resultsProb, rawOutput)); in predictProb()