/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/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/fio/lib/ |
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/utils/ffsb-6.0-rc2/ |
D | rbt.c | 44 node->parent = node->right = node->left = NULL; in rbnode_construct() 127 succ_node = node->parent; in rbnode_successor() 130 succ_node = succ_node->parent; in rbnode_successor() 160 pred_node = node->parent; in rbnode_predecessor() 163 pred_node = pred_node->parent; in rbnode_predecessor() 184 dup_node->right->parent = dup_node; in rbnode_duplicate() 191 dup_node->left->parent = dup_node; in rbnode_duplicate() 326 new_node->parent = cur_node; in rbtree_insert() 338 new_node->parent = cur_node; in rbtree_insert() 362 rb_node *parent; in insert_successor_at() local [all …]
|
/external/ltp/testcases/kernel/fs/fs_bind/rbind/ |
D | test35 | 44 "${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 …]
|
D | test34 | 44 "${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 …]
|
D | test36 | 44 "${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 …]
|
/external/ltp/testcases/kernel/fs/fs_bind/bind/ |
D | test22 | 44 "${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 …]
|
D | 00_Descriptions.txt | 25 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 …]
|
/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/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
D | NFAContext.java | 101 public NFAContext parent; field in NFAContext 119 public NFAContext(NFAContext parent, NFAState invokingState) { in NFAContext() argument 120 this.parent = parent; in NFAContext() 125 if ( parent!=null ) { in NFAContext() 126 this.cachedHashCode += parent.cachedHashCode; in NFAContext() 148 while ( sp.parent!=null && other.parent!=null ) { in equals() 152 sp = sp.parent; in equals() 153 other = other.parent; in equals() 155 if ( !(sp.parent==null && other.parent==null) ) { in equals() 210 while ( sp.parent!=null && other.parent!=null ) { in suffix() [all …]
|
/external/markdown/markdown/ |
D | blockprocessors.py | 32 def lastChild(self, parent): argument 34 if len(parent): 35 return parent[-1] 60 def test(self, parent, block): argument 80 def run(self, parent, blocks): argument 120 def test(self, parent, block): argument 123 (parent.tag in self.ITEM_TYPES or \ 124 (len(parent) and parent[-1] and \ 125 (parent[-1].tag in self.LIST_TYPES) 129 def run(self, parent, blocks): argument [all …]
|
/external/ltp/testcases/kernel/fs/fs_bind/move/ |
D | 00_Descriptions.txt | 25 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/selinux/python/sepolgen/src/sepolgen/ |
D | refpolicy.py | 53 def __init__(self, parent=None): argument 54 self.parent = None 74 def __init__(self, parent=None): argument 75 PolicyBase.__init__(self, parent) 152 def __init__(self, parent=None): argument 153 PolicyBase.__init__(self, parent) 264 def __init__(self, context=None, parent=None): argument 271 Leaf.__init__(self, parent) 345 def __init__(self, name="", parent=None): argument 346 Leaf.__init__(self, parent) [all …]
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
D | ALoopIncCommand.java | 71 this._position_.parent(null); in setPosition() 76 if(node.parent() != null) in setPosition() 78 node.parent().removeChild(node); in setPosition() 81 node.parent(this); in setPosition() 96 this._variable_.parent(null); in setVariable() 101 if(node.parent() != null) in setVariable() 103 node.parent().removeChild(node); in setVariable() 106 node.parent(this); in setVariable() 121 this._start_.parent(null); in setStart() 126 if(node.parent() != null) in setStart() [all …]
|
D | ADefCommand.java | 62 this._position_.parent(null); in setPosition() 67 if(node.parent() != null) in setPosition() 69 node.parent().removeChild(node); in setPosition() 72 node.parent(this); in setPosition() 89 if(e.parent() != null) in setMacro() 91 e.parent().removeChild(e); in setMacro() 94 e.parent(this); in setMacro() 109 if(e.parent() != null) in setArguments() 111 e.parent().removeChild(e); in setArguments() 114 e.parent(this); in setArguments() [all …]
|
D | ALoopCommand.java | 66 this._position_.parent(null); in setPosition() 71 if(node.parent() != null) in setPosition() 73 node.parent().removeChild(node); in setPosition() 76 node.parent(this); in setPosition() 91 this._variable_.parent(null); in setVariable() 96 if(node.parent() != null) in setVariable() 98 node.parent().removeChild(node); in setVariable() 101 node.parent(this); in setVariable() 116 this._start_.parent(null); in setStart() 121 if(node.parent() != null) in setStart() [all …]
|
/external/e2fsprogs/lib/support/ |
D | dict.c | 59 #define parent dict_parent macro 95 lowleft->parent = upper; in rotate_left() 97 lower->parent = upparent = upper->parent; 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() 274 new->nilnode.parent = &new->nilnode; in dict_create() 351 dict->nilnode.parent = &dict->nilnode; in dict_init() 372 dict->nilnode.parent = &dict->nilnode; in dict_init_like() [all …]
|
/external/guice/core/test/com/google/inject/ |
D | ParentInjectorTest.java | 42 Injector parent = Guice.createInjector(bindsA); in testParentAndChildCannotShareExplicitBindings() local 44 parent.createChildInjector(bindsA); in testParentAndChildCannotShareExplicitBindings() 54 Injector parent = Guice.createInjector(); in testParentJitBindingWontClobberChildBinding() local 55 parent.createChildInjector(bindsA); in testParentJitBindingWontClobberChildBinding() 57 parent.getInstance(A.class); in testParentJitBindingWontClobberChildBinding() 70 Injector parent = Guice.createInjector(); in testChildCannotBindToAParentJitBinding() local 71 parent.getInstance(A.class); in testChildCannotBindToAParentJitBinding() 73 parent.createChildInjector(bindsA); in testChildCannotBindToAParentJitBinding() 82 Injector parent = Guice.createInjector(); in testJustInTimeBindingsAreSharedWithParentIfPossible() local 83 Injector child = parent.createChildInjector(); in testJustInTimeBindingsAreSharedWithParentIfPossible() [all …]
|
/external/deqp/framework/delibs/depool/ |
D | deMemPool.c | 89 deMemPool* parent; /*!< Pointer to parent (null for root pools). */ member 169 static deMemPool* createPoolInternal (deMemPool* parent) in createPoolInternal() argument 175 if (parent && parent->allowFailing) in createPoolInternal() 177 if ((deRandom_getUint32(&parent->failRandom) & 16383) <= 15) in createPoolInternal() 196 pool->parent = parent; in createPoolInternal() 197 if (parent) in createPoolInternal() 199 parent->numChildren++; in createPoolInternal() 200 if (parent->firstChild) parent->firstChild->prevPool = pool; in createPoolInternal() 201 pool->nextPool = parent->firstChild; in createPoolInternal() 202 parent->firstChild = pool; in createPoolInternal() [all …]
|
/external/chromium-trace/catapult/common/eslint/rules/ |
D | catapult-camelcase.js | 95 … effectiveParent = (node.parent.type === "MemberExpression") ? node.parent.parent : node.parent; 98 if (node.parent.type === "MemberExpression") { 106 if (node.parent.object.type === "Identifier" && 107 node.parent.object.name === node.name && 121 } else if (node.parent.type === "Property") { 128 if (node.parent.parent && node.parent.parent.type === "ObjectPattern" && 129 node.parent.key === node && node.parent.value !== node) { 138 …Specifier", "ImportNamespaceSpecifier", "ImportDefaultSpecifier"].indexOf(node.parent.type) >= 0) { 141 … if (node.parent.local && node.parent.local.name === node.name && isUnderscored(name)) {
|
/external/ltp/testcases/kernel/fs/fs_bind/cloneNS/ |
D | test05 | 48 "${FS_BIND_ROOT}/bin/makedir" share parent 49 "${FS_BIND_ROOT}/bin/makedir" share parent/child1 50 "${FS_BIND_ROOT}/bin/makedir" share parent/child2 52 mount --rbind "$disk1" parent/child1 54 mount --rbind parent parent/child2/ 68 umount parent/child2/child2 69 umount parent/child2/child1/a 70 umount parent/child2/child1/c 71 umount parent/child2/child1 72 umount parent/child2/child1 [all …]
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_nodehelper.cpp | 27 CXFA_Node* CXFA_NodeHelper::ResolveNodes_GetOneChild(CXFA_Node* parent, in ResolveNodes_GetOneChild() argument 30 if (!parent) { in ResolveNodes_GetOneChild() 35 NodeAcc_TraverseAnySiblings(parent, uNameHash, &siblings, bIsClassName); in ResolveNodes_GetOneChild() 48 CXFA_Node* parent = ResolveNodes_GetParent(pNode, XFA_LOGIC_NoTransparent); in CountSiblings() local 49 if (!parent) in CountSiblings() 52 parent->GetElementType(), pNode->GetElementType(), XFA_XDPPACKET_UNKNOWN); in CountSiblings() 54 parent = ResolveNodes_GetParent(pNode, XFA_LOGIC_Transparent); in CountSiblings() 55 if (!parent) { in CountSiblings() 60 return NodeAcc_TraverseSiblings(parent, pNode->GetClassHashCode(), in CountSiblings() 63 return NodeAcc_TraverseSiblings(parent, pNode->GetNameHash(), pSiblings, in CountSiblings() [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/ |
D | ANTLRCommonTreeTest.m | 166 ANTLRCommonTree *parent = [ANTLRCommonTree 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/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | vp8_partition_aggregator_unittest.cc | 62 EXPECT_TRUE(opt->parent()->parent()->parent()->parent()->parent()-> in TEST() 63 parent()->parent()->packet_start()); in TEST() 64 EXPECT_FALSE(opt->parent()->parent()->parent()->parent()->parent()-> in TEST() 65 parent()->packet_start()); in TEST() 66 EXPECT_TRUE(opt->parent()->parent()->parent()->parent()->parent()-> in TEST() 68 EXPECT_FALSE(opt->parent()->parent()->parent()->parent()->packet_start()); in TEST() 69 EXPECT_TRUE(opt->parent()->parent()->parent()->packet_start()); in TEST() 70 EXPECT_FALSE(opt->parent()->parent()->packet_start()); in TEST() 71 EXPECT_TRUE(opt->parent()->packet_start()); in TEST()
|