Home
last modified time | relevance | path

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

12

/external/chromium/chrome/browser/
Dcustom_home_pages_table_model.cc57 entries_.resize(urls.size()); in SetURLs()
59 entries_[i].url = urls[i]; in SetURLs()
60 entries_[i].title.erase(); in SetURLs()
61 entries_[i].icon.reset(); in SetURLs()
62 LoadTitleAndFavicon(&(entries_[i])); in SetURLs()
71 entries_.insert(entries_.begin() + static_cast<size_t>(index), Entry()); in Add()
72 entries_[index].url = url; in Add()
73 LoadTitleAndFavicon(&(entries_[index])); in Add()
80 Entry* entry = &(entries_[index]); in Remove()
95 entries_.erase(entries_.begin() + static_cast<size_t>(index)); in Remove()
[all …]
/external/chromium/chrome/browser/ui/search_engines/
Dtemplate_url_table_model.cc133 STLDeleteElements(&entries_); in ~TemplateURLTableModel()
134 entries_.clear(); in ~TemplateURLTableModel()
138 STLDeleteElements(&entries_); in Reload()
139 entries_.clear(); in Reload()
150 entries_.push_back(new ModelEntry(this, template_url)); in Reload()
153 last_search_engine_index_ = static_cast<int>(entries_.size()); in Reload()
163 entries_.push_back(new ModelEntry(this, *template_url)); in Reload()
172 return static_cast<int>(entries_.size()); in RowCount()
177 const TemplateURL& url = entries_[row]->template_url(); in GetText()
203 return entries_[row]->GetIcon(); in GetIcon()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_pref_value_map.cc27 STLDeleteValues(&entries_); in ~ExtensionPrefValueMap()
28 entries_.clear(); in ~ExtensionPrefValueMap()
53 ExtensionEntryMap::const_iterator ext = entries_.find(extension_id); in CanExtensionControlPref()
54 if (ext == entries_.end()) { in CanExtensionControlPref()
61 if (winner == entries_.end()) in CanExtensionControlPref()
73 if (winner == entries_.end()) in DoesExtensionControlPref()
81 if (entries_.find(ext_id) != entries_.end()) in RegisterExtension()
83 entries_[ext_id] = new ExtensionEntry; in RegisterExtension()
84 entries_[ext_id]->install_time = install_time; in RegisterExtension()
85 entries_[ext_id]->enabled = is_enabled; in RegisterExtension()
[all …]
/external/chromium/net/base/
Dhost_cache.cc42 EntryMap::const_iterator it = entries_.find(key); in Lookup()
43 if (it == entries_.end()) in Lookup()
64 scoped_refptr<Entry>& entry = entries_[key]; in Set()
72 if (entries_.size() > max_entries_) in Set()
86 entries_.clear(); in clear()
91 return entries_.size(); in size()
112 return entries_; in entries()
122 for (EntryMap::iterator it = entries_.begin(); it != entries_.end(); ) { in Compact()
125 entries_.erase(it++); in Compact()
131 if (entries_.size() <= max_entries_) in Compact()
[all …]
Dhost_cache_unittest.cc202 EXPECT_TRUE(ContainsKey(cache.entries_, Key("valid0"))); in TEST()
203 EXPECT_TRUE(ContainsKey(cache.entries_, Key("valid1"))); in TEST()
204 EXPECT_TRUE(ContainsKey(cache.entries_, Key("valid2"))); in TEST()
205 EXPECT_TRUE(ContainsKey(cache.entries_, Key("valid3"))); in TEST()
206 EXPECT_TRUE(ContainsKey(cache.entries_, Key("valid4"))); in TEST()
207 EXPECT_TRUE(ContainsKey(cache.entries_, Key("expired0"))); in TEST()
208 EXPECT_TRUE(ContainsKey(cache.entries_, Key("expired1"))); in TEST()
209 EXPECT_TRUE(ContainsKey(cache.entries_, Key("expired2"))); in TEST()
210 EXPECT_TRUE(ContainsKey(cache.entries_, Key("negative0"))); in TEST()
211 EXPECT_TRUE(ContainsKey(cache.entries_, Key("negative1"))); in TEST()
[all …]
Dcapturing_net_log.cc30 *entry_list = entries_; in GetEntries()
35 entries_.clear(); in Clear()
50 if (entries_.size() + 1 < max_num_entries_) in AddEntry()
51 entries_.push_back(entry); in AddEntry()
/external/chromium/chrome/browser/geolocation/
Dgeolocation_exceptions_table_model.cc80 const Entry& entry = entries_[*i]; in CanRemoveRows()
84 (j < entries_.size()) && (entries_[j].origin == entry.origin); ++j) { in CanRemoveRows()
96 Entry* entry = &entries_[row]; in RemoveRows()
99 bool next_has_same_origin = ((row + 1) < entries_.size()) && in RemoveRows()
100 (entries_[row + 1].origin == entry_origin); in RemoveRows()
112 entries_.erase(entries_.begin() + row); // Note: |entry| is now garbage. in RemoveRows()
122 entry = &entries_[--row]; in RemoveRows()
131 entries_.clear(); in RemoveAll()
138 return entries_.size(); in RowCount()
143 const Entry& entry = entries_[row]; in GetText()
[all …]
Dgeolocation_exceptions_table_model.h55 EntriesVector entries_; variable
/external/chromium/chrome/browser/notifications/
Dnotification_exceptions_table_model.cc48 Entry* entry = &entries_[row]; in RemoveRows()
55 entries_.erase(entries_.begin() + row); // Note: |entry| is now garbage. in RemoveRows()
63 entries_.clear(); in RemoveAll()
70 return static_cast<int>(entries_.size()); in RowCount()
75 const Entry& entry = entries_[row]; in GetText()
106 entries_.clear(); in Observe()
117 entries_.reserve(allowed.size() + blocked.size()); in LoadEntries()
119 entries_.push_back(Entry(allowed[i], CONTENT_SETTING_ALLOW)); in LoadEntries()
121 entries_.push_back(Entry(blocked[i], CONTENT_SETTING_BLOCK)); in LoadEntries()
122 std::sort(entries_.begin(), entries_.end()); in LoadEntries()
Dnotification_exceptions_table_model.h45 EntriesVector entries_; variable
/external/chromium/chrome/browser/resources/net_internals/
Dsourceentry.js14 this.entries_ = []; property in SourceEntry
69 this.entries_.length == 0)
75 logEntry.type == this.entries_[0].type)
79 this.entries_.push(logEntry);
126 var entryText = PrintSourceEntriesAsText(this.entries_).toLowerCase();
266 if (this.entries_.length < 1)
268 if (this.entries_.length >= 2) {
269 if (this.entries_[0].type == LogEventType.REQUEST_ALIVE ||
270 this.entries_[0].type == LogEventType.SOCKET_POOL_CONNECT_JOB)
271 return this.entries_[1];
[all …]
/external/chromium/net/ftp/
Dftp_auth_cache.cc30 for (EntryList::iterator it = entries_.begin(); it != entries_.end(); ++it) { in Lookup()
47 entries_.push_front(Entry(origin, username, password)); in Add()
50 if (entries_.size() > kMaxEntries) in Add()
51 entries_.pop_back(); in Add()
57 for (EntryList::iterator it = entries_.begin(); it != entries_.end(); ++it) { in Remove()
60 entries_.erase(it); in Remove()
Dftp_auth_cache.h61 EntryList entries_; variable
/external/regex-re2/re2/
Dprefilter_tree.cc25 for (int i = 0; i < entries_.size(); i++) in ~PrefilterTree()
26 delete entries_[i].parents; in ~PrefilterTree()
104 for (int i = 0; i < entries_.size(); i++) { in Compile()
105 IntMap* parents = entries_[i].parents; in Compile()
114 (entries_[it->index()].propagate_up_at_count > 1); in Compile()
119 entries_[it->index()].propagate_up_at_count -= 1; in Compile()
209 entries_.resize(node_map_.size()); in AssignUniqueIds()
220 Entry* entry = &entries_[prefilter->unique_id()]; in AssignUniqueIds()
233 Entry* entry = &entries_[prefilter->unique_id()]; in AssignUniqueIds()
259 Entry* child_entry = &entries_[child_id]; in AssignUniqueIds()
[all …]
Dprefilter_tree.h107 vector<Entry> entries_; variable
/external/chromium/net/http/
Dhttp_auth_cache.cc75 for (EntryList::iterator it = entries_.begin(); it != entries_.end(); ++it) { in Lookup()
100 for (EntryList::iterator it = entries_.begin(); it != entries_.end(); ++it) { in LookupByPath()
125 if (entries_.size() >= kMaxNumRealmEntries) { in Add()
127 entries_.pop_back(); in Add()
130 entries_.push_front(Entry()); in Add()
131 entry = &entries_.front(); in Add()
204 for (EntryList::iterator it = entries_.begin(); it != entries_.end(); ++it) { in Remove()
208 entries_.erase(it); in Remove()
/external/chromium/net/disk_cache/
Dmem_backend_impl.cc35 EntryMap::iterator it = entries_.begin(); in ~MemBackendImpl()
36 while (it != entries_.end()) { in ~MemBackendImpl()
38 it = entries_.begin(); in ~MemBackendImpl()
98 EntryMap::iterator it = entries_.find(entry->GetKey()); in InternalDoomEntry()
99 if (it != entries_.end()) in InternalDoomEntry()
100 entries_.erase(it); in InternalDoomEntry()
131 return static_cast<int32>(entries_.size()); in GetEntryCount()
195 EntryMap::iterator it = entries_.find(key); in OpenEntry()
196 if (it == entries_.end()) in OpenEntry()
206 EntryMap::iterator it = entries_.find(key); in CreateEntry()
[all …]
/external/chromium/chrome/browser/sessions/
Dtab_restore_service.cc203 STLDeleteElements(&entries_); in ~TabRestoreService()
277 for (Entries::iterator i = entries_.begin(); i != entries_.end(); ++i) in ClearEntries()
289 STLDeleteElements(&entries_); in ClearEntries()
294 return entries_; in entries()
299 if (entries_.empty()) in RestoreMostRecentEntry()
302 RestoreEntryById(delegate, entries_.front()->id, false); in RestoreMostRecentEntry()
309 if (i == entries_.end()) { in RestoreEntryById()
315 for (Entries::iterator j = entries_.begin(); j != i && j != entries_.end(); in RestoreEntryById()
330 entries_.erase(i); in RestoreEntryById()
331 i = entries_.end(); in RestoreEntryById()
[all …]
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Drelayport.cc197 entries_.push_back( in RelayPort()
207 for (size_t i = 0; i < entries_.size(); ++i) in ~RelayPort()
208 delete entries_[i]; in ~RelayPort()
263 ASSERT(entries_.size() == 1); in PrepareAddress()
264 entries_[0]->Connect(); in PrepareAddress()
301 for (size_t i = 0; i < entries_.size(); ++i) { in SendTo()
302 if (entries_[i]->address().IsAny() && payload) { in SendTo()
303 entry = entries_[i]; in SendTo()
306 } else if (entries_[i]->address() == addr) { in SendTo()
307 entry = entries_[i]; in SendTo()
[all …]
/external/v8/src/
Dprofile-generator.cc1176 entries_.Iterate(HeapEntryClearPaint); in ClearPaint()
1231 for (int i = 0; i < entries_.length(); ++i) { in SetDominatorsToSelf()
1232 HeapEntry* entry = entries_[i]; in SetDominatorsToSelf()
1239 if (entries_.length() > 0) { in GetNextEntryToInit()
1240 HeapEntry* last_entry = entries_.last(); in GetNextEntryToInit()
1241 entries_.Add(reinterpret_cast<HeapEntry*>( in GetNextEntryToInit()
1244 entries_.Add(reinterpret_cast<HeapEntry*>(raw_entries_)); in GetNextEntryToInit()
1246 ASSERT(reinterpret_cast<char*>(entries_.last()) < in GetNextEntryToInit()
1248 return entries_.last(); in GetNextEntryToInit()
1283 entries_.Sort(SortByIds); in GetSortedEntriesList()
[all …]
Dunicode-inl.h36 CacheEntry entry = entries_[code_point & kMask]; in get()
44 entries_[code_point & kMask] = CacheEntry(code_point, result); in CalculateValue()
50 CacheEntry entry = entries_[c & kMask]; in get()
69 entries_[c & kMask] = CacheEntry(c, result[0] - c); in CalculateValue()
72 entries_[c & kMask] = CacheEntry(c, 0); in CalculateValue()
Dsafepoint-table.h122 uint8_t* bits = &Memory::uint8_at(entries_ + (index * entry_size_)); in GetEntry()
160 Address entries_; variable
/external/chromium/net/websockets/
Dwebsocket_job_unittest.cc96 entries_.push_back(entry); in SetCookieWithOptions()
102 for (size_t i = 0; i < entries_.size(); i++) { in GetCookiesWithOptions()
103 Entry &entry = entries_[i]; in GetCookiesWithOptions()
117 const std::vector<Entry>& entries() const { return entries_; } in entries()
123 std::vector<Entry> entries_; member in net::MockCookieStore
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_typed_url_unittest.cc294 : test_(test), entries_(entries) { in AddTypedUrlEntriesTask()
299 for (size_t i = 0; i < entries_.size(); ++i) { in Run()
302 entries_[i].id(), entries_[i].last_visit(), 0, 0, 0)); in Run()
303 test_->AddTypedUrlSyncNode(entries_[i], visits); in Run()
309 const std::vector<history::URLRow>& entries_; member in AddTypedUrlEntriesTask
/external/chromium/chrome/browser/net/
Dpassive_log_collector.cc159 entries_.push_back(entry); in OnAddEntry()
160 if (entries_.size() > kMaxEntries) in OnAddEntry()
161 entries_.pop_front(); in OnAddEntry()
165 entries_.clear(); in Clear()
170 out->insert(out->end(), entries_.begin(), entries_.end()); in AppendAllEntries()

12