Lines Matching refs:OutStrm
182 raw_svector_ostream OutStrm(Str); in TEST() local
183 FileWriter FW(OutStrm, ByteOrder); in TEST()
185 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
188 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
192 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
196 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
200 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
204 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
212 raw_svector_ostream OutStrm(Str); in TestFunctionInfoEncodeError() local
213 FileWriter FW(OutStrm, ByteOrder); in TestFunctionInfoEncodeError()
247 raw_svector_ostream OutStrm(Str); in TestFunctionInfoEncodeDecode() local
248 FileWriter FW(OutStrm, ByteOrder); in TestFunctionInfoEncodeDecode()
253 std::string Bytes(OutStrm.str()); in TestFunctionInfoEncodeDecode()
324 raw_svector_ostream OutStrm(Str); in TestInlineInfoEncodeDecode() local
325 FileWriter FW(OutStrm, ByteOrder); in TestInlineInfoEncodeDecode()
329 std::string Bytes(OutStrm.str()); in TestInlineInfoEncodeDecode()
355 raw_svector_ostream OutStrm(Str); in TestInlineInfoEncodeError() local
356 FileWriter FW(OutStrm, ByteOrder); in TestInlineInfoEncodeError()
499 raw_svector_ostream OutStrm(Str); in TEST() local
500 FileWriter FW(OutStrm, ByteOrder); in TEST()
502 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
507 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
510 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
513 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
516 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
561 raw_svector_ostream OutStrm(Str); in TestFileWriterHelper() local
562 FileWriter FW(OutStrm, ByteOrder); in TestFileWriterHelper()
587 std::string Bytes(OutStrm.str()); in TestFileWriterHelper()
615 raw_svector_ostream OutStrm(Str); in TEST() local
617 FileWriter FW(OutStrm, ByteOrder); in TEST()
623 std::string Bytes(OutStrm.str()); in TEST()
638 raw_svector_ostream OutStrm(Str); in TestAddressRangeEncodeDecodeHelper() local
640 FileWriter FW(OutStrm, ByteOrder); in TestAddressRangeEncodeDecodeHelper()
643 std::string Bytes(OutStrm.str()); in TestAddressRangeEncodeDecodeHelper()
677 raw_svector_ostream OutStrm(Str); in TestLineTableHelper() local
678 FileWriter FW(OutStrm, ByteOrder); in TestLineTableHelper()
682 std::string Bytes(OutStrm.str()); in TestLineTableHelper()
767 raw_svector_ostream OutStrm(Str); in TEST() local
768 FileWriter FW(OutStrm, ByteOrder); in TEST()
770 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
773 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
776 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
779 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
783 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
788 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
793 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
803 raw_svector_ostream OutStrm(Str); in TEST() local
804 FileWriter FW(OutStrm, ByteOrder); in TEST()
832 raw_svector_ostream OutStrm(Str); in TestHeaderEncodeError() local
833 FileWriter FW(OutStrm, ByteOrder); in TestHeaderEncodeError()
887 raw_svector_ostream OutStrm(Str); in TEST() local
888 FileWriter FW(OutStrm, ByteOrder); in TEST()
894 TestHeaderDecodeError(OutStrm.str(), "invalid GSYM magic 0x0000000c"); in TEST()
897 TestHeaderDecodeError(OutStrm.str(), "unsupported GSYM version 12"); in TEST()
900 TestHeaderDecodeError(OutStrm.str(), "invalid address offset size 12"); in TEST()
903 TestHeaderDecodeError(OutStrm.str(), "invalid UUID size 128"); in TEST()
910 raw_svector_ostream OutStrm(Str); in TestHeaderEncodeDecode() local
911 FileWriter FW(OutStrm, ByteOrder); in TestHeaderEncodeDecode()
914 std::string Bytes(OutStrm.str()); in TestHeaderEncodeDecode()
933 raw_svector_ostream OutStrm(Str); in TestGsymCreatorEncodeError() local
934 FileWriter FW(OutStrm, ByteOrder); in TestGsymCreatorEncodeError()
1007 raw_svector_ostream OutStrm(Str); in TestEncodeDecode() local
1008 FileWriter FW(OutStrm, ByteOrder); in TestEncodeDecode()
1011 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TestEncodeDecode()
1157 raw_svector_ostream OutStrm(Str); in TEST() local
1158 FileWriter FW(OutStrm, ByteOrder); in TEST()
1161 if (auto ExpectedGR = GsymReader::copyBuffer(OutStrm.str())) { in TEST()
1222 raw_svector_ostream OutStrm(Str); in TEST() local
1223 FileWriter FW(OutStrm, ByteOrder); in TEST()
1226 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
1341 raw_svector_ostream OutStrm(Str); in TEST() local
1343 FileWriter FW(OutStrm, ByteOrder); in TEST()
1345 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
1418 raw_svector_ostream OutStrm(Str); in TEST() local
1420 FileWriter FW(OutStrm, ByteOrder); in TEST()
1422 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
1525 raw_svector_ostream OutStrm(Str); in TEST() local
1527 FileWriter FW(OutStrm, ByteOrder); in TEST()
1529 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
1630 raw_svector_ostream OutStrm(Str); in TEST() local
1632 FileWriter FW(OutStrm, ByteOrder); in TEST()
1634 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
1659 raw_svector_ostream OutStrm(Str); in TEST() local
1661 FileWriter FW(OutStrm, ByteOrder); in TEST()
1663 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
1828 raw_svector_ostream OutStrm(Str); in TEST() local
1830 FileWriter FW(OutStrm, ByteOrder); in TEST()
1832 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
2088 raw_svector_ostream OutStrm(Str); in TEST() local
2090 FileWriter FW(OutStrm, ByteOrder); in TEST()
2092 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
2267 raw_svector_ostream OutStrm(Str); in TEST() local
2269 FileWriter FW(OutStrm, ByteOrder); in TEST()
2271 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
2407 raw_svector_ostream OutStrm(Str); in TEST() local
2409 FileWriter FW(OutStrm, ByteOrder); in TEST()
2411 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()