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