Home
last modified time | relevance | path

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

123

/external/chromium_org/extensions/common/permissions/
Dsocket_permission_entry.cc40 : pattern_(SocketPermissionRequest::NONE, std::string(), kInvalidPort), in SocketPermissionEntry()
46 if (pattern_.type < rhs.pattern_.type) in operator <()
48 if (pattern_.type > rhs.pattern_.type) in operator <()
51 if (pattern_.host < rhs.pattern_.host) in operator <()
53 if (pattern_.host > rhs.pattern_.host) in operator <()
61 if (pattern_.port < rhs.pattern_.port) in operator <()
67 return (pattern_.type == rhs.pattern_.type) && in operator ==()
68 (pattern_.host == rhs.pattern_.host) && in operator ==()
70 (pattern_.port == rhs.pattern_.port); in operator ==()
75 if (pattern_.type != request.type) in Check()
[all …]
Dsocket_permission_entry.h66 const content::SocketPermissionRequest& pattern() const { return pattern_; } in pattern()
76 content::SocketPermissionRequest pattern_;
/external/chromium_org/content/browser/service_worker/
Dservice_worker_process_manager_unittest.cc20 pattern_ = GURL("http://www.example.com/"); in SetUp()
29 GURL pattern_; member in content::ServiceWorkerProcessManagerTest
38 process_manager_->AddProcessReferenceToPattern(pattern_, 1); in TEST_F()
39 process_manager_->AddProcessReferenceToPattern(pattern_, 1); in TEST_F()
40 process_manager_->AddProcessReferenceToPattern(pattern_, 2); in TEST_F()
41 process_manager_->AddProcessReferenceToPattern(pattern_, 2); in TEST_F()
42 process_manager_->AddProcessReferenceToPattern(pattern_, 2); in TEST_F()
43 process_manager_->AddProcessReferenceToPattern(pattern_, 3); in TEST_F()
46 EXPECT_THAT(process_manager_->SortProcessesForPattern(pattern_), in TEST_F()
49 process_manager_->RemoveProcessReferenceFromPattern(pattern_, 1); in TEST_F()
[all …]
Dservice_worker_unregister_job.cc23 pattern_(pattern), in ServiceWorkerUnregisterJob()
37 pattern_, in Start()
49 return static_cast<ServiceWorkerUnregisterJob*>(job)->pattern_ == pattern_; in Equals()
82 context_->job_coordinator()->FinishJob(pattern_, this); in Complete()
Dservice_worker_provider_host_unittest.cc30 pattern_ = GURL("http://www.example.com/"); in SetUp()
33 pattern_, 1L, context_->AsWeakPtr()); in SetUp()
57 return context_->process_manager()->PatternHasProcessToRun(pattern_); in HasProcessToRun()
67 GURL pattern_; member in content::ServiceWorkerProviderHostTest
Dservice_worker_register_job.cc35 pattern_(pattern), in ServiceWorkerRegisterJob()
47 pattern_(registration->pattern()), in ServiceWorkerRegisterJob()
68 provider_host->AddScopedProcessReferenceToPattern(pattern_); in AddCallback()
90 context_->storage()->GetUninstallingRegistration(pattern_); in Start()
94 context_->storage()->FindRegistrationForPattern(pattern_, next_step); in Start()
109 return register_job->pattern_ == pattern_ && in Equals()
274 pattern_, context_->storage()->NewRegistrationId(), context_)); in RegisterAndContinue()
443 context_->job_coordinator()->FinishJob(pattern_, this); in Complete()
Dservice_worker_version_unittest.cc122 pattern_ = GURL("http://www.example.com/"); in SetUp()
124 pattern_, in SetUp()
134 helper_->SimulateAddProcessToPattern(pattern_, kRenderProcessId); in SetUp()
136 ->PatternHasProcessToRun(pattern_)); in SetUp()
149 GURL pattern_; member in content::ServiceWorkerVersionTest
Dservice_worker_registration.h51 const GURL& pattern() const { return pattern_; } in NON_EXPORTED_BASE()
140 const GURL pattern_; in NON_EXPORTED_BASE() local
/external/chromium_org/chromeos/network/
Dnetwork_type_pattern.cc108 return pattern_ == other.pattern_; in Equals()
121 return pattern_ & other_pattern.pattern_; in MatchesPattern()
138 if (!(pattern_ & shill_type_to_flag[i].bit_flag)) in ToDebugString()
147 NetworkTypePattern::NetworkTypePattern(int pattern) : pattern_(pattern) {} in NetworkTypePattern()
/external/chromium_org/v8/src/
Dstring-search.h58 pattern_(pattern), in StringSearch()
61 if (!IsOneByteString(pattern_)) { in StringSearch()
66 int pattern_length = pattern_.length(); in StringSearch()
182 Vector<const PatternChar> pattern_; variable
199 DCHECK_EQ(1, search->pattern_.length()); in SingleCharSearch()
200 PatternChar pattern_first_char = search->pattern_[0]; in SingleCharSearch()
251 Vector<const PatternChar> pattern = search->pattern_; in LinearSearch()
288 Vector<const PatternChar> pattern = search->pattern_; in BoyerMooreSearch()
338 int pattern_length = pattern_.length(); in PopulateBoyerMooreTable()
339 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
/external/chromium_org/components/url_matcher/
Dstring_pattern.cc11 : pattern_(pattern), id_(id) {} in StringPattern()
17 return pattern_ < rhs.pattern_; in operator <()
Dstring_pattern.h29 const std::string& pattern() const { return pattern_; } in pattern()
35 std::string pattern_;
/external/chromium_org/base/files/
Dfile_enumerator_win.cc63 pattern_(pattern), in FileEnumerator()
98 if (pattern_.empty()) in Next()
101 src = src.Append(pattern_); in Next()
132 pattern_ = FilePath::StringType(); in Next()
Dfile_enumerator_posix.cc60 pattern_(root_path.Append(pattern).value()) { in FileEnumerator()
67 pattern_ = FilePath::StringType(); in FileEnumerator()
98 if (pattern_.size() && in Next()
99 fnmatch(pattern_.c_str(), full_path.value().c_str(), FNM_NOESCAPE)) in Next()
/external/regex-re2/re2/
Dre2.cc174 pattern_ = pattern.as_string(); in Init()
189 pattern_, in Init()
196 LOG(ERROR) << "Error parsing '" << trunc(pattern_) << "': " in Init()
218 LOG(ERROR) << "Error compiling '" << trunc(pattern_) << "'"; in Init()
239 LOG(ERROR) << "Error reverse compiling '" << trunc(pattern_) << "'"; in ReverseProg()
620 LOG(INFO) << "Match " << trunc(pattern_) in Match()
626 LOG(INFO) << "Match " << trunc(pattern_) in Match()
632 LOG(INFO) << "Match " << trunc(pattern_) in Match()
649 LOG(INFO) << "Match " << trunc(pattern_) in Match()
655 LOG(INFO) << "Match " << trunc(pattern_) in Match()
[all …]
/external/chromium_org/third_party/re2/re2/
Dre2.cc192 pattern_ = pattern.as_string(); in Init()
207 pattern_, in Init()
214 LOG(ERROR) << "Error parsing '" << trunc(pattern_) << "': " in Init()
236 LOG(ERROR) << "Error compiling '" << trunc(pattern_) << "'"; in Init()
257 LOG(ERROR) << "Error reverse compiling '" << trunc(pattern_) << "'"; in ReverseProg()
638 LOG(INFO) << "Match " << trunc(pattern_) in Match()
644 LOG(INFO) << "Match " << trunc(pattern_) in Match()
650 LOG(INFO) << "Match " << trunc(pattern_) in Match()
667 LOG(INFO) << "Match " << trunc(pattern_) in Match()
673 LOG(INFO) << "Match " << trunc(pattern_) in Match()
[all …]
/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/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/mesa3d/src/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_org/third_party/mesa/src/src/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/ceres-solver/internal/ceres/
Dsparse_normal_cholesky_solver.cc162 *A, &pattern_)); in SolveImplUsingEigen()
166 *A, pattern_, outer_product_.get()); in SolveImplUsingEigen()
260 *A, &pattern_)); in SolveImplUsingCXSparse()
264 *A, pattern_, outer_product_.get()); in SolveImplUsingCXSparse()
/external/pcre/dist/
Dpcrecpp.h504 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
/external/gtest/src/
Dgtest-port.cc150 free(const_cast<char*>(pattern_)); in ~RE()
172 pattern_ = posix::StrDup(regex); in Init()
402 free(const_cast<char*>(pattern_)); in ~RE()
414 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
419 pattern_ = full_pattern_ = NULL; in Init()
421 pattern_ = posix::StrDup(regex); in Init()
/external/chromium_org/testing/gtest/src/
Dgtest-port.cc533 free(const_cast<char*>(pattern_)); in ~RE()
555 pattern_ = posix::StrDup(regex); in Init()
785 free(const_cast<char*>(pattern_)); in ~RE()
797 return re.is_valid_ && MatchRegexAnywhere(re.pattern_, str); in PartialMatch()
802 pattern_ = full_pattern_ = NULL; in Init()
804 pattern_ = posix::StrDup(regex); in Init()

123