• Home
  • Raw
  • Download

Lines Matching refs:OStream

18   llvm::raw_string_ostream OStream;  member
21 MsgPackWriter() : OStream(Buffer), MPWriter(OStream) {} in MsgPackWriter()
26 EXPECT_EQ(OStream.str(), "\xc0"); in TEST_F()
32 EXPECT_EQ(OStream.str(), "\xc3\xc2"); in TEST_F()
41 std::string Output = OStream.str(); in TEST_F()
51 EXPECT_EQ(OStream.str(), "\xcc\x80"); in TEST_F()
57 EXPECT_EQ(OStream.str(), "\xcc\xdd"); in TEST_F()
63 EXPECT_EQ(OStream.str(), "\xcc\xff"); in TEST_F()
69 EXPECT_EQ(OStream.str(), std::string("\xcd\x01\x00", 3)); in TEST_F()
75 EXPECT_EQ(OStream.str(), "\xcd\xab\xcd"); in TEST_F()
81 EXPECT_EQ(OStream.str(), "\xcd\xff\xff"); in TEST_F()
87 EXPECT_EQ(OStream.str(), std::string("\xce\x00\x01\x00\x00", 5)); in TEST_F()
93 EXPECT_EQ(OStream.str(), "\xce\xab\xcd\xef\xba"); in TEST_F()
99 EXPECT_EQ(OStream.str(), "\xce\xff\xff\xff\xff"); in TEST_F()
105 EXPECT_EQ(OStream.str(), in TEST_F()
112 EXPECT_EQ(OStream.str(), "\xcf\x01\x02\x03\x04\x05\x06\x07\x4a"); in TEST_F()
118 EXPECT_EQ(OStream.str(), "\xcf\xff\xff\xff\xff\xff\xff\xff\xff"); in TEST_F()
129 std::string Output = OStream.str(); in TEST_F()
139 EXPECT_EQ(OStream.str(), "\xd0\xdf"); in TEST_F()
145 EXPECT_EQ(OStream.str(), "\xd0\xd8"); in TEST_F()
151 EXPECT_EQ(OStream.str(), "\xd0\x80"); in TEST_F()
157 EXPECT_EQ(OStream.str(), "\xd1\xff\x7f"); in TEST_F()
163 EXPECT_EQ(OStream.str(), "\xd1\xee\xef"); in TEST_F()
169 EXPECT_EQ(OStream.str(), std::string("\xd1\x80\x00", 3)); in TEST_F()
175 EXPECT_EQ(OStream.str(), "\xd2\xff\xff\x7f\xff"); in TEST_F()
181 EXPECT_EQ(OStream.str(), "\xd2\xee\xee\xee\xef"); in TEST_F()
187 EXPECT_EQ(OStream.str(), std::string("\xd2\x80\x00\x00\x00", 5)); in TEST_F()
193 EXPECT_EQ(OStream.str(), "\xd3\xff\xff\xff\xff\x7f\xff\xff\xff"); in TEST_F()
199 EXPECT_EQ(OStream.str(), "\xd3\xee\xee\xee\xee\xee\xee\xee\xef"); in TEST_F()
205 EXPECT_EQ(OStream.str(), in TEST_F()
212 EXPECT_EQ(OStream.str(), "\xca\xee\xee\xee\xef"); in TEST_F()
218 EXPECT_EQ(OStream.str(), "\xcb\xee\xee\xee\xee\xee\xee\xee\xef"); in TEST_F()
224 EXPECT_EQ(OStream.str(), "\xa0"); in TEST_F()
230 EXPECT_EQ(OStream.str(), "\xa3" in TEST_F()
238 EXPECT_EQ(OStream.str(), std::string("\xbf") + s); in TEST_F()
245 EXPECT_EQ(OStream.str(), std::string("\xd9\x20") + s); in TEST_F()
251 EXPECT_EQ(OStream.str(), std::string("\xd9\x21") + s); in TEST_F()
257 EXPECT_EQ(OStream.str(), std::string("\xd9\xff") + s); in TEST_F()
263 EXPECT_EQ(OStream.str(), std::string("\xda\x01\x00", 3) + s); in TEST_F()
269 EXPECT_EQ(OStream.str(), std::string("\xda\x01\xff") + s); in TEST_F()
275 EXPECT_EQ(OStream.str(), std::string("\xda\xff\xff") + s); in TEST_F()
281 EXPECT_EQ(OStream.str(), std::string("\xdb\x00\x01\x00\x00", 5) + s); in TEST_F()
287 EXPECT_EQ(OStream.str(), std::string("\xdb\x00\x01\xff\xff", 5) + s); in TEST_F()
293 EXPECT_EQ(OStream.str(), std::string("\xc4\x00", 2) + s); in TEST_F()
299 EXPECT_EQ(OStream.str(), std::string("\xc4\x05") + s); in TEST_F()
305 EXPECT_EQ(OStream.str(), std::string("\xc4\xff") + s); in TEST_F()
311 EXPECT_EQ(OStream.str(), std::string("\xc5\x01\x00", 3) + s); in TEST_F()
317 EXPECT_EQ(OStream.str(), "\xc5\x01\xff" + s); in TEST_F()
323 EXPECT_EQ(OStream.str(), std::string("\xc5\xff\xff") + s); in TEST_F()
329 EXPECT_EQ(OStream.str(), std::string("\xc6\x00\x01\x00\x00", 5) + s); in TEST_F()
335 EXPECT_EQ(OStream.str(), std::string("\xc6\x00\x01\xff\xff", 5) + s); in TEST_F()
340 EXPECT_EQ(OStream.str(), "\x90"); in TEST_F()
345 EXPECT_EQ(OStream.str(), "\x94"); in TEST_F()
351 EXPECT_EQ(OStream.str(), "\x9f"); in TEST_F()
357 EXPECT_EQ(OStream.str(), std::string("\xdc\x00\x10", 3)); in TEST_F()
362 EXPECT_EQ(OStream.str(), "\xdc\x01\x11"); in TEST_F()
367 EXPECT_EQ(OStream.str(), "\xdc\xff\xff"); in TEST_F()
372 EXPECT_EQ(OStream.str(), std::string("\xdd\x00\x01\x00\x00", 5)); in TEST_F()
377 EXPECT_EQ(OStream.str(), std::string("\xdd\x00\x01\xff\xff", 5)); in TEST_F()
382 EXPECT_EQ(OStream.str(), "\xdd\xff\xff\xff\xff"); in TEST_F()
387 EXPECT_EQ(OStream.str(), "\x80"); in TEST_F()
392 EXPECT_EQ(OStream.str(), "\x84"); in TEST_F()
398 EXPECT_EQ(OStream.str(), "\x8f"); in TEST_F()
404 EXPECT_EQ(OStream.str(), std::string("\xde\x00\x10", 3)); in TEST_F()
409 EXPECT_EQ(OStream.str(), "\xde\x01\x11"); in TEST_F()
414 EXPECT_EQ(OStream.str(), "\xde\xff\xff"); in TEST_F()
419 EXPECT_EQ(OStream.str(), std::string("\xdf\x00\x01\x00\x00", 5)); in TEST_F()
424 EXPECT_EQ(OStream.str(), std::string("\xdf\x00\x01\xff\xff", 5)); in TEST_F()
429 EXPECT_EQ(OStream.str(), std::string("\xdf\xff\xff\xff\xff", 5)); in TEST_F()
437 EXPECT_EQ(OStream.str(), std::string("\xd4\x01") + s); in TEST_F()
443 EXPECT_EQ(OStream.str(), std::string("\xd5\x01") + s); in TEST_F()
449 EXPECT_EQ(OStream.str(), std::string("\xd6\x01") + s); in TEST_F()
455 EXPECT_EQ(OStream.str(), std::string("\xd7\x01") + s); in TEST_F()
461 EXPECT_EQ(OStream.str(), std::string("\xd8\x01") + s); in TEST_F()
467 EXPECT_EQ(OStream.str(), std::string("\xc7\x00\x01", 3) + s); in TEST_F()
473 EXPECT_EQ(OStream.str(), std::string("\xc7\x2a\x01") + s); in TEST_F()
479 EXPECT_EQ(OStream.str(), std::string("\xc7\xff\x01") + s); in TEST_F()
485 EXPECT_EQ(OStream.str(), std::string("\xc8\x01\x00\x02", 4) + s); in TEST_F()
491 EXPECT_EQ(OStream.str(), std::string("\xc8\x01\x11\x01") + s); in TEST_F()
497 EXPECT_EQ(OStream.str(), std::string("\xc8\xff\xff\x01") + s); in TEST_F()
503 EXPECT_EQ(OStream.str(), std::string("\xc9\x00\x01\x00\x00\x02", 6) + s); in TEST_F()
507 Writer CompatWriter(OStream, true); in TEST_F()
510 EXPECT_EQ(OStream.str(), std::string("\xda\x00\x20", 3) + s); in TEST_F()
514 Writer CompatWriter(OStream, true); in TEST_F()