| /external/e2fsprogs/lib/ext2fs/ |
| D | rbtree.c | 28 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/ |
| D | rbtree.c | 28 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/ltp/testcases/kernel/fs/fs_bind/cloneNS/ |
| D | fs_bind_cloneNS05.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir rshared parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --rbind "$FS_BIND_DISK1" parent/child1 19 EXPECT_PASS mount --rbind parent parent/child2 23 EXPECT_PASS mount --bind "$FS_BIND_DISK2" parent/child1/a 24 fs_bind_check parent/child1/a parent/child2/child1/a 26 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent/child2/child1/b 27 fs_bind_check parent/child1/b parent/child2/child1/b 30 fs_bind_check -s "$FS_BIND_DISK2" parent/child1/a parent/child2/child1/a [all …]
|
| /external/rust/crates/tracing/tests/ |
| D | macros.rs | 114 span!(target: "foo_events", parent: None, Level::TRACE, "foo", bar.baz = 2, quux = 3); in span_root() 115 span!(target: "foo_events", parent: None, Level::TRACE, "foo", bar.baz = 2, quux = 3); in span_root() 116 span!(target: "foo_events", parent: None, Level::TRACE, "foo", bar.baz = 2, quux = 4,); in span_root() 117 span!(target: "foo_events", parent: None, Level::TRACE, "foo"); in span_root() 118 span!(target: "foo_events", parent: None, Level::TRACE, "bar",); in span_root() 119 span!(parent: None, Level::DEBUG, "foo", bar.baz = 2, quux = 3); in span_root() 120 span!(parent: None, Level::DEBUG, "foo", bar.baz = 2, quux = 4,); in span_root() 121 span!(parent: None, Level::DEBUG, "foo"); in span_root() 122 span!(parent: None, Level::DEBUG, "bar",); in span_root() 128 trace_span!(target: "foo_events", parent: None, "foo", bar.baz = 2, quux = 3); in trace_span_root() [all …]
|
| /external/ltp/testcases/kernel/fs/fs_bind/rbind/ |
| D | fs_bind_rbind35.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir private parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent/child1 20 EXPECT_PASS mount --rbind parent parent/child2/ 21 fs_bind_check parent parent/child2/ 22 fs_bind_check parent/child1 parent/child2/child1 24 EXPECT_PASS umount parent/child2/child1 26 fs_bind_check -n parent/child1 parent/child2/child1 28 EXPECT_PASS umount parent/child1 [all …]
|
| D | fs_bind_rbind34.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir rshared parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent/child1 20 EXPECT_PASS mount --rbind parent parent/child2/ 21 fs_bind_check parent parent/child2/ 22 fs_bind_check parent/child1 parent/child2/child1 24 EXPECT_PASS umount parent/child2/child1 25 fs_bind_check parent/child1 parent/child2/child1 27 EXPECT_PASS umount parent/child1 [all …]
|
| D | fs_bind_rbind36.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir runbindable parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --rbind "$FS_BIND_DISK3" parent/child1 20 EXPECT_PASS mount --rbind parent parent/child2/ 21 fs_bind_check parent parent/child2/ 22 fs_bind_check -n parent/child1 parent/child2/child1 24 EXPECT_PASS umount parent/child1 25 fs_bind_check parent/child1 parent/child2/child1 27 EXPECT_PASS mount --rbind "$FS_BIND_DISK4" parent/child2/child1 [all …]
|
| /external/go-cmp/cmp/ |
| D | report_value.go | 13 parent *valueNode member 53 func (parent *valueNode) PushStep(ps PathStep) (child *valueNode) { 55 child = &valueNode{parent: parent, Type: ps.Type(), ValueX: vx, ValueY: vy} 58 assert(parent.Value == nil) 59 …parent.Records = append(parent.Records, reportRecord{Key: reflect.ValueOf(s.Name()), Value: child}) 61 assert(parent.Value == nil) 62 parent.Records = append(parent.Records, reportRecord{Value: child}) 64 assert(parent.Value == nil) 65 parent.Records = append(parent.Records, reportRecord{Key: s.Key(), Value: child}) 67 assert(parent.Value == nil && parent.Records == nil) [all …]
|
| /external/rust/crates/tokio-util/src/sync/cancellation_token/ |
| D | tree_node.rs | 6 //! A TreeNode is part of the cancellation tree and may have one parent and an arbitrary number of 32 //! 3. If two nodes are both unlocked and node A is the parent of node B, then node B is a child of 38 //! Specifically, through invariant #2, we know that we always have to lock a parent 54 parent: None, in new() 74 parent: Option<Arc<TreeNode>>, field 87 pub(crate) fn child_node(parent: &Arc<TreeNode>) -> Arc<TreeNode> { in child_node() 88 let mut locked_parent = parent.inner.lock().unwrap(); in child_node() 96 parent: None, in child_node() 108 parent: Some(parent.clone()), in child_node() 122 /// Disconnects the given parent from all of its children. [all …]
|
| /external/linux-kselftest/tools/testing/selftests/tc-testing/tc-tests/filters/ |
| D | basic.json | 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic", 18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at… 37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic", 40 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at… 59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… 61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic", 62 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1.*cmp\\(u16 at 0 layer 0… 81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… [all …]
|
| D | fw.json | 15 "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 …]
|
| D | matchall.json | 13 …"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 …]
|
| /external/antlr/runtime/ObjC/Framework/test/runtime/tree/ |
| D | CommonTreeTest.m | 166 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/ltp/testcases/kernel/fs/fs_bind/bind/ |
| D | fs_bind22.sh | 14 fs_bind_makedir rshared parent 15 fs_bind_makedir rshared parent/child1 16 fs_bind_makedir rshared parent/child2 18 EXPECT_PASS mount --bind parent parent/child2/ 19 fs_bind_check parent parent/child2/ 21 EXPECT_PASS mount --bind "$FS_BIND_DISK3" parent/child2/child1 22 fs_bind_check parent/child1 parent/child2/child1 24 EXPECT_PASS umount parent/child2/child1 25 fs_bind_check parent/child1 parent/child2/child1 27 EXPECT_PASS mount --bind "$FS_BIND_DISK4" parent/child2/child1 [all …]
|
| /external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/ |
| D | sch_offload.sh | 44 sed s/root/parent\ root/ | 129 local parent=$1; shift 136 $cmd $(printf %x: $parent) "$@" 138 if ((parent == 0)); then 141 locus=$(printf "parent %x:1" $parent) 151 local parent=$1; shift 154 if ((parent != 0)); then 155 kind=$(qdisc_stats_get $h1 $parent: .kind) 167 local parent=$1; shift 170 with_qdiscs $handle $parent "$@" -- check_all_offloaded [all …]
|
| /external/rust/crates/tracing/src/ |
| D | macros.rs | 21 (target: $target:expr, parent: $parent:expr, $lvl:expr, $name:expr) => { 22 $crate::span!(target: $target, parent: $parent, $lvl, $name,) 24 (target: $target:expr, parent: $parent:expr, $lvl:expr, $name:expr, $($fields:tt)*) => { 40 // span with explicit parent 42 $parent, 71 // span with contextual parent 85 (target: $target:expr, parent: $parent:expr, $lvl:expr, $name:expr) => { 86 $crate::span!(target: $target, parent: $parent, $lvl, $name,) 88 (parent: $parent:expr, $lvl:expr, $name:expr, $($fields:tt)*) => { 91 parent: $parent, [all …]
|
| /external/slf4j/slf4j-api/src/test/java/org/slf4j/ |
| D | BasicMarkerTest.java | 112 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/markdown/markdown/ |
| D | blockprocessors.py | 74 def lastChild(self, parent): argument 76 if len(parent): 77 return parent[-1] 104 def test(self, parent, block): argument 113 depending on the parent of the block (i.e. inside a list), the parent 118 * ``parent``: A etree element which will be the parent of the block. 124 def run(self, parent, blocks): argument 132 Note that both the ``parent`` and ``etree`` keywords are pointers 138 to the parent, and should remove (``pop``) or add (``insert``) items to 143 * ``parent``: A etree element which is the parent of the current block. [all …]
|
| /external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/struct/ |
| D | TestParentChildReferences.java | 20 * 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/cldr/common/supplemental/ |
| D | languageGroup.xml | 11 …<languageGroup parent="aav">bbh bfw bru brv hre irr kdt ktv kuf mkh mmj mun ncq ngt nyl oog pac ph… 12 …<languageGroup parent="afa">aal ber btf bvw bxe cdc ckq cop cus glo hdy hig hss hwo jaf kbz kul kv… 13 …<languageGroup parent="alg">aaq abe alq arp atj ats bla chy ciw cr crj crk crl crm crr csw del etc… 14 …<languageGroup parent="alv">aaa aab aba abi abm abn abo abr abu acd acp ada ade adj adq adu afn af… 15 <languageGroup parent="apa">apj apk apl apm 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 to… 19 …<languageGroup parent="ath">aht apa bcr bea caf chp clc coq crx den dgr gce gwi haa hup ing kkz ko… 20 <languageGroup parent="auf">aru cul dny jaa pad swx</languageGroup> [all …]
|
| /external/python/python-api-core/tests/unit/ |
| D | test_path_template.py | 32 ["/v1/{name}", [], {"name": "parent"}, "/v1/parent"], 33 ["/v1/{name=**}", [], {"name": "parent/child"}, "/v1/parent/child"], 35 ["/v1/{name=parent/*}", [], {"name": "parent/child"}, "/v1/parent/child"], 37 "/v1/{name=parent/**}", 39 {"name": "parent/child/object"}, 40 "/v1/parent/child/object", 43 ["/v1/*/{name}", ["a"], {"name": "parent"}, "/v1/a/parent"], 44 ["/v1/{name}/*", ["a"], {"name": "parent"}, "/v1/parent/a"], 46 "/v1/{parent}/*/{child}/*", 48 {"parent": "thor", "child": "thorson"}, [all …]
|
| /external/python/pybind11/tests/ |
| D | test_call_policies.py | 14 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/ |
| D | ParentInjectorTest.java | 38 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/ |
| D | dict.c | 50 * program which uses dict to define, for instance, a macro called ``parent''. 60 #define parent dict_parent macro 96 lowleft->parent = upper; in rotate_left() 98 lower->parent = upparent = upper->parent; in rotate_left() 100 /* don't need to check for root node here because root->parent is in rotate_left() 101 the sentinel nil node, and root->parent->left points back to root */ in rotate_left() 111 upper->parent = lower; in rotate_left() 125 lowright->parent = upper; in rotate_right() 127 lower->parent = upparent = upper->parent; in rotate_right() 137 upper->parent = lower; in rotate_right() [all …]
|
| /external/f2fs-tools/fsck/ |
| D | dict.c | 43 * program which uses dict to define, for instance, a macro called ``parent''. 53 #define parent dict_parent macro 88 lowleft->parent = upper; in rotate_left() 90 lower->parent = upparent = upper->parent; in rotate_left() 92 /* don't need to check for root node here because root->parent is in rotate_left() 93 the sentinel nil node, and root->parent->left points back to root */ in rotate_left() 103 upper->parent = lower; in rotate_left() 116 lowright->parent = upper; in rotate_right() 118 lower->parent = upparent = upper->parent; in rotate_right() 128 upper->parent = lower; in rotate_right() [all …]
|