Home
last modified time | relevance | path

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

12345678910>>...275

/external/tensorflow/tensorflow/tools/docs/
Ddoc_generator_visitor_test.py30 def __call__(self, parent_name, parent, children): argument
35 super(NoDunderVisitor, self).__call__(parent_name, parent, children)
75 class Parent(object): class
81 tf.Parent = Parent
83 tf.submodule.Parent = Parent
92 'tf.submodule.Parent':
94 'tf.Parent',
95 'tf.submodule.Parent',
97 'tf.submodule.Parent.Nested':
99 'tf.Parent.Nested',
[all …]
/external/u-boot/lib/
Drbtree.c49 * - old's parent and color get assigned to new
50 * - old gets assigned new as a parent and 'color' as a color.
56 struct rb_node *parent = rb_parent(old); in __rb_rotate_set_parents() local
59 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents()
66 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local
72 * If there is a black parent, we are done. in __rb_insert()
76 if (!parent) { in __rb_insert()
79 } else if (rb_is_black(parent)) in __rb_insert()
82 gparent = rb_red_parent(parent); in __rb_insert()
85 if (parent != tmp) { /* parent == gparent->rb_left */ in __rb_insert()
[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/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/ltp/utils/ffsb-6.0-rc2/
Drbt.c44 node->parent = node->right = node->left = NULL; in rbnode_construct()
122 /* Otherwise, go up the tree until reaching the parent in rbnode_successor()
127 succ_node = node->parent; in rbnode_successor()
130 succ_node = succ_node->parent; in rbnode_successor()
155 /* Otherwise, go up the tree until reaching the parent in rbnode_predecessor()
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()
[all …]
/external/linux-kselftest/tools/testing/selftests/cgroup/
Dtest_core.c107 char *grandparent = NULL, *parent = NULL, *child = NULL; in test_cgcore_invalid_domain() local
110 parent = cg_name(root, "cg_test_grandparent/cg_test_parent"); in test_cgcore_invalid_domain()
112 if (!parent || !child || !grandparent) in test_cgcore_invalid_domain()
118 if (cg_create(parent)) in test_cgcore_invalid_domain()
124 if (cg_write(parent, "cgroup.type", "threaded")) in test_cgcore_invalid_domain()
142 if (parent) in test_cgcore_invalid_domain()
143 cg_destroy(parent); in test_cgcore_invalid_domain()
147 free(parent); in test_cgcore_invalid_domain()
154 * the parent type becomes domain threaded.
159 char *parent = NULL, *child = NULL; in test_cgcore_parent_becomes_threaded() local
[all …]
/external/linux-kselftest/tools/testing/selftests/tc-testing/tc-tests/filters/
Dfw.json12 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok",
14 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw",
31 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok",
33 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw",
50 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok",
52 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
69 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action continue",
71 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
88 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action pipe",
90 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw",
[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/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
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/tensorflow/tensorflow/core/util/
Dbatch_util.cc29 Status ValidateInput(const Tensor& parent, const Tensor& element, int64 index) { in ValidateInput() argument
30 DCHECK_NE(parent.dim_size(0), 0); in ValidateInput()
32 if (element.NumElements() != (parent.NumElements() / parent.dim_size(0))) { in ValidateInput()
33 TensorShape chip_shape = parent.shape(); in ValidateInput()
39 ", [parent slice]: ", chip_shape.DebugString()); in ValidateInput()
45 Status HandleElementToSlice(Tensor element, Tensor* parent, int64 index, in HandleElementToSlice() argument
47 parent->flat_outer_dims<T>().chip(index, 0) = element.flat<T>(); in HandleElementToSlice()
52 Status HandleElementToSlice<string>(Tensor element, Tensor* parent, int64 index, in HandleElementToSlice() argument
54 auto parent_as_matrix = parent->flat_outer_dims<string>(); in HandleElementToSlice()
67 Status HandleElementToSlice<Variant>(Tensor element, Tensor* parent, in HandleElementToSlice() argument
[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/syzkaller/vendor/golang.org/x/net/context/
Dpre_go17.go58 // WithCancel returns a copy of parent with a new Done channel. The returned
60 // or when the parent context's Done channel is closed, whichever happens first.
64 func WithCancel(parent Context) (ctx Context, cancel CancelFunc) {
65 c := newCancelCtx(parent)
66 propagateCancel(parent, c)
71 func newCancelCtx(parent Context) *cancelCtx {
73 Context: parent,
78 // propagateCancel arranges for child to be canceled when parent is.
79 func propagateCancel(parent Context, child canceler) {
80 if parent.Done() == nil {
[all …]
/external/deqp-deps/SPIRV-Tools/source/comp/
Dmove_to_front.cpp244 uint32_t parent = 0; in InsertNode() local
250 // Find the node which will become |node|'s parent after insertion in InsertNode()
253 parent = iter; in InsertNode()
259 assert(parent); in InsertNode()
261 // Connect node and parent. in InsertNode()
262 MutableParentOf(node) = parent; in InsertNode()
264 MutableRightOf(parent) = node; in InsertNode()
266 MutableLeftOf(parent) = node; in InsertNode()
270 parent = ParentOf(node); in InsertNode()
272 while (parent) { in InsertNode()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/comp/
Dmove_to_front.cpp244 uint32_t parent = 0; in InsertNode() local
250 // Find the node which will become |node|'s parent after insertion in InsertNode()
253 parent = iter; in InsertNode()
259 assert(parent); in InsertNode()
261 // Connect node and parent. in InsertNode()
262 MutableParentOf(node) = parent; in InsertNode()
264 MutableRightOf(parent) = node; in InsertNode()
266 MutableLeftOf(parent) = node; in InsertNode()
270 parent = ParentOf(node); in InsertNode()
272 while (parent) { in InsertNode()
[all …]
/external/u-boot/drivers/clk/renesas/
Dclk-rcar-gen3.c89 struct cpg_mssr_info *info, struct clk *parent) in gen3_clk_get_parent() argument
100 parent->dev = clk->dev; in gen3_clk_get_parent()
101 parent->id = core->parent >> (priv->sscg ? 16 : 0); in gen3_clk_get_parent()
102 parent->id &= 0xffff; in gen3_clk_get_parent()
107 return renesas_clk_get_parent(clk, info, parent); in gen3_clk_get_parent()
115 struct clk parent; in gen3_clk_setup_sdif_div() local
118 ret = gen3_clk_get_parent(priv, clk, info, &parent); in gen3_clk_setup_sdif_div()
120 printf("%s[%i] parent fail, ret=%i\n", __func__, __LINE__, ret); in gen3_clk_setup_sdif_div()
124 if (renesas_clk_is_mod(&parent)) in gen3_clk_setup_sdif_div()
127 ret = renesas_clk_get_core(&parent, info, &core); in gen3_clk_setup_sdif_div()
[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/u-boot/scripts/kconfig/
Dqconf.h44 typedef class QTreeWidget Parent; typedef
48 ConfigView* parent(void) const in parent() function
50 return (ConfigView*)Parent::parent(); in parent()
105 void updateMenuList(ConfigItem *parent, struct menu*);
106 void updateMenuList(ConfigList *parent, struct menu*);
124 typedef class QTreeWidgetItem Parent; typedef
126 ConfigItem(ConfigList *parent, ConfigItem *after, struct menu *m, bool v) in ConfigItem() argument
127 : Parent(parent, after), nextItem(0), menu(m), visible(v), goParent(false) in ConfigItem()
131 ConfigItem(ConfigItem *parent, ConfigItem *after, struct menu *m, bool v) in ConfigItem() argument
132 : Parent(parent, after), nextItem(0), menu(m), visible(v), goParent(false) in ConfigItem()
[all …]

12345678910>>...275