Home
last modified time | relevance | path

Searched refs:starts_with (Results 1 – 11 of 11) sorted by relevance

/external/chromium/net/tools/flip_server/
Dstring_piece_utils.h64 const base::StringPiece& starts_with) { in StartsWithIgnoreCase()
65 if (text.size() < starts_with.size()) in StartsWithIgnoreCase()
67 return EqualIgnoreCase(text.substr(0, starts_with.size()), starts_with); in StartsWithIgnoreCase()
/external/chromium/base/
Dstring_piece_unittest.cc431 ASSERT_TRUE(a.starts_with(a)); in TEST()
432 ASSERT_TRUE(a.starts_with("foo")); in TEST()
433 ASSERT_TRUE(a.starts_with(e)); in TEST()
434 ASSERT_TRUE(b.starts_with(s1)); in TEST()
435 ASSERT_TRUE(b.starts_with(b)); in TEST()
436 ASSERT_TRUE(b.starts_with(e)); in TEST()
437 ASSERT_TRUE(e.starts_with("")); in TEST()
438 ASSERT_TRUE(!a.starts_with(b)); in TEST()
439 ASSERT_TRUE(!b.starts_with(a)); in TEST()
440 ASSERT_TRUE(!e.starts_with(a)); in TEST()
[all …]
Dstring_piece.h113 bool starts_with(const StringPiece& x) const { in starts_with() function
Dprocess_util_linux.cc376 if (last_key_name.starts_with(private_prefix)) { in GetWorkingSetKBytes()
380 } else if (last_key_name.starts_with(pss_prefix)) { in GetWorkingSetKBytes()
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dhttp_server_base.py78 def remove_log_files(self, folder, starts_with): argument
81 if file.startswith(starts_with):
/external/chromium/net/base/
Dpem_tokenizer.cc48 if (!str_.substr(pos_).starts_with(it->header)) in GetNext()
Dx509_certificate.cc476 DCHECK(wildcard_domain.starts_with(".")); in VerifyHostname()
506 if (wildcard_domain.empty() || !cert_match.starts_with("*")) in VerifyHostname()
/external/chromium/third_party/libjingle/source/talk/base/
Dstringutils.cc121 bool starts_with(const char *s1, const char *s2) { in starts_with() function
Dstringutils.h333 bool starts_with(const char *s1, const char *s2);
/external/chromium/chrome/browser/extensions/
Duser_script_master.cc82 if (line.starts_with(kUserScriptBegin)) in ParseMetadataHeader()
85 if (line.starts_with(kUserScriptEng)) in ParseMetadataHeader()
/external/regex-re2/re2/
Dstringpiece.h104 bool starts_with(const StringPiece& x) const { in starts_with() function