Searched defs:child1 (Results 1 - 25 of 32) sorted by relevance

12

/external/chromium_org/ui/views/controls/tabbed_pane/
H A Dtabbed_pane_unittest.cc40 View* child1 = new FixedSizeView(gfx::Size(20, 10)); local
41 tabbed_pane->AddTab(ASCIIToUTF16("tab1"), child1);
57 gfx::Rect bounds(child1->bounds());
/external/valgrind/main/helgrind/tests/
H A Dlocked_vs_unlocked1.c27 pthread_t child1, child2; local
29 if (pthread_create(&child1, NULL, child_fn, (void*)(long)(sw ? 0 : 1))) {
39 if (pthread_join(child1, NULL)) {
H A Dbar_bad.c12 void* child1 ( void* arg ) function
53 pthread_create(&thr1, NULL, child1, (void*)bar3);
65 pthread_create(&thr2, NULL, child1, (void*)bar4);
H A Dlocked_vs_unlocked2.c53 pthread_t child1, child2; local
62 r= pthread_create(&child1, NULL, child_fn1, NULL); assert(!r);
64 r= pthread_join(child1, NULL); assert(!r);
H A Dlocked_vs_unlocked3.c45 pthread_t child1, child2; local
54 r= pthread_create(&child1, NULL, child_fn1, NULL); assert(!r);
56 r= pthread_join(child1, NULL); assert(!r);
H A Dtc22_exit_w_lock.c37 pthread_t child1, child2; local
42 r= pthread_create(&child1, NULL, child_fn1, NULL); assert(!r);
43 r= pthread_join(child1, NULL); assert(!r);
/external/chromium_org/chrome/common/extensions/docs/examples/api/contextMenus/basic/
H A Dsample.js26 var child1 = chrome.contextMenus.create( variable
30 console.log("parent:" + parent + " child1:" + child1 + " child2:" + child2);
/external/chromium_org/ui/base/models/
H A Dtree_node_model_unittest.cc66 // +-- child1
75 TestNode* child1 = new TestNode; local
76 model.Add(root, child1, 0);
81 child1->Add(new TestNode, i);
89 EXPECT_EQ(2, child1->child_count());
100 TestNode* child1 = new TestNode; local
101 root->Add(child1, 0);
105 // Now remove |child1| from |root| and release the memory.
106 delete model.Remove(root, child1);
118 // +-- child1
128 TestNode child1; local
166 TestNode* child1 = new TestNode; local
199 TestNode* child1 = new TestNode; local
250 TestNode* child1 = new TestNode; local
296 TestNode* child1 = new TestNode; local
318 TestNode* child1 = new TestNode; local
[all...]
/external/chromium_org/ui/views/controls/
H A Dsingle_split_view_unittest.cc156 MinimumSizedView *child1 = local
160 child0, child1, SingleSplitView::VERTICAL_SPLIT, &listener);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DViewGroupTest.java33 private View child1; field in class:ViewGroupTest
47 child1 = new View(context);
53 root.addView(child1);
93 assertThat(root.getChildAt(0), sameInstance(child1));
102 root.addView(child1);
105 assertThat(root.getChildAt(0), sameInstance(child1));
113 child1.setTag("tag1");
116 root.addView(child1);
119 assertThat(root.findViewWithTag("tag1"), sameInstance(child1));
127 child1
[all...]
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DDOMHelper.java348 * Figure out if child2 is after child1 in document order.
356 * @param parent Must be the parent of both child1 and child2.
357 * @param child1 Must be the child of parent and not equal to child2.
358 * @param child2 Must be the child of parent and not equal to child1.
359 * @return true if child 2 is after child1 in document order.
361 private static boolean isNodeAfterSibling(Node parent, Node child1, argument
366 short child1type = child1.getNodeType();
394 if (child1 == child || isNodeTheSame(child1, child))
438 if (child1
[all...]
/external/chromium_org/cc/trees/
H A Ddamage_tracker_unittest.cc103 // child1. Additionally, the root has a second child layer, and child1 has
108 scoped_ptr<LayerImpl> child1 = local
124 child1->SetPosition(gfx::PointF(100.f, 100.f));
125 child1->SetBounds(gfx::Size(30, 30));
126 child1->SetContentBounds(gfx::Size(30, 30));
131 child1->SetOpacity(0.5f);
132 child1->SetDrawsContent(false);
133 child1->SetForceRenderSurface(true);
150 child1
206 LayerImpl* child1 = root->children()[0]; local
571 LayerImpl* child1 = root->children()[0]; local
698 LayerImpl* child1 = root->children()[0]; local
780 LayerImpl* child1 = root->children()[0]; local
812 LayerImpl* child1 = root->children()[0]; local
858 LayerImpl* child1 = root->children()[0]; local
896 LayerImpl* child1 = root->children()[0]; local
922 LayerImpl* child1 = root->children()[0]; local
976 LayerImpl* child1 = root->children()[0]; local
1006 LayerImpl* child1 = root->children()[0]; local
1025 LayerImpl* child1 = root->children()[0]; local
1219 LayerImpl* child1 = root->children()[0]; local
1288 LayerImpl* child1 = root->children()[0]; local
[all...]
H A Dlayer_tree_impl_unittest.cc848 // grand_child is set to overlap both child1 and child2 between y=50 and
850 // grand_child, (third) child1, and (back) the root layer behind all other
853 scoped_ptr<LayerImpl> child1 = local
862 SetLayerPropertiesForTesting(child1.get(),
869 child1->SetDrawsContent(true);
883 // child1). In screen space, the intended position is (10, 50), with size
896 child1->AddChild(grand_child1.Pass());
897 root->AddChild(child1.Pass());
901 LayerImpl* child1 = root->children()[0]; local
903 LayerImpl* grand_child1 = child1
994 scoped_ptr<LayerImpl> child1 = local
1049 LayerImpl* child1 = root->children()[0]; local
1284 scoped_ptr<LayerImpl> child1 = local
1335 LayerImpl* child1 = root->children()[0]; local
[all...]
H A Docclusion_tracker_unittest.cc990 typename Types::LayerType* child1 = this->CreateSurface( local
995 child1, this->identity_matrix, gfx::PointF(), gfx::Size(40, 50), true);
1018 this->EnterContributingSurface(child1, &occlusion);
1027 this->LeaveContributingSurface(child1, &occlusion);
1060 typename Types::LayerType* child1 = this->CreateSurface( local
1069 this->CreateDrawingLayer(child1,
1103 this->EnterContributingSurface(child1, &occlusion);
1110 this->LeaveContributingSurface(child1, &occlusion);
1475 typename Types::ContentLayerType* child1 = this->CreateDrawingLayer( local
1485 child1
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dmenu_manager_unittest.cc700 MenuItem* child1 = CreateTestItem(extension); local
701 child1->set_type(MenuItem::RADIO);
702 child1->SetChecked(false);
706 ASSERT_FALSE(child1->checked());
709 manager_.AddChildItem(parent->id(), child1);
710 ASSERT_TRUE(child1->checked());
713 ASSERT_FALSE(child1->checked());
720 ASSERT_TRUE(child1->checked());
724 manager_.ChangeParent(child1->id(), NULL);
726 ASSERT_TRUE(child1
[all...]
/external/chromium_org/content/browser/accessibility/
H A Dbrowser_accessibility_manager_unittest.cc194 // child1
229 // child1
294 // Check that our references to the root, child1, and child2 are still valid,
326 // child1
394 // child1
611 ui::AXNodeData child1; local
612 child1.id = 2;
613 child1.child_ids.push_back(4);
614 child1.child_ids.push_back(5);
633 MakeAXTreeUpdate(root2, child1, child
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DTreeScope.cpp411 const TreeScope* child1 = chain1[--index1]; local
413 if (child1 != child2) {
414 Node* shadowHost1 = child1->rootNode().parentOrShadowHostNode();
420 if (child == child1)
/external/chromium_org/cc/layers/
H A Dlayer_unittest.cc197 scoped_refptr<Layer> child1 = Layer::Create(); local
213 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, parent->InsertChild(child1, 0));
215 EXPECT_EQ(child1, parent->children()[0]);
217 EXPECT_EQ(parent.get(), child1->parent());
222 EXPECT_EQ(child1, parent->children()[0]);
231 EXPECT_EQ(child1, parent->children()[0]);
242 scoped_refptr<Layer> child1 = Layer::Create(); local
248 parent->InsertChild(child1, 53);
251 EXPECT_EQ(child1, parent->children()[0]);
257 EXPECT_EQ(child1, paren
263 scoped_refptr<Layer> child1 = Layer::Create(); local
340 scoped_refptr<Layer> child1 = Layer::Create(); local
369 scoped_refptr<Layer> child1 = Layer::Create(); local
423 scoped_refptr<Layer> child1 = Layer::Create(); local
[all...]
H A Dscrollbar_layer_unittest.cc43 scoped_refptr<Layer> child1 = Layer::Create(); local
51 child1->id());
53 child2 = PaintedScrollbarLayer::Create(scrollbar.Pass(), child1->id());
56 layer_tree_root->AddChild(child1);
427 scoped_refptr<Layer> child1 = Layer::Create(); local
434 child1->id());
437 scroll_layer->AddChild(child1);
/external/chromium_org/chrome/browser/history/android/
H A Dandroid_provider_backend_unittest.cc902 const BookmarkNode* child1 = bookmark_model_->mobile_node()->GetChild(0); local
903 ASSERT_TRUE(child1);
904 EXPECT_EQ(row1.title(), child1->GetTitle());
905 EXPECT_EQ(update_row1.url(), child1->url());
1636 const BookmarkNode* child1 = bookmark_model_->mobile_node()->GetChild(0); local
1637 ASSERT_TRUE(child1);
1638 EXPECT_EQ(row1.title(), child1->GetTitle());
1639 EXPECT_EQ(row1.url(), child1->url());
/external/chromium_org/ui/views/widget/
H A Dwidget_interactive_uitest.cc384 Widget* child1 = CreateChildNativeWidgetWithParent(toplevel); local
389 child1->SetBounds(gfx::Rect(10, 10, 300, 300));
392 child1->GetRootView()->AddChildView(view);
402 // Click on child1
409 EXPECT_TRUE(child1->HasCapture());
417 EXPECT_FALSE(child1->HasCapture());
430 EXPECT_FALSE(child1->HasCapture());
436 EXPECT_FALSE(child1->HasCapture());
H A Dwidget_unittest.cc817 Widget* child1 = NewWidget(); local
821 child1->Show();
826 child1->Hide();
827 EXPECT_EQ(child1, widget_hidden());
832 child1->Show();
833 EXPECT_EQ(child1, widget_shown());
856 Widget* child1 = NewWidget(); local
859 child1->OnNativeWidgetMove();
860 EXPECT_EQ(child1, widget_bounds_changed());
865 child1
[all...]
/external/chromium_org/components/bookmarks/browser/
H A Dbookmark_model_unittest.cc1002 BookmarkNode* child1 = AsMutable(parent->GetChild(1)); local
1003 child1->SetTitle(ASCIIToUTF16("a"));
1004 delete child1->Remove(child1->GetChild(0));
/external/chromium_org/sync/internal_api/
H A Dsync_manager_impl_unittest.cc622 int64 child1 = MakeFolderWithParent(user_share(), BOOKMARKS, parent, NULL); local
624 ignore_result(MakeBookmarkWithParent(user_share(), child1, NULL));
/external/chromium_org/ui/views/
H A Dview_unittest.cc2409 // +-- child1
2419 View* child1 = new View; local
2420 root.AddChildView(child1);
2426 child1->AddChildView(foo);
2433 EXPECT_EQ(1, child1->child_count());
2471 // +-- child1
2477 View* child1 = new View; local
2478 root.AddChildView(child1);
2484 child1->AddChildView(foo1);
2488 EXPECT_EQ(0, root.GetIndexOf(child1));
[all...]

Completed in 4867 milliseconds

12