• Home
  • Raw
  • Download

Lines Matching refs:b2

49   ByteVector b2;  in TestFileInputStream()  local
50 is.Read(&b2, 0, length); in TestFileInputStream()
52 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), length), 0); in TestFileInputStream()
53 b2.clear(); in TestFileInputStream()
58 is.Read(&b2, 0, 100); in TestFileInputStream()
59 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 100), 0); in TestFileInputStream()
60 b2.clear(); in TestFileInputStream()
64 is.Read(&b2, 0, 100); in TestFileInputStream()
65 EXPECT_EQ(memcmp(&(b1[100]), &(b2[0]), 100), 0); in TestFileInputStream()
66 b2.clear(); in TestFileInputStream()
68 is.Read(&b2, 0, 100); in TestFileInputStream()
69 EXPECT_EQ(memcmp(&(b1[300]), &(b2[0]), 100), 0); in TestFileInputStream()
71 b2.clear(); in TestFileInputStream()
74 is.Read(&b2, 0, 100); in TestFileInputStream()
75 is.Read(&b2, 100, 100); in TestFileInputStream()
76 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), 200), 0); in TestFileInputStream()
82 EXPECT_EQ(memcmp(&(b3[0]), &(b2[0]), 200), 0); in TestFileInputStream()
111 ByteVector b2; in TestFontInputStreamBasic() local
112 font_is1.Read(&b2, 0, length); in TestFontInputStreamBasic()
114 EXPECT_EQ(memcmp(&(b1[0]), &(b2[0]), length), 0); in TestFontInputStreamBasic()
115 b2.clear(); in TestFontInputStreamBasic()
120 font_is2.Read(&b2, 0, 100); in TestFontInputStreamBasic()
121 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 100), 0); in TestFontInputStreamBasic()
122 font_is2.Read(&b2, 100, 100); in TestFontInputStreamBasic()
123 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 200), 0); in TestFontInputStreamBasic()
124 b2.clear(); in TestFontInputStreamBasic()
126 font_is2.Read(&b2, 0, 100); in TestFontInputStreamBasic()
127 EXPECT_EQ(memcmp(&(b1[89]), &(b2[0]), 100), 0); in TestFontInputStreamBasic()