/external/chromium/chrome/browser/extensions/ |
D | extension_menu_manager_unittest.cc | 75 ExtensionMenuItem* item1 = CreateTestItem(extension); in TEST_F() local 76 ASSERT_TRUE(item1 != NULL); in TEST_F() 77 ASSERT_TRUE(manager_.AddContextItem(extension, item1)); in TEST_F() 78 ASSERT_EQ(item1, manager_.GetItemById(item1->id())); in TEST_F() 80 manager_.MenuItems(item1->extension_id()); in TEST_F() 82 ASSERT_EQ(item1, items->at(0)); in TEST_F() 90 ASSERT_EQ(item1, items->at(0)); in TEST_F() 115 ExtensionMenuItem* item1 = CreateTestItem(extension1); in TEST_F() local 125 ASSERT_TRUE(manager_.AddContextItem(extension1, item1)); in TEST_F() 128 ExtensionMenuItem::Id id1 = item1->id(); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/extensions/ |
D | menu_manager_unittest.cc | 108 MenuItem* item1 = CreateTestItem(extension); in TEST_F() local 109 ASSERT_TRUE(item1 != NULL); in TEST_F() 110 ASSERT_TRUE(manager_.AddContextItem(extension, item1)); in TEST_F() 111 ASSERT_EQ(item1, manager_.GetItemById(item1->id())); in TEST_F() 112 const MenuItem::List* items = manager_.MenuItems(item1->extension_id()); in TEST_F() 114 ASSERT_EQ(item1, items->at(0)); in TEST_F() 122 ASSERT_EQ(item1, items->at(0)); in TEST_F() 157 MenuItem* item1 = CreateTestItem(extension1); in TEST_F() local 167 ASSERT_TRUE(manager_.AddContextItem(extension1, item1)); in TEST_F() 170 MenuItem::Id id1 = item1->id(); in TEST_F() [all …]
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | StackTest.java | 55 String item1 = "Ichi"; in test_peek() local 58 s.push(item1); in test_peek() 60 .peek() == item1); in test_peek() 77 String item1 = "Ichi"; in test_pop() local 80 s.push(item1); in test_pop() 93 assertTrue("b) Pop did not return top item", lastPopped == item1); in test_pop() 132 String item1 = "Ichi"; in test_searchLjava_lang_Object() local 135 s.push(item1); in test_searchLjava_lang_Object() 139 .search(item1)); in test_searchLjava_lang_Object()
|
/external/chromium_org/chrome/browser/chromeos/profiles/ |
D | profile_list_chromeos_unittest.cc | 141 const AvatarMenu::Item& item1 = menu->GetItemAt(0); in TEST_F() local 142 EXPECT_EQ(0U, item1.menu_index); in TEST_F() 143 EXPECT_EQ(name1, item1.name); in TEST_F() 161 const AvatarMenu::Item& item1 = menu->GetItemAt(0); in TEST_F() local 162 EXPECT_EQ(0U, item1.menu_index); in TEST_F() 163 EXPECT_EQ(name1, item1.name); in TEST_F() 187 const AvatarMenu::Item& item1 = menu->GetItemAt(0); in TEST_F() local 188 EXPECT_EQ(0U, item1.menu_index); in TEST_F() 189 EXPECT_EQ(name1, item1.name); in TEST_F() 251 const AvatarMenu::Item& item1 = menu->GetItemAt(0); in TEST_F() local [all …]
|
/external/chromium_org/media/video/capture/win/ |
D | capability_list_win.cc | 22 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() 30 bool CompareFrameRate(const ResolutionDiff& item1, 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 36 return item1.capability->supported_format.pixel_format < in CompareColor()
|
/external/chromium_org/chrome/browser/ui/cocoa/applescript/ |
D | bookmark_item_applescript_unittest.mm | 24 BookmarkItemAppleScript* item1 = [bookmarkItems objectAtIndex:0]; 25 [item1 setTitle:@"Foo"]; 26 EXPECT_NSEQ(@"Foo", [item1 title]); 32 BookmarkItemAppleScript* item1 = [bookmarkItems objectAtIndex:0]; 33 [item1 setURL:@"http://foo-bar.org"]; 35 GURL(base::SysNSStringToUTF8([item1 URL]))); 40 [item1 setURL:@"invalid-url.org"];
|
/external/chromium/chrome/browser/ui/cocoa/applescript/ |
D | bookmark_item_applescript_unittest.mm | 24 BookmarkItemAppleScript* item1 = [bookmarkItems objectAtIndex:0]; 25 [item1 setTitle:@"Foo"]; 26 EXPECT_NSEQ(@"Foo", [item1 title]); 32 BookmarkItemAppleScript* item1 = [bookmarkItems objectAtIndex:0]; 33 [item1 setURL:@"http://foo-bar.org"]; 35 GURL(base::SysNSStringToUTF8([item1 URL]))); 40 [item1 setURL:@"invalid-url.org"];
|
/external/chromium_org/base/containers/ |
D | mru_cache_unittest.cc | 47 CachedItem item1(10); in TEST() local 48 Cache::iterator inserted_item = cache.Put(kItem1Key, item1); in TEST() 61 EXPECT_EQ(item1.value, found->second.value); in TEST() 74 EXPECT_EQ(item1.value, oldest->second.value); in TEST() 82 EXPECT_EQ(item1.value, test_item->second.value); in TEST() 101 EXPECT_EQ(item1.value, next->second.value); in TEST() 108 cache.Put(kItem1Key, item1); in TEST() 120 CachedItem item1(10); in TEST() local 121 cache.Put(kItem1Key, item1); in TEST() 135 EXPECT_EQ(item1.value, iter->second.value); in TEST() [all …]
|
/external/chromium_org/chrome/browser/profiles/ |
D | profile_list_desktop_unittest.cc | 100 const AvatarMenu::Item& item1 = model->GetItemAt(0); in TEST_F() local 101 EXPECT_EQ(0U, item1.menu_index); in TEST_F() 102 EXPECT_EQ(name1, item1.name); in TEST_F() 144 const AvatarMenu::Item& item1 = model->GetItemAt(0); in TEST_F() local 145 EXPECT_EQ(0U, item1.menu_index); in TEST_F() 146 EXPECT_EQ(name1, item1.name); in TEST_F() 195 const AvatarMenu::Item& item1 = model->GetItemAt(0); in TEST_F() local 196 EXPECT_EQ(0U, item1.menu_index); in TEST_F() 197 EXPECT_EQ(name1, item1.name); in TEST_F() 290 const AvatarMenu::Item& item1 = model->GetItemAt(0); in TEST_F() local [all …]
|
D | avatar_menu.cc | 112 bool AvatarMenu::CompareItems(const Item* item1, const Item* item2) { in CompareItems() argument 113 return base::i18n::ToLower(item1->name).compare( in CompareItems()
|
D | avatar_menu.h | 92 static bool CompareItems(const Item* item1, const Item* item2);
|
/external/chromium_org/ui/app_list/ |
D | app_list_model_unittest.cc | 133 AppListItemModel* item1 = model_.item_list()->item_at(1); in TEST_F() local 134 ASSERT_TRUE(item1); in TEST_F() 135 EXPECT_EQ(model_.GetItemName(1), item1->id()); in TEST_F() 146 AppListItemModel* item1 = model_.item_list()->FindItem(item_name1); in TEST_F() local 147 ASSERT_TRUE(item1); in TEST_F() 148 EXPECT_EQ(item_name1, item1->id()); in TEST_F() 161 AppListItemModel* item1 = model_.item_list()->item_at(1); in TEST_F() local 162 ASSERT_TRUE(item1); in TEST_F() 166 item2, item0->position().CreateBetween(item1->position())); in TEST_F()
|
/external/chromium_org/tools/grit/grit/gather/ |
D | policy_json.py | 200 for item1 in items: 202 for key in item1.keys(): 205 self._AddItems(item1['items'], 'enum_item', item1, depth + 2) 209 self._AddItems(item1['policies'], 'policy', item1, depth + 2) 212 self._AddPolicyKey(item1, item_type, parent_item, key, depth + 1)
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
D | chrome_launcher_controller_browsertest.cc | 402 const ash::LauncherItem& item1 = GetLastLauncherItem(); in IN_PROC_BROWSER_TEST_F() local 403 ash::LauncherID id = item1.id; in IN_PROC_BROWSER_TEST_F() 404 EXPECT_EQ(ash::TYPE_PLATFORM_APP, item1.type); in IN_PROC_BROWSER_TEST_F() 405 EXPECT_EQ(ash::STATUS_ACTIVE, item1.status); in IN_PROC_BROWSER_TEST_F() 489 const ash::LauncherItem& item1 = GetLastLauncherItem(); in IN_PROC_BROWSER_TEST_F() local 490 ash::LauncherID item_id = item1.id; in IN_PROC_BROWSER_TEST_F() 491 EXPECT_EQ(ash::TYPE_PLATFORM_APP, item1.type); in IN_PROC_BROWSER_TEST_F() 492 EXPECT_EQ(ash::STATUS_ACTIVE, item1.status); in IN_PROC_BROWSER_TEST_F() 493 EXPECT_EQ(2, GetNumApplicationMenuItems(item1)); // Title + 1 window in IN_PROC_BROWSER_TEST_F() 526 const ash::LauncherItem& item1 = GetLastLauncherItem(); in IN_PROC_BROWSER_TEST_F() local [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | history_menu_bridge_unittest.mm | 186 HistoryMenuBridge::HistoryItem* item1 = CreateItem(short_url); 187 AddItemToBridgeMenu(item1, menu, 100, 0); 236 NSMenuItem* item1 = [menu itemAtIndex:0]; 237 MockBridge::HistoryItem* hist1 = bridge_->HistoryItemForMenuItem(item1); 240 EXPECT_NSEQ(@"Google", [item1 title]); 288 NSMenuItem* item1 = [menu itemAtIndex:0]; 289 MockBridge::HistoryItem* hist1 = bridge_->HistoryItemForMenuItem(item1); 292 EXPECT_NSEQ(@"Google", [item1 title]);
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | tab_view_picker_table_unittest.mm | 51 scoped_nsobject<NSTabViewItem> item1( 53 [item1 setLabel:@"label 1"]; 54 [tabView_ addTabViewItem:item1];
|
D | history_menu_bridge_unittest.mm | 181 HistoryMenuBridge::HistoryItem* item1 = CreateItem(short_url); 182 AddItemToBridgeMenu(item1, menu, 100, 0); 233 NSMenuItem* item1 = [menu itemAtIndex:0]; 234 MockBridge::HistoryItem* hist1 = bridge_->HistoryItemForMenuItem(item1); 237 EXPECT_NSEQ(@"Google", [item1 title]); 293 NSMenuItem* item1 = [menu itemAtIndex:0]; 294 MockBridge::HistoryItem* hist1 = bridge_->HistoryItemForMenuItem(item1); 297 EXPECT_NSEQ(@"Google", [item1 title]);
|
/external/markdown/tests/misc/ |
D | lists4.txt | 2 * item1
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
D | AnnotationItem.java | 70 public int compare(AnnotationItem item1, AnnotationItem item2) { in compare() argument 71 int index1 = item1.type.getIndex(); in compare()
|
D | MixedItemSection.java | 56 public int compare(OffsettedItem item1, OffsettedItem item2) { 57 ItemType type1 = item1.itemType();
|
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/ |
D | table_data_model.js | 248 var item1 = this.getItemByUnsortedIndex_(index1); 251 var compareResult = compareFunction.call(null, item1, item2);
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/ui/ |
D | array_data_model.js | 333 var item1 = this.array_[index1]; 338 compareResult = compareFunction.call(null, item1, item2);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | DataGrid.js | 215 var item1 = dataGridNode1.data[sortColumnIdentifier]; 217 item1 = item1 instanceof Node ? item1.textContent : String(item1); 223 var number1 = parseFloat(item1); 227 comparison = item1 < item2 ? -1 : (item1 > item2 ? 1 : 0);
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | array_data_model.js | 383 var item1 = this.array_[index1]; 388 compareResult = compareFunction.call(null, item1, item2);
|
/external/chromium_org/sync/syncable/ |
D | syncable_unittest.cc | 772 MutableEntry item1(&trans, GET_BY_ID, id1); in TEST_F() local 773 ASSERT_TRUE(item1.good()); in TEST_F() 774 handle1 = item1.GetMetahandle(); in TEST_F() 775 item1.PutSpecifics(bookmark_specifics); in TEST_F() 776 item1.PutServerSpecifics(bookmark_specifics); in TEST_F() 796 MutableEntry item1(&trans, GET_BY_ID, id1); in TEST_F() local 797 ASSERT_TRUE(item1.good()); in TEST_F() 798 item1.PutServerIsDel(true); in TEST_F() 861 MutableEntry item1(&trans, GET_BY_ID, id1); in TEST_F() local 862 ASSERT_TRUE(item1.good()); in TEST_F() [all …]
|