Searched refs:child1 (Results 1 - 25 of 47) sorted by relevance

12

/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/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_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);
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);
/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/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...]
/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/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/lldb/test/lang/cpp/class_static/
H A DTestStaticVariables.py120 child1 = val.GetChildAtIndex(1)
121 self.DebugSBValue(child1)
122 child1_x = child1.GetChildAtIndex(0)
/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...]
/external/chromium_org/components/keyed_service/core/
H A Ddependency_graph_unittest.cc68 DummyNode child1(&graph);
71 graph.AddEdge(&parent, &child1);
78 EXPECT_EQ(&child1, construction_order[1]);
85 EXPECT_EQ(&child1, destruction_order[1]);
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DTreeWizard.java356 Object child1 = adaptor.getChild(t1, i);
358 if ( !_parse(child1, child2, labels) ) {
368 * (root child1 ... child2).
424 Object child1 = adaptor.getChild(t1, i);
426 if ( !_equals(child1, child2, adaptor) ) {
/external/chromium_org/tools/gyp/tools/
H A Dpretty_vcproj.py272 child1 = SeekToNode(node1, child2)
273 if child1:
274 MergeProperties(child1, child2)
/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/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/ui/aura/
H A Dwindow_unittest.cc273 Window child1(NULL);
274 child1.Init(aura::WINDOW_LAYER_NOT_DRAWN);
278 parent.AddChild(&child1);
279 child1.AddChild(&child2);
282 EXPECT_TRUE(parent.Contains(&child1));
286 EXPECT_FALSE(child1.Contains(&parent));
287 EXPECT_FALSE(child2.Contains(&child1));
646 Window child1(NULL);
647 child1.Init(aura::WINDOW_LAYER_NOT_DRAWN);
651 parent.AddChild(&child1);
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DTreeWizard.cs441 object child1 = adaptor.GetChild(t1, i);
443 if (!ParseCore(child1, child2, labels)) {
454 * (root child1 ... child2).
520 object child1 = adaptor.GetChild(t1, i);
522 if (!EqualsCore(child1, child2, adaptor)) {
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DTreeWizard.cs507 object child1 = adaptor.GetChild( t1, i );
509 if ( !ParseCore( child1, child2, labels ) )
521 * (root child1 ... child2).
596 object child1 = adaptor.GetChild( t1, i );
598 if ( !EqualsCore( child1, child2, adaptor ) )
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dtreewizard.py353 (root child1 ... child2).
573 child1 = self.adaptor.getChild(t1, i)
575 if not self._parse(child1, child2, labels):
614 child1 = adaptor.getChild(t1, i)
616 if not self._equals(child1, child2, adaptor):
/external/chromium_org/components/keyed_service/content/
H A Dbrowser_context_dependency_manager_unittest.cc78 TestService child1("child1", shutdown_order(), manager());
80 DependOn(&child1, &parent);
87 EXPECT_STREQ("child1", (*shutdown_order())[1].c_str());
/external/chromium_org/tools/usb_gadget/
H A Dusb_descriptors_test.py111 child1 = DescriptorWithField(bField=1)
112 parent.Add(child1)
/external/chromium_org/ui/views/controls/native/
H A Dnative_view_host_unittest.cc157 // +-- child1 (Widget, attached to host1)
167 scoped_ptr<Widget> child1(CreateChildForHost(toplevel()->GetNativeView(),
217 // +-- child1 (Widget, attached to host1)
232 scoped_ptr<Widget> child1(CreateChildForHost(toplevel()->GetNativeView(),

Completed in 753 milliseconds

12