Home
last modified time | relevance | path

Searched refs:child1 (Results 1 – 25 of 27) sorted by relevance

12

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DViewGroupTest.java33 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/libweave/src/notification/
Dxmpp_stream_parser_unittest.cc139 const XmlNode* child1 = stanza1->children()[0].get(); in TEST_F() local
140 EXPECT_EQ("starttls", child1->name()); in TEST_F()
141 ASSERT_EQ(1u, child1->children().size()); in TEST_F()
142 EXPECT_EQ("required", child1->children()[0]->name()); in TEST_F()
175 child1 = child->children()[0].get(); in TEST_F()
176 EXPECT_EQ("push:recipient", child1->name()); in TEST_F()
177 ASSERT_EQ(1u, child1->attributes().size()); in TEST_F()
178 EXPECT_TRUE(child1->GetAttribute("to", &value)); in TEST_F()
183 EXPECT_TRUE(child1->children().empty()); in TEST_F()
/external/opencv3/modules/flann/include/opencv2/flann/
Dkdtree_index.h234 Node* child1, * child2; member
245 if (tree->child1!=NULL) { in save_tree()
246 save_tree(stream, tree->child1); in save_tree()
258 if (tree->child1!=NULL) { in load_tree()
259 load_tree(stream, tree->child1); in load_tree()
282 node->child1 = node->child2 = NULL; /* Mark as leaf node. */ in divideTree()
293 node->child1 = divideTree(ind, idx); in divideTree()
476 if ((node->child1 == NULL)&&(node->child2 == NULL)) { in searchLevel()
495 NodePtr bestChild = (diff < 0) ? node->child1 : node->child2; in searchLevel()
496 NodePtr otherChild = (diff < 0) ? node->child2 : node->child1; in searchLevel()
[all …]
Dkdtree_single_index.h271 Node* child1, * child2; member
292 if (tree->child1!=NULL) { in save_tree()
293 save_tree(stream, tree->child1); in save_tree()
305 if (tree->child1!=NULL) { in load_tree()
306 load_tree(stream, tree->child1); in load_tree()
345 node->child1 = node->child2 = NULL; /* Mark as leaf node. */ in divideTree()
371 node->child1 = divideTree(left, left+idx, left_bbox); in divideTree()
546 if ((node->child1 == NULL)&&(node->child2 == NULL)) { in searchLevel()
568 bestChild = node->child1; in searchLevel()
574 otherChild = node->child1; in searchLevel()
/external/valgrind/helgrind/tests/
Dlocked_vs_unlocked1.c27 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()
Dtc22_exit_w_lock.c37 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()
Dlocked_vs_unlocked3.c45 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()
Dbar_bad.c12 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()
Dlocked_vs_unlocked2.c53 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/dagger2/compiler/src/it/functional-tests/src/test/java/test/builder/
DBuilderTest.java136 TestChildComponentWithBuilderInterface child1 = builder1.build(); in subcomponents_interface() local
137 assertThat(child1.s()).isEqualTo("sam"); in subcomponents_interface()
138 assertThat(child1.i()).isEqualTo(1); in subcomponents_interface()
139 assertThat(child1.d()).isWithin(0).of(4.2d); in subcomponents_interface()
140 assertThat(child1.f()).isEqualTo(5.5f); in subcomponents_interface()
141 assertThat(child1.l()).isEqualTo(6L); in subcomponents_interface()
142 assertThat(child1.b()).isEqualTo((byte)7); in subcomponents_interface()
/external/bison/tests/
Dcxx-type.at208 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/snakeyaml/src/test/java/org/pyyaml/
DPyStructureTest.java138 for (Node child1 : seq1.getValue()) { in compareNodes()
140 compareNodes(child1, child2); in compareNodes()
148 for (NodeTuple child1 : seq1.getValue()) { in compareNodes()
150 compareNodes(child1.getKeyNode(), child2.getKeyNode()); in compareNodes()
151 compareNodes(child1.getValueNode(), child2.getValueNode()); in compareNodes()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDOMHelper.java361 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/
DTreeWizard.java356 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/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreeWizard.cs441 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()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreeWizard.cs507 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/ObjC/Framework/test/runtime/tree/
DANTLRCommonTreeTest.m485 ANTLRCommonTree *child1 = [ANTLRCommonTree newTreeWithTokenType:ANTLRTokenTypeUP];
486 [parent1 addChild:child1];
494 STAssertEquals([parent2 getChild:0], child1, @"Child for parent 2 should have been from parent 1");
516 ANTLRCommonTree *child1 = [ANTLRCommonTree newTreeWithTokenType:ANTLRTokenTypeUP];
517 [parent1 addChild:child1];
530 STAssertEquals([parent2 getChild:0], child1, @"Child for parent 2 should have been from parent 1");
537 ANTLRCommonTree *child1 = [ANTLRCommonTree newTreeWithTokenType:ANTLRTokenTypeUP];
538 [parent1 addChild:child1];
550 STAssertEquals([parent2 getChild:0], child1, @"Child for parent 2 should have been from parent 1");
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtreewizard.py573 child1 = self.adaptor.getChild(t1, i)
575 if not self._parse(child1, child2, labels):
614 child1 = adaptor.getChild(t1, i)
616 if not self._equals(child1, child2, adaptor):
/external/testng/src/test/java/test/triangle/
DChild1.java12 public void child1() { in child1() method in Child1
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/
DCoverageNodeImplTest.java88 ICoverageNode child1 = new CoverageNodeImpl(ElementType.GROUP, "sample") { in testIncrementCollection() local
98 parent.increment(Arrays.asList(child1, child2)); in testIncrementCollection()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRTreeWizard.m552 ANTLRCommonTree * child1 = [adaptor getChild:t1 At:i];
554 if ( ![self _parse:child1 Pattern:child2 Map:labels] ) {
564 * (root child1 ... child2).
624 ANTLRCommonTree * child1 = [anAdaptor getChild:t1 At:i];
626 if ( ![self _equals:child1 O2:child2 Adaptor:anAdaptor] ) {
/external/parameter-framework/upstream/doc/requirements/
Drequirements.md872 formated in a similar way as a file system path. E.g. `/root/child1/4/parameter1`.
/external/guice/extensions/struts2/lib/
Dognl-3.0.jarMETA-INF/ META-INF/MANIFEST.MF ognl/ ognl/enhance/ ognl/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.pde.core_3.6.1.v20100902_r361.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/antlr/antlr-3.4/lib/
Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/ ...

12