/external/chromium/chrome/browser/search_engines/ |
template_url.cc | 105 DCHECK(start != std::string::npos && 106 end != std::string::npos && end > start); 163 for (size_t last = 0; last != std::string::npos; ) { 165 if (last != std::string::npos) { 167 if (template_end != std::string::npos) { 171 if (next_template_start == std::string::npos || 250 std::string::npos || 252 std::string::npos) { 300 is_in_query = query_start != string16::npos && 536 if (url().find("rlz=") != std::string::npos) [all...] |
/external/llvm/unittests/ADT/ |
StringRefTest.cpp | 266 EXPECT_EQ(StringRef::npos, Str.find('z')); 267 EXPECT_EQ(StringRef::npos, Str.find("helloworld")); 270 EXPECT_EQ(StringRef::npos, Str.find("zz")); 272 EXPECT_EQ(StringRef::npos, Str.find("ll", 3)); 281 EXPECT_EQ(StringRef::npos, Str.rfind('z')); 282 EXPECT_EQ(StringRef::npos, Str.rfind("helloworld")); 285 EXPECT_EQ(StringRef::npos, Str.rfind("zz")); 289 EXPECT_EQ(StringRef::npos, Str.find_first_of("xyz")); 293 EXPECT_EQ(StringRef::npos, Str.find_first_not_of("hello")); 297 EXPECT_EQ(StringRef::npos, Str.find_last_not_of("helo")) [all...] |
/external/chromium/chrome/browser/ |
about_flags_unittest.cc | 257 EXPECT_EQ(std::wstring::npos, 261 EXPECT_EQ(std::string::npos, 270 EXPECT_NE(std::wstring::npos, 274 EXPECT_NE(std::string::npos, 327 EXPECT_EQ(std::string::npos, name.find(testing::kMultiSeparator)) << i;
|
/external/chromium/chrome/browser/sync/glue/ |
http_bridge_unittest.cc | 219 EXPECT_EQ(std::string::npos, response.find("Cookie:")); 220 EXPECT_NE(std::string::npos, response.find("User-Agent: bob")); 221 EXPECT_NE(std::string::npos, response.find(test_payload.c_str())); 248 EXPECT_NE(std::string::npos, response.find("fnord")); 249 EXPECT_NE(std::string::npos, response.find(test_payload.c_str()));
|
/external/chromium_org/chrome/browser/media/ |
chrome_webrtc_browsertest.cc | 384 ASSERT_NE(std::string::npos, zip_pos); 388 ASSERT_NE(std::string::npos, zip_length); 403 EXPECT_NE(std::string::npos, multipart_lines[3].find("Chrome")); 410 EXPECT_NE(std::string::npos, multipart_lines[7].find('.')); 434 EXPECT_NE(std::string::npos,
|
/external/chromium_org/chrome/installer/util/ |
channel_info.cc | 68 std::wstring::size_type mod_position = std::wstring::npos; 75 if (mod_position == std::wstring::npos) 82 if (pos == std::wstring::npos) 88 DCHECK_NE(mod_position, std::wstring::npos); 167 if (value_.find(*scan) != std::wstring::npos) {
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/ |
httpportallocator.cc | 50 if (first == std::string::npos) { 55 ASSERT(str.find_last_not_of(" \t\r\n") != std::string::npos); 67 if (start_of_line == std::string::npos) 71 if (end_of_line == std::string::npos) { 76 if ((equals >= end_of_line) || (equals == std::string::npos))
|
/external/chromium_org/base/strings/ |
string_piece.h | 59 static const size_type npos; member in class:base::internal::StringPieceDetail 151 StringPieceDetail<STRING_TYPE>::npos = member in class:base::internal::StringPieceDetail 295 size_type rfind(const BasicStringPiece& s, size_type pos = npos) const { 299 size_type rfind(char c, size_type pos = npos) const { 321 size_type pos = npos) const { 325 size_type find_last_of(char c, size_type pos = npos) const { 330 size_type pos = npos) const { 334 size_type find_last_not_of(char c, size_type pos = npos) const { 338 BasicStringPiece substr(size_type pos, size_type n = npos) const {
|
/external/chromium/chrome/browser/ui/webui/options/ |
about_page_handler.cc | 165 DCHECK(link1 != std::string::npos); 167 DCHECK(link1_end != std::string::npos); 169 DCHECK(link2 != std::string::npos); 171 DCHECK(link2_end != std::string::npos); 206 DCHECK(cros_link != std::string::npos); 208 DCHECK(cros_link_end != std::string::npos);
|
/external/chromium_org/gpu/command_buffer/common/ |
gles2_cmd_utils_unittest.cc | 274 CheckParseUniformName("u_name", true, std::string::npos, 0, false); 275 CheckParseUniformName("u_name[]", false, std::string::npos, 0, false); 276 CheckParseUniformName("u_name]", false, std::string::npos, 0, false); 277 CheckParseUniformName("u_name[0a]", false, std::string::npos, 0, false); 278 CheckParseUniformName("u_name[a0]", false, std::string::npos, 0, false); 279 CheckParseUniformName("u_name[0a0]", false, std::string::npos, 0, false);
|
/external/chromium/base/debug/ |
stack_trace_posix.cc | 71 if (mangled_start == std::string::npos) { 78 if (mangled_end == std::string::npos) {
|
/external/chromium/base/memory/ |
scoped_temp_dir_unittest.cc | 55 EXPECT_TRUE(test_path.value().find(tmp_dir.value()) != std::string::npos); 73 EXPECT_TRUE(test_path.value().find(base_path.value()) != std::string::npos);
|
/external/chromium/base/ |
vlog.cc | 35 if (first_slash != std::string::npos) 88 if (last_slash_pos != base::StringPiece::npos)
|
/external/chromium/chrome/browser/chromeos/ |
version_loader.cc | 128 if (found != std::string::npos) 158 if (first_dot != std::string::npos) {
|
/external/chromium/chrome/browser/geolocation/ |
geolocation_exceptions_table_model_unittest.cc | 134 EXPECT_NE(string16::npos, 139 EXPECT_NE(string16::npos,
|
/external/chromium/net/test/ |
test_server_posix.cc | 42 if (it->find(path_string_) != std::string::npos) 44 if (it->find(port_string_) != std::string::npos)
|
/external/chromium/third_party/libjingle/source/talk/base/ |
httpcommon-inl.h | 124 if (std::string::npos == pos) 132 if (std::string::npos == end) {
|
/external/chromium/third_party/libjingle/source/talk/xmllite/ |
qname.cc | 114 if (i == std::string::npos) 122 if (i == std::string::npos)
|
/external/chromium/webkit/glue/ |
resource_fetcher_unittest.cc | 113 EXPECT_TRUE(text.find("What is this page?") != std::string::npos); 126 EXPECT_TRUE(delegate->data().find("Not Found.") != std::string::npos);
|
/external/chromium_org/base/files/ |
scoped_temp_dir_unittest.cc | 59 EXPECT_TRUE(test_path.value().find(tmp_dir.value()) != std::string::npos); 77 EXPECT_TRUE(test_path.value().find(base_path.value()) != std::string::npos);
|
/external/chromium_org/base/ |
vlog.cc | 35 if (first_slash != std::string::npos) 88 if (last_slash_pos != base::StringPiece::npos)
|
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_model_test_utils.cc | 47 while (end_pos != std::string::npos) { 121 DCHECK(end_pos == std::string::npos);
|
/external/chromium_org/chrome/browser/extensions/api/identity/ |
gaia_web_auth_flow.cc | 120 redirect_path_prefix_.length(), std::string::npos); 162 GURL url(title.substr(prefix.length(), std::string::npos));
|
/external/chromium_org/chrome/browser/ui/app_list/ |
app_list_view_delegate.cc | 167 if (profile_index != std::string::npos) 177 if (profile_index != std::string::npos)
|
/external/chromium_org/chrome/browser/ui/autofill/ |
generated_credit_card_bubble_controller_unittest.cc | 160 EXPECT_NE(base::string16::npos, contents_text.find(BackingCard())); 161 EXPECT_NE(base::string16::npos, contents_text.find(FrontingCard()));
|