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

12

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

Completed in 499 milliseconds

12