Home
last modified time | relevance | path

Searched refs:child (Results 251 - 275 of 2085) sorted by relevance

1...<<11121314151617181920>>...84

/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/
H A Dsvg_mask.cpp39 void SvgMask::AppendChild(const RefPtr<SvgNode>& child) in AppendChild() argument
41 children_.emplace_back(child); in AppendChild()
42 component_->AppendChild(child->GetComponent()); in AppendChild()
72 for (auto child : children_) { in CreateRender()
73 auto childRender = child->CreateRender(layoutParam, component_->GetDeclaration(), useBox); in CreateRender()
76 child->Update(childRender); in CreateRender()
H A Dsvg_filter.cpp39 void SvgFilter::AppendChild(const RefPtr<SvgNode>& child) in AppendChild() argument
41 children_.emplace_back(child); in AppendChild()
42 component_->AppendChild(child->GetComponent()); in AppendChild()
71 for (auto& child : children_) { in CreateRender()
72 auto childRender = child->CreateRender(layoutParam, component_->GetDeclaration(), useBox); in CreateRender()
75 child->Update(childRender); in CreateRender()
H A Dsvg_pattern.cpp39 void SvgPattern::AppendChild(const RefPtr<SvgNode>& child) in AppendChild() argument
41 children_.emplace_back(child); in AppendChild()
42 component_->AppendChild(child->GetComponent()); in AppendChild()
71 for (auto child : children_) { in CreateRender()
72 auto childRender = child->CreateRender(layoutParam, component_->GetDeclaration(), useBox); in CreateRender()
75 child->Update(childRender); in CreateRender()
/foundation/arkui/ace_engine/frameworks/core/components/shape/
H A Drender_shape_container.cpp41 for (const auto& child : GetChildren()) { in PerformLayout()
42 child->SetPosition(Offset(0, 0)); in PerformLayout()
52 for (const auto& child : children) { in PerformLayout()
53 child->Layout(LayoutParam(newSize, GetLayoutParam().GetMinSize())); in PerformLayout()
60 for (const auto& child : children) { in PerformLayout()
61 child->Layout(GetLayoutParam()); in PerformLayout()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_navigation_menu.cpp38 void DOMNavigationMenu::OnChildNodeAdded(const RefPtr<DOMNode>& child, int32_t slot) in OnChildNodeAdded() argument
40 if (!child) { in OnChildNodeAdded()
43 auto option = AceType::DynamicCast<OptionComponent>(child->GetSpecializedComponent()); in OnChildNodeAdded()
53 void DOMNavigationMenu::OnChildNodeRemoved(const RefPtr<DOMNode>& child) in OnChildNodeRemoved() argument
55 if (!child) { in OnChildNodeRemoved()
58 auto option = AceType::DynamicCast<OptionComponent>(child->GetSpecializedComponent()); in OnChildNodeRemoved()
H A Ddom_form.cpp26 void DOMForm::OnChildNodeAdded(const RefPtr<DOMNode>& child, int32_t slot) in OnChildNodeAdded() argument
28 if (child) { in OnChildNodeAdded()
29 columnContainer_->InsertChild(slot, child->GetRootComponent()); in OnChildNodeAdded()
56 void DOMForm::OnChildNodeRemoved(const RefPtr<DOMNode>& child) in OnChildNodeRemoved() argument
58 if (child) { in OnChildNodeRemoved()
59 columnContainer_->RemoveChild(child->GetRootComponent()); in OnChildNodeRemoved()
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dnode_content.cpp27 for (const auto& child : children_) { in AttachToNode()
28 node->AddChild(child); in AttachToNode()
52 auto child = Claim(node); in AddNode() local
54 slot->AddChild(child, position); in AddNode()
57 auto it = std::find(children_.begin(), children_.end(), child); in AddNode()
64 children_.insert(it, child); in AddNode()
/test/ostest/wukong/component_event/include/
H A Dwukong_tree.h27 static const std::shared_ptr<WuKongTree> GetRoot(const std::shared_ptr<WuKongTree>& child) in GetRoot() argument
29 if (child->GetParent() == nullptr) { in GetRoot()
30 return child; in GetRoot()
32 return GetRoot(child->GetParent()); in GetRoot()
72 * @brief Get node children pointer, return 0 if no child.
112 virtual void AddChild(const std::shared_ptr<WuKongTree>& child) in AddChild() argument
114 children_.push_back(child); in AddChild()
/third_party/node/test/parallel/
H A Dtest-tls-enable-trace-cli.js20 const child = fork(__filename, ['test'], {
27 child.stdout.setEncoding('utf8');
28 child.stderr.setEncoding('utf8');
29 child.stdout.on('data', (data) => stdout += data);
30 child.stderr.on('data', (data) => stderr += data);
31 child.on('close', common.mustCall((code, signal) => {
/third_party/node/test/pummel/
H A Dtest-regress-GH-892.js27 // TLS server causes the child process to exit cleanly before having sent
58 const child = spawn(process.execPath, args);
60 child.on('exit', function(code) {
65 // The following two lines forward the stdio from the child
67 child.stderr.pipe(process.stderr);
68 child.stdout.pipe(process.stdout);
72 child.stderr.setEncoding('ascii');
73 child.stderr.on('data', function(d) {
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
H A D16-1.c19 * Memory mappings created in the parent are retained in the child process.
28 * -> The child checks that the data is visible in the segments, then modifies it.
29 * -> child terminates
62 pid_t child, ctl; in main() local
117 /* Create the child */ in main()
118 child = fork(); in main()
120 if (child == -1) { in main()
124 if (child == 0) { in main()
131 ("The memory mappings were not inherited by the child process"); in main()
143 /* Parent joins the child */ in main()
[all...]
H A D18-1.c24 * -> check if the timer exists in child.
26 * The test fails if the timer expires in child (timer signal is delivered).
65 pid_t child, ctl; in main() local
101 /* Create the child */ in main()
102 child = fork(); in main()
104 if (child == -1) { in main()
108 /* child */ in main()
109 if (child == 0) { in main()
116 ("Per-Process Timer was inherited in child"); in main()
119 ("Notification occured before the child forke in main()
[all...]
H A D22-1.c24 * -> check the child process process CPU time and thread CPU time clocks.
52 pid_t child, ctl; in main() local
114 /* Create the child */ in main()
115 child = fork(); in main()
117 if (child == -1) { in main()
121 /* child */ in main()
122 if (child == 0) { in main()
140 ("The process CPU-time clock was not reset in child\n"); in main()
161 ("The thread CPU-time clock was not reset in child\n"); in main()
168 /* Parent joins the child */ in main()
[all...]
H A D21-1.c26 * The test fails if the thread is executing in the child process.
60 UNRESOLVED(errno, "failed to wait for the semaphore in child"); in threaded()
63 FAILED("The thread is executing in the child process"); in threaded()
71 pid_t child, ctl; in main() local
92 /* Create the child */ in main()
93 child = fork(); in main()
95 if (child == -1) in main()
106 /* child */ in main()
107 if (child == 0) { in main()
115 /* Parent joins the child */ in main()
[all...]
H A D14-1.c19 * Opened semaphores are inherited in the child process..
24 * -> The child tries and posts both semaphores, then terminates.
25 * -> The parent waits for the child, then check the semaphores were posted
27 * The test fails if any semaphore has not been posted in the child.
55 pid_t child, ctl; in main() local
79 /* Create the child */ in main()
80 child = fork(); in main()
82 if (child == -1) { in main()
86 /* child */ in main()
87 if (child in main()
[all...]
H A D1-1.c23 * -> the parent and the child sleep 1 sec (check concurrent execution)
24 * -> the child posts a semaphore, the parents waits for thsi semaphore
25 * (check the child really executes)
56 pid_t child, ctl; in main() local
71 /* Create the child */ in main()
72 child = fork(); in main()
73 if (child == -1) in main()
85 /* child posts the semaphore and terminates */ in main()
86 if (child == 0) { in main()
98 /* The child stop in main()
[all...]
H A D13-1.c19 * Interval timers are reset in the child process.
24 * -> check the timer has been cleared in child.
26 * The test fails if the timer is running in the child.
54 pid_t child, ctl; in main() local
91 /* Create the child */ in main()
92 child = fork(); in main()
94 if (child == -1) { in main()
98 /* child */ in main()
99 if (child == 0) { in main()
105 "Failed to read ITIMER_REAL in child"); in main()
[all...]
H A D7-1.c19 * The child process gets a copy of the parent message catalog descriptor.
25 * -> Check that the child can read from the message catalog.
27 * The test fails if the message catalog is read in the parent and not in the child.
99 pid_t child, ctl; in main() local
128 child = fork(); in main()
130 if (child == -1) in main()
133 if (child == 0) { in main()
135 printf("FAILED: Unable to read message catalog in child\n"); in main()
141 ctl = waitpid(child, &status, 0); in main()
143 if (ctl != child) in main()
[all...]
H A D8-1.c19 * tms_{,c}{u,s}time values are set to 0 in the child process.
24 * -> Check that the child has tms values less than the saved tms.
25 * -> join the child process
56 pid_t child, ctl; in main() local
93 /* Create the child */ in main()
94 child = fork(); in main()
96 if (child == -1) in main()
99 /* child */ in main()
100 if (child == 0) { in main()
123 /* Parent joins the child */ in main()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
H A D3-3.c25 * -> child process post the semaphore then exit
26 * -> parent process waits for the child then check the semaphore has been increased
90 pid_t child, ctl; in main() local
130 /* Create the child */ in main()
131 child = fork(); in main()
133 if (child == -1) { in main()
137 /* child */ in main()
138 if (child == 0) { in main()
150 /* Parent joins the child */ in main()
151 ctl = waitpid(child, in main()
[all...]
H A D3-2.c25 * -> child process post the semaphore then exit
90 pid_t child, ctl; in main() local
130 /* Create the child */ in main()
131 child = fork(); in main()
133 if (child == -1) { in main()
137 /* child */ in main()
138 if (child == 0) { in main()
159 /* Parent joins the child */ in main()
160 ctl = waitpid(child, &status, 0); in main()
162 if (ctl != child) { in main()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/node_container/
H A Dnode_container_layout_algorithm.cpp24 for (auto&& child : layoutWrapper->GetAllChildrenWithBuild()) { in Measure()
25 if (child->GetHostTag() == "RenderNode") { in Measure()
26 child->Measure(std::nullopt); in Measure()
28 child->Measure(layoutConstraint); in Measure()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_node.cpp20 void SearchNode::AddChildToGroup(const RefPtr<UINode>& child, int32_t slot) in AddChildToGroup() argument
22 if (searchChildren_.find(child->GetId()) != searchChildren_.end()) { in AddChildToGroup()
26 searchChildren_.emplace(child->GetId()); in AddChildToGroup()
29 child->MountToParent(searchNode); in AddChildToGroup()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dgetpgrp.c22 * @tc.desc : Whether the child process is in the same process group as the parent process
28 pid_t child = fork(); in getpgrp_0100() local
29 EXPECT_TRUE("getpgrp_0100", child >= 0); in getpgrp_0100()
31 if (child == 0) { in getpgrp_0100()
34 } else if (child > 0) { in getpgrp_0100()
/third_party/node/deps/v8/tools/profview/
H A Dprofile-utils.js173 // We found a child node.
175 let child = parent.children[childId];
176 if (!child) {
178 child = createNodeFromStackEntry(code, codeId, vmState);
179 child.delayedExpansion = { frameList : [], ascending };
180 parent.children[childId] = child;
182 child.ticks++;
183 addFrameToFrameList(child.delayedExpansion.frameList, stackIndex, stackPos);
343 let child = null;
362 child
[all...]

Completed in 7 milliseconds

1...<<11121314151617181920>>...84