Home
last modified time | relevance | path

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

12345

/external/chromium_org/ui/webui/resources/js/cr/ui/
Dtable.js36 return this.list_.dataModel;
39 if (this.list_.dataModel != dataModel) {
40 if (this.list_.dataModel) {
41 this.list_.dataModel.removeEventListener('sorted',
43 this.list_.dataModel.removeEventListener('change',
45 this.list_.dataModel.removeEventListener('splice',
48 this.list_.dataModel = dataModel;
49 if (this.list_.dataModel) {
50 this.list_.dataModel.addEventListener('sorted',
52 this.list_.dataModel.addEventListener('change',
[all …]
/external/webrtc/src/system_wrappers/source/
Dlist_stl.cc44 ListWrapper::ListWrapper() : list_() in ListWrapper()
63 return list_.empty(); in Empty()
68 return list_.size(); in GetSize()
74 list_.push_back(item); in PushBack()
81 list_.push_back(item); in PushBack()
88 list_.push_front(item); in PushFront()
95 list_.push_front(item); in PushFront()
101 if(list_.empty()) in PopFront()
105 list_.pop_front(); in PopFront()
111 if(list_.empty()) in PopBack()
[all …]
/external/chromium_org/third_party/leveldatabase/src/db/
Dsnapshot.h27 SnapshotList* list_; // just for sanity checks variable
33 list_.prev_ = &list_; in SnapshotList()
34 list_.next_ = &list_; in SnapshotList()
37 bool empty() const { return list_.next_ == &list_; } in empty()
38 SnapshotImpl* oldest() const { assert(!empty()); return list_.next_; } in oldest()
39 SnapshotImpl* newest() const { assert(!empty()); return list_.prev_; } in newest()
44 s->list_ = this; in New()
45 s->next_ = &list_; in New()
46 s->prev_ = list_.prev_; in New()
53 assert(s->list_ == this); in Delete()
[all …]
/external/chromium_org/cc/layers/
Dlayer_lists.cc19 return list_.at(i).get(); in at()
23 list_.pop_back(); in pop_back()
27 list_.push_back(layer); in push_back()
31 return list_.back().get(); in back()
35 return list_.size(); in size()
39 return list_[i]; in operator []()
42 return list_[i]; in operator []()
46 return list_.begin(); in begin()
50 return list_.end(); in end()
54 return list_.begin(); in begin()
[all …]
/external/chromium_org/net/base/
Dlinked_hash_map.h45 linked_hash_map() : map_(), list_() { in linked_hash_map()
51 return list_.begin(); in begin()
54 return list_.begin(); in begin()
59 return list_.end(); in end()
62 return list_.end(); in end()
68 return list_.rbegin(); in rbegin()
71 return list_.rbegin(); in rbegin()
76 return list_.rend(); in rend()
79 return list_.rend(); in rend()
86 return list_.front(); in front()
[all …]
/external/chromium_org/components/autofill/core/browser/
Dcredit_card_field_unittest.cc24 ScopedVector<AutofillField> list_; member in autofill::CreditCardFieldTest
31 AutofillScanner scanner(list_.get()); in Parse()
52 list_.push_back(new AutofillField); in TEST_F()
63 list_.push_back(new AutofillField(field, ASCIIToUTF16("month1"))); in TEST_F()
67 list_.push_back(new AutofillField(field, ASCIIToUTF16("year2"))); in TEST_F()
79 list_.push_back(new AutofillField(field, ASCIIToUTF16("number1"))); in TEST_F()
91 list_.push_back(new AutofillField(field, ASCIIToUTF16("number1"))); in TEST_F()
95 list_.push_back(new AutofillField(field, ASCIIToUTF16("month2"))); in TEST_F()
99 list_.push_back(new AutofillField(field, ASCIIToUTF16("year3"))); in TEST_F()
122 list_.push_back(new AutofillField(field, ASCIIToUTF16("type"))); in TEST_F()
[all …]
Daddress_field_unittest.cc24 ScopedVector<AutofillField> list_; member in autofill::AddressFieldTest
38 AutofillScanner scanner(list_.get()); in TEST_F()
44 list_.push_back(new AutofillField); in TEST_F()
45 AutofillScanner scanner(list_.get()); in TEST_F()
56 list_.push_back(new AutofillField(field, ASCIIToUTF16("addr1"))); in TEST_F()
58 AutofillScanner scanner(list_.get()); in TEST_F()
73 list_.push_back(new AutofillField(field, ASCIIToUTF16("addr1"))); in TEST_F()
77 list_.push_back(new AutofillField(field, ASCIIToUTF16("addr2"))); in TEST_F()
79 AutofillScanner scanner(list_.get()); in TEST_F()
97 list_.push_back(new AutofillField(field, ASCIIToUTF16("addr1"))); in TEST_F()
[all …]
Dname_field_unittest.cc23 ScopedVector<AutofillField> list_; member in autofill::NameFieldTest
42 list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); in TEST_F()
46 list_.push_back(new AutofillField(field, ASCIIToUTF16("name2"))); in TEST_F()
50 list_.push_back(new AutofillField(field, ASCIIToUTF16("name3"))); in TEST_F()
52 AutofillScanner scanner(list_.get()); in TEST_F()
73 list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); in TEST_F()
77 list_.push_back(new AutofillField(field, ASCIIToUTF16("name2"))); in TEST_F()
81 list_.push_back(new AutofillField(field, ASCIIToUTF16("name3"))); in TEST_F()
83 AutofillScanner scanner(list_.get()); in TEST_F()
104 list_.push_back(new AutofillField(field, ASCIIToUTF16("name1"))); in TEST_F()
[all …]
Dphone_field_unittest.cc23 ScopedVector<AutofillField> list_; member in autofill::PhoneFieldTest
37 AutofillScanner scanner(list_.get()); in TEST_F()
43 list_.push_back(new AutofillField); in TEST_F()
44 AutofillScanner scanner(list_.get()); in TEST_F()
55 list_.push_back(new AutofillField(field, ASCIIToUTF16("phone1"))); in TEST_F()
57 AutofillScanner scanner(list_.get()); in TEST_F()
72 list_.push_back(new AutofillField(field, ASCIIToUTF16("areacode1"))); in TEST_F()
76 list_.push_back(new AutofillField(field, ASCIIToUTF16("phone2"))); in TEST_F()
78 AutofillScanner scanner(list_.get()); in TEST_F()
102 list_.push_back(new AutofillField(field, ASCIIToUTF16("areacode1"))); in TEST_F()
[all …]
/external/chromium_org/ppapi/proxy/
Dnetwork_list_resource.cc21 list_(list) { in NetworkListResource()
31 return static_cast<uint32_t>(list_.size()); in GetCount()
35 if (index >= list_.size()) in GetName()
37 return StringVar::StringToPPVar(list_.at(index).name); in GetName()
41 if (index >= list_.size()) in GetType()
43 return list_.at(index).type; in GetType()
47 if (index >= list_.size()) in GetState()
49 return list_.at(index).state; in GetState()
55 if (index >= list_.size() || !writer.is_valid()) in GetIpAddresses()
63 list_.at(index).addresses; in GetIpAddresses()
[all …]
/external/chromium_org/extensions/browser/
Derror_map.cc31 STLDeleteContainerPointers(list_.begin(), list_.end()); in DeleteAllErrors()
32 list_.clear(); in DeleteAllErrors()
36 ErrorList::iterator iter = list_.begin(); in DeleteIncognitoErrors()
37 while (iter != list_.end()) { in DeleteIncognitoErrors()
40 iter = list_.erase(iter); in DeleteIncognitoErrors()
48 ErrorList::iterator iter = list_.begin(); in DeleteErrorsOfType()
49 while (iter != list_.end()) { in DeleteErrorsOfType()
52 iter = list_.erase(iter); in DeleteErrorsOfType()
61 for (ErrorList::iterator iter = list_.begin(); iter != list_.end(); ++iter) { in AddError()
69 list_.erase(iter); in AddError()
[all …]
/external/chromium_org/components/metrics/
Dpersisted_logs.cc96 list_.push_back(LogHashPair()); in StoreLog()
97 list_.back().Init(log_data); in StoreLog()
103 CHECK(!list_.empty()); in StageLog()
105 staged_log_index_ = list_.size() - 1; in StageLog()
111 DCHECK_LT(static_cast<size_t>(staged_log_index_), list_.size()); in DiscardStagedLog()
112 list_.erase(list_.begin() + staged_log_index_); in DiscardStagedLog()
122 size_t start = list_.size(); in WriteLogsToPrefList()
126 size_t log_size = list_[start - 1].compressed_log_data.length(); in WriteLogsToPrefList()
138 for (size_t i = start; i < list_.size(); ++i) { in WriteLogsToPrefList()
139 size_t log_size = list_[i].compressed_log_data.length(); in WriteLogsToPrefList()
[all …]
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Ddefault_action_dialog.js27 this.list_ = new cr.ui.List();
28 this.list_.id = 'default-actions-list';
29 this.frame_.insertBefore(this.list_, this.text_.nextSibling);
31 this.selectionModel_ = this.list_.selectionModel =
33 this.dataModel_ = this.list_.dataModel = new cr.ui.ArrayDataModel([]);
37 this.list_.autoExpands = true;
38 this.list_.activateItemAtIndex = this.activateItemAtIndex_.bind(this);
40 this.list_.addEventListener('click', this.onSelected_.bind(this));
42 this.initialFocusElement_ = this.list_;
48 this.list_.itemConstructor = function(item) { method
[all …]
/external/chromium_org/content/browser/indexed_db/
Dlist_set.h26 list_set(const list_set<T>& other) : list_(other.list_), set_(other.set_) {} in list_set()
28 list_ = other.list_;
37 list_.push_back(elem); in insert()
45 std::find(list_.begin(), list_.end(), elem); in erase()
46 DCHECK(it != list_.end()); in erase()
47 list_.erase(it); in erase()
55 DCHECK_EQ(list_.size(), set_.size()); in size()
60 DCHECK_EQ(list_.empty(), set_.empty()); in empty()
147 iterator begin() { return iterator(list_.begin()); } in begin()
148 iterator end() { return iterator(list_.end()); } in end()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/
Dfile_change.cc48 if (list_.empty()) { in Update()
49 list_.push_back(new_change); in Update()
53 FileChange& last = list_.back(); in Update()
55 list_.push_back(new_change); in Update()
64 list_.pop_back(); in Update()
75 changes.list_ = this->list_; in PopAndGetNewList()
76 changes.list_.pop_front(); in PopAndGetNewList()
83 for (size_t i = 0; i < list_.size(); ++i) in DebugString()
84 ss << list_[i].DebugString() << ", "; in DebugString()
Dfile_change.h59 size_t size() const { return list_.size(); } in size()
60 bool empty() const { return list_.empty(); } in empty()
61 void clear() { list_.clear(); } in clear()
62 const List& list() const { return list_; } in list()
63 const FileChange& front() const { return list_.front(); } in front()
64 const FileChange& back() const { return list_.back(); } in back()
71 List list_;
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dthread_cache.h80 int freelist_length(size_t cl) const { return list_[cl].length(); } in freelist_length()
138 void* list_; // Linked list of nodes
159 list_ = NULL; in Init()
193 return list_ == NULL; in empty()
201 FL_Push(&list_, ptr); in Push()
206 ASSERT(list_ != NULL); in Pop()
209 return FL_Pop(&list_); in Pop()
213 if (list_ == NULL) return NULL; in Next()
214 return FL_Next(list_); in Next()
218 FL_PushRange(&list_, start, end); in PushRange()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_quarantine.h120 list_.clear(); in QuarantineCache()
128 if (list_.empty() || list_.back()->count == QuarantineBatch::kSize) { in Enqueue()
132 QuarantineBatch *b = list_.back(); in Enqueue()
139 list_.append_back(&c->list_); in Transfer()
145 list_.push_back(b); in EnqueueBatch()
150 if (list_.empty()) in DequeueBatch()
152 QuarantineBatch *b = list_.front(); in DequeueBatch()
153 list_.pop_front(); in DequeueBatch()
159 IntrusiveList<QuarantineBatch> list_;
173 list_.push_back(b); in AllocBatch()
/external/chromium-trace/trace-viewer/src/ui/
Dlist_and_associated_view.js24 this.list_ = undefined;
41 return this.list_;
45 this.list_ = list;
77 var complete = this.list_ &&
87 for (var i = 0; i < this.list_.length; i++) {
95 itemEl.item = this.list_[i];
96 var getter = this.list_[i].__lookupGetter__(this.listProperty_);
98 itemEl.textContent = getter.call(this.list_[i]);
100 itemEl.textContent = this.list_[i][this.listProperty_];
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dthread_cache.h86 int freelist_length(size_t cl) const { return list_[cl].length(); } in freelist_length()
133 void* list_; // Linked list of nodes
154 list_ = NULL; in Init()
188 return list_ == NULL; in empty()
196 SLL_Push(&list_, ptr); in Push()
201 ASSERT(list_ != NULL); in Pop()
204 return SLL_Pop(&list_); in Pop()
208 return SLL_Next(&list_); in Next()
212 SLL_PushRange(&list_, start, end); in PushRange()
217 SLL_PopRange(&list_, N, start, end); in PopRange()
[all …]
/external/chromium_org/extensions/common/
Dvalue_builder.cc62 ListBuilder::ListBuilder() : list_(new base::ListValue) {} in ListBuilder()
63 ListBuilder::ListBuilder(const base::ListValue& init) : list_(init.DeepCopy()) { in ListBuilder()
68 list_->Append(new base::FundamentalValue(in_value)); in Append()
73 list_->Append(new base::FundamentalValue(in_value)); in Append()
78 list_->Append(new base::StringValue(in_value)); in Append()
83 list_->Append(new base::StringValue(in_value)); in Append()
88 list_->Append(in_value.Build().release()); in Append()
93 list_->Append(in_value.Build().release()); in Append()
98 list_->Append(new base::FundamentalValue(in_value)); in AppendBoolean()
/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_search_path_list.cpp15 list_.Resize(0); in Reset()
29 if (list_.size() > 0 && list_[list_.size() - 1] != ':') in AddPaths()
30 list_ += ':'; in AddPaths()
31 list_.Append(list, list_end - list); in AddPaths()
42 String full_list = list_; in FindFile()
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
Dthread_safe_queue.h34 list_.push_back(item); in Enqueue()
44 while (list_.empty()) pthread_cond_wait(&cond_, lock_.mutex()); in Dequeue()
47 if (list_.empty()) return NULL; in Dequeue()
49 T* item = list_.front(); in Dequeue()
50 list_.pop_front(); in Dequeue()
55 std::list<T*> list_;
/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_change.cc50 if (list_.empty()) { in Update()
51 list_.push_back(new_change); in Update()
55 Change& last = list_.back(); in Update()
57 list_.push_back(new_change); in Update()
66 list_.pop_back(); in Update()
77 changes.list_ = this->list_; in PopAndGetNewList()
78 changes.list_.pop_front(); in PopAndGetNewList()
85 for (size_t i = 0; i < list_.size(); ++i) in DebugString()
86 ss << list_[i].DebugString() << ", "; in DebugString()
/external/chromium_org/base/
Dobserver_list_unittest.cc42 : list_(list), in Disrupter()
47 list_->RemoveObserver(doomed_); in Observe()
51 ObserverList<Foo>* list_; member in base::__anona8bf8ea20111::Disrupter
58 : list_(list), in ThreadSafeDisrupter()
63 list_->RemoveObserver(doomed_); in Observe()
67 ObserverListThreadSafe<Foo>* list_; member in base::__anona8bf8ea20111::ThreadSafeDisrupter
102 : list_(list), in AddRemoveThread()
139 list_->AddObserver(this); in AddTask()
144 list_->Notify(&Foo::Observe, 10); in AddTask()
166 list_->RemoveObserver(this); in Observe()
[all …]

12345