Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 2353) sorted by relevance

12345678910>>...95

/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/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/fio/lib/
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/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/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DNFAContext.java101 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/
Dblockprocessors.py32 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/avahi/avahi-core/
Dprioq.c90 if (a->parent == b) { in exchange_nodes()
93 p = b->parent; in exchange_nodes()
94 b->parent = a; in exchange_nodes()
96 if ((a->parent = p)) { in exchange_nodes()
97 if (a->parent->left == b) in exchange_nodes()
98 a->parent->left = a; in exchange_nodes()
100 a->parent->right = a; in exchange_nodes()
106 b->left->parent = b; in exchange_nodes()
111 a->right->parent = a; in exchange_nodes()
113 b->right->parent = b; in exchange_nodes()
[all …]
/external/selinux/sepolgen/src/sepolgen/
Drefpolicy.py53 def __init__(self, parent=None): argument
54 self.parent = None
74 def __init__(self, parent=None): argument
75 PolicyBase.__init__(self, parent)
149 def __init__(self, parent=None): argument
150 PolicyBase.__init__(self, parent)
261 def __init__(self, context=None, parent=None): argument
268 Leaf.__init__(self, parent)
342 def __init__(self, name="", parent=None): argument
343 Leaf.__init__(self, parent)
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/
DALoopIncCommand.java71 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 …]
DADefCommand.java62 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 …]
DALoopCommand.java66 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 …]
DAWithCommand.java61 this._position_.parent(null); in setPosition()
66 if(node.parent() != null) in setPosition()
68 node.parent().removeChild(node); in setPosition()
71 node.parent(this); in setPosition()
86 this._variable_.parent(null); in setVariable()
91 if(node.parent() != null) in setVariable()
93 node.parent().removeChild(node); in setVariable()
96 node.parent(this); in setVariable()
111 this._expression_.parent(null); in setExpression()
116 if(node.parent() != null) in setExpression()
[all …]
DALoopToCommand.java61 this._position_.parent(null); in setPosition()
66 if(node.parent() != null) in setPosition()
68 node.parent().removeChild(node); in setPosition()
71 node.parent(this); in setPosition()
86 this._variable_.parent(null); in setVariable()
91 if(node.parent() != null) in setVariable()
93 node.parent().removeChild(node); in setVariable()
96 node.parent(this); in setVariable()
111 this._expression_.parent(null); in setExpression()
116 if(node.parent() != null) in setExpression()
[all …]
DACallCommand.java57 this._position_.parent(null); in setPosition()
62 if(node.parent() != null) in setPosition()
64 node.parent().removeChild(node); in setPosition()
67 node.parent(this); in setPosition()
84 if(e.parent() != null) in setMacro()
86 e.parent().removeChild(e); in setMacro()
89 e.parent(this); in setMacro()
104 if(e.parent() != null) in setArguments()
106 e.parent().removeChild(e); in setArguments()
109 e.parent(this); in setArguments()
[all …]
DAIfCommand.java61 this._position_.parent(null); in setPosition()
66 if(node.parent() != null) in setPosition()
68 node.parent().removeChild(node); in setPosition()
71 node.parent(this); in setPosition()
86 this._expression_.parent(null); in setExpression()
91 if(node.parent() != null) in setExpression()
93 node.parent().removeChild(node); in setExpression()
96 node.parent(this); in setExpression()
111 this._block_.parent(null); in setBlock()
116 if(node.parent() != null) in setBlock()
[all …]
DAEachCommand.java61 this._position_.parent(null); in setPosition()
66 if(node.parent() != null) in setPosition()
68 node.parent().removeChild(node); in setPosition()
71 node.parent(this); in setPosition()
86 this._variable_.parent(null); in setVariable()
91 if(node.parent() != null) in setVariable()
93 node.parent().removeChild(node); in setVariable()
96 node.parent(this); in setVariable()
111 this._expression_.parent(null); in setExpression()
116 if(node.parent() != null) in setExpression()
[all …]
/external/e2fsprogs/e2fsck/
Ddict.c53 #define parent dict_parent macro
89 lowleft->parent = upper; in rotate_left()
91 lower->parent = upparent = upper->parent; in rotate_left()
104 upper->parent = lower; in rotate_left()
118 lowright->parent = upper; in rotate_right()
120 lower->parent = upparent = upper->parent; in rotate_right()
130 upper->parent = lower; in rotate_right()
268 new->nilnode.parent = &new->nilnode; in dict_create()
345 dict->nilnode.parent = &dict->nilnode; in dict_init()
366 dict->nilnode.parent = &dict->nilnode; in dict_init_like()
[all …]
/external/guice/core/test/com/google/inject/
DParentInjectorTest.java42 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/
DdeMemPool.c89 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/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/
DANTLRCommonTreeTest.m166 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/
Dvp8_partition_aggregator_unittest.cc62 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()
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_script_nodehelper.cpp28 CXFA_Node* parent, in XFA_ResolveNodes_GetOneChild() argument
31 if (parent == NULL) { in XFA_ResolveNodes_GetOneChild()
36 XFA_NodeAcc_TraverseAnySiblings(parent, uNameHash, &siblings, bIsClassName); in XFA_ResolveNodes_GetOneChild()
46 CXFA_Node* parent = in XFA_CountSiblings() local
48 if (parent == NULL) { in XFA_CountSiblings()
52 parent->GetClassID(), pNode->GetClassID(), XFA_XDPPACKET_UNKNOWN); in XFA_CountSiblings()
54 parent = XFA_ResolveNodes_GetParent(pNode, XFA_LOGIC_Transparent); in XFA_CountSiblings()
55 if (parent == NULL) { in XFA_CountSiblings()
60 return XFA_NodeAcc_TraverseSiblings(parent, pNode->GetClassHashCode(), in XFA_CountSiblings()
63 return XFA_NodeAcc_TraverseSiblings(parent, pNode->GetNameHash(), pSiblings, in XFA_CountSiblings()
[all …]
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/static/
Djquery.url.js80 function promote(parent, key) { argument
81 if (parent[key].length == 0) return parent[key] = {};
83 for (var i in parent[key]) t[i] = parent[key][i];
84 parent[key] = t;
88 function parse(parts, parent, key, val) { argument
91 if (isArray(parent[key])) {
92 parent[key].push(val);
93 } else if ('object' == typeof parent[key]) {
94 parent[key] = val;
95 } else if ('undefined' == typeof parent[key]) {
[all …]
/external/ltrace/
Dlens.c34 struct value *parent; in format_argument() local
35 for (parent = value; (parent != NULL && parent->type != NULL in format_argument()
36 && parent->type->lens == NULL); in format_argument()
37 parent = parent->parent) in format_argument()
41 if (parent != NULL && parent->type != NULL in format_argument()
42 && parent->type->lens != NULL) in format_argument()
43 lens = parent->type->lens; in format_argument()
/external/elfutils/libelf/
Delf_next.c44 Elf *parent; in elf_next() local
48 if (elf == NULL || elf->parent == NULL) in elf_next()
52 parent = elf->parent; in elf_next()
53 assert (parent->kind == ELF_K_AR); in elf_next()
55 rwlock_wrlock (parent->lock); in elf_next()
58 parent->state.ar.offset += (sizeof (struct ar_hdr) in elf_next()
59 + ((parent->state.ar.elf_ar_hdr.ar_size + 1) in elf_next()
63 ret = __libelf_next_arhdr_wrlock (parent) != 0 ? ELF_C_NULL : elf->cmd; in elf_next()
67 parent->state.ar.elf_ar_hdr.ar_name = NULL; in elf_next()
69 rwlock_unlock (parent->lock); in elf_next()

12345678910>>...95