Home
last modified time | relevance | path

Searched refs:sources_ (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/base/
Dscoped_observer.h22 for (size_t i = 0; i < sources_.size(); ++i) in ~ScopedObserver()
23 sources_[i]->RemoveObserver(observer_); in ~ScopedObserver()
28 sources_.push_back(source); in Add()
34 sources_.erase(std::find(sources_.begin(), sources_.end(), source)); in Remove()
39 for (size_t i = 0; i < sources_.size(); ++i) { in IsObserving()
40 if (sources_[i] == source) in IsObserving()
49 std::vector<Source*> sources_; variable
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dsuggestions_combiner.cc44 sources_.push_back(source); in AddSource()
49 for (size_t i = 0; i < sources_.size(); ++i) { in EnableDebug()
50 sources_[i]->SetDebug(enable); in EnableDebug()
55 sources_fetching_count_ = sources_.size(); in FetchItems()
56 for (size_t i = 0; i < sources_.size(); ++i) { in FetchItems()
57 sources_[i]->FetchItems(profile); in FetchItems()
95 for (size_t i = 0; i < sources_.size(); ++i) in FillPageValues()
96 total_weight += sources_[i]->GetWeight(); in FillPageValues()
107 next_item_index_for_source.reserve(sources_.size()); in FillPageValues()
108 for (size_t i = 0; i < sources_.size(); ++i) { in FillPageValues()
[all …]
Dsuggestions_combiner.h88 SuggestionsSources sources_; variable
/external/chromium_org/chrome/browser/media/
Dfake_desktop_media_list.cc18 sources_.push_back(source); in AddSource()
19 observer_->OnSourceAdded(sources_.size() - 1); in AddSource()
23 sources_.erase(sources_.begin() + index); in RemoveSource()
24 observer_->OnSourceRemoved(sources_.size() - 1); in RemoveSource()
28 sources_[index].thumbnail = thumbnail_; in SetSourceThumbnail()
33 sources_[index].name = name; in SetSourceName()
54 int FakeDesktopMediaList::GetSourceCount() const { return sources_.size(); } in GetSourceCount()
58 return sources_[index]; in GetSource()
Dnative_desktop_media_list.cc271 return sources_.size(); in GetSourceCount()
276 return sources_[index]; in GetSource()
297 while (pos < sources_.size() || pos < new_sources.size()) { in OnSourcesList()
299 if (pos < sources_.size() && in OnSourcesList()
300 (pos == new_sources.size() || sources_[pos].id < new_sources[pos].id)) { in OnSourcesList()
301 sources_.erase(sources_.begin() + pos); in OnSourcesList()
306 if (pos == sources_.size() || !(sources_[pos].id == new_sources[pos].id)) { in OnSourcesList()
307 sources_.insert(sources_.begin() + pos, Source()); in OnSourcesList()
308 sources_[pos].id = new_sources[pos].id; in OnSourcesList()
309 sources_[pos].name = new_sources[pos].name; in OnSourcesList()
[all …]
Dfake_desktop_media_list.h32 std::vector<Source> sources_;
Dnative_desktop_media_list.h94 std::vector<Source> sources_; variable
/external/chromium/googleurl/src/
Durl_canon.h642 sources_.scheme = s; in SetScheme()
646 bool IsSchemeOverridden() const { return sources_.scheme != NULL; } in IsSchemeOverridden()
650 sources_.username = s; in SetUsername()
654 sources_.username = Placeholder(); in ClearUsername()
657 bool IsUsernameOverridden() const { return sources_.username != NULL; } in IsUsernameOverridden()
661 sources_.password = s; in SetPassword()
665 sources_.password = Placeholder(); in ClearPassword()
668 bool IsPasswordOverridden() const { return sources_.password != NULL; } in IsPasswordOverridden()
672 sources_.host = s; in SetHost()
676 sources_.host = Placeholder(); in ClearHost()
[all …]
/external/chromium_org/url/
Durl_canon.h647 sources_.scheme = s; in SetScheme()
651 bool IsSchemeOverridden() const { return sources_.scheme != NULL; } in IsSchemeOverridden()
655 sources_.username = s; in SetUsername()
659 sources_.username = Placeholder(); in ClearUsername()
662 bool IsUsernameOverridden() const { return sources_.username != NULL; } in IsUsernameOverridden()
666 sources_.password = s; in SetPassword()
670 sources_.password = Placeholder(); in ClearPassword()
673 bool IsPasswordOverridden() const { return sources_.password != NULL; } in IsPasswordOverridden()
677 sources_.host = s; in SetHost()
681 sources_.host = Placeholder(); in ClearHost()
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor_database.cc453 sources_.push_back(source1); in MergedDescriptorDatabase()
454 sources_.push_back(source2); in MergedDescriptorDatabase()
458 : sources_(sources) {} in MergedDescriptorDatabase()
464 for (int i = 0; i < sources_.size(); i++) { in FindFileByName()
465 if (sources_[i]->FindFileByName(filename, output)) { in FindFileByName()
475 for (int i = 0; i < sources_.size(); i++) { in FindFileContainingSymbol()
476 if (sources_[i]->FindFileContainingSymbol(symbol_name, output)) { in FindFileContainingSymbol()
483 if (sources_[j]->FindFileByName(output->name(), &temp)) { in FindFileContainingSymbol()
498 for (int i = 0; i < sources_.size(); i++) { in FindFileContainingExtension()
499 if (sources_[i]->FindFileContainingExtension( in FindFileContainingExtension()
[all …]
Ddescriptor_database.h359 vector<DescriptorDatabase*> sources_;
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Ddescriptor_database.cc453 sources_.push_back(source1); in MergedDescriptorDatabase()
454 sources_.push_back(source2); in MergedDescriptorDatabase()
458 : sources_(sources) {} in MergedDescriptorDatabase()
464 for (int i = 0; i < sources_.size(); i++) { in FindFileByName()
465 if (sources_[i]->FindFileByName(filename, output)) { in FindFileByName()
475 for (int i = 0; i < sources_.size(); i++) { in FindFileContainingSymbol()
476 if (sources_[i]->FindFileContainingSymbol(symbol_name, output)) { in FindFileContainingSymbol()
483 if (sources_[j]->FindFileByName(output->name(), &temp)) { in FindFileContainingSymbol()
498 for (int i = 0; i < sources_.size(); i++) { in FindFileContainingExtension()
499 if (sources_[i]->FindFileContainingExtension( in FindFileContainingExtension()
[all …]
Ddescriptor_database.h360 vector<DescriptorDatabase*> sources_;
/external/chromium/chrome/browser/net/
Dpassive_log_collector.cc191 SourceIDToInfoMap::iterator it = sources_.find(entry.source.id); in OnAddEntry()
192 if (it == sources_.end()) { in OnAddEntry()
193 if (sources_.size() >= max_num_sources_) { in OnAddEntry()
198 it = sources_.insert( in OnAddEntry()
229 SourceIDToInfoMap::iterator it = sources_.find(source_id); in DeleteSourceInfo()
230 if (it == sources_.end()) { in DeleteSourceInfo()
240 sources_.erase(it); in DeleteSourceInfo()
247 for (SourceIDToInfoMap::iterator it = sources_.begin(); in Clear()
248 it != sources_.end(); in Clear()
252 sources_.clear(); in Clear()
[all …]
Dpassive_log_collector.h131 for (SourceIDToInfoMap::const_iterator it = sources_.begin(); in GetAllDeadOrAliveSources()
132 it != sources_.end(); ++it) { in GetAllDeadOrAliveSources()
180 SourceIDToInfoMap sources_; variable
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dshortest-distance.h87 vector<StateId> sources_; // Source state for ith state in 'distance_', variable
120 while ((StateId)sources_.size() <= source) in ShortestDistance()
121 sources_.push_back(kNoStateId); in ShortestDistance()
122 sources_[source] = source; in ShortestDistance()
153 while ((StateId)sources_.size() <= arc.nextstate) in ShortestDistance()
154 sources_.push_back(kNoStateId); in ShortestDistance()
155 if (sources_[arc.nextstate] != source) { in ShortestDistance()
159 sources_[arc.nextstate] = source; in ShortestDistance()
/external/openfst/src/include/fst/extensions/far/
Dstlist.h125 : sources_(filenames), entry_(0), error_(false) { in STListReader()
132 sources_[i] = "stdin"; in STListReader()
164 FSTERROR() << "STListReader: error reading file: " << sources_[i]; in STListReader()
174 << heap_.top().first << ", file: " << sources_[current]; in STListReader()
223 << sources_[current]; in Next()
237 << heap_.top().first << ", file: " << sources_[current]; in Next()
256 vector<string> sources_; // and corresponding file names variable
Dsttable.h122 : sources_(filenames), entry_(0), error_(false) { in STTableReader()
210 << sources_[current_]; in Next()
283 FSTERROR() << "STTableReader: error reading file: " << sources_[i]; in MakeHeap()
306 << keys_[current_] << ", file: " << sources_[current_]; in PopHeap()
314 vector<string> sources_; // and corresponding file names variable
/external/openfst/src/include/fst/
Dshortest-distance.h106 vector<StateId> sources_; // Source ID for ith state in 'distance_', variable
155 while (sources_.size() <= source) in ShortestDistance()
156 sources_.push_back(kNoStateId); in ShortestDistance()
157 sources_[source] = source_id_; in ShortestDistance()
190 while (sources_.size() <= arc.nextstate) in ShortestDistance()
191 sources_.push_back(kNoStateId); in ShortestDistance()
192 if (sources_[arc.nextstate] != source_id_) { in ShortestDistance()
196 sources_[arc.nextstate] = source_id_; in ShortestDistance()
/external/chromium_org/tools/gn/
Dtarget.h63 const FileList& sources() const { return sources_; } in sources()
64 FileList& sources() { return sources_; } in sources()
146 FileList sources_; variable
/external/chromium_org/content/browser/renderer_host/media/
Dweb_contents_audio_input_stream_unittest.cc201 DCHECK(sources_.empty()); in ~WebContentsAudioInputStreamTest()
292 sources_.push_back(source); in AddAnotherInput()
302 ASSERT_TRUE(!sources_.empty()); in RemoveOneInputInFIFOOrder()
303 delete sources_.front(); in RemoveOneInputInFIFOOrder()
304 sources_.pop_front(); in RemoveOneInputInFIFOOrder()
401 std::list<SineWaveAudioSource*> sources_; // 1:1 with elements in streams_. member in content::WebContentsAudioInputStreamTest
/external/chromium_org/content/renderer/media/
Dmedia_stream_dependency_factory.cc191 sources_.push_back(source); in AddSource()
218 ObservedSources::iterator it = sources_.begin(); in CheckIfSourcesAreLive()
219 while (it != sources_.end()) { in CheckIfSourcesAreLive()
223 it = sources_.erase(it); in CheckIfSourcesAreLive()
228 if (sources_.empty()) { in CheckIfSourcesAreLive()
239 ObservedSources sources_; member in content::SourceStateObserver
/external/openfst/src/include/fst/extensions/pdt/
Dexpand.h475 vector<StateId> sources_; // PDT source state for each expanded state variable
600 return s < sources_.size() ? sources_[s] : kNoStateId; in SourceState()
606 while (sources_.size() <= s) sources_.push_back(kNoStateId); in SetSourceState()
607 sources_[s] = p; in SetSourceState()