/external/chromium_org/ui/base/models/ |
D | tree_node_model_unittest.cc | 83 TestNode* child2 = new TestNode; in TEST_F() local 84 model.Add(root, child2, 1); in TEST_F() 90 EXPECT_EQ(0, child2->child_count()); in TEST_F() 129 TestNode child2; in TEST_F() local 133 root.Add(&child2, 1); in TEST_F() 169 TestNode* child2 = new TestNode; in TEST_F() local 170 root.Add(child2, 1); in TEST_F() 177 EXPECT_EQ(1, root.GetIndexOf(child2)); in TEST_F() 182 EXPECT_EQ(-1, child1->GetIndexOf(child2)); in TEST_F() 185 EXPECT_EQ(-1, child2->GetIndexOf(&root)); in TEST_F() [all …]
|
/external/chromium_org/ui/base/cocoa/ |
D | nsview_additions_unittest.mm | 45 base::scoped_nsobject<NSView> child2( 49 [parent addSubview:child2]; 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]); 56 [child2 removeFromSuperview]; 57 [parent addSubview:child2]; 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 | 34 private View child2; field in ViewGroupTest 48 child2 = new View(context); in setUp() 54 root.addView(child2); in setUp() 96 assertThat(child2.getParent(), nullValue()); in testRemoveChildAt() 103 root.addView(child2); in testAddViewAt() 107 assertThat(root.getChildAt(2), sameInstance(child2)); in testAddViewAt() 114 child2.setTag("tag2"); in shouldfindViewWithTag() 117 root.addView(child2); in shouldfindViewWithTag() 120 assertThat(root.findViewWithTag("tag2"), sameInstance(child2)); in shouldfindViewWithTag() 128 child2.setTag("tag2"); in shouldNotfindViewWithTagReturnNull() [all …]
|
/external/chromium_org/cc/trees/ |
D | damage_tracker_unittest.cc | 110 scoped_ptr<LayerImpl> child2 = in CreateTestTreeWithTwoSurfaces() local 135 child2->SetPosition(gfx::PointF(11.f, 11.f)); in CreateTestTreeWithTwoSurfaces() 136 child2->SetBounds(gfx::Size(18, 18)); in CreateTestTreeWithTwoSurfaces() 137 child2->SetContentBounds(gfx::Size(18, 18)); in CreateTestTreeWithTwoSurfaces() 138 child2->SetDrawsContent(true); in CreateTestTreeWithTwoSurfaces() 153 root->AddChild(child2.Pass()); in CreateTestTreeWithTwoSurfaces() 207 LayerImpl* child2 = root->children()[1]; in TEST_F() local 214 EXPECT_FALSE(child2->render_surface()); in TEST_F() 572 LayerImpl* child2 = root->children()[1]; in TEST_F() local 665 child2->SetUpdateRect(gfx::RectF(0.f, 0.f, 1.f, 1.f)); in TEST_F() [all …]
|
D | layer_tree_impl_unittest.cc | 855 scoped_ptr<LayerImpl> child2 = in TEST_F() local 873 SetLayerPropertiesForTesting(child2.get(), in TEST_F() 880 child2->SetDrawsContent(true); in TEST_F() 898 root->AddChild(child2.Pass()); in TEST_F() 902 LayerImpl* child2 = root->children()[1]; in TEST_F() local 911 ASSERT_TRUE(child2); in TEST_F() 996 scoped_ptr<LayerImpl> child2 = in TEST_F() local 1018 SetLayerPropertiesForTesting(child2.get(), in TEST_F() 1025 child2->SetDrawsContent(true); in TEST_F() 1026 child2->SetShouldFlattenTransform(false); in TEST_F() [all …]
|
/external/chromium_org/content/browser/accessibility/ |
D | browser_accessibility_mac_unittest.mm | 44 ui::AXNodeData child2; 45 child2.id = 1002; 46 child2.location.set_x(250); 47 child2.location.set_width(250); 48 child2.location.set_height(100); 49 child2.role = ui::AX_ROLE_HEADING; 54 MakeAXTreeUpdate(root, child1, child2),
|
/external/chromium_org/tools/gyp/tools/ |
D | pretty_vcproj.py | 222 def SeekToNode(node1, child2): argument 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/valgrind/main/helgrind/tests/ |
D | locked_vs_unlocked1.c | 27 pthread_t child1, child2; in main() local 34 if (pthread_create(&child2, NULL, child_fn, (void*)(long)(sw ? 1 : 0))) { in main() 44 if (pthread_join(child2, NULL)) { in main()
|
D | locked_vs_unlocked3.c | 45 pthread_t child1, child2; in main() local 53 r= pthread_create(&child2, NULL, child_fn2, NULL); assert(!r); in main() 57 r= pthread_join(child2, NULL); assert(!r); in main()
|
D | locked_vs_unlocked2.c | 53 pthread_t child1, child2; in main() local 61 r= pthread_create(&child2, NULL, child_fn2, NULL); assert(!r); in main() 65 r= pthread_join(child2, NULL); assert(!r); in main()
|
D | tc22_exit_w_lock.c | 37 pthread_t child1, child2; in main() local 39 r= pthread_create(&child2, NULL, child_fn2, NULL); assert(!r); in main()
|
/external/chromium_org/cc/layers/ |
D | layer_unittest.cc | 198 scoped_refptr<Layer> child2 = Layer::Create(); in TEST_F() local 220 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, parent->InsertChild(child2, 1)); in TEST_F() 223 EXPECT_EQ(child2, parent->children()[1]); in TEST_F() 225 EXPECT_EQ(parent.get(), child2->parent()); in TEST_F() 232 EXPECT_EQ(child2, parent->children()[1]); in TEST_F() 243 scoped_refptr<Layer> child2 = Layer::Create(); in TEST_F() local 254 parent->InsertChild(child2, 2459); in TEST_F() 258 EXPECT_EQ(child2, parent->children()[1]); in TEST_F() 264 scoped_refptr<Layer> child2 = Layer::Create(); in TEST_F() local 271 EXPECT_SET_NEEDS_FULL_TREE_SYNC(1, parent->InsertChild(child2, 1)); in TEST_F() [all …]
|
D | tiled_layer_unittest.cc | 1495 scoped_refptr<FakeTiledLayer> child2 = make_scoped_refptr( in TEST_F() local 1506 surface->AddChild(child2); in TEST_F() 1513 child2->SetBounds(child2_rect.size()); in TEST_F() 1514 child2->SetPosition(child2_rect.origin()); in TEST_F() 1515 child2->draw_properties().visible_content_rect = child2_rect; in TEST_F() 1516 child2->draw_properties().drawable_content_rect = root_rect; in TEST_F() 1524 child2->InvalidateContentRect(child2_rect); in TEST_F() 1530 EXPECT_EQ(3, child2->fake_layer_updater()->update_count()); in TEST_F() 1535 child2->fake_layer_updater()->ClearUpdateCount(); in TEST_F() 1542 new FakeTiledLayerImpl(host_impl_->active_tree(), child2->id())); in TEST_F() [all …]
|
/external/chromium_org/ui/views/controls/tabbed_pane/ |
D | tabbed_pane_unittest.cc | 42 View* child2 = new FixedSizeView(gfx::Size(5, 5)); in TEST_F() local 43 tabbed_pane->AddTab(ASCIIToUTF16("tab2"), child2); in TEST_F() 67 EXPECT_EQ(bounds, child2->bounds()); in TEST_F()
|
/external/linux-tools-perf/perf-3.12.0/include/linux/ |
D | rbtree_augmented.h | 159 struct rb_node *successor = child, *child2; in __rb_erase_augmented() local 172 child2 = successor->rb_right; in __rb_erase_augmented() 194 parent->rb_left = child2 = successor->rb_right; in __rb_erase_augmented() 207 if (child2) { in __rb_erase_augmented() 209 rb_set_parent_color(child2, parent, RB_BLACK); in __rb_erase_augmented()
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | where3.test | 66 CREATE TABLE child2 ( child2key NVARCHAR, value NVARCHAR ); 71 INSERT INTO child2 ( child2key, value ) VALUES ( 'C2.1', 'Value for C2.1' ); 75 INSERT INTO child2 ( child2key, value ) VALUES ( 'C2.2', 'Value for C2.2' ); 80 INSERT INTO child2 ( child2key, value ) VALUES ( 'C2.3', 'Value for C2.3' ); 82 SELECT parent1.parent1key, child1.value, child2.value 85 INNER JOIN child2 ON child2.child2key = parent1.child2key; 92 SELECT parent1.parent1key, child1.value, child2.value 95 INNER JOIN child2 ON child2.child2key = parent1.child2key; 98 SELECT parent1.parent1key, child1.value, child2.value 101 INNER JOIN child2 ON child2.child2key = parent1.child2key;
|
/external/chromium_org/components/keyed_service/core/ |
D | dependency_graph_unittest.cc | 69 DummyNode child2(&graph); in TEST_F() local 72 graph.AddEdge(&parent, &child2); in TEST_F() 79 EXPECT_EQ(&child2, construction_order[2]); in TEST_F() 84 EXPECT_EQ(&child2, destruction_order[0]); in TEST_F()
|
/external/bison/tests/ |
D | cxx-type.at | 208 new_nterm (char const *form, Node *child0, Node *child1, Node *child2) 220 node->nterm.children[2] = child2; 221 if (child2) 222 child2->nodeInfo.parents += 1; 261 char *child2; 272 child2 = node_to_string (node->nterm.children[2]); 274 + strlen (child1) + strlen (child2) + 1); 275 sprintf (buffer, node->nterm.form, child0, child1, child2); 278 free (child2);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/contextMenus/basic/ |
D | sample.js | 28 var child2 = chrome.contextMenus.create( variable 30 console.log("parent:" + parent + " child1:" + child1 + " child2:" + child2);
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | DOMHelper.java | 362 Node child2) in isNodeAfterSibling() argument 367 short child2type = child2.getNodeType(); in isNodeAfterSibling() 405 else if (child2 == child || isNodeTheSame(child2, child)) in isNodeAfterSibling() 449 else if (child2 == child || isNodeTheSame(child2, child)) in isNodeAfterSibling()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | TreeWizard.java | 357 TreePattern child2 = (TreePattern)tpattern.getChild(i); in _parse() local 358 if ( !_parse(child1, child2, labels) ) { in _parse() 425 Object child2 = adaptor.getChild(t2, i); in _equals() local 426 if ( !_equals(child1, child2, adaptor) ) { in _equals()
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/ |
D | ANTLRCommonTreeTest.m | 488 ANTLRCommonTree *child2 = [ANTLRCommonTree newTreeWithTokenType:ANTLRTokenTypeDOWN]; 489 child2.token.text = @"<DOWN>"; 490 [parent2 addChild:child2]; 521 ANTLRCommonTree *child2 = [ANTLRCommonTree newTreeWithTokenType:ANTLRTokenTypeEOF]; 522 [parent2 addChild:child2]; 525 child2.token.text = @"<DOWN>"; 539 ANTLRCommonTree *child2 = [ANTLRCommonTree newTreeWithTokenType:ANTLRTokenTypeEOF]; 540 [parent1 addChild:child2]; 545 child2.token.text = @"<DOWN>"; 551 …STAssertEquals([parent2 getChild:1], child2, @"An extra child (child2) should be in the children c…
|
/external/chromium_org/ui/aura/ |
D | window_unittest.cc | 275 Window child2(NULL); in TEST_F() local 276 child2.Init(aura::WINDOW_LAYER_NOT_DRAWN); in TEST_F() 279 child1.AddChild(&child2); in TEST_F() 283 EXPECT_TRUE(parent.Contains(&child2)); in TEST_F() 287 EXPECT_FALSE(child2.Contains(&child1)); in TEST_F() 648 Window child2(NULL); in TEST_F() local 649 child2.Init(aura::WINDOW_LAYER_NOT_DRAWN); in TEST_F() 652 parent.AddChild(&child2); in TEST_F() 655 EXPECT_EQ(&child2, parent.children()[1]); in TEST_F() 658 EXPECT_EQ(child2.layer(), parent.layer()->children()[1]); in TEST_F() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | TreeWizard.cs | 508 TreePattern child2 = (TreePattern)tpattern.GetChild( i ); in ParseCore() 509 if ( !ParseCore( child1, child2, labels ) ) in ParseCore() 597 object child2 = adaptor.GetChild( t2, 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 | 442 TreePattern child2 = (TreePattern)tpattern.GetChild(i); in ParseCore() 443 if (!ParseCore(child1, child2, labels)) { in ParseCore() 521 object child2 = adaptor.GetChild(t2, i); in EqualsCore() 522 if (!EqualsCore(child1, child2, adaptor)) { in EqualsCore()
|