Lines Matching refs:OutStrm
183 raw_svector_ostream OutStrm(Str); in TEST() local
184 FileWriter FW(OutStrm, ByteOrder); in TEST()
186 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
189 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
193 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
197 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
201 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
205 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
213 raw_svector_ostream OutStrm(Str); in TestFunctionInfoEncodeError() local
214 FileWriter FW(OutStrm, ByteOrder); in TestFunctionInfoEncodeError()
248 raw_svector_ostream OutStrm(Str); in TestFunctionInfoEncodeDecode() local
249 FileWriter FW(OutStrm, ByteOrder); in TestFunctionInfoEncodeDecode()
254 std::string Bytes(OutStrm.str()); in TestFunctionInfoEncodeDecode()
325 raw_svector_ostream OutStrm(Str); in TestInlineInfoEncodeDecode() local
326 FileWriter FW(OutStrm, ByteOrder); in TestInlineInfoEncodeDecode()
330 std::string Bytes(OutStrm.str()); in TestInlineInfoEncodeDecode()
356 raw_svector_ostream OutStrm(Str); in TestInlineInfoEncodeError() local
357 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()
689 raw_svector_ostream OutStrm(Str); in TestFileWriterHelper() local
690 FileWriter FW(OutStrm, ByteOrder); in TestFileWriterHelper()
715 std::string Bytes(OutStrm.str()); in TestFileWriterHelper()
743 raw_svector_ostream OutStrm(Str); in TEST() local
745 FileWriter FW(OutStrm, ByteOrder); in TEST()
751 std::string Bytes(OutStrm.str()); in TEST()
766 raw_svector_ostream OutStrm(Str); in TestAddressRangeEncodeDecodeHelper() local
768 FileWriter FW(OutStrm, ByteOrder); in TestAddressRangeEncodeDecodeHelper()
771 std::string Bytes(OutStrm.str()); in TestAddressRangeEncodeDecodeHelper()
805 raw_svector_ostream OutStrm(Str); in TestLineTableHelper() local
806 FileWriter FW(OutStrm, ByteOrder); in TestLineTableHelper()
810 std::string Bytes(OutStrm.str()); in TestLineTableHelper()
895 raw_svector_ostream OutStrm(Str); in TEST() local
896 FileWriter FW(OutStrm, ByteOrder); in TEST()
898 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
901 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
904 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
907 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
911 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
916 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
921 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
931 raw_svector_ostream OutStrm(Str); in TEST() local
932 FileWriter FW(OutStrm, ByteOrder); in TEST()
960 raw_svector_ostream OutStrm(Str); in TestHeaderEncodeError() local
961 FileWriter FW(OutStrm, ByteOrder); in TestHeaderEncodeError()
1015 raw_svector_ostream OutStrm(Str); in TEST() local
1016 FileWriter FW(OutStrm, ByteOrder); in TEST()
1022 TestHeaderDecodeError(OutStrm.str(), "invalid GSYM magic 0x0000000c"); in TEST()
1025 TestHeaderDecodeError(OutStrm.str(), "unsupported GSYM version 12"); in TEST()
1028 TestHeaderDecodeError(OutStrm.str(), "invalid address offset size 12"); in TEST()
1031 TestHeaderDecodeError(OutStrm.str(), "invalid UUID size 128"); in TEST()
1038 raw_svector_ostream OutStrm(Str); in TestHeaderEncodeDecode() local
1039 FileWriter FW(OutStrm, ByteOrder); in TestHeaderEncodeDecode()
1042 std::string Bytes(OutStrm.str()); in TestHeaderEncodeDecode()
1061 raw_svector_ostream OutStrm(Str); in TestGsymCreatorEncodeError() local
1062 FileWriter FW(OutStrm, ByteOrder); in TestGsymCreatorEncodeError()
1135 raw_svector_ostream OutStrm(Str); in TestEncodeDecode() local
1136 FileWriter FW(OutStrm, ByteOrder); in TestEncodeDecode()
1139 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TestEncodeDecode()
1285 raw_svector_ostream OutStrm(Str); in TEST() local
1286 FileWriter FW(OutStrm, ByteOrder); in TEST()
1289 if (auto ExpectedGR = GsymReader::copyBuffer(OutStrm.str())) { in TEST()
1350 raw_svector_ostream OutStrm(Str); in TEST() local
1351 FileWriter FW(OutStrm, ByteOrder); in TEST()
1354 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
1469 raw_svector_ostream OutStrm(Str); in TEST() local
1471 FileWriter FW(OutStrm, ByteOrder); in TEST()
1473 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
1546 raw_svector_ostream OutStrm(Str); in TEST() local
1548 FileWriter FW(OutStrm, ByteOrder); in TEST()
1550 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
1653 raw_svector_ostream OutStrm(Str); in TEST() local
1655 FileWriter FW(OutStrm, ByteOrder); in TEST()
1657 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
1758 raw_svector_ostream OutStrm(Str); in TEST() local
1760 FileWriter FW(OutStrm, ByteOrder); in TEST()
1762 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
1927 raw_svector_ostream OutStrm(Str); in TEST() local
1929 FileWriter FW(OutStrm, ByteOrder); in TEST()
1931 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
2187 raw_svector_ostream OutStrm(Str); in TEST() local
2189 FileWriter FW(OutStrm, ByteOrder); in TEST()
2191 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
2366 raw_svector_ostream OutStrm(Str); in TEST() local
2368 FileWriter FW(OutStrm, ByteOrder); in TEST()
2370 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()
2506 raw_svector_ostream OutStrm(Str); in TEST() local
2508 FileWriter FW(OutStrm, ByteOrder); in TEST()
2510 Expected<GsymReader> GR = GsymReader::copyBuffer(OutStrm.str()); in TEST()