/external/chromium_org/ui/base/models/ |
D | tree_node_model_unittest.cc | 75 TestNode* child1 = new TestNode; in TEST_F() local 76 model.Add(root, child1, 0); in TEST_F() 81 child1->Add(new TestNode, i); in TEST_F() 89 EXPECT_EQ(2, child1->child_count()); in TEST_F() 100 TestNode* child1 = new TestNode; in TEST_F() local 101 root->Add(child1, 0); in TEST_F() 106 delete model.Remove(root, child1); in TEST_F() 128 TestNode child1; in TEST_F() local 132 root.Add(&child1, 0); in TEST_F() 137 child1.Add(foo, 0); in TEST_F() [all …]
|
/external/chromium_org/ui/base/cocoa/ |
D | nsview_additions_unittest.mm | 43 base::scoped_nsobject<NSView> child1( 48 [parent addSubview:child1]; 50 EXPECT_TRUE([child1 cr_isBelowView:child2]); 51 EXPECT_FALSE([child1 cr_isAboveView:child2]); 52 EXPECT_FALSE([child2 cr_isBelowView:child1]); 53 EXPECT_TRUE([child2 cr_isAboveView:child1]); 55 [child1 removeFromSuperview]; 58 [parent addSubview:child1]; 59 EXPECT_FALSE([child1 cr_isBelowView:child2]); 60 EXPECT_TRUE([child1 cr_isAboveView:child2]); [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | ViewGroupTest.java | 33 private View child1; field in ViewGroupTest 47 child1 = new View(context); in setUp() 53 root.addView(child1); in setUp() 93 assertThat(root.getChildAt(0), sameInstance(child1)); in testRemoveChildAt() 102 root.addView(child1); in testAddViewAt() 105 assertThat(root.getChildAt(0), sameInstance(child1)); in testAddViewAt() 113 child1.setTag("tag1"); in shouldfindViewWithTag() 116 root.addView(child1); in shouldfindViewWithTag() 119 assertThat(root.findViewWithTag("tag1"), sameInstance(child1)); in shouldfindViewWithTag() 127 child1.setTag("tag1"); in shouldNotfindViewWithTagReturnNull() [all …]
|
/external/chromium_org/cc/trees/ |
D | damage_tracker_unittest.cc | 108 scoped_ptr<LayerImpl> child1 = in CreateTestTreeWithTwoSurfaces() local 124 child1->SetPosition(gfx::PointF(100.f, 100.f)); in CreateTestTreeWithTwoSurfaces() 125 child1->SetBounds(gfx::Size(30, 30)); in CreateTestTreeWithTwoSurfaces() 126 child1->SetContentBounds(gfx::Size(30, 30)); in CreateTestTreeWithTwoSurfaces() 131 child1->SetOpacity(0.5f); in CreateTestTreeWithTwoSurfaces() 132 child1->SetDrawsContent(false); in CreateTestTreeWithTwoSurfaces() 133 child1->SetForceRenderSurface(true); in CreateTestTreeWithTwoSurfaces() 150 child1->AddChild(grand_child1.Pass()); in CreateTestTreeWithTwoSurfaces() 151 child1->AddChild(grand_child2.Pass()); in CreateTestTreeWithTwoSurfaces() 152 root->AddChild(child1.Pass()); in CreateTestTreeWithTwoSurfaces() [all …]
|
D | layer_tree_impl_unittest.cc | 853 scoped_ptr<LayerImpl> child1 = in TEST_F() local 862 SetLayerPropertiesForTesting(child1.get(), in TEST_F() 869 child1->SetDrawsContent(true); in TEST_F() 896 child1->AddChild(grand_child1.Pass()); in TEST_F() 897 root->AddChild(child1.Pass()); in TEST_F() 901 LayerImpl* child1 = root->children()[0]; in TEST_F() local 903 LayerImpl* grand_child1 = child1->children()[0]; in TEST_F() 910 ASSERT_TRUE(child1); in TEST_F() 994 scoped_ptr<LayerImpl> child1 = in TEST_F() local 1003 SetLayerPropertiesForTesting(child1.get(), in TEST_F() [all …]
|
/external/chromium_org/content/browser/accessibility/ |
D | browser_accessibility_mac_unittest.mm | 37 ui::AXNodeData child1; 38 child1.id = 1001; 39 child1.SetName("Child1"); 40 child1.location.set_width(250); 41 child1.location.set_height(100); 42 child1.role = ui::AX_ROLE_BUTTON; 54 MakeAXTreeUpdate(root, child1, child2),
|
/external/valgrind/main/helgrind/tests/ |
D | locked_vs_unlocked1.c | 27 pthread_t child1, child2; in main() local 29 if (pthread_create(&child1, NULL, child_fn, (void*)(long)(sw ? 0 : 1))) { in main() 39 if (pthread_join(child1, NULL)) { in main()
|
D | tc22_exit_w_lock.c | 37 pthread_t child1, child2; in main() local 42 r= pthread_create(&child1, NULL, child_fn1, NULL); assert(!r); in main() 43 r= pthread_join(child1, NULL); assert(!r); in main()
|
D | locked_vs_unlocked3.c | 45 pthread_t child1, child2; in main() local 54 r= pthread_create(&child1, NULL, child_fn1, NULL); assert(!r); in main() 56 r= pthread_join(child1, NULL); assert(!r); in main()
|
D | bar_bad.c | 12 void* child1 ( void* arg ) in child1() function 53 pthread_create(&thr1, NULL, child1, (void*)bar3); in main() 65 pthread_create(&thr2, NULL, child1, (void*)bar4); in main()
|
D | locked_vs_unlocked2.c | 53 pthread_t child1, child2; in main() local 62 r= pthread_create(&child1, NULL, child_fn1, NULL); assert(!r); in main() 64 r= pthread_join(child1, NULL); assert(!r); in main()
|
/external/chromium_org/cc/layers/ |
D | layer_unittest.cc | 197 scoped_refptr<Layer> child1 = Layer::Create(); in TEST_F() local 213 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, parent->InsertChild(child1, 0)); in TEST_F() 215 EXPECT_EQ(child1, parent->children()[0]); in TEST_F() 217 EXPECT_EQ(parent.get(), child1->parent()); in TEST_F() 222 EXPECT_EQ(child1, parent->children()[0]); in TEST_F() 231 EXPECT_EQ(child1, parent->children()[0]); in TEST_F() 242 scoped_refptr<Layer> child1 = Layer::Create(); in TEST_F() local 248 parent->InsertChild(child1, 53); in TEST_F() 251 EXPECT_EQ(child1, parent->children()[0]); in TEST_F() 257 EXPECT_EQ(child1, parent->children()[0]); in TEST_F() [all …]
|
/external/chromium_org/ui/views/controls/tabbed_pane/ |
D | tabbed_pane_unittest.cc | 40 View* child1 = new FixedSizeView(gfx::Size(20, 10)); in TEST_F() local 41 tabbed_pane->AddTab(ASCIIToUTF16("tab1"), child1); in TEST_F() 57 gfx::Rect bounds(child1->bounds()); in TEST_F()
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | where3.test | 64 CREATE TABLE child1 ( child1key NVARCHAR, value NVARCHAR ); 65 CREATE UNIQUE INDEX PKIDXChild1 ON child1 ( child1key ); 70 INSERT INTO child1 ( child1key, value ) VALUES ( 'C1.1', 'Value for C1.1' ); 79 INSERT INTO child1 ( child1key, value ) VALUES ( 'C1.3', 'Value for C1.3' ); 82 SELECT parent1.parent1key, child1.value, child2.value 84 LEFT OUTER JOIN child1 ON child1.child1key = parent1.child1key 92 SELECT parent1.parent1key, child1.value, child2.value 94 LEFT OUTER JOIN child1 ON child1.child1key = parent1.child1key 98 SELECT parent1.parent1key, child1.value, child2.value 100 LEFT OUTER JOIN child1 ON parent1.child1key = child1.child1key
|
/external/chromium_org/components/keyed_service/core/ |
D | dependency_graph_unittest.cc | 68 DummyNode child1(&graph); in TEST_F() local 71 graph.AddEdge(&parent, &child1); in TEST_F() 78 EXPECT_EQ(&child1, construction_order[1]); in TEST_F() 85 EXPECT_EQ(&child1, destruction_order[1]); in TEST_F()
|
/external/bison/tests/ |
D | cxx-type.at | 208 new_nterm (char const *form, Node *child0, Node *child1, Node *child2) 217 node->nterm.children[1] = child1; 218 if (child1) 219 child1->nodeInfo.parents += 1; 260 char *child1; 271 child1 = node_to_string (node->nterm.children[1]); 274 + strlen (child1) + strlen (child2) + 1); 275 sprintf (buffer, node->nterm.form, child0, child1, child2); 277 free (child1);
|
/external/lldb/test/lang/cpp/class_static/ |
D | TestStaticVariables.py | 120 child1 = val.GetChildAtIndex(1) 121 self.DebugSBValue(child1) 122 child1_x = child1.GetChildAtIndex(0)
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/contextMenus/basic/ |
D | sample.js | 26 var child1 = chrome.contextMenus.create( variable 30 console.log("parent:" + parent + " child1:" + child1 + " child2:" + child2);
|
/external/chromium_org/chrome/browser/extensions/ |
D | menu_manager_unittest.cc | 700 MenuItem* child1 = CreateTestItem(extension); in TEST_F() local 701 child1->set_type(MenuItem::RADIO); in TEST_F() 702 child1->SetChecked(false); in TEST_F() 706 ASSERT_FALSE(child1->checked()); in TEST_F() 709 manager_.AddChildItem(parent->id(), child1); in TEST_F() 710 ASSERT_TRUE(child1->checked()); in TEST_F() 713 ASSERT_FALSE(child1->checked()); in TEST_F() 720 ASSERT_TRUE(child1->checked()); in TEST_F() 724 manager_.ChangeParent(child1->id(), NULL); in TEST_F() 726 ASSERT_TRUE(child1->checked()); in TEST_F() [all …]
|
/external/chromium_org/ui/aura/ |
D | window_unittest.cc | 273 Window child1(NULL); in TEST_F() local 274 child1.Init(aura::WINDOW_LAYER_NOT_DRAWN); in TEST_F() 278 parent.AddChild(&child1); in TEST_F() 279 child1.AddChild(&child2); in TEST_F() 282 EXPECT_TRUE(parent.Contains(&child1)); in TEST_F() 286 EXPECT_FALSE(child1.Contains(&parent)); in TEST_F() 287 EXPECT_FALSE(child2.Contains(&child1)); in TEST_F() 646 Window child1(NULL); in TEST_F() local 647 child1.Init(aura::WINDOW_LAYER_NOT_DRAWN); in TEST_F() 651 parent.AddChild(&child1); in TEST_F() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | DOMHelper.java | 361 private static boolean isNodeAfterSibling(Node parent, Node child1, in isNodeAfterSibling() argument 366 short child1type = child1.getNodeType(); in isNodeAfterSibling() 394 if (child1 == child || isNodeTheSame(child1, child)) in isNodeAfterSibling() 438 if (child1 == child || isNodeTheSame(child1, child)) in isNodeAfterSibling()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | TreeWizard.java | 356 Object child1 = adaptor.getChild(t1, i); in _parse() local 358 if ( !_parse(child1, child2, labels) ) { in _parse() 424 Object child1 = adaptor.getChild(t1, i); in _equals() local 426 if ( !_equals(child1, child2, adaptor) ) { in _equals()
|
/external/chromium_org/ash/wm/overview/ |
D | window_selector_unittest.cc | 605 scoped_ptr<aura::Window> child1(CreateWindow(bounds)); in TEST_F() local 606 child1->SetProperty(aura::client::kModalKey, ui::MODAL_TYPE_WINDOW); in TEST_F() 607 ::wm::AddTransientChild(window1.get(), child1.get()); in TEST_F() 608 EXPECT_EQ(window1->parent(), child1->parent()); in TEST_F() 611 EXPECT_TRUE(child1->IsVisible()); in TEST_F() 612 EXPECT_EQ(ToEnclosingRect(GetTransformedTargetBounds(child1.get())), in TEST_F() 621 scoped_ptr<aura::Window> child1(CreateWindow(gfx::Rect(200, 0, 180, 180))); in TEST_F() local 622 child1->SetProperty(aura::client::kModalKey, ui::MODAL_TYPE_WINDOW); in TEST_F() 623 ::wm::AddTransientChild(window1.get(), child1.get()); in TEST_F() 624 EXPECT_FALSE(WindowsOverlapping(window1.get(), child1.get())); in TEST_F() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | TreeWizard.cs | 507 object child1 = adaptor.GetChild( t1, i ); in ParseCore() 509 if ( !ParseCore( child1, child2, labels ) ) in ParseCore() 596 object child1 = adaptor.GetChild( t1, i ); in EqualsCore() 598 if ( !EqualsCore( child1, child2, adaptor ) ) in EqualsCore()
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | TreeWizard.cs | 441 object child1 = adaptor.GetChild(t1, i); in ParseCore() 443 if (!ParseCore(child1, child2, labels)) { in ParseCore() 520 object child1 = adaptor.GetChild(t1, i); in EqualsCore() 522 if (!EqualsCore(child1, child2, adaptor)) { in EqualsCore()
|