Searched refs:child2 (Results 1 - 25 of 49) sorted by relevance

12

/external/valgrind/main/helgrind/tests/
H A Dlocked_vs_unlocked1.c27 pthread_t child1, child2; local
34 if (pthread_create(&child2, NULL, child_fn, (void*)(long)(sw ? 1 : 0))) {
44 if (pthread_join(child2, NULL)) {
H A Dlocked_vs_unlocked3.c45 pthread_t child1, child2; local
53 r= pthread_create(&child2, NULL, child_fn2, NULL); assert(!r);
57 r= pthread_join(child2, NULL); assert(!r);
H A Dlocked_vs_unlocked2.c53 pthread_t child1, child2; local
61 r= pthread_create(&child2, NULL, child_fn2, NULL); assert(!r);
65 r= pthread_join(child2, NULL); assert(!r);
H A Dtc22_exit_w_lock.c37 pthread_t child1, child2; local
39 r= pthread_create(&child2, NULL, child_fn2, NULL); assert(!r);
/external/chromium_org/ui/base/models/
H A Dtree_node_model_unittest.cc67 // +-- child2
81 TestNode* child2 = new TestNode; local
82 model.Add(root, child2, 1);
88 EXPECT_EQ(0, child2->child_count());
121 // +-- child2
127 TestNode child2; local
131 root.Add(&child2, 1);
160 // +-- child2
167 TestNode* child2 = new TestNode; local
168 root.Add(child2,
198 TestNode* child2 = new TestNode; local
249 TestNode* child2 = new TestNode; local
299 TestNode* child2 = new TestNode; local
[all...]
/external/chromium/chrome/browser/ui/gtk/
H A Dgtk_expanded_container_unittest.cc54 GtkWidget* child2 = gtk_fixed_new(); local
58 gtk_container_add(GTK_CONTAINER(expanded_), child2); local
59 ASSERT_TRUE(FindChild(child2));
64 ASSERT_TRUE(FindChild(child2));
66 gtk_container_remove(GTK_CONTAINER(expanded_), child2); local
67 ASSERT_FALSE(FindChild(child2));
72 GtkWidget* child2 = gtk_fixed_new(); local
75 child2, 10, 20); local
86 EXPECT_EQ(10, child2->allocation.x);
87 EXPECT_EQ(20, child2
[all...]
/external/chromium_org/ui/base/gtk/
H A Dgtk_expanded_container_unittest.cc71 GtkWidget* child2 = gtk_fixed_new(); local
75 gtk_container_add(GTK_CONTAINER(expanded_), child2); local
76 ASSERT_TRUE(FindChild(child2));
81 ASSERT_TRUE(FindChild(child2));
83 gtk_container_remove(GTK_CONTAINER(expanded_), child2); local
84 ASSERT_FALSE(FindChild(child2));
89 GtkWidget* child2 = gtk_fixed_new(); local
92 child2, 10, 20); local
100 EXPECT_ALLOCATION_EQ(child2, 10, 20, 50, 100);
108 EXPECT_ALLOCATION_PARAM_EQ(child2,
[all...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DViewGroupTest.java34 private View child2; field in class:ViewGroupTest
48 child2 = new View(context);
54 root.addView(child2);
96 assertThat(child2.getParent(), nullValue());
103 root.addView(child2);
107 assertThat(root.getChildAt(2), sameInstance(child2));
114 child2.setTag("tag2");
117 root.addView(child2);
120 assertThat(root.findViewWithTag("tag2"), sameInstance(child2));
128 child2
[all...]
/external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
H A DFilePreferencesImplTest.java83 Preferences child2 = uroot.node("\u4e2d child2");
93 childNames = child2.childrenNames();
100 child2.removeNode();
105 child2 = sroot.node("child2");
115 childNames = child2.childrenNames();
124 child2.removeNode();
/external/chromium_org/ui/views/controls/tabbed_pane/
H A Dtabbed_pane_unittest.cc40 View* child2 = new FixedSizeView(gfx::Size(5, 5)); local
41 tabbed_pane->AddTab(ASCIIToUTF16("tab2"), child2);
65 EXPECT_EQ(bounds, child2->bounds());
/external/chromium/chrome/common/extensions/docs/examples/api/contextMenus/basic/
H A Dsample.js28 var child2 = chrome.contextMenus.create( variable
30 console.log("parent:" + parent + " child1:" + child1 + " child2:" + child2);
/external/chromium_org/chrome/common/extensions/docs/examples/api/contextMenus/basic/
H A Dsample.js28 var child2 = chrome.contextMenus.create( variable
30 console.log("parent:" + parent + " child1:" + child1 + " child2:" + child2);
/external/chromium_org/tools/gyp/tools/
H A Dpretty_vcproj.py222 def SeekToNode(node1, child2):
224 if child2.nodeType == Node.TEXT_NODE:
228 current_name = child2.getAttribute("Name")
235 if sub_node.nodeName == child2.nodeName:
271 for child2 in node2.childNodes:
272 child1 = SeekToNode(node1, child2)
274 MergeProperties(child1, child2)
276 node1.appendChild(child2.cloneNode(True))
/external/chromium_org/cc/trees/
H A Ddamage_tracker_unittest.cc109 scoped_ptr<LayerImpl> child2 = local
136 child2->SetPosition(gfx::PointF(11.f, 11.f));
137 child2->SetAnchorPoint(gfx::PointF());
138 child2->SetBounds(gfx::Size(18, 18));
139 child2->SetContentBounds(gfx::Size(18, 18));
140 child2->SetDrawsContent(true);
157 root->AddChild(child2.Pass());
210 LayerImpl* child2 = root->children()[1]; local
217 EXPECT_FALSE(child2->render_surface());
478 LayerImpl* child2 local
616 scoped_ptr<LayerImpl> child2 = local
665 scoped_ptr<LayerImpl> child2 = local
699 scoped_ptr<LayerImpl> child2 = local
708 LayerImpl* child2 = root->children()[1]; local
727 LayerImpl* child2 = root->children()[1]; local
[all...]
/external/chromium_org/components/browser_context_keyed_service/
H A Ddependency_graph_unittest.cc72 DummyNode child2(&graph);
75 graph.AddEdge(&parent, &child2);
82 EXPECT_EQ(&child2, construction_order[2]);
87 EXPECT_EQ(&child2, destruction_order[0]);
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DTreeWizard.java357 TreePattern child2 = (TreePattern)tpattern.getChild(i);
358 if ( !_parse(child1, child2, labels) ) {
368 * (root child1 ... child2).
425 Object child2 = adaptor.getChild(t2, i);
426 if ( !_equals(child1, child2, adaptor) ) {
/external/chromium_org/cc/layers/
H A Dlayer_unittest.cc198 scoped_refptr<Layer> child2 = Layer::Create(); local
220 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, parent->InsertChild(child2, 1));
223 EXPECT_EQ(child2, parent->children()[1]);
225 EXPECT_EQ(parent.get(), child2->parent());
232 EXPECT_EQ(child2, parent->children()[1]);
243 scoped_refptr<Layer> child2 = Layer::Create(); local
254 parent->InsertChild(child2, 2459);
258 EXPECT_EQ(child2, parent->children()[1]);
264 scoped_refptr<Layer> child2 = Layer::Create(); local
271 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, parent->InsertChild(child2,
366 scoped_refptr<Layer> child2 = Layer::Create(); local
[all...]
H A Dtiled_layer_unittest.cc1685 scoped_refptr<FakeTiledLayer> child2 = make_scoped_refptr( local
1698 surface->AddChild(child2);
1706 child2->SetBounds(child2_rect.size());
1707 child2->SetAnchorPoint(gfx::PointF());
1708 child2->SetPosition(child2_rect.origin());
1709 child2->draw_properties().visible_content_rect = child2_rect;
1710 child2->draw_properties().drawable_content_rect = root_rect;
1718 child2->InvalidateContentRect(child2_rect);
1724 EXPECT_EQ(3, child2->fake_layer_updater()->update_count());
1729 child2
[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.
362 Node child2)
367 short child2type = child2.getNodeType();
405 else if (child2 == child || isNodeTheSame(child2, child))
449 else if (child2 == child || isNodeTheSame(child2, chil
361 isNodeAfterSibling(Node parent, Node child1, Node child2) argument
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DTreeWizard.cs442 TreePattern child2 = (TreePattern)tpattern.GetChild(i);
443 if (!ParseCore(child1, child2, labels)) {
454 * (root child1 ... child2).
521 object child2 = adaptor.GetChild(t2, i);
522 if (!EqualsCore(child1, child2, adaptor)) {
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DTreeWizard.cs508 TreePattern child2 = (TreePattern)tpattern.GetChild( i );
509 if ( !ParseCore( child1, child2, labels ) )
521 * (root child1 ... child2).
597 object child2 = adaptor.GetChild( t2, i );
598 if ( !EqualsCore( child1, child2, adaptor ) )
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dtreewizard.py353 (root child1 ... child2).
574 child2 = tpattern.getChild(i)
575 if not self._parse(child1, child2, labels):
615 child2 = adaptor.getChild(t2, i)
616 if not self._equals(child1, child2, adaptor):
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DTreeScope.cpp399 const TreeScope* child2 = chain2[--index2]; local
400 if (child1 != child2) {
402 Node* shadowHost2 = child2->rootNode()->parentOrShadowHostNode();
406 for (const ShadowRoot* child = toShadowRoot(child2->rootNode())->olderShadowRoot(); child; child = child->olderShadowRoot())
/external/chromium_org/ui/aura/
H A Dwindow_unittest.cc275 Window child2(NULL);
276 child2.Init(ui::LAYER_NOT_DRAWN);
279 child1.AddChild(&child2);
283 EXPECT_TRUE(parent.Contains(&child2));
287 EXPECT_FALSE(child2.Contains(&child1));
715 Window child2(NULL);
716 child2.Init(ui::LAYER_NOT_DRAWN);
719 parent.AddChild(&child2);
722 EXPECT_EQ(&child2, parent.children()[1]);
725 EXPECT_EQ(child2
[all...]
/external/chromium/chrome/browser/profiles/
H A Dprofile_dependency_manager_unittest.cc86 TestService child2("child2", shutdown_order(), manager());
88 DependOn(&child2, &parent);
93 EXPECT_STREQ("child2", (*shutdown_order())[0].c_str());

Completed in 913 milliseconds

12