Home
last modified time | relevance | path

Searched refs:filters_ (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/mojo/public/cpp/bindings/lib/
Dfilter_chain.cc19 filters_.swap(other.object->filters_); in FilterChain()
24 filters_.swap(other.object->filters_); in operator =()
29 for (std::vector<MessageFilter*>::iterator iter = filters_.begin(); in ~FilterChain()
30 iter != filters_.end(); in ~FilterChain()
39 if (!filters_.empty()) in SetSink()
40 filters_.back()->set_sink(sink); in SetSink()
45 return filters_.empty() ? sink_ : filters_.front(); in GetHead()
Dfilter_chain.h46 std::vector<MessageFilter*> filters_;
54 if (!filters_.empty()) in Append()
55 filters_.back()->set_sink(filter); in Append()
56 filters_.push_back(filter); in Append()
Drouter.cc58 filters_(filters.Pass()), in Router()
64 filters_.SetSink(&thunk_); in Router()
65 connector_.set_incoming_receiver(filters_.GetHead()); in Router()
Drouter.h85 FilterChain filters_; variable
/external/chromium_org/ui/base/win/
Dhwnd_subclass.cc111 if (std::find(filters_.begin(), filters_.end(), filter) == filters_.end()) in AddFilter()
112 filters_.push_back(filter); in AddFilter()
117 std::find(filters_.begin(), filters_.end(), filter); in RemoveFilter()
118 if (it != filters_.end()) in RemoveFilter()
119 filters_.erase(it); in RemoveFilter()
154 for (std::vector<HWNDMessageFilter*>::iterator it = filters_.begin(); in OnWndProc()
155 it != filters_.end(); ++it) { in OnWndProc()
Dhwnd_subclass.h74 std::vector<HWNDMessageFilter*> filters_; variable
/external/chromium_org/content/common/
Dchild_process_host_impl.cc146 for (size_t i = 0; i < filters_.size(); ++i) { in ~ChildProcessHostImpl()
147 filters_[i]->OnChannelClosing(); in ~ChildProcessHostImpl()
148 filters_[i]->OnFilterRemoved(); in ~ChildProcessHostImpl()
155 filters_.push_back(filter); in AddFilter()
171 for (size_t i = 0; i < filters_.size(); ++i) in CreateChannel()
172 filters_[i]->OnFilterAdded(channel_.get()); in CreateChannel()
242 for (size_t i = 0; i < filters_.size(); ++i) { in OnMessageReceived()
243 if (filters_[i]->OnMessageReceived(msg)) { in OnMessageReceived()
280 for (size_t i = 0; i < filters_.size(); ++i) in OnChannelConnected()
281 filters_[i]->OnChannelConnected(peer_pid); in OnChannelConnected()
[all …]
Dchild_process_host_impl.h100 std::vector<scoped_refptr<IPC::MessageFilter> > filters_; variable
/external/chromium_org/content/browser/shared_worker/
Dshared_worker_host.cc133 for (FilterList::const_iterator i = filters_.begin(); i != filters_.end(); in Start()
208 for (FilterList::const_iterator i = filters_.begin(); i != filters_.end(); in WorkerScriptLoadFailed()
217 for (FilterList::const_iterator i = filters_.begin(); i != filters_.end(); in WorkerConnected()
335 filters_.push_back(info); in AddFilter()
340 for (FilterList::iterator i = filters_.begin(); i != filters_.end();) { in RemoveFilters()
342 i = filters_.erase(i); in RemoveFilters()
350 for (FilterList::const_iterator i = filters_.begin(); i != filters_.end(); in HasFilter()
361 for (FilterList::iterator i = filters_.begin(); i != filters_.end(); ++i) { in SetMessagePortID()
/external/chromium_org/ipc/
Dipc_channel_proxy.cc114 for (size_t i = 0; i < filters_.size(); ++i) in OnChannelError()
115 filters_[i]->OnChannelError(); in OnChannelError()
135 for (size_t i = 0; i < filters_.size(); ++i) in OnChannelOpened()
136 filters_[i]->OnFilterAdded(channel_.get()); in OnChannelOpened()
146 for (size_t i = 0; i < filters_.size(); ++i) { in OnChannelClosed()
147 filters_[i]->OnChannelClosing(); in OnChannelClosed()
148 filters_[i]->OnFilterRemoved(); in OnChannelClosed()
153 filters_.clear(); in OnChannelClosed()
196 filters_.push_back(new_filters[i]); in OnAddFilter()
226 for (size_t i = 0; i < filters_.size(); ++i) { in OnRemoveFilter()
[all …]
/external/chromium_org/content/public/test/
Dmock_render_thread.cc30 while (!filters_.empty()) { in ~MockRenderThread()
31 scoped_refptr<IPC::MessageFilter> filter = filters_.back(); in ~MockRenderThread()
32 filters_.pop_back(); in ~MockRenderThread()
101 filters_.push_back(make_scoped_refptr(filter)); in AddFilter()
106 for (size_t i = 0; i < filters_.size(); ++i) { in RemoveFilter()
107 if (filters_[i].get() == filter) { in RemoveFilter()
109 filters_.erase(filters_.begin() + i); in RemoveFilter()
/external/ceres-solver/examples/
Dfields_of_experts.cc116 filters_.resize(num_filters_); in LoadFromFile()
118 filters_[i].resize(num_variables); in LoadFromFile()
120 foe_file >> filters_[i][j]; in LoadFromFile()
143 return new FieldsOfExpertsCost(filters_[alpha_index]); in NewCostFunction()
Dfields_of_experts.h139 std::vector<std::vector<double> > filters_; variable
/external/chromium_org/skia/ext/
Dconvolver.h73 int num_values() const { return static_cast<int>(filters_.size()); } in num_values()
104 const FilterInstance& filter = filters_[value_offset]; in FilterForValue()
155 std::vector<FilterInstance> filters_; variable
/external/chromium_org/content/browser/accessibility/
Daccessibility_tree_formatter.cc140 filters_ = filters; in SetFilters()
145 std::vector<Filter>::const_iterator iter = filters_.begin(); in MatchesFilters()
147 for (iter = filters_.begin(); iter != filters_.end(); ++iter) { in MatchesFilters()
Daccessibility_tree_formatter.h142 std::vector<Filter> filters_; variable
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Ddirectory_contents.js338 this.filters_ = {};
359 this.filters_[name] = callback;
367 delete this.filters_[name];
393 return 'hidden' in this.filters_;
401 for (var name in this.filters_) {
402 if (!this.filters_[name](entry))
/external/chromium_org/extensions/common/features/
Dsimple_feature.cc267 filters_.push_back(make_linked_ptr(filter.release())); in AddFilter()
302 for (FilterList::iterator filter_iter = filters_.begin(); in Parse()
303 filter_iter != filters_.end(); in Parse()
370 for (FilterList::const_iterator filter_iter = filters_.begin(); in IsAvailableToManifest()
371 filter_iter != filters_.end(); in IsAvailableToManifest()
413 for (FilterList::const_iterator filter_iter = filters_.begin(); in IsAvailableToContext()
414 filter_iter != filters_.end(); in IsAvailableToContext()
/external/chromium_org/ppapi/proxy/
Dhost_dispatcher.cc191 for (size_t i = 0; i < filters_.size(); i++) { in OnMessageReceived()
192 if (filters_[i]->OnMessageReceived(msg)) in OnMessageReceived()
256 filters_.push_back(listener); in AddFilter()
Dhost_dispatcher.h147 std::vector<IPC::Listener*> filters_; variable
/external/chromium_org/cc/test/
Danimation_test_common.h87 const FilterOperations& filters() const { return filters_; } in filters()
97 FilterOperations filters_;
/external/chromium_org/components/policy/core/browser/
Durl_blacklist_manager.cc189 filters_[id_] = components; in AddFilters()
209 std::map<int, FilterComponents>::const_iterator it = filters_.find(*id); in IsURLBlocked()
210 DCHECK(it != filters_.end()); in IsURLBlocked()
230 return filters_.size(); in Size()
/external/chromium_org/components/url_matcher/
Durl_matcher.cc667 : filters_(1) { in URLMatcherSchemeFilter()
668 filters_.push_back(filter); in URLMatcherSchemeFilter()
673 : filters_(filters) {} in URLMatcherSchemeFilter()
678 return std::find(filters_.begin(), filters_.end(), url.scheme()) != in IsMatch()
679 filters_.end(); in IsMatch()
/external/chromium_org/chrome/browser/download/
Ddownload_query.h147 FilterCallbackVector filters_; variable
Ddownload_query.cc254 filters_.push_back(value); in AddFilter()
318 for (FilterCallbackVector::const_iterator filter = filters_.begin(); in Matches()
319 filter != filters_.end(); ++filter) { in Matches()

12