Home
last modified time | relevance | path

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

12

/external/chromium_org/chrome/browser/extensions/
Dmenu_manager_unittest.cc121 MenuItem* item2 = CreateTestItemWithID(extension, "id2"); in TEST_F() local
122 ASSERT_TRUE(manager_.AddContextItem(extension, item2)); in TEST_F()
123 ASSERT_EQ(item2, manager_.GetItemById(item2->id())); in TEST_F()
124 items = manager_.MenuItems(item2->id().extension_key); in TEST_F()
127 ASSERT_EQ(item2, items->at(1)); in TEST_F()
163 MenuItem* item2 = CreateTestItem(extension2); in TEST_F() local
173 ASSERT_TRUE(manager_.AddContextItem(extension2, item2)); in TEST_F()
176 MenuItem::Id id2 = item2->id(); in TEST_F()
185 ASSERT_EQ(1, item2->child_count()); in TEST_F()
195 ASSERT_EQ(1, item2->child_count()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/profiles/
Dprofile_list_desktop_unittest.cc110 const AvatarMenu::Item& item2 = model->GetItemAt(1); in TEST_F() local
111 EXPECT_EQ(1U, item2.menu_index); in TEST_F()
112 EXPECT_EQ(ASCIIToUTF16("Test 2"), item2.name); in TEST_F()
132 const AvatarMenu::Item& item2 = profile_list.GetItemAt(1); in TEST_F() local
133 EXPECT_EQ(1u, item2.menu_index); in TEST_F()
134 EXPECT_EQ(1u, item2.profile_index); in TEST_F()
135 EXPECT_EQ(ASCIIToUTF16("2 included"), item2.name); in TEST_F()
174 const AvatarMenu::Item& item2 = profile_list.GetItemAt(1); in TEST_F() local
175 EXPECT_EQ(1u, item2.menu_index); in TEST_F()
176 EXPECT_EQ(3u, item2.profile_index); in TEST_F()
[all …]
Davatar_menu.cc123 bool AvatarMenu::CompareItems(const Item* item1, const Item* item2) { in CompareItems() argument
125 base::i18n::ToLower(item2->name)) < 0; in CompareItems()
Davatar_menu.h102 static bool CompareItems(const Item* item1, const Item* item2);
/external/chromium_org/media/video/capture/win/
Dcapability_list_win.cc22 bool CompareHeight(const ResolutionDiff& item1, const ResolutionDiff& item2) { in CompareHeight() argument
23 return abs(item1.diff_height) < abs(item2.diff_height); in CompareHeight()
26 bool CompareWidth(const ResolutionDiff& item1, const ResolutionDiff& item2) { in CompareWidth() argument
27 return abs(item1.diff_width) < abs(item2.diff_width); in CompareWidth()
31 const ResolutionDiff& item2) { in CompareFrameRate() argument
32 return abs(item1.diff_frame_rate) < abs(item2.diff_frame_rate); in CompareFrameRate()
35 bool CompareColor(const ResolutionDiff& item1, const ResolutionDiff& item2) { in CompareColor() argument
37 item2.capability->supported_format.pixel_format; in CompareColor()
/external/chromium_org/chrome/common/extensions/docs/server2/
Dsidenav_data_source_test.py46 item2 = { 'href': '/H2.html', 'items': [item2_1, item2_2] }
48 expected = [ item1, item2 ]
52 item2['child_selected'] = True
55 item2_1['parent'] = { 'title': item2.get('title', None),
56 'href': item2.get('href', None) }
/external/chromium_org/base/containers/
Dmru_cache_unittest.cc65 CachedItem item2(12); in TEST() local
66 cache.Put(kItem2Key, item2); in TEST()
90 EXPECT_EQ(item2.value, oldest->second.value); in TEST()
109 cache.Put(kItem2Key, item2); in TEST()
124 CachedItem item2(20); in TEST() local
125 cache.Put(kItem2Key, item2); in TEST()
159 CachedItem item2(20); in TEST() local
160 cache.Put(kItem2Key, item2); in TEST()
/external/chromium_org/net/base/
Dtrace_net_log_observer_unittest.cc180 const base::DictionaryValue* item2 = NULL; in TEST_F() local
181 ASSERT_TRUE(trace_events()->GetDictionary(1, &item2)); in TEST_F()
186 TraceEntryInfo actual_item2 = GetTraceEntryInfoFromValue(*item2); in TEST_F()
234 const base::DictionaryValue* item2 = NULL; in TEST_F() local
235 ASSERT_TRUE(trace_events()->GetDictionary(1, &item2)); in TEST_F()
238 TraceEntryInfo actual_item2 = GetTraceEntryInfoFromValue(*item2); in TEST_F()
340 const base::DictionaryValue* item2 = NULL; in TEST_F() local
341 ASSERT_TRUE(trace_events()->GetDictionary(1, &item2)); in TEST_F()
344 TraceEntryInfo actual_item2 = GetTraceEntryInfoFromValue(*item2); in TEST_F()
368 EXPECT_TRUE(item2->GetString("args.params", &item2_params)); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/profiles/
Dprofile_list_chromeos_unittest.cc238 const AvatarMenu::Item& item2 = menu->GetItemAt(1); in TEST_F() local
239 EXPECT_EQ(1U, item2.menu_index); in TEST_F()
240 EXPECT_EQ(name2, item2.name); in TEST_F()
282 const AvatarMenu::Item& item2 = menu->GetItemAt(1); in TEST_F() local
283 EXPECT_EQ(1U, item2.menu_index); in TEST_F()
284 EXPECT_EQ(name2, item2.name); in TEST_F()
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_app_list_helper.cc73 AppListItem* item2 = verifier->model()->top_level_item_list()->item_at(i); in AppListMatchesVerifier() local
74 if (item1->CompareForTest(item2)) in AppListMatchesVerifier()
78 << " != " << item2->ToDebugString(); in AppListMatchesVerifier()
87 item2 = verifier->model()->top_level_item_list()->item_at(index2); in AppListMatchesVerifier()
89 << "): " << item2->ToDebugString(); in AppListMatchesVerifier()
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dnavigation_list_model.js26 NavigationModelItem.isSame = function(item1, item2) { argument
27 if (item1.isVolume != item2.isVolume)
31 return item1.volumeInfo === item2.volumeInfo;
33 return util.isSameEntry(item1.entry, item2.entry);
/external/chromium_org/chrome/browser/ui/cocoa/
Dhistory_menu_bridge_unittest.mm183 HistoryMenuBridge::HistoryItem* item2 = CreateItem(long_url);
184 AddItemToBridgeMenu(item2, menu, 101, 1);
236 NSMenuItem* item2 = [menu itemAtIndex:1];
237 MockBridge::HistoryItem* hist2 = bridge_->HistoryItemForMenuItem(item2);
240 EXPECT_NSEQ(@"Apple", [item2 title]);
288 NSMenuItem* item2 = [menu itemAtIndex:1];
289 MockBridge::HistoryItem* hist2 = bridge_->HistoryItemForMenuItem(item2);
294 NSMenu* submenu1 = [item2 submenu];
Dconfirm_quit_panel_controller_unittest.mm50 ui::PlatformAcceleratorCocoa item2(@"c", NSCommandKeyMask | NSShiftKeyMask);
52 [controller keyCombinationForAccelerator:item2]);
/external/markdown/tests/misc/
Dlists4.txt3 * item2
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DAnnotationItem.java70 public int compare(AnnotationItem item1, AnnotationItem item2) { in compare() argument
72 int index2 = item2.type.getIndex(); in compare()
DMixedItemSection.java56 public int compare(OffsettedItem item1, OffsettedItem item2) {
58 ItemType type2 = item2.itemType();
/external/chromium_org/chrome/browser/download/
Ddownload_path_reservation_tracker_unittest.cc323 scoped_ptr<MockDownloadItem> item2(CreateDownloadItem(2)); in TEST_F() local
326 item2.get(), in TEST_F()
335 SetDownloadItemState(item2.get(), DownloadItem::COMPLETE); in TEST_F()
344 scoped_ptr<MockDownloadItem> item2(CreateDownloadItem(2)); in TEST_F() local
347 item2.get(), in TEST_F()
356 SetDownloadItemState(item2.get(), DownloadItem::COMPLETE); in TEST_F()
/external/chromium_org/ui/app_list/
Dapp_list_model_unittest.cc170 AppListItem* item2 = model_.CreateItem("Added Item 2"); in TEST_F() local
171 model_.AddItem(item2); in TEST_F()
174 item2, item0->position().CreateBetween(item1->position())); in TEST_F()
293 AppListItem* item2 = model_.top_level_item_list()->item_at(2); in TEST_F() local
303 std::string folder2_id = model_.MergeItems(item2->id(), item1->id()); in TEST_F()
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/ui/
Darray_data_model.js334 var item2 = this.array_[index2];
338 compareResult = compareFunction.call(null, item1, item2);
/external/chromium_org/ui/webui/resources/js/cr/ui/
Darray_data_model.js422 var item2 = this.array_[index2];
426 compareResult = compareFunction.call(null, item1, item2);
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dchrome_launcher_controller_browsertest.cc413 const ash::ShelfItem& item2 = *shelf_model()->ItemByID(id); in IN_PROC_BROWSER_TEST_F() local
414 EXPECT_EQ(ash::TYPE_APP_SHORTCUT, item2.type); in IN_PROC_BROWSER_TEST_F()
415 EXPECT_EQ(ash::STATUS_ACTIVE, item2.status); in IN_PROC_BROWSER_TEST_F()
495 const ash::ShelfItem& item2 = *shelf_model()->ItemByID(item_id); in IN_PROC_BROWSER_TEST_F() local
496 EXPECT_EQ(ash::STATUS_ACTIVE, item2.status); in IN_PROC_BROWSER_TEST_F()
497 EXPECT_EQ(3, GetNumApplicationMenuItems(item2)); // Title + 2 windows in IN_PROC_BROWSER_TEST_F()
533 const ash::ShelfItem& item2 = GetLastLauncherItem(); in IN_PROC_BROWSER_TEST_F() local
534 ash::ShelfID item_id2 = item2.id; in IN_PROC_BROWSER_TEST_F()
535 EXPECT_EQ(ash::TYPE_PLATFORM_APP, item2.type); in IN_PROC_BROWSER_TEST_F()
536 EXPECT_EQ(ash::STATUS_ACTIVE, item2.status); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_shelf_controller_unittest.mm164 base::scoped_nsobject<DownloadItemController> item2(CreateItemController());
169 [shelf_ add:item2.get()];
172 [shelf_ remove:item2.get()];
340 base::scoped_nsobject<DownloadItemController> item2(CreateItemController());
/external/chromium_org/sync/syncable/
Dsyncable_unittest.cc237 MutableEntry item2(&trans, CREATE_NEW_UPDATE_ITEM, in TEST_F() local
239 ASSERT_TRUE(item2.good()); in TEST_F()
240 item2.PutServerSpecifics(bookmark_specs); in TEST_F()
241 item2.PutIsUnappliedUpdate(true); in TEST_F()
Ddirectory_unittest.cc453 MutableEntry item2(&trans, GET_BY_ID, id2); in TEST_F() local
454 ASSERT_TRUE(item2.good()); in TEST_F()
455 handle2 = item2.GetMetahandle(); in TEST_F()
456 item2.PutSpecifics(bookmark_specifics); in TEST_F()
457 item2.PutServerSpecifics(bookmark_specifics); in TEST_F()
475 MutableEntry item2(&trans, GET_BY_ID, id2); in TEST_F() local
476 ASSERT_TRUE(item2.good()); in TEST_F()
477 item2.PutServerIsDel(true); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderGrid.cpp675 static bool gridItemWithSpanSorter(const GridItemWithSpan& item1, const GridItemWithSpan& item2) in gridItemWithSpanSorter() argument
677 if (item1.second != item2.second) in gridItemWithSpanSorter()
678 return item1.second < item2.second; in gridItemWithSpanSorter()
680 return item1.first < item2.first; in gridItemWithSpanSorter()
683 static bool uniquePointerInPair(const GridItemWithSpan& item1, const GridItemWithSpan& item2) in uniquePointerInPair() argument
685 return item1.first == item2.first; in uniquePointerInPair()

12