Home
last modified time | relevance | path

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

/external/chromium/net/tools/flip_server/
Dstring_piece_utils.h63 const base::StringPiece& starts_with) { in StartsWithIgnoreCase()
64 if (text.size() < starts_with.size()) in StartsWithIgnoreCase()
66 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.h104 bool starts_with(const StringPiece& x) const { in starts_with() function
/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/port/
Dhttp_server_base.py73 def remove_log_files(self, folder, starts_with): argument
76 if file.startswith(starts_with):