Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/extensions/
Dextension_menu_manager_unittest.cc75 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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DStackTest.java55 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/chrome/browser/ui/cocoa/applescript/
Dbookmark_item_applescript_unittest.mm24 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/webkit/Source/WebKit/gtk/tests/
Dtestwebbackforwardlist.c34 WebKitWebHistoryItem* item1; in test_webkit_web_history_item_lifetime() local
48 item1 = webkit_web_history_item_new_with_data("http://example.com/1/", "Site 1"); in test_webkit_web_history_item_lifetime()
49 webkit_web_back_forward_list_add_item(backForwardList, item1); in test_webkit_web_history_item_lifetime()
50 g_object_unref(item1); in test_webkit_web_history_item_lifetime()
100 g_assert_cmpint(G_OBJECT(item1)->ref_count, ==, 1); in test_webkit_web_history_item_lifetime()
112 WebKitWebHistoryItem* item1; in test_webkit_web_back_forward_list_order() local
136 item1 = webkit_web_history_item_new_with_data("http://example.com/1/", "Site 1"); in test_webkit_web_back_forward_list_order()
137 webkit_web_back_forward_list_add_item(webBackForwardList, item1); in test_webkit_web_back_forward_list_order()
138 g_object_unref(item1); in test_webkit_web_back_forward_list_order()
139 g_assert(webkit_web_back_forward_list_contains_item(webBackForwardList, item1)); in test_webkit_web_back_forward_list_order()
[all …]
Dtestatk.c407 AtkObject* item1 = atk_object_ref_accessible_child(menuPopup, 0); in testWebkitAtkComboBox() local
408 g_assert(ATK_IS_OBJECT(item1)); in testWebkitAtkComboBox()
416 g_assert(atk_object_get_role(item1) == ATK_ROLE_MENU_ITEM); in testWebkitAtkComboBox()
426 g_assert(selectedItem == item1); in testWebkitAtkComboBox()
440 g_assert(ATK_IS_ACTION(item1)); in testWebkitAtkComboBox()
441 atkAction = ATK_ACTION(item1); in testWebkitAtkComboBox()
459 g_assert(ATK_IS_TEXT(item1)); in testWebkitAtkComboBox()
460 AtkText* atkText = ATK_TEXT(item1); in testWebkitAtkComboBox()
480 g_object_unref(item1); in testWebkitAtkComboBox()
1550 AtkObject* item1 = atk_object_ref_accessible_child(uList, 0); in testWebkitAtkListsOfItems() local
[all …]
/external/chromium/chrome/browser/ui/cocoa/
Dtab_view_picker_table_unittest.mm51 scoped_nsobject<NSTabViewItem> item1(
53 [item1 setLabel:@"label 1"];
54 [tabView_ addTabViewItem:item1];
Dhistory_menu_bridge_unittest.mm181 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/
Dlists4.txt2 * item1
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DAnnotationItem.java70 public int compare(AnnotationItem item1, AnnotationItem item2) { in compare() argument
71 int index1 = item1.type.getIndex(); in compare()
DMixedItemSection.java56 public int compare(OffsettedItem item1, OffsettedItem item2) {
57 ItemType type1 = item1.itemType();
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/
Dtable_data_model.js248 var item1 = this.getItemByUnsortedIndex_(index1);
251 var compareResult = compareFunction.call(null, item1, item2);
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/
DWKBundleBackForwardListItem.h37 WK_EXPORT bool WKBundleBackForwardListItemIsSame(WKBundleBackForwardListItemRef item1, WKBundleBack…
/external/webkit/Source/WebCore/loader/
DHistoryController.cpp704 bool HistoryController::itemsAreClones(HistoryItem* item1, HistoryItem* item2) const in itemsAreClones() argument
713 return item1 != item2 in itemsAreClones()
714 && item1->itemSequenceNumber() == item2->itemSequenceNumber() in itemsAreClones()
715 && currentFramesMatchItem(item1) in itemsAreClones()
716 && item2->hasSameFrames(item1); in itemsAreClones()
/external/chromium-trace/src/shared/js/cr/ui/
Darray_data_model.js384 var item1 = this.array_[index1];
389 compareResult = compareFunction.call(null, item1, item2);
/external/chromium/webkit/glue/
Dwebkit_glue.cc185 static bool HistoryItemCompareLess(const WebHistoryItem& item1, in HistoryItemCompareLess() argument
187 string16 target1 = item1.target(); in HistoryItemCompareLess()
/external/webkit/Source/WebCore/inspector/front-end/
DResourcesPanel.js617 var item1 = dataGridNode1.data[sortColumnIdentifier];
623 var number1 = parseFloat(item1);
627 comparison = item1 < item2 ? -1 : (item1 > item2 ? 1 : 0);
/external/webkit/Tools/DumpRenderTree/chromium/
DTestShell.cpp366 static bool HistoryItemCompareLess(const WebHistoryItem& item1, const WebHistoryItem& item2) in HistoryItemCompareLess() argument
368 string16 target1 = item1.target(); in HistoryItemCompareLess()
/external/chromium/chrome/browser/sync/syncable/
Dsyncable_unittest.cc535 MutableEntry item1(&trans, CREATE, trans.root_id(), "Item"); in TEST_F() local
536 ASSERT_TRUE(item1.good()); in TEST_F()
537 item1.Put(SPECIFICS, bookmark_specs); in TEST_F()
538 item1.Put(SERVER_SPECIFICS, bookmark_specs); in TEST_F()
539 item1.Put(IS_UNSYNCED, true); in TEST_F()
/external/webkit/Tools/DumpRenderTree/gtk/
DDumpRenderTree.cpp289 static gint compareHistoryItems(gpointer* item1, gpointer* item2) in compareHistoryItems() argument
291 return g_ascii_strcasecmp(webkit_web_history_item_get_target(WEBKIT_WEB_HISTORY_ITEM(item1)), in compareHistoryItems()
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/
DInjectedBundlePage.cpp1037 static bool compareByTargetName(WKBundleBackForwardListItemRef item1, WKBundleBackForwardListItemRe… in compareByTargetName() argument
1039 …return toSTD(adoptWK(WKBundleBackForwardListItemCopyTarget(item1))) < toSTD(adoptWK(WKBundleBackFo… in compareByTargetName()
/external/webkit/Tools/DumpRenderTree/win/
DDumpRenderTree.cpp501 static int compareHistoryItems(const void* item1, const void* item2) in compareHistoryItems() argument
504 if (FAILED((*(COMPtr<IUnknown>*)item1)->QueryInterface(&itemA))) in compareHistoryItems()
/external/qemu/
Dqemu-monitor.hx167 "item1[,...]", "activate logging of the specified items to '/tmp/qemu.log'" },
169 @item log @var{item1}[,...]
Dqemu-options.hx1298 "-d item1,... output log to %s (use -d ? for a list of log items)\n")
/external/elfutils/src/
Dreadelf.c5624 const Ebl_Core_Item *item1 = *p1; in compare_core_items() local
5627 return ((item1->group == item2->group ? 0 in compare_core_items()
5628 : strcmp (item1->group, item2->group)) in compare_core_items()
5629 ?: (int) item1->offset - (int) item2->offset); in compare_core_items()
5640 const Ebl_Core_Item *item1 = *group1; in compare_core_item_groups() local
5643 return (int) item1->offset - (int) item2->offset; in compare_core_item_groups()
/external/webkit/Tools/DumpRenderTree/mac/
DDumpRenderTree.mm733 static NSInteger compareHistoryItems(id item1, id item2, void *context)
735 return [[item1 target] caseInsensitiveCompare:[item2 target]];