| /foundation/arkui/ace_engine/frameworks/core/components/svg/parse/ |
| H A D | svg_mask.cpp | 39 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 D | svg_filter.cpp | 39 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 D | svg_pattern.cpp | 39 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 D | render_shape_container.cpp | 41 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 D | dom_navigation_menu.cpp | 38 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 D | dom_form.cpp | 26 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 D | node_content.cpp | 27 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 D | wukong_tree.h | 27 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 D | test-tls-enable-trace-cli.js | 20 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 D | test-regress-GH-892.js | 27 // 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 D | 16-1.c | 19 * 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 D | 18-1.c | 24 * -> 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 D | 22-1.c | 24 * -> 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 D | 21-1.c | 26 * 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 D | 14-1.c | 19 * 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 D | 1-1.c | 23 * -> 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 D | 13-1.c | 19 * 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 D | 7-1.c | 19 * 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 D | 8-1.c | 19 * 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 D | 3-3.c | 25 * -> 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 D | 3-2.c | 25 * -> 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 D | node_container_layout_algorithm.cpp | 24 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 D | search_node.cpp | 20 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 D | getpgrp.c | 22 * @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 D | profile-utils.js | 173 // 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...] |