Home
last modified time | relevance | path

Searched refs:parent2 (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/v8/test/mjsunit/harmony/
Dproxies-json.js69 delete parent2.c;
81 var parent2 = { a: "delete", b: proxy2, c: "remove" }; variable
83 assertEquals(expected2, JSON.stringify(parent2));
84 parent2.c = "remove"; // Revert side effect.
85 assertEquals(expected2, JSON.stringify(parent2, undefined, 0));
/external/chromium_org/components/browser_context_keyed_service/
Ddependency_graph_unittest.cc97 DummyNode parent2(&graph); in TEST_F() local
104 graph.AddEdge(&parent2, &child_of_12); in TEST_F()
107 graph.AddEdge(&parent2, &child_of_2); in TEST_F()
113 EXPECT_EQ(&parent2, construction_order[1]); in TEST_F()
124 EXPECT_EQ(&parent2, destruction_order[3]); in TEST_F()
Dbrowser_context_dependency_manager_unittest.cc96 TestService parent2("parent2", shutdown_order(), manager()); in TEST_F() local
103 DependOn(&child_of_12, &parent2); in TEST_F()
106 DependOn(&child_of_2, &parent2); in TEST_F()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/
DANTLRCommonTreeTest.m465 ANTLRCommonTree *parent2 = [ANTLRCommonTree newTree];
468 [parent2 addChild:child];
471 [parent replaceChildrenFrom:1 To:2 With:parent2];
487 ANTLRCommonTree *parent2 = [ANTLRCommonTree newTree];
490 [parent2 addChild:child2];
492 [parent2 replaceChildrenFrom:0 To:0 With:parent1];
494 STAssertEquals([parent2 getChild:0], child1, @"Child for parent 2 should have been from parent 1");
519 ANTLRCommonTree *parent2 = [ANTLRCommonTree newTree];
522 [parent2 addChild:child2];
526 [parent2 addChild:child3];
[all …]
/external/jdiff/src/jdiff/
DXMLToAPI.java177 ClassAPI parent2 = (ClassAPI)api_.classes_.get(parent.extends_); in addInheritedElements() local
178 if (parent2 != null) in addInheritedElements()
179 addInheritedElements(child, parent2, parent.extends_); in addInheritedElements()
185 ClassAPI parent2 = (ClassAPI)api_.classes_.get(implName); in addInheritedElements() local
186 if (parent2 != null) in addInheritedElements()
187 addInheritedElements(child, parent2, implName); in addInheritedElements()
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/
Ddoc_writer.py548 parent2 = self.AddElement(parent, 'div', {'style': indent})
550 h2 = self.AddElement(parent2, heading)
559 self.AddElement(parent2, 'span', {}, policy['caption'])
560 self._AddPolicyNote(parent2, policy)
561 self._AddPolicyDetails(parent2, policy)
565 self._AddStyledElement(parent2, 'div', ['div.group_desc'],
568 parent2, 'a', {'href': '#top'},
/external/chromium/chrome/browser/profiles/
Dprofile_dependency_manager_unittest.cc101 TestService parent2("parent2", shutdown_order(), manager()); in TEST_F() local
108 DependOn(&child_of_12, &parent2); in TEST_F()
111 DependOn(&child_of_2, &parent2); in TEST_F()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDOMHelper.java213 Node parent2 = getParentOfNode(node2); in isNodeAfter() local
216 if (parent1 == parent2 || isNodeTheSame(parent1, parent2)) // then we know they are siblings in isNodeAfter()
254 while (parent2 != null) in isNodeAfter()
258 parent2 = getParentOfNode(parent2); in isNodeAfter()
/external/chromium_org/chrome/browser/history/android/
Dbookmark_model_sql_handler_unittest.cc202 const BookmarkNode* parent2 = nodes[0]->parent(); in TEST_F() local
203 ASSERT_TRUE(parent2); in TEST_F()
205 EXPECT_EQ(row.parent_id(), parent2->id()); in TEST_F()
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixNetworkInterfaceTest.java183 NetworkInterface parent2 = sub.getParent(); in test_getParent() local
184 assertSame(parent1, parent2); in test_getParent()
/external/qemu/distrib/sdl-1.2.15/src/joystick/darwin/
DSDL_sysjoystick.c425 io_registry_entry_t parent1, parent2; in HIDGetDeviceInfo() local
431 (KERN_SUCCESS == IORegistryEntryGetParentEntry (parent1, kIOServicePlane, &parent2)) && in HIDGetDeviceInfo()
432 …(KERN_SUCCESS == IORegistryEntryCreateCFProperties (parent2, &usbProperties, kCFAllocatorDefault, … in HIDGetDeviceInfo()
481 if (kIOReturnSuccess != IOObjectRelease (parent2)) in HIDGetDeviceInfo()
/external/chromium_org/sync/engine/
Dsyncer_unittest.cc954 MutableEntry parent2(&wtrans, CREATE, BOOKMARKS, wtrans.root_id(), "Tim"); in TEST_F() local
955 ASSERT_TRUE(parent2.good()); in TEST_F()
956 parent2.PutIsUnsynced(true); in TEST_F()
957 parent2.PutIsDir(true); in TEST_F()
958 parent2.PutSpecifics(DefaultPreferencesSpecifics()); in TEST_F()
959 parent2.PutBaseVersion(1); in TEST_F()
960 parent2.PutId(pref_node_id); in TEST_F()
1029 MutableEntry parent2(&wtrans, syncable::CREATE, PREFERENCES, in TEST_F() local
1031 ASSERT_TRUE(parent2.good()); in TEST_F()
1032 parent2.PutIsDir(true); in TEST_F()
[all …]
/external/chromium/chrome/browser/sync/engine/
Dsyncer_unittest.cc640 MutableEntry parent2(&wtrans, syncable::CREATE, wtrans.root_id(), "Tim"); in TEST_F() local
641 ASSERT_TRUE(parent2.good()); in TEST_F()
642 parent2.Put(syncable::IS_UNSYNCED, true); in TEST_F()
643 parent2.Put(syncable::IS_DIR, true); in TEST_F()
644 parent2.Put(syncable::SPECIFICS, DefaultPreferencesSpecifics()); in TEST_F()
645 parent2.Put(syncable::BASE_VERSION, 1); in TEST_F()
646 parent2.Put(syncable::ID, pref_node_id); in TEST_F()
1044 MutableEntry parent2(&wtrans, syncable::CREATE, parent_id_, parent2_name); in TEST_F() local
1045 ASSERT_TRUE(parent2.good()); in TEST_F()
1046 parent2.Put(syncable::IS_UNSYNCED, true); in TEST_F()
[all …]
/external/chromium/chrome/browser/sync/syncable/
Dsyncable_unittest.cc923 MutableEntry parent2(&wtrans, CREATE, root.Get(ID), "Pete"); in TEST_F() local
924 ASSERT_TRUE(parent2.good()); in TEST_F()
925 parent2.Put(IS_DIR, true); in TEST_F()
926 parent2.Put(ID, id_factory.NewServerId()); in TEST_F()
927 parent2.Put(BASE_VERSION, 1); in TEST_F()
928 MutableEntry child2(&wtrans, CREATE, parent2.Get(ID), "Pete"); in TEST_F()
949 ASSERT_TRUE(IsLegalNewParent(child, parent2)); in TEST_F()
/external/chromium_org/sync/syncable/
Dsyncable_unittest.cc1122 MutableEntry parent2(&wtrans, CREATE, BOOKMARKS, root.GetId(), "Pete"); in TEST_F() local
1123 ASSERT_TRUE(parent2.good()); in TEST_F()
1124 parent2.PutIsDir(true); in TEST_F()
1125 parent2.PutId(id_factory.NewServerId()); in TEST_F()
1126 parent2.PutBaseVersion(1); in TEST_F()
1127 MutableEntry child2(&wtrans, CREATE, BOOKMARKS, parent2.GetId(), "Pete"); in TEST_F()
1148 ASSERT_TRUE(IsLegalNewParent(child, parent2)); in TEST_F()
/external/chromium_org/cc/trees/
Docclusion_tracker_unittest.cc2201 typename Types::ContentLayerType* parent2 = in RunMyTest() local
2229 this->EnterLayer(parent2, &occlusion); in RunMyTest()
2237 parent2, gfx::Rect(0, 0, 300, 300)).ToString()); in RunMyTest()
2238 this->LeaveLayer(parent2, &occlusion); in RunMyTest()
2322 typename Types::ContentLayerType* parent2 = in RunMyTest() local
2350 this->EnterLayer(parent2, &occlusion); in RunMyTest()
2359 this->LeaveLayer(parent2, &occlusion); in RunMyTest()
/external/chromium_org/third_party/sqlite/src/test/
De_fkey.test808 CREATE TABLE parent2(a, b, PRIMARY KEY(a,b));
810 CREATE TABLE child8(x, y, FOREIGN KEY(x,y) REFERENCES parent2); -- Ok
811 CREATE TABLE child9(x REFERENCES parent2); -- Err
812 CREATE TABLE child10(x,y,z, FOREIGN KEY(x,y,z) REFERENCES parent2); -- Err
817 INSERT INTO parent2 VALUES('I', 'II');