Home
last modified time | relevance | path

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

12

/external/chromium_org/chrome/browser/history/
Dtop_sites_impl.cc390 const MostVisitedURLList& new_list, in DiffMostVisited() argument
411 for (size_t i = 0; i < new_list.size(); i++) { in DiffMostVisited()
414 if (new_list[i].last_forced_time.is_null()) in DiffMostVisited()
416 DCHECK(new_list[i].last_forced_time.is_null() == (rank != -1)) in DiffMostVisited()
418 std::map<GURL, size_t>::iterator found = all_old_urls.find(new_list[i].url); in DiffMostVisited()
421 added.url = new_list[i]; in DiffMostVisited()
431 new_list[i].last_forced_time) { in DiffMostVisited()
433 moved.url = new_list[i]; in DiffMostVisited()
613 MostVisitedURLList new_list(cache_->top_sites()); in AddForcedURL() local
619 if (new_list[index].last_forced_time.is_null()) in AddForcedURL()
[all …]
Dtop_sites_impl_unittest.cc422 std::vector<MostVisitedURL> new_list; in TEST_F() local
423 AppendMostVisitedURL(&new_list, stays_the_same); // 0 (unchanged) in TEST_F()
424 AppendMostVisitedURL(&new_list, gets_added_1); // 1 (added) in TEST_F()
425 AppendMostVisitedURL(&new_list, gets_added_2); // 2 (added) in TEST_F()
426 AppendMostVisitedURL(&new_list, gets_moved_1); // 3 (moved from 2) in TEST_F()
429 history::TopSitesImpl::DiffMostVisited(old_list, new_list, &delta); in TEST_F()
472 std::vector<MostVisitedURL> new_list; in TEST_F() local
473 AppendForcedMostVisitedURL(&new_list, stays_the_same_1, 1000); in TEST_F()
474 AppendForcedMostVisitedURL(&new_list, stays_the_same_2, 3000); in TEST_F()
475 AppendForcedMostVisitedURL(&new_list, new_last_forced_time, 4000); in TEST_F()
[all …]
Dtop_sites_impl.h118 const MostVisitedURLList& new_list,
168 size_t MergeCachedForcedURLs(MostVisitedURLList* new_list);
Dhistory_types.cc227 base::StackVector<size_t, 4> new_list; in AddURLUsageAtIndex() local
228 new_list->push_back(index); in AddURLUsageAtIndex()
229 url_to_results_[url] = new_list; in AddURLUsageAtIndex()
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Daccounts_options_handler.cc122 scoped_ptr<base::ListValue> new_list; in HandleWhitelistExistingUsers() local
127 new_list.reset(existing->DeepCopy()); in HandleWhitelistExistingUsers()
129 new_list.reset(new base::ListValue); in HandleWhitelistExistingUsers()
133 new_list->AppendIfNotPresent(new base::StringValue((*it)->email())); in HandleWhitelistExistingUsers()
135 cros_settings->Set(kAccountsPrefUsers, *new_list.get()); in HandleWhitelistExistingUsers()
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/
Dtemplate_writer.py270 new_list = []
274 new_list.append(grouped_policy)
276 new_list.append(policy)
279 new_list.sort(key=sorting_key)
280 return new_list
/external/chromium_org/build/
Dinstall-build-deps.sh312 if new_list="$(yes n | LANGUAGE=en LANG=C $new_list_cmd)"; then
318 new_list=$(echo "$new_list" |
320 new_list=$(echo "$new_list" | sed 's/ *$//')
321 if [ -z "$new_list" ] ; then
324 echo "Installing missing packages: $new_list."
325 sudo apt-get install ${do_quietly-} ${new_list}
/external/e2fsprogs/lib/ext2fs/
Dfinddev.c127 struct dir_list *list = 0, *new_list = 0; in ext2fs_find_block_device() local
144 scan_dir(current->name, device, &new_list, &ret_path); in ext2fs_find_block_device()
154 list = new_list; in ext2fs_find_block_device()
155 new_list = 0; in ext2fs_find_block_device()
159 free_dirlist(&new_list); in ext2fs_find_block_device()
/external/e2fsprogs/lib/blkid/
Ddevno.c143 struct dir_list *list = NULL, *new_list = NULL; in blkid_devno_to_devname() local
159 blkid__scan_dir(current->name, devno, &new_list, &devname); in blkid_devno_to_devname()
169 list = new_list; in blkid_devno_to_devname()
170 new_list = NULL; in blkid_devno_to_devname()
174 free_dirlist(&new_list); in blkid_devno_to_devname()
/external/chromium_org/gpu/command_buffer/service/
Dvertex_attrib_manager.h98 void SetList(VertexAttribList* new_list) { in SetList() argument
99 DCHECK(new_list); in SetList()
105 it_ = new_list->insert(new_list->end(), this); in SetList()
106 list_ = new_list; in SetList()
/external/chromium/build/
Dinstall-build-deps.sh266 if new_list="$(yes n | LANG=C $new_list_cmd)"; then
272 new_list=$(echo "$new_list" |
274 new_list=$(echo "$new_list" | sed 's/ *$//')
275 if [ -z "$new_list" ] ; then
278 echo "Installing missing packages: $new_list."
279 sudo apt-get install ${new_list}
/external/chromium_org/tools/gyp/tools/
Dpretty_vcproj.py114 new_list = []
122 new_list.append(filename)
124 new_list.append(os.path.abspath(filename))
125 return new_list
138 new_list = FixFilenames(path_list, os.path.dirname(ARGUMENTS[1]))
139 node.setAttribute(name, ';'.join(new_list))
/external/chromium_org/tools/deep_memory_profiler/subcommands/
Dmap.py99 new_list = ListAttribute()
101 new_list[index] = copy.deepcopy(item)
102 return new_list
/external/chromium_org/third_party/leveldatabase/src/util/
Dcache.cc112 LRUHandle** new_list = new LRUHandle*[new_length]; in Resize() local
113 memset(new_list, 0, sizeof(new_list[0]) * new_length); in Resize()
120 LRUHandle** ptr = &new_list[hash & (new_length - 1)]; in Resize()
129 list_ = new_list; in Resize()
/external/chromium_org/chromeos/network/
Dcertificate_pattern.cc42 base::ListValue* new_list = new base::ListValue; in CreateListFromStrings() local
45 new_list->Append(new base::StringValue(*iter)); in CreateListFromStrings()
47 return new_list; in CreateListFromStrings()
/external/blktrace/btt/
Doutput.c331 struct seek_mode_info *p, *this, *new_list = NULL; in output_seek_mode_info() local
337 if (new_list == NULL || this->nseeks > new_list->nseeks) in output_seek_mode_info()
338 new_list = this; in output_seek_mode_info()
339 else if (this->nseeks == new_list->nseeks) { in output_seek_mode_info()
340 for (p = new_list; p != NULL; p = p->next) in output_seek_mode_info()
347 this->next = new_list; in output_seek_mode_info()
348 new_list = this; in output_seek_mode_info()
354 sip->median / sip->nseeks, new_list->mode, new_list->nseeks); in output_seek_mode_info()
356 if (new_list->next) { in output_seek_mode_info()
358 for (p = new_list->next; p != NULL; p = p->next) in output_seek_mode_info()
/external/chromium_org/third_party/freetype/src/cache/
Dftccache.c126 FTC_Node new_list = NULL; in ftc_cache_resize() local
156 node->link = new_list; in ftc_cache_resize()
157 new_list = node; in ftc_cache_resize()
163 cache->buckets[p + mask + 1] = new_list; in ftc_cache_resize()
/external/freetype/src/cache/
Dftccache.c126 FTC_Node new_list = NULL; in ftc_cache_resize() local
156 node->link = new_list; in ftc_cache_resize()
157 new_list = node; in ftc_cache_resize()
163 cache->buckets[p + mask + 1] = new_list; in ftc_cache_resize()
/external/linux-tools-perf/
Dbuiltin-timechart.c627 struct per_pid *new_list, *p, *cursor, *prev; in sort_pids() local
630 new_list = NULL; in sort_pids()
637 if (new_list == NULL) { in sort_pids()
638 new_list = p; in sort_pids()
643 cursor = new_list; in sort_pids()
654 p->next = new_list; in sort_pids()
655 new_list = p; in sort_pids()
667 all_data = new_list; in sort_pids()
/external/chromium/chrome/browser/history/
Dhistory_types.cc281 StackVector<size_t, 4> new_list; in AddURLUsageAtIndex() local
282 new_list->push_back(index); in AddURLUsageAtIndex()
283 url_to_results_[url] = new_list; in AddURLUsageAtIndex()
Dtop_sites.cc454 const MostVisitedURLList& new_list, in DiffMostVisited() argument
467 for (size_t i = 0; i < new_list.size(); i++) { in DiffMostVisited()
468 std::map<GURL, size_t>::iterator found = all_old_urls.find(new_list[i].url); in DiffMostVisited()
471 added.url = new_list[i]; in DiffMostVisited()
477 moved.url = new_list[i]; in DiffMostVisited()
/external/chromium_org/ash/system/bluetooth/
Dtray_bluetooth.cc54 const std::set<std::string>& new_list) { in RemoveObsoleteBluetoothDevicesFromList() argument
57 if (new_list.find((*it).address) == new_list.end()) { in RemoveObsoleteBluetoothDevicesFromList()
/external/chromium_org/chrome/common/extensions/permissions/
Dchrome_permission_message_provider.cc316 const URLPatternSet& new_list = new_permissions->effective_hosts(); in IsHostPrivilegeIncrease() local
322 permission_message_util::GetDistinctHosts(new_list, false, false)); in IsHostPrivilegeIncrease()
/external/chromium_org/third_party/libpng/
Dpngset.c1073 png_bytep new_list, p; in png_set_keep_unknown_chunks() local
1093 new_list=(png_bytep)png_malloc(png_ptr, in png_set_keep_unknown_chunks()
1098 png_memcpy(new_list, png_ptr->chunk_list, in png_set_keep_unknown_chunks()
1103 png_memcpy(new_list + 5*old_num_chunks, chunk_list, in png_set_keep_unknown_chunks()
1105 for (p = new_list + 5*old_num_chunks + 4, i = 0; i<num_chunks; i++, p += 5) in png_set_keep_unknown_chunks()
1108 png_ptr->chunk_list = new_list; in png_set_keep_unknown_chunks()
/external/libpng/
Dpngset.c1083 png_bytep new_list, p; in png_set_keep_unknown_chunks() local
1103 new_list=(png_bytep)png_malloc(png_ptr, in png_set_keep_unknown_chunks()
1108 png_memcpy(new_list, png_ptr->chunk_list, in png_set_keep_unknown_chunks()
1113 png_memcpy(new_list + 5*old_num_chunks, chunk_list, in png_set_keep_unknown_chunks()
1115 for (p = new_list + 5*old_num_chunks + 4, i = 0; i<num_chunks; i++, p += 5) in png_set_keep_unknown_chunks()
1118 png_ptr->chunk_list = new_list; in png_set_keep_unknown_chunks()

12