Home
last modified time | relevance | path

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

12345678910>>...181

/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/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 …]
/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/
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 …]
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 …]
/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/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()
149 while ( sp.parent!=null && other.parent!=null ) { in equals()
153 sp = sp.parent; in equals()
154 other = other.parent; in equals()
156 if ( !(sp.parent==null && other.parent==null) ) { in equals()
211 while ( sp.parent!=null && other.parent!=null ) { in suffix()
[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()
162 char *parent = NULL, *child = NULL; in test_cgcore_parent_becomes_threaded() local
164 parent = cg_name(root, "cg_test_parent"); in test_cgcore_parent_becomes_threaded()
[all …]
Dtest_memcontrol.c29 char *parent, *child, *parent2 = NULL, *child2 = NULL; in test_memcg_subtree_control() local
34 parent = cg_name(root, "memcg_test_0"); in test_memcg_subtree_control()
36 if (!parent || !child) in test_memcg_subtree_control()
39 if (cg_create(parent)) in test_memcg_subtree_control()
42 if (cg_write(parent, "cgroup.subtree_control", "+memory")) in test_memcg_subtree_control()
81 cg_destroy(parent); in test_memcg_subtree_control()
83 free(parent); in test_memcg_subtree_control()
267 char *parent[3] = {NULL}; in test_memcg_min() local
277 parent[0] = cg_name(root, "memcg_test_0"); in test_memcg_min()
278 if (!parent[0]) in test_memcg_min()
[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/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/mesa3d/src/util/
Dslab.c75 slab_get_element(struct slab_parent_pool *parent, in slab_get_element() argument
79 ((uint8_t*)&page[1] + (parent->element_size * index)); in slab_get_element()
105 slab_create_parent(struct slab_parent_pool *parent, in slab_create_parent() argument
109 mtx_init(&parent->mutex, mtx_plain); in slab_create_parent()
110 parent->element_size = ALIGN_POT(sizeof(struct slab_element_header) + item_size, in slab_create_parent()
112 parent->num_elements = num_items; in slab_create_parent()
116 slab_destroy_parent(struct slab_parent_pool *parent) in slab_destroy_parent() argument
118 mtx_destroy(&parent->mutex); in slab_destroy_parent()
125 struct slab_parent_pool *parent) in slab_create_child() argument
127 pool->parent = parent; in slab_create_child()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DExperimentalDispatchModeTest.kt12 val parent = Job() in <lambda>() constant
13 launch(parent) { in <lambda>()
15 parent.cancel() in <lambda>()
26 val parent = Job() in <lambda>() constant
27 launch(parent) { in <lambda>()
29 parent.cancel() in <lambda>()
43 val parent = Job() in <lambda>() constant
44 launch(parent) { in <lambda>()
52 parent.cancel() in <lambda>()
60 val parent = Job() in <lambda>() constant
[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/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 …]
/external/chromium-trace/catapult/common/eslint/rules/
Dcatapult-camelcase.js95 … 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/mesa3d/src/compiler/nir/
Dnir_deref.c32 nir_deref_instr *parent = nir_src_as_deref(cast->parent); in is_trivial_deref_cast() local
33 if (!parent) in is_trivial_deref_cast()
36 return cast->modes == parent->modes && in is_trivial_deref_cast()
37 cast->type == parent->type && in is_trivial_deref_cast()
38 cast->dest.ssa.num_components == parent->dest.ssa.num_components && in is_trivial_deref_cast()
39 cast->dest.ssa.bit_size == parent->dest.ssa.bit_size; in is_trivial_deref_cast()
172 if (use_src != &use_deref->parent) in nir_deref_instr_has_complex_use()
309 nir_deref_instr *parent = *(p - 1); in nir_deref_instr_get_const_offset() local
310 offset += struct_type_get_field_offset(parent->type, size_align, in nir_deref_instr_get_const_offset()
345 nir_deref_instr *parent = *(p - 1); in nir_build_deref_offset() local
[all …]
/external/ltp/testcases/kernel/fs/fs_bind/cloneNS/
Dtest0548 "${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/guice/core/test/com/google/inject/
DParentInjectorTest.java38 Injector parent = Guice.createInjector(bindsA); in testParentAndChildCannotShareExplicitBindings() local
40 parent.createChildInjector(bindsA); in testParentAndChildCannotShareExplicitBindings()
58 Injector parent = Guice.createInjector(); in testParentJitBindingWontClobberChildBinding() local
59 parent.createChildInjector(bindsA); in testParentJitBindingWontClobberChildBinding()
61 parent.getInstance(A.class); in testParentJitBindingWontClobberChildBinding()
75 Injector parent = Guice.createInjector(); in testChildCannotBindToAParentJitBinding() local
76 parent.getInstance(A.class); in testChildCannotBindToAParentJitBinding()
78 parent.createChildInjector(bindsA); in testChildCannotBindToAParentJitBinding()
90 Injector parent = Guice.createInjector(); in testJustInTimeBindingsAreSharedWithParentIfPossible() local
91 Injector child = parent.createChildInjector(); in testJustInTimeBindingsAreSharedWithParentIfPossible()
[all …]
/external/e2fsprogs/lib/support/
Ddict.c59 #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/f2fs-tools/fsck/
Ddict.c54 #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()
117 lowright->parent = upper; in rotate_right()
119 lower->parent = upparent = upper->parent; in rotate_right()
129 upper->parent = lower; in rotate_right()
261 new->nilnode.parent = &new->nilnode; in dict_create()
334 dict->nilnode.parent = &dict->nilnode; in dict_init()
354 dict->nilnode.parent = &dict->nilnode; in dict_init_like()
[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 …]

12345678910>>...181