Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/media/
Ddesktop_media_list_ash.cc76 return sources_.size(); in GetSourceCount()
81 return sources_[index]; in GetSource()
94 for (size_t i = 0; i < sources_.size(); ++i) { in Refresh()
95 if (new_source_set.find(sources_[i].id) == new_source_set.end()) { in Refresh()
96 sources_.erase(sources_.begin() + i); in Refresh()
102 if (new_sources.size() > sources_.size()) { in Refresh()
104 for (size_t i = 0; i < sources_.size(); ++i) { in Refresh()
105 old_source_set.insert(sources_[i].id); in Refresh()
110 sources_.insert(sources_.begin() + i, Source()); in Refresh()
111 sources_[i].id = new_sources[i].id; in Refresh()
[all …]
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()
28 Source source = sources_[old_index]; in MoveSource()
29 sources_.erase(sources_.begin() + old_index); in MoveSource()
30 sources_.insert(sources_.begin() + new_index, source); in MoveSource()
35 sources_[index].thumbnail = thumbnail_; in SetSourceThumbnail()
40 sources_[index].name = name; in SetSourceName()
60 int FakeDesktopMediaList::GetSourceCount() const { return sources_.size(); } in GetSourceCount()
64 return sources_[index]; in GetSource()
Dnative_desktop_media_list.cc280 return sources_.size(); in GetSourceCount()
285 return sources_[index]; in GetSource()
302 for (size_t i = 0; i < sources_.size(); ++i) { in OnSourcesList()
303 if (new_source_set.find(sources_[i].id) == new_source_set.end()) { in OnSourcesList()
304 sources_.erase(sources_.begin() + i); in OnSourcesList()
310 if (new_sources.size() > sources_.size()) { in OnSourcesList()
312 for (size_t i = 0; i < sources_.size(); ++i) { in OnSourcesList()
313 old_source_set.insert(sources_[i].id); in OnSourcesList()
318 sources_.insert(sources_.begin() + i, Source()); in OnSourcesList()
319 sources_[i].id = new_sources[i].id; in OnSourcesList()
[all …]
Dfake_desktop_media_list.h33 std::vector<Source> sources_;
Dnative_desktop_media_list.h94 std::vector<Source> sources_; variable
Ddesktop_media_list_ash.h90 std::vector<Source> sources_; variable
/external/chromium_org/base/
Dscoped_observer.h28 sources_.push_back(source); in Add()
34 auto it = std::find(sources_.begin(), sources_.end(), source); in Remove()
35 DCHECK(it != sources_.end()); in Remove()
36 sources_.erase(it); in Remove()
41 for (size_t i = 0; i < sources_.size(); ++i) in RemoveAll()
42 sources_[i]->RemoveObserver(observer_); in RemoveAll()
43 sources_.clear(); in RemoveAll()
47 return std::find(sources_.begin(), sources_.end(), source) != in IsObserving()
48 sources_.end(); in IsObserving()
54 std::vector<Source*> sources_; variable
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dsuggestions_combiner.cc41 sources_.push_back(source); in AddSource()
46 for (size_t i = 0; i < sources_.size(); ++i) { in EnableDebug()
47 sources_[i]->SetDebug(enable); in EnableDebug()
52 sources_fetching_count_ = sources_.size(); in FetchItems()
53 for (size_t i = 0; i < sources_.size(); ++i) { in FetchItems()
54 sources_[i]->FetchItems(profile); in FetchItems()
77 for (size_t i = 0; i < sources_.size(); ++i) in FillPageValues()
78 total_weight += sources_[i]->GetWeight(); in FillPageValues()
89 next_item_index_for_source.reserve(sources_.size()); in FillPageValues()
90 for (size_t i = 0; i < sources_.size(); ++i) { in FillPageValues()
[all …]
Dsuggestions_combiner.h83 SuggestionsSources sources_; variable
/external/chromium_org/url/
Durl_canon.h645 sources_.scheme = s; in SetScheme()
649 bool IsSchemeOverridden() const { return sources_.scheme != NULL; } in IsSchemeOverridden()
653 sources_.username = s; in SetUsername()
657 sources_.username = Placeholder(); in ClearUsername()
660 bool IsUsernameOverridden() const { return sources_.username != NULL; } in IsUsernameOverridden()
664 sources_.password = s; in SetPassword()
668 sources_.password = Placeholder(); in ClearPassword()
671 bool IsPasswordOverridden() const { return sources_.password != NULL; } in IsPasswordOverridden()
675 sources_.host = s; in SetHost()
679 sources_.host = Placeholder(); in ClearHost()
[all …]
/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/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/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/content/browser/media/capture/
Dweb_contents_audio_input_stream_unittest.cc199 DCHECK(sources_.empty()); in ~WebContentsAudioInputStreamTest()
290 sources_.push_back(source); in AddAnotherInput()
300 ASSERT_TRUE(!sources_.empty()); in RemoveOneInputInFIFOOrder()
301 delete sources_.front(); in RemoveOneInputInFIFOOrder()
302 sources_.pop_front(); in RemoveOneInputInFIFOOrder()
396 std::list<SineWaveAudioSource*> sources_; // 1:1 with elements in streams_. member in content::WebContentsAudioInputStreamTest
/external/chromium_org/tools/gn/
Dtarget.h85 const FileList& sources() const { return sources_; } in sources()
86 FileList& sources() { return sources_; } in sources()
253 FileList sources_; variable
/external/chromium_org/content/renderer/media/
Duser_media_client_impl.cc984 sources_.push_back(track.source()); in StartAudioTrack()
1000 sources_.push_back(source); in CreateAndStartVideoTrack()
1046 sources_.begin(); in IsSourceUsed()
1047 source_it != sources_.end(); ++source_it) { in IsSourceUsed()
1057 sources_.begin(); in RemoveSource()
1058 it != sources_.end(); ++it) { in RemoveSource()
1060 sources_.erase(it); in RemoveSource()
Duser_media_client_impl.h173 std::vector<blink::WebMediaStreamSource> sources_; variable
/external/deqp/modules/gles2/performance/
Des2pShaderOptimizationTests.cpp121 …onst glu::ProgramSources& sources_, const vector<gls::AttribSpec>& attributes_ = vector<gls::Attri… in ProgramData()
122 …ProgramData (const glu::ProgramSources& sources_, const gls::AttribSpec& attribute) : so… in ProgramData()
/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()
/external/deqp/modules/gles3/performance/
Des3pShaderOptimizationTests.cpp121 …onst glu::ProgramSources& sources_, const vector<gls::AttribSpec>& attributes_ = vector<gls::Attri… in ProgramData()
122 …ProgramData (const glu::ProgramSources& sources_, const gls::AttribSpec& attribute) : so… in ProgramData()