Home
last modified time | relevance | path

Searched refs:MatchVlogPattern (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/
Dvlog_unittest.cc33 TEST(VlogTest, MatchVlogPattern) { in TEST() argument
35 EXPECT_TRUE(MatchVlogPattern("", "")); in TEST()
36 EXPECT_TRUE(MatchVlogPattern("", "****")); in TEST()
37 EXPECT_FALSE(MatchVlogPattern("", "x")); in TEST()
38 EXPECT_FALSE(MatchVlogPattern("x", "")); in TEST()
41 EXPECT_TRUE(MatchVlogPattern("blah", "blah")); in TEST()
44 EXPECT_TRUE(MatchVlogPattern("blah", "bl?h")); in TEST()
45 EXPECT_FALSE(MatchVlogPattern("blh", "bl?h")); in TEST()
46 EXPECT_FALSE(MatchVlogPattern("blaah", "bl?h")); in TEST()
47 EXPECT_TRUE(MatchVlogPattern("blah", "?lah")); in TEST()
[all …]
Dvlog.cc112 if (MatchVlogPattern(target, it->pattern)) in GetVlogLevel()
128 bool MatchVlogPattern(const base::StringPiece& string, in MatchVlogPattern() function
172 if (MatchVlogPattern(s, p)) in MatchVlogPattern()
Dvlog.h72 BASE_EXPORT bool MatchVlogPattern(const base::StringPiece& string,