Home
last modified time | relevance | path

Searched full:parent (Results 1 – 25 of 13669) sorted by relevance

12345678910>>...547

/external/e2fsprogs/lib/ext2fs/
Drbtree.c28 struct rb_node *parent = ext2fs_rb_parent(node); in __rb_rotate_left() local
34 ext2fs_rb_set_parent(right, parent); in __rb_rotate_left()
36 if (parent) in __rb_rotate_left()
38 if (node == parent->rb_left) in __rb_rotate_left()
39 parent->rb_left = right; in __rb_rotate_left()
41 parent->rb_right = right; in __rb_rotate_left()
51 struct rb_node *parent = ext2fs_rb_parent(node); in __rb_rotate_right() local
57 ext2fs_rb_set_parent(left, parent); in __rb_rotate_right()
59 if (parent) in __rb_rotate_right()
61 if (node == parent->rb_right) in __rb_rotate_right()
[all …]
/external/blktrace/
Drbtree.c28 struct rb_node *parent = rb_parent(node); in __rb_rotate_left() local
34 rb_set_parent(right, parent); in __rb_rotate_left()
36 if (parent) in __rb_rotate_left()
38 if (node == parent->rb_left) in __rb_rotate_left()
39 parent->rb_left = right; in __rb_rotate_left()
41 parent->rb_right = right; in __rb_rotate_left()
51 struct rb_node *parent = rb_parent(node); in __rb_rotate_right() local
57 rb_set_parent(left, parent); in __rb_rotate_right()
59 if (parent) in __rb_rotate_right()
61 if (node == parent->rb_right) in __rb_rotate_right()
[all …]
/external/cldr/common/supplemental/
DlanguageGroup.xml11 <languageGroup parent="aav">irr kdt mkh mun nyl sss tth</languageGroup>
12 <languageGroup parent="afa">ber bxe cdc cop cus egy omv sem zwa</languageGroup>
13 …<languageGroup parent="alg">alq arp atj ats bla chy ciw cr del kic mez mia mic mjy moe nnt oj ojs …
14 …<languageGroup parent="alv">aba abi abr abu ada adj agq ajg ak anw ati avi ayb azo bad bai bax bba…
15 <languageGroup parent="apa">apj apk apl apw nv</languageGroup>
16 <languageGroup parent="aqa">alc</languageGroup>
17 <languageGroup parent="aql">alg wiy yur</languageGroup>
18 …<languageGroup parent="art">afh avk bzt dws eo ia ie igs io jbo ldn lfn neu nov qya rmv sjn tlh tz…
19 …<languageGroup parent="ath">aht apa bcr bea caf chp clc crx den dgr gwi haa hup ing kkz koy kuu sr…
20 <languageGroup parent="auf">aru cul dny pad swx</languageGroup>
[all …]
/external/pdfium/core/fxcrt/
Dretained_tree_node_unittest.cpp26 const RetainPtr<ObservableRetainedTreeNodeForTest>& parent) { in AddClutterToFront() argument
28 parent->AppendFirstChild( in AddClutterToFront()
34 const RetainPtr<ObservableRetainedTreeNodeForTest>& parent) { in AddClutterToBack() argument
36 parent->AppendLastChild( in AddClutterToBack()
57 RetainPtr<ObservableRetainedTreeNodeForTest> parent = in TEST() local
63 parent->AppendFirstChild(ptr); in TEST()
64 EXPECT_FALSE(parent->HasChild(parent.Get())); in TEST()
65 EXPECT_TRUE(parent->HasChild(ptr.Get())); in TEST()
69 parent->RemoveChild(pdfium::WrapRetain(watcher.Get())); in TEST()
76 parent->AppendFirstChild(ptr); in TEST()
[all …]
/external/ltp/testcases/kernel/fs/fs_bind/bind/
D00_Descriptions.txt25 test01 - shared child to shared parent.
26 test02 - shared child to private parent.
27 test03 - shared child to slave parent.
28 test04 - shared child to unclonable parent.
29 test05 - private child to shared parent.
30 test06 - private child to private parent.
31 test07 - private child to slave parent.
33 test08 - private child to uncloneable parent.
34 test09 - slave child to shared parent.
35 test10 - slave child to private parent.
[all …]
Dtest2244 "${FS_BIND_ROOT}/bin/makedir" share parent
45 "${FS_BIND_ROOT}/bin/makedir" share parent/child1
46 "${FS_BIND_ROOT}/bin/makedir" share parent/child2
48 mount --bind parent parent/child2/
50 check parent parent/child2/
52 mount --bind "$disk3" parent/child2/child1
54 check parent/child1 parent/child2/child1
56 umount parent/child2/child1
58 check parent/child1 parent/child2/child1
60 mount --bind "$disk4" parent/child2/child1
[all …]
/external/antlr/runtime/ObjC/Framework/test/runtime/tree/
DCommonTreeTest.m166 CommonTree *parent = [CommonTree newTreeWithTokenType:555];
167 parent.token.line = 1;
168 parent.token.charPositionInLine = 1;
177 // Add a child to the parent tree
178 [parent addChild:tree];
181 STAssertNotNil(parent, @"parent was nil");
182 if (parent != nil)
183 STAssertNotNil(parent.token, @"parent was nil");
184 …STAssertEquals((NSInteger)parent.token.line, (NSInteger)1, @"Tree should be at line 1 but is %d",
185 …STAssertEquals((NSInteger)parent.token.charPositionInLine, (NSInteger)1, @"Char position should be…
[all …]
/external/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/
Dlocstats.ll4 ; CHECK: "sum_all_variables(#bytes in parent scope covered by DW_OP_entry_value)": 5,
5 ; CHECK-NEXT: "sum_all_params(#bytes in parent scope)": 20,
6 ; CHECK-NEXT: "sum_all_params(#bytes in parent scope covered by DW_AT_location)": 20,
7 ; CHECK-NEXT: "sum_all_params(#bytes in parent scope covered by DW_OP_entry_value)": 5,
8 ; CHECK-NEXT: "sum_all_local_vars(#bytes in parent scope)": 90,
9 ; CHECK-NEXT: "sum_all_local_vars(#bytes in parent scope covered by DW_AT_location)": 60,
10 ; CHECK-NEXT: "sum_all_local_vars(#bytes in parent scope covered by DW_OP_entry_value)": 0,
18 ; CHECK-NEXT: "#variables with 0% of parent scope covered by DW_AT_location": 1,
19 ; CHECK-NEXT: "#variables with (0%,10%) of parent scope covered by DW_AT_location": 0,
20 ; CHECK-NEXT: "#variables with [10%,20%) of parent scope covered by DW_AT_location": 0,
[all …]
/external/ltp/testcases/kernel/fs/fs_bind/move/
D00_Descriptions.txt25 test01 - shared child to shared parent.
26 test02 - shared subtree to private parent.
27 test03 - shared subtree to slave parent.
28 test04 - shared subtree to uncloneable parent.
29 test05 - private subtree to shared parent.
30 test06 - private subtree to private parent.
31 test07 - private subtree to slave parent.
32 test08 - private subtree to uncloneable parent.
33 test09 - slave subtree to shared parent.
34 test10 - slave subtree to private parent.
[all …]
/external/linux-kselftest/tools/testing/selftests/tc-testing/tc-tests/filters/
Dfw.json15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok",
17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw",
37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok",
39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw",
164 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok",
166 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
186 … "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1",
188 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
207 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action continue",
209 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
[all …]
Dmatchall.json13 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act…
15 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall",
16 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r…
34 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action…
36 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall",
37 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref …
55 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall a…
57 … "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ipv6 matchall",
58 …"matchPattern": "^filter parent ffff: protocol ipv6 pref 1 matchall.*handle 0x1.*gact action drop.…
76 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ipv6 matchall acti…
[all …]
Dbasic.json12 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
14 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
15 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at…
31 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
33 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
34 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at…
50 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
52 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic",
53 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1.*cmp\\(u16 at 0 layer 0…
69 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm…
[all …]
/external/markdown/markdown/
Dblockprocessors.py32 def lastChild(self, parent): argument
34 if len(parent):
35 return parent[-1]
60 def test(self, parent, block): argument
68 expression. As the block type may be different depending on the parent
69 of the block (i.e. inside a list), the parent etree element is also
74 * ``parent``: A etree element which will be the parent of the block.
80 def run(self, parent, blocks): argument
88 Note that both the ``parent`` and ``etree`` keywords are pointers
94 to the parent, and should remove (``pop``) or add (``insert``) items to
[all …]
/external/ltp/testcases/kernel/fs/fs_bind/rbind/
Dtest3544 "${FS_BIND_ROOT}/bin/makedir" share parent
45 "${FS_BIND_ROOT}/bin/makedir" priv parent/child1
46 "${FS_BIND_ROOT}/bin/makedir" share parent/child2
48 mount --rbind "$disk3" parent/child1
50 mount --rbind parent parent/child2/
51 check parent parent/child2/
52 check parent/child1 parent/child2/child1
64 umount parent/child2/child1
66 check -n parent/child1 parent/child2/child1
68 umount parent/child1
[all …]
Dtest3444 "${FS_BIND_ROOT}/bin/makedir" share parent
45 "${FS_BIND_ROOT}/bin/makedir" share parent/child1
46 "${FS_BIND_ROOT}/bin/makedir" share parent/child2
48 mount --rbind "$disk3" parent/child1
50 mount --rbind parent parent/child2/
51 check parent parent/child2/
52 check parent/child1 parent/child2/child1
64 umount parent/child2/child1
65 check parent/child1 parent/child2/child1
67 umount parent/child1
[all …]
Dtest3644 "${FS_BIND_ROOT}/bin/makedir" share parent
45 "${FS_BIND_ROOT}/bin/makedir" unclone parent/child1
46 "${FS_BIND_ROOT}/bin/makedir" share parent/child2
48 mount --rbind "$disk3" parent/child1
50 mount --rbind parent parent/child2/
51 check parent parent/child2/
52 check -n parent/child1 parent/child2/child1
64 umount parent/child1
65 check parent/child1 parent/child2/child1
67 mount --rbind "$disk4" parent/child2/child1
[all …]
D00_Descriptions.txt26 test01 - shared child to shared parent.
27 test02 - shared child to private parent.
28 test03 - shared child to slave parent.
29 test04 - shared child to unclonable parent.
30 test05 - private child to shared parent.
31 test06 - private child to private parent.
32 test07 - private child to slave parent.
33 test08 - private child to uncloneable parent.
34 test09 - slave child to shared parent.
35 test10 - slave child to private parent.
[all …]
/external/slf4j/slf4j-api/src/test/java/org/slf4j/
DBasicMarkerTest.java112 Marker parent = factory.getMarker(PARENT_MARKER_STR); in testMultiAdd() local
115 parent.add(child); in testMultiAdd()
119 Iterator<Marker> iterator = parent.iterator(); in testMultiAdd()
127 Marker parent = factory.getMarker(NEW_PREFIX + PARENT_MARKER_STR); in testAddRemove() local
129 assertFalse(parent.contains(child)); in testAddRemove()
130 assertFalse(parent.contains(NEW_PREFIX + CHILD_MARKER_STR)); in testAddRemove()
131 assertFalse(parent.remove(child)); in testAddRemove()
133 parent.add(child); in testAddRemove()
135 assertTrue(parent.contains(child)); in testAddRemove()
136 assertTrue(parent.contains(NEW_PREFIX + CHILD_MARKER_STR)); in testAddRemove()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/struct/
DTestParentChildReferences.java20 * First, a simple 'tree': just parent/child linkage
26 // Reference back to parent; reference, ignored during ser,
29 public SimpleTreeNode parent; field in TestParentChildReferences.SimpleTreeNode
44 protected SimpleTreeNode2 parent; field in TestParentChildReferences.SimpleTreeNode2
51 public SimpleTreeNode2 getParent() { return parent; } in getParent()
52 public void setParent(SimpleTreeNode2 p) { parent = p; } in setParent()
60 * Then nodes with two separate linkages; parent/child
67 // parent-child links
68 @JsonBackReference("parent")
69 public FullTreeNode parent; field in TestParentChildReferences.FullTreeNode
[all …]
/external/linux-kselftest/tools/testing/selftests/cgroup/
Dtest_core.c110 char *grandparent = NULL, *parent = NULL, *child = NULL; in test_cgcore_invalid_domain() local
113 parent = cg_name(root, "cg_test_grandparent/cg_test_parent"); in test_cgcore_invalid_domain()
115 if (!parent || !child || !grandparent) in test_cgcore_invalid_domain()
121 if (cg_create(parent)) in test_cgcore_invalid_domain()
127 if (cg_write(parent, "cgroup.type", "threaded")) in test_cgcore_invalid_domain()
145 if (parent) in test_cgcore_invalid_domain()
146 cg_destroy(parent); in test_cgcore_invalid_domain()
150 free(parent); in test_cgcore_invalid_domain()
157 * the parent type becomes domain threaded.
162 char *parent = NULL, *child = NULL; in test_cgcore_parent_becomes_threaded() local
[all …]
/external/llvm-project/clang-tools-extra/clangd/unittests/
DTypeHierarchyTests.cpp126 struct Parent { in TEST()
130 struct Child1 : Parent { in TEST()
142 const CXXRecordDecl *Parent = in TEST() local
143 dyn_cast<CXXRecordDecl>(&findDecl(AST, "Parent")); in TEST()
149 EXPECT_THAT(typeParents(Parent), ElementsAre()); in TEST()
150 EXPECT_THAT(typeParents(Child1), ElementsAre(Parent)); in TEST()
192 struct Parent {}; in TEST()
195 struct Child : Parent {}; in TEST()
201 const CXXRecordDecl *Parent = in TEST() local
202 dyn_cast<CXXRecordDecl>(&findDecl(AST, "Parent")); in TEST()
[all …]
/external/perfetto/src/trace_processor/tables/
Dtrack_tables.h28 #define PERFETTO_TP_TRACK_TABLE_DEF(NAME, PARENT, C) \ argument
30 PERFETTO_TP_ROOT_TABLE(PARENT, C) \
37 #define PERFETTO_TP_PROCESS_TRACK_TABLE_DEF(NAME, PARENT, C) \ argument
39 PARENT(PERFETTO_TP_TRACK_TABLE_DEF, C) \
45 #define PERFETTO_TP_THREAD_TRACK_TABLE_DEF(NAME, PARENT, C) \ argument
47 PARENT(PERFETTO_TP_TRACK_TABLE_DEF, C) \
53 #define PERFETTO_TP_GPU_TRACK_DEF(NAME, PARENT, C) \ argument
55 PARENT(PERFETTO_TP_TRACK_TABLE_DEF, C) \
63 #define PERFETTO_TP_COUNTER_TRACK_DEF(NAME, PARENT, C) \ argument
65 PARENT(PERFETTO_TP_TRACK_TABLE_DEF, C) \
[all …]
/external/python/pybind11/tests/
Dtest_call_policies.py14 p = m.Parent()
15 assert capture == "Allocating parent."
29 assert capture == "Releasing parent."
32 p = m.Parent()
33 assert capture == "Allocating parent."
44 Releasing parent.
53 p = m.Parent()
54 assert capture == "Allocating parent."
68 assert capture == "Releasing parent."
71 p = m.Parent()
[all …]
/external/guice/core/test/com/google/inject/
DParentInjectorTest.java38 Injector parent = Guice.createInjector(bindsA); in testParentAndChildCannotShareExplicitBindings() local
40 parent.createChildInjector(bindsA); in testParentAndChildCannotShareExplicitBindings()
41 fail("Created the same explicit binding on both parent and child"); in testParentAndChildCannotShareExplicitBindings()
58 Injector parent = Guice.createInjector(); in testParentJitBindingWontClobberChildBinding() local
59 parent.createChildInjector(bindsA); in testParentJitBindingWontClobberChildBinding()
61 parent.getInstance(A.class); in testParentJitBindingWontClobberChildBinding()
62 fail("Created a just-in-time binding on the parent that's the same as a child's binding"); in testParentJitBindingWontClobberChildBinding()
75 Injector parent = Guice.createInjector(); in testChildCannotBindToAParentJitBinding() local
76 parent.getInstance(A.class); in testChildCannotBindToAParentJitBinding()
78 parent.createChildInjector(bindsA); in testChildCannotBindToAParentJitBinding()
[all …]
/external/e2fsprogs/lib/support/
Ddict.c49 * program which uses dict to define, for instance, a macro called ``parent''.
59 #define parent dict_parent macro
95 lowleft->parent = upper; in rotate_left()
97 lower->parent = upparent = upper->parent; in rotate_left()
99 /* don't need to check for root node here because root->parent is in rotate_left()
100 the sentinel nil node, and root->parent->left points back to root */ in rotate_left()
110 upper->parent = lower; in rotate_left()
124 lowright->parent = upper; in rotate_right()
126 lower->parent = upparent = upper->parent; in rotate_right()
136 upper->parent = lower; in rotate_right()
[all …]

12345678910>>...547