/external/chromium/chrome/browser/content_settings/ |
D | content_settings_pattern.cc | 53 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 …]
|
D | content_settings_pattern.h | 29 : 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
|
D | content_settings_details.h | 26 : 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/ |
D | string-search.h | 81 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 …]
|
D | ast.h | 1001 pattern_(pattern), in RegExpLiteral() 1006 Handle<String> pattern() const { return pattern_; } in DECLARE_NODE_TYPE() 1010 Handle<String> pattern_;
|
D | hydrogen-instructions.h | 3578 pattern_(pattern), in HRegExpLiteral() 3581 Handle<String> pattern() { return pattern_; } in pattern() 3591 Handle<String> pattern_;
|
/external/gtest/src/ |
D | gtest-port.cc | 83 free(const_cast<char*>(pattern_)); in ~RE() 105 pattern_ = strdup(regex); in Init() 334 free(const_cast<char*>(pattern_)); in ~RE() 346 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch() 351 pattern_ = full_pattern_ = NULL; in Init() 354 pattern_ = _strdup(regex); in Init() 356 pattern_ = strdup(regex); in Init()
|
/external/llvm/utils/unittest/googletest/ |
D | gtest-port.cc | 122 free(const_cast<char*>(pattern_)); in ~RE() 144 pattern_ = posix::StrDup(regex); in Init() 374 free(const_cast<char*>(pattern_)); in ~RE() 386 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch() 391 pattern_ = full_pattern_ = NULL; in Init() 393 pattern_ = posix::StrDup(regex); in Init()
|
/external/protobuf/gtest/src/ |
D | gtest-port.cc | 114 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/chromium/testing/gtest/src/ |
D | gtest-port.cc | 124 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/pcre/ |
D | pcrecpp.h | 504 RE(const RE& re) { Init(re.pattern_, &re.options_); } in RE() 513 Init(re.pattern_, &re.options_); 524 const string& pattern() const { return pattern_; } in pattern() 701 string pattern_; variable
|
D | pcrecpp.cc | 83 pattern_ = pat; in Init() 132 re = pcre_compile(pattern_.c_str(), pcre_options, in Compile() 138 wrapped += pattern_; in Compile()
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
D | gtest-port.cc | 54 free(const_cast<char*>(pattern_)); in ~RE() 67 pattern_ = strdup(regex); in Init()
|
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
D | gtest-port.h | 350 const char* pattern() const { return pattern_; } in pattern() 377 const char* pattern_; variable
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
D | Phonemetadata.java | 52 private String pattern_ = ""; field in Phonemetadata.NumberFormat 54 public String getPattern() { return pattern_; } in getPattern() 57 pattern_ = value; in setPattern() 139 objectOutput.writeUTF(pattern_); in writeExternal()
|
/external/gtest/include/gtest/internal/ |
D | gtest-port.h | 543 const char* pattern() const { return pattern_; } in pattern() 580 const char* pattern_; variable
|
/external/chromium/base/ |
D | file_util_posix.cc | 637 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()
|
D | file_util_win.cc | 860 pattern_(pattern), in FileEnumerator() 902 if (pattern_.empty()) in Next() 905 src = src.Append(pattern_); in Next() 925 pattern_ = FilePath::StringType(); in Next()
|
D | file_util.h | 498 FilePath::StringType pattern_; // Empty when we want to find everything. variable
|
/external/protobuf/gtest/include/gtest/internal/ |
D | gtest-port.h | 637 const char* pattern() const { return pattern_; } in pattern() 674 const char* pattern_; variable
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-port.h | 680 const char* pattern() const { return pattern_; } in pattern() 715 const char* pattern_; variable
|
/external/chromium/testing/gtest/include/gtest/internal/ |
D | gtest-port.h | 812 const char* pattern() const { return pattern_; } 849 const char* pattern_;
|