/external/chromium_org/ui/views/controls/tabbed_pane/ |
H A D | tabbed_pane_unittest.cc | 42 View* child2 = new FixedSizeView(gfx::Size(5, 5)); local 43 tabbed_pane->AddTab(ASCIIToUTF16("tab2"), child2); 67 EXPECT_EQ(bounds, child2->bounds());
|
/external/valgrind/main/helgrind/tests/ |
H A D | locked_vs_unlocked1.c | 27 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 D | locked_vs_unlocked2.c | 53 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 D | locked_vs_unlocked3.c | 45 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 D | tc22_exit_w_lock.c | 37 pthread_t child1, child2; local 39 r= pthread_create(&child2, NULL, child_fn2, NULL); assert(!r);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/contextMenus/basic/ |
H A D | sample.js | 28 var child2 = chrome.contextMenus.create( variable 30 console.log("parent:" + parent + " child1:" + child1 + " child2:" + child2);
|
/external/chromium_org/ui/base/models/ |
H A D | tree_node_model_unittest.cc | 69 // +-- child2 83 TestNode* child2 = new TestNode; local 84 model.Add(root, child2, 1); 90 EXPECT_EQ(0, child2->child_count()); 123 // +-- child2 129 TestNode child2; local 133 root.Add(&child2, 1); 162 // +-- child2 169 TestNode* child2 = new TestNode; local 170 root.Add(child2, 200 TestNode* child2 = new TestNode; local 251 TestNode* child2 = new TestNode; local 301 TestNode* child2 = new TestNode; local [all...] |
/external/linux-tools-perf/perf-3.12.0/include/linux/ |
H A D | rbtree_augmented.h | 159 struct rb_node *successor = child, *child2; local 172 child2 = successor->rb_right; 194 parent->rb_left = child2 = successor->rb_right; 207 if (child2) { 209 rb_set_parent_color(child2, parent, RB_BLACK);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | ViewGroupTest.java | 34 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-xml/src/main/java/org/apache/xml/utils/ |
H A D | DOMHelper.java | 348 * 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/chromium_org/cc/trees/ |
H A D | damage_tracker_unittest.cc | 110 scoped_ptr<LayerImpl> child2 = local 135 child2->SetPosition(gfx::PointF(11.f, 11.f)); 136 child2->SetBounds(gfx::Size(18, 18)); 137 child2->SetContentBounds(gfx::Size(18, 18)); 138 child2->SetDrawsContent(true); 153 root->AddChild(child2.Pass()); 207 LayerImpl* child2 = root->children()[1]; local 214 EXPECT_FALSE(child2->render_surface()); 572 LayerImpl* child2 = root->children()[1]; local 597 // the root and on child2 704 scoped_ptr<LayerImpl> child2 = local 753 scoped_ptr<LayerImpl> child2 = local 786 scoped_ptr<LayerImpl> child2 = local 794 LayerImpl* child2 = root->children()[1]; local 813 LayerImpl* child2 = root->children()[1]; local [all...] |
H A D | layer_tree_impl_unittest.cc | 847 // child 1 and child2 are initialized to overlap between x=50 and x=60. 848 // grand_child is set to overlap both child1 and child2 between y=50 and 849 // y=60. The expected stacking order is: (front) child2, (second) 855 scoped_ptr<LayerImpl> child2 = local 873 SetLayerPropertiesForTesting(child2.get(), 880 child2->SetDrawsContent(true); 898 root->AddChild(child2.Pass()); 902 LayerImpl* child2 = root->children()[1]; local 911 ASSERT_TRUE(child2); 920 ASSERT_EQ(3, root_render_surface->layer_list().at(3)->id()); // child2 996 scoped_ptr<LayerImpl> child2 = local 1050 LayerImpl* child2 = root->children()[1]; local 1286 scoped_ptr<LayerImpl> child2 = local 1336 LayerImpl* child2 = root->children()[1]; local [all...] |
H A D | tree_synchronizer_unittest.cc | 281 // Set up the tree and sync once. child2 needs to be synced here, too, even 285 scoped_refptr<Layer> child2 = MockLayer::Create(&layer_impl_destruction_list); local 287 layer_tree_root->AddChild(child2); 306 child2->RemoveFromParent(); 307 layer_tree_root->AddChild(child2);
|
H A D | occlusion_tracker_unittest.cc | 992 typename Types::LayerType* child2 = this->CreateSurface( local 997 this->CreateDrawingLayer(child2, 1008 this->EnterContributingSurface(child2, &occlusion); 1016 this->LeaveContributingSurface(child2, &occlusion); 1062 typename Types::LayerType* child2 = local 1075 this->CreateDrawingLayer(child2, 1086 this->EnterLayer(child2, &occlusion); 1093 this->LeaveLayer(child2, &occlusion); 1094 this->EnterContributingSurface(child2, &occlusion); 1101 this->LeaveContributingSurface(child2, 1477 typename Types::ContentLayerType* child2 = local [all...] |
H A D | layer_tree_host_common_unittest.cc | 1662 scoped_refptr<Layer> child2 = Layer::Create(); local 1670 parent->AddChild(child2); 1672 child2->AddChild(leaf_node2); 1678 child2->SetForceRenderSurface(true); 1701 SetLayerPropertiesForTesting(child2.get(), 1739 ASSERT_TRUE(child2->render_surface()); 1745 EXPECT_FALSE(child2->is_clipped()); 1746 EXPECT_FALSE(child2->render_surface()->is_clipped()); 1752 // Case 2: parent masksToBounds, so the parent, child1, and child2's 1753 // surface are clipped. But layers that contribute to child2' 2551 scoped_refptr<LayerWithForcedDrawsContent> child2 = local 2699 scoped_refptr<LayerWithForcedDrawsContent> child2 = local 2932 scoped_refptr<LayerWithForcedDrawsContent> child2 = local 3021 scoped_refptr<LayerWithForcedDrawsContent> child2 = local 3269 scoped_refptr<ContentLayer> child2 = CreateDrawableContentLayer(&client); local 3767 scoped_refptr<LayerWithForcedDrawsContent> child2 = local 3914 scoped_refptr<LayerWithForcedDrawsContent> child2 = local 6893 scoped_ptr<LayerImpl> child2 = local 8338 scoped_ptr<LayerImpl> child2 = LayerImpl::Create(host_impl.active_tree(), 3); local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | menu_manager_unittest.cc | 703 MenuItem* child2 = CreateTestItem(extension); local 704 child2->set_type(MenuItem::RADIO); 705 child2->SetChecked(true); 707 ASSERT_TRUE(child2->checked()); 712 manager_.AddChildItem(parent->id(), child2); 714 ASSERT_TRUE(child2->checked()); 718 manager_.RemoveContextMenuItem(child2->id()); 719 child2 = NULL;
|
/external/chromium_org/content/browser/accessibility/ |
H A D | browser_accessibility_manager_unittest.cc | 195 // child2 230 // child2 294 // Check that our references to the root, child1, and child2 are still valid, 328 // child2 396 // child2 471 // Check that our references to the root and container and child2 are 616 ui::AXNodeData child2; local 617 child2.id = 3; 618 child2.child_ids.push_back(6); 619 child2 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | TreeScope.cpp | 412 const TreeScope* child2 = chain2[--index2]; local 413 if (child1 != child2) { 415 Node* shadowHost2 = child2->rootNode().parentOrShadowHostNode(); 419 for (const ShadowRoot* child = toShadowRoot(child2->rootNode()).olderShadowRoot(); child; child = child->olderShadowRoot())
|
H A D | Node.cpp | 1565 const Node* child2 = chain2[--index2]; local 1566 if (child1 != child2) { 1570 if (child2->nodeType() == ATTRIBUTE_NODE) 1574 if (child1->isShadowRoot() || child2->isShadowRoot()) { 1575 if (!child2->isShadowRoot()) 1580 for (ShadowRoot* child = toShadowRoot(child2)->olderShadowRoot(); child; child = child->olderShadowRoot()) 1587 if (!child2->nextSibling()) 1592 // Otherwise we need to see which node occurs first. Crawl backwards from child2 looking for child1. 1593 for (Node* child = child2->previousSibling(); child; child = child->previousSibling()) {
|
/external/chromium_org/cc/layers/ |
H A D | layer_unittest.cc | 198 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, 341 scoped_refptr<Layer> child2 = Layer::Create(); local 370 scoped_refptr<Layer> child2 = Layer::Create(); local 424 scoped_refptr<Layer> child2 = Layer::Create(); local [all...] |
H A D | scrollbar_layer_unittest.cc | 44 scoped_refptr<Layer> child2; local 47 child2 = SolidColorScrollbarLayer::Create(scrollbar->Orientation(), 53 child2 = PaintedScrollbarLayer::Create(scrollbar.Pass(), child1->id()); 55 child2->ToScrollbarLayer()->SetClipLayer(layer_tree_root->id()); 57 layer_tree_root->InsertChild(child2, reverse_order ? 0 : 1); 428 scoped_refptr<Layer> child2; local 430 child2 = SolidColorScrollbarLayer::Create(scrollbar->Orientation(), 435 child2->ToScrollbarLayer()->SetScrollLayer(scroll_layer->id()); 436 child2->ToScrollbarLayer()->SetClipLayer(layer_tree_root->id()); 438 scroll_layer->InsertChild(child2, [all...] |
H A D | tiled_layer_unittest.cc | 1495 scoped_refptr<FakeTiledLayer> child2 = make_scoped_refptr( local 1506 surface->AddChild(child2); 1513 child2->SetBounds(child2_rect.size()); 1514 child2->SetPosition(child2_rect.origin()); 1515 child2->draw_properties().visible_content_rect = child2_rect; 1516 child2->draw_properties().drawable_content_rect = root_rect; 1524 child2->InvalidateContentRect(child2_rect); 1530 EXPECT_EQ(3, child2->fake_layer_updater()->update_count()); 1535 child2->fake_layer_updater()->ClearUpdateCount(); 1542 new FakeTiledLayerImpl(host_impl_->active_tree(), child2 [all...] |
/external/chromium_org/ui/views/widget/ |
H A D | widget_interactive_uitest.cc | 385 Widget* child2 = CreateChildNativeWidgetWithParent(toplevel); local 394 child2->SetBounds(gfx::Rect(200, 10, 200, 200)); 397 child2->GetRootView()->AddChildView(view); 410 EXPECT_FALSE(child2->HasCapture()); 418 EXPECT_FALSE(child2->HasCapture()); 422 // Click on child2 429 EXPECT_TRUE(child2->HasCapture()); 437 EXPECT_FALSE(child2->HasCapture());
|
H A D | widget_unittest.cc | 818 Widget* child2 = NewWidget(); local 822 child2->Show(); 829 child2->Hide(); 830 EXPECT_EQ(child2, widget_hidden()); 835 child2->Show(); 836 EXPECT_EQ(child2, widget_shown()); 857 Widget* child2 = NewWidget(); local 862 child2->OnNativeWidgetMove(); 863 EXPECT_EQ(child2, widget_bounds_changed()); 868 child2 [all...] |
/external/chromium_org/ui/views/ |
H A D | view_unittest.cc | 2414 // +-- child2 2473 // +-- child2 2480 View* child2 = new View; local 2481 root.AddChildView(child2); 2489 EXPECT_EQ(1, root.GetIndexOf(child2)); 2495 EXPECT_EQ(-1, child1->GetIndexOf(child2)); 2498 EXPECT_EQ(-1, child2->GetIndexOf(NULL)); 2499 EXPECT_EQ(-1, child2->GetIndexOf(&root)); 2500 EXPECT_EQ(-1, child2->GetIndexOf(child2)); [all...] |