Home | History | Annotate | Download | only in base

Lines Matching full:compare

83   EXPECT_EQ(output.compare("\xc2\x81"), 0);
85 EXPECT_EQ(output.compare("\xc2\x81"), 0);
87 EXPECT_EQ(output.compare("\xc2\x81\xc2\x81"), 0);
93 EXPECT_EQ(output.compare(std::string("\x00\x00\xc2\x81", 4)), 0);
100 EXPECT_EQ(output.compare(std::string("\x00\xc2\x81", 3)), 0);
105 EXPECT_EQ(output.compare(""), 0);
107 EXPECT_EQ(output.compare(""), 0);
109 EXPECT_EQ(output.compare(""), 0);
113 EXPECT_EQ(output.compare("\xe1\x80\xbf"), 0);
115 EXPECT_EQ(output.compare("\xf1\x80\xa0\xbf"), 0);
118 EXPECT_EQ(output.compare("a\xc2\x81\xe1\x80\xbf\xf1\x80\xa0\xbf"), 0);
121 EXPECT_EQ(output.compare("a\xc2\x81\xe1\x80\xbf\xf1""a"), 0);
123 EXPECT_EQ(output.compare("\xef\xbb\xbf" "abc"), 0);
127 EXPECT_EQ(output.compare(""), 0);
129 EXPECT_EQ(output.compare(""), 0);
131 EXPECT_EQ(output.compare(""), 0);
133 EXPECT_EQ(output.compare(""), 0);
135 EXPECT_EQ(output.compare(""), 0);
137 EXPECT_EQ(output.compare(""), 0);
139 EXPECT_EQ(output.compare(""), 0);
141 EXPECT_EQ(output.compare(""), 0);
143 EXPECT_EQ(output.compare(""), 0);
145 EXPECT_EQ(output.compare(""), 0);
147 EXPECT_EQ(output.compare(""), 0);
151 EXPECT_EQ(output.compare(""), 0);
153 EXPECT_EQ(output.compare(""), 0);
155 EXPECT_EQ(output.compare(""), 0);
159 EXPECT_EQ(output.compare(""), 0);
161 EXPECT_EQ(output.compare(""), 0);
167 EXPECT_EQ(output.compare(std::string("\x00\x00", 2)), 0);
175 EXPECT_EQ(output.compare(std::string("\xff\xfe\x00\x00", 4)), 0);
181 EXPECT_EQ(output.compare(std::string("\xff\x00\x00", 3)), 0);
186 EXPECT_EQ(output.compare(""), 0);
188 EXPECT_EQ(output.compare(""), 0);
190 EXPECT_EQ(output.compare(""), 0);
192 EXPECT_EQ(output.compare(""), 0);
194 EXPECT_EQ(output.compare(""), 0);
199 EXPECT_EQ(output.compare("caf"), 0);
201 EXPECT_EQ(output.compare(""), 0);
203 EXPECT_EQ(output.compare("\xa7\x41\xa6\x6e"), 0);
206 EXPECT_EQ(output.compare("\xa7\x41\xa6\x6e"), 0);
210 EXPECT_EQ(output.compare("\xa7\x41\xa6\x6e"), 0);
212 EXPECT_EQ(output.compare("\xa7\x41"), 0);
216 EXPECT_EQ(output.compare("\x93" "abc"), 0);
220 EXPECT_EQ(output.compare(""), 0);
224 EXPECT_EQ(output.compare(""), 0);
445 EXPECT_EQ(0, string_with_nul.compare(narrow_with_nul));