Home
last modified time | relevance | path

Searched refs:pattern_ (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium/chrome/browser/content_settings/
Dcontent_settings_pattern.cc53 if (pattern_.empty()) in IsValid()
56 if (IsValidHostlessPattern(pattern_)) in IsValid()
59 const std::string host(pattern_.length() > kDomainWildcardLength && in IsValid()
60 StartsWithASCII(pattern_, kDomainWildcard, false) ? in IsValid()
61 pattern_.substr(kDomainWildcardLength) : in IsValid()
62 pattern_); in IsValid()
73 if (pattern_.length() < kDomainWildcardLength || in Matches()
74 !StartsWithASCII(pattern_, kDomainWildcard, false)) in Matches()
75 return pattern_ == host; in Matches()
78 host.rfind(pattern_.substr(kDomainWildcardLength)); in Matches()
[all …]
Dcontent_settings_pattern.h29 : pattern_(pattern), in ContentSettingsPattern()
44 const std::string& AsString() const { return pattern_; } in AsString()
47 return pattern_ == other.pattern_;
72 : pattern_(host), in ContentSettingsPattern()
75 std::string pattern_; variable
Dcontent_settings_details.h26 : pattern_(pattern), in ContentSettingsDetails()
31 const ContentSettingsPattern& pattern() const { return pattern_; } in pattern()
34 bool update_all() const { return pattern_.AsString().empty(); } in update_all()
51 ContentSettingsPattern pattern_;
/external/v8/src/
Dstring-search.h81 pattern_(pattern), in StringSearch()
84 if (!IsAsciiString(pattern_)) { in StringSearch()
89 int pattern_length = pattern_.length(); in StringSearch()
197 Vector<const PatternChar> pattern_; variable
214 ASSERT_EQ(1, search->pattern_.length()); in SingleCharSearch()
215 PatternChar pattern_first_char = search->pattern_[0]; in SingleCharSearch()
266 Vector<const PatternChar> pattern = search->pattern_; in LinearSearch()
303 Vector<const PatternChar> pattern = search->pattern_; in BoyerMooreSearch()
353 int pattern_length = pattern_.length(); in PopulateBoyerMooreTable()
354 const PatternChar* pattern = pattern_.start(); in PopulateBoyerMooreTable()
[all …]
/external/stressapptest/src/
Dpattern.h63 unsigned int data = pattern_->pat[(offset >> busshift_) & pattern_->mask]; in pattern()
69 unsigned int mask() {return pattern_->mask;} in mask()
75 const struct PatternData *pattern_; variable
Dpattern.cc291 pattern_ = &pattern_init; in Initialize()
297 name_.append(pattern_->name); in Initialize()
Ddisk_blocks.h52 Pattern *pattern_; variable
Ddisk_blocks.cc308 return pattern_; in GetPattern()
312 pattern_ = p; in SetPattern()
/external/regex-re2/re2/
Dre2.cc149 pattern_ = pattern.as_string(); in Init()
163 pattern_, in Init()
170 LOG(ERROR) << "Error parsing '" << trunc(pattern_) << "': " in Init()
192 LOG(ERROR) << "Error compiling '" << trunc(pattern_) << "'"; in Init()
213 LOG(ERROR) << "Error reverse compiling '" << trunc(pattern_) << "'"; in ReverseProg()
596 LOG(INFO) << "Match " << trunc(pattern_) in Match()
602 LOG(INFO) << "Match " << trunc(pattern_) in Match()
608 LOG(INFO) << "Match " << trunc(pattern_) in Match()
625 LOG(INFO) << "Match " << trunc(pattern_) in Match()
631 LOG(INFO) << "Match " << trunc(pattern_) in Match()
[all …]
Dre2.h256 const string& pattern() const { return pattern_; } in pattern()
687 string pattern_; // string regular expression variable
/external/protobuf/gtest/src/
Dgtest-port.cc114 free(const_cast<char*>(pattern_)); in ~RE()
136 pattern_ = posix::StrDup(regex); in Init()
365 free(const_cast<char*>(pattern_)); in ~RE()
377 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
382 pattern_ = full_pattern_ = NULL; in Init()
384 pattern_ = posix::StrDup(regex); in Init()
/external/llvm/utils/unittest/googletest/
Dgtest-port.cc124 free(const_cast<char*>(pattern_)); in ~RE()
146 pattern_ = posix::StrDup(regex); in Init()
376 free(const_cast<char*>(pattern_)); in ~RE()
388 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
393 pattern_ = full_pattern_ = NULL; in Init()
395 pattern_ = posix::StrDup(regex); in Init()
/external/chromium/testing/gtest/src/
Dgtest-port.cc124 free(const_cast<char*>(pattern_)); in ~RE()
146 pattern_ = posix::StrDup(regex); in Init()
376 free(const_cast<char*>(pattern_)); in ~RE()
388 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
393 pattern_ = full_pattern_ = NULL; in Init()
395 pattern_ = posix::StrDup(regex); in Init()
/external/gtest/src/
Dgtest-port.cc124 free(const_cast<char*>(pattern_)); in ~RE()
146 pattern_ = posix::StrDup(regex); in Init()
376 free(const_cast<char*>(pattern_)); in ~RE()
388 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
393 pattern_ = full_pattern_ = NULL; in Init()
395 pattern_ = posix::StrDup(regex); in Init()
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-port.cc54 free(const_cast<char*>(pattern_)); in ~RE()
67 pattern_ = strdup(regex); in Init()
/external/regex-re2/util/
Dpcre.cc53 pattern_ = pattern; in Init()
120 re = pcre_compile(pattern_.c_str(), in Compile()
127 wrapped += pattern_; in Compile()
135 PCREPORT(ERROR) << "Error compiling '" << pattern_ << "': " << error; in Compile()
521 << " when matching '" << pattern_ << "'" in TryMatch()
528 << " when matching '" << pattern_ << "'" in TryMatch()
541 << " when matching '" << pattern_ << "'" in TryMatch()
Dpcre.h235 const string& pattern() const { return pattern_; } in pattern()
504 string pattern_; variable
/external/chromium/sdch/open-vcdiff/src/gtest/internal/
Dgtest-port.h350 const char* pattern() const { return pattern_; } in pattern()
377 const char* pattern_; variable
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
DPhonemetadata.java52 private String pattern_ = ""; field in Phonemetadata.NumberFormat
54 public String getPattern() { return pattern_; } in getPattern()
57 pattern_ = value; in setPattern()
153 objectOutput.writeUTF(pattern_); in writeExternal()
/external/chromium/base/
Dfile_util_posix.cc637 pattern_(root_path.Append(pattern).value()) { in FileEnumerator()
644 pattern_ = FilePath::StringType(); in FileEnumerator()
675 if (pattern_.size() && in Next()
676 fnmatch(pattern_.c_str(), full_path.value().c_str(), FNM_NOESCAPE)) in Next()
Dfile_util_win.cc860 pattern_(pattern), in FileEnumerator()
902 if (pattern_.empty()) in Next()
905 src = src.Append(pattern_); in Next()
925 pattern_ = FilePath::StringType(); in Next()
/external/protobuf/gtest/include/gtest/internal/
Dgtest-port.h637 const char* pattern() const { return pattern_; } in pattern()
674 const char* pattern_; variable
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h833 const char* pattern() const { return pattern_; }
870 const char* pattern_;
/external/gtest/include/gtest/internal/
Dgtest-port.h846 const char* pattern() const { return pattern_; }
883 const char* pattern_;
/external/chromium/testing/gtest/include/gtest/internal/
Dgtest-port.h812 const char* pattern() const { return pattern_; }
849 const char* pattern_;

12