Lines Matching full:expect_false
72 EXPECT_FALSE(Truncated("", 0, &output));
76 EXPECT_FALSE(Truncated("\xe1\x80\xbf", -1, &output));
77 EXPECT_FALSE(Truncated("\xe1\x80\xbf", 4, &output));
86 EXPECT_FALSE(Truncated("\xc2\x81\xc2\x81", 4, &output));
112 EXPECT_FALSE(Truncated("\xe1\x80\xbf", 3, &output));
114 EXPECT_FALSE(Truncated("\xf1\x80\xa0\xbf", 4, &output));
116 EXPECT_FALSE(Truncated("a\xc2\x81\xe1\x80\xbf\xf1\x80\xa0\xbf",
122 EXPECT_FALSE(Truncated("\xef\xbb\xbf" "abc", 6, &output));
174 EXPECT_FALSE(Truncated(array_string, 4, &output));
202 EXPECT_FALSE(Truncated("\xa7\x41\xa6\x6e", 4, &output));
209 EXPECT_FALSE(Truncated(output, 4, &output));
324 EXPECT_FALSE(ContainsOnlyWhitespaceASCII("a"));
325 EXPECT_FALSE(ContainsOnlyWhitespaceASCII("\thello\r \n "));
333 EXPECT_FALSE(ContainsOnlyWhitespace(ASCIIToUTF16("a")));
334 EXPECT_FALSE(ContainsOnlyWhitespace(ASCIIToUTF16("\thello\r \n ")));
346 EXPECT_FALSE(IsStringUTF8("\xed\xa0\x80\xed\xbf\xbf"));
347 EXPECT_FALSE(IsStringUTF8("\xed\xa0\x8f"));
348 EXPECT_FALSE(IsStringUTF8("\xed\xbf\xbf"));
351 EXPECT_FALSE(IsStringUTF8("\xc0\x80")); // U+0000
352 EXPECT_FALSE(IsStringUTF8("\xc1\x80\xc1\x81")); // "AB"
353 EXPECT_FALSE(IsStringUTF8("\xe0\x80\x80")); // U+0000
354 EXPECT_FALSE(IsStringUTF8("\xe0\x82\x80")); // U+0080
355 EXPECT_FALSE(IsStringUTF8("\xe0\x9f\xbf")); // U+07ff
356 EXPECT_FALSE(IsStringUTF8("\xf0\x80\x80\x8D")); // U+000D
357 EXPECT_FALSE(IsStringUTF8("\xf0\x80\x82\x91")); // U+0091
358 EXPECT_FALSE(IsStringUTF8("\xf0\x80\xa0\x80")); // U+0800
359 EXPECT_FALSE(IsStringUTF8("\xf0\x8f\xbb\xbf")); // U+FEFF (BOM)
360 EXPECT_FALSE(IsStringUTF8("\xf8\x80\x80\x80\xbf")); // U+003F
361 EXPECT_FALSE(IsStringUTF8("\xfc\x80\x80\x80\xa0\xa5")); // U+00A5
364 EXPECT_FALSE(IsStringUTF8("\xf4\x90\x80\x80")); // U+110000
365 EXPECT_FALSE(IsStringUTF8("\xf8\xa0\xbf\x80\xbf")); // 5 bytes
366 EXPECT_FALSE(IsStringUTF8("\xfc\x9c\xbf\x80\xbf\x80")); // 6 bytes
369 EXPECT_FALSE(IsStringUTF8("\xfe\xff"));
370 EXPECT_FALSE(IsStringUTF8("\xff\xfe"));
371 EXPECT_FALSE(IsStringUTF8(std::string("\x00\x00\xfe\xff", 4)));
372 EXPECT_FALSE(IsStringUTF8("\xff\xfe\x00\x00"));
375 EXPECT_FALSE(IsStringUTF8("\xef\xbf\xbe")); // U+FFFE)
376 EXPECT_FALSE(IsStringUTF8("\xf0\x8f\xbf\xbe")); // U+1FFFE
377 EXPECT_FALSE(IsStringUTF8("\xf3\xbf\xbf\xbf")); // U+10FFFF
378 EXPECT_FALSE(IsStringUTF8("\xef\xb7\x90")); // U+FDD0
379 EXPECT_FALSE(IsStringUTF8("\xef\xb7\xaf")); // U+FDEF
383 EXPECT_FALSE(IsStringUTF8("caf\xe9")); // cafe with U+00E9 in ISO-8859-1
384 EXPECT_FALSE(IsStringUTF8("\xb0\xa1\xb0\xa2")); // U+AC00, U+AC001 in EUC-KR
385 EXPECT_FALSE(IsStringUTF8("\xa7\x41\xa6\x6e")); // U+4F60 U+597D in Big5
387 EXPECT_FALSE(IsStringUTF8("\x93" "abc\x94"));
389 EXPECT_FALSE(IsStringUTF8("\xd9\xee\xe4\xee"));
391 EXPECT_FALSE(IsStringUTF8("\xe3\xe5\xe9\xdC"));
400 EXPECT_FALSE(IsStringUTF8("embedded\xc0\x80U+0000"));
426 EXPECT_FALSE(IsStringASCII("Google \x80Video"));
427 EXPECT_FALSE(IsStringASCII(L"Google \x80Video"));
802 EXPECT_FALSE(StartsWithASCII("JavaScript:url", "javascript", true));
805 EXPECT_FALSE(StartsWithASCII("java", "javascript", true));
806 EXPECT_FALSE(StartsWithASCII("java", "javascript", false));
807 EXPECT_FALSE(StartsWithASCII("", "javascript", false));
808 EXPECT_FALSE(StartsWithASCII("", "javascript", true));
813 EXPECT_FALSE(StartsWith(L"JavaScript:url", L"javascript", true));
816 EXPECT_FALSE(StartsWith(L"java", L"javascript", true));
817 EXPECT_FALSE(StartsWith(L"java", L"javascript", false));
818 EXPECT_FALSE(StartsWith(L"", L"javascript", false));
819 EXPECT_FALSE(StartsWith(L"", L"javascript", true));
826 EXPECT_FALSE(EndsWith(L"Foo.Plugin", L".plugin", true));
829 EXPECT_FALSE(EndsWith(L".plug", L".plugin", true));
830 EXPECT_FALSE(EndsWith(L".plug", L".plugin", false));
831 EXPECT_FALSE(EndsWith(L"Foo.plugin Bar", L".plugin", true));
832 EXPECT_FALSE(EndsWith(L"Foo.plugin Bar", L".plugin", false));
833 EXPECT_FALSE(EndsWith(L"", L".plugin", false));
834 EXPECT_FALSE(EndsWith(L"", L".plugin", true));
931 EXPECT_FALSE(MatchPattern("www.google.com", "www*.g*.org"));
933 EXPECT_FALSE(MatchPattern("www.google.com", "http://*)"));
934 EXPECT_FALSE(MatchPattern("www.msn.com", "*.COM"));
936 EXPECT_FALSE(MatchPattern("", "*.*"));
940 EXPECT_FALSE(MatchPattern("Hello", ""));
943 EXPECT_FALSE(MatchPattern("123456789012345678", "?????????????????*"));
952 EXPECT_FALSE(MatchPattern("\xf4\x90\x80\x80", "\xf4\x90\x80\x80"));
1066 EXPECT_FALSE(RemoveChars(input, kRemoveChars, &input));
1071 EXPECT_FALSE(RemoveChars(input, kRemoveChars, &input));
1079 EXPECT_FALSE(ContainsOnlyChars("Hello", ""));
1085 EXPECT_FALSE(ContainsOnlyChars("123a", "4321"));