Home
last modified time | relevance | path

Searched refs:child (Results 476 - 500 of 2040) sorted by relevance

1...<<11121314151617181920>>...82

/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Dflex_component_v2.cpp90 void FlexComponentV2::OnChildAppended(const RefPtr<Component>& child) in OnChildAppended() argument
92 RefPtr<Component> newChild = AddFlexItemComponent(child); in OnChildAppended()
93 if (newChild != child) { in OnChildAppended()
94 RemoveChildDirectly(child); in OnChildAppended()
/foundation/arkui/ace_engine/frameworks/core/components/piece/
H A Drender_piece.cpp36 const auto& child = GetChildren().front(); in PerformLayout() local
37 if (!child) { in PerformLayout()
40 child->Layout(GetLayoutParam()); in PerformLayout()
41 SetLayoutSize(GetLayoutParam().Constrain(child->GetLayoutSize())); in PerformLayout()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_content_modifier.cpp59 for (const auto& child : dividerMap) { in onDraw()
60 if (child.second.length > 0) { in onDraw()
61 dividerPainter.SetDividerLength(child.second.length); in onDraw()
62 dividerPainter.DrawLine(context.canvas, child.second.offset); in onDraw()
/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/
H A Drender_navigation_container.cpp32 for (const auto& child : GetChildren()) { in PerformLayout()
34 child->Layout(layoutParam); in PerformLayout()
35 child->SetPosition(Offset(0.0, usedHeight)); in PerformLayout()
36 usedHeight += child->GetLayoutSize().Height(); in PerformLayout()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_badge.cpp49 void DOMBadge::OnChildNodeAdded(const RefPtr<DOMNode>& child, int32_t slot) in OnChildNodeAdded() argument
51 ACE_DCHECK(child); in OnChildNodeAdded()
55 badgeChild_->SetChild(child->GetRootComponent()); in OnChildNodeAdded()
58 void DOMBadge::OnChildNodeRemoved(const RefPtr<DOMNode>& child) in OnChildNodeRemoved() argument
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Dcomponent_group_element.cpp57 const auto& child = *itChild; in UpdateChildren() local
59 if (child->NeedUpdateWithComponent(component)) { in UpdateChildren()
60 if (!child->CanUpdate(component)) { in UpdateChildren()
63 UpdateChild(child, component); in UpdateChildren()
/third_party/ffmpeg/libavutil/tests/
H A Dtree.c30 int left = check(t->child[0]); in check()
31 int right = check(t->child[1]); in check()
51 print(t->child[0], depth + 1); in print()
52 print(t->child[1], depth + 1); in print()
/third_party/node/test/parallel/
H A Dtest-domain-with-abort-on-uncaught-exception.js29 if (process.argv[2] === 'child') {
37 // the parent checks the child exit code.
106 process.argv[1]}" child ${throwInDomainErrHandlerOpt} ${useTryCatchOpt}`;
108 const child = exec(cmdToExec);
110 if (child) {
111 child.on('exit', function onChildExited(exitCode, signal) {
H A Dtest-inspect-address-in-use.js28 const child = spawnSync(process.execPath, getArgs(port), options);
29 const stderr = child.stderr.toString().trim();
30 const stdout = child.stdout.toString().trim();
40 assert.strictEqual(child.status, exitCode);
H A Dtest-vm-sigint-existing-handler.js17 if (process.argv[2] === 'child') {
75 const child = spawn(process.execPath, [__filename, 'child', method], {
79 child.on('message', common.mustCall(() => {
82 process.kill(child.pid, 'SIGINT');
85 child.on('close', common.mustCall((code, signal) => {
/third_party/musl/libc-test/src/regression/
H A Draise-race.c14 static volatile int child; variable
25 case 0: child=1; break; in handler1()
40 t_error("lost signals: got %d, wanted 1000 (ischild %d forks %d)\n", c0, child, c1); in start()
41 if (child) in start()
51 t_error("child failed: pid:%d status:%d\n", r, s); in start()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
H A Dhugemmap08.c44 pid_t child; in test_chunk_overcommit() local
72 * this is bad. We touch it all in a child process because an in test_chunk_overcommit()
76 child = SAFE_FORK(); in test_chunk_overcommit()
78 if (child == 0) { in test_chunk_overcommit()
84 SAFE_WAITPID(child, &status, 0); in test_chunk_overcommit()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D7-3.c23 * 4. Fork a child process.
25 * 6. Check whether the change in step 3 is visible to the child.
47 pid_t child; in main() local
74 child = fork(); in main()
76 switch (child) { in main()
78 /* Mmap again the same shared memory to child's memory */ in main()
102 waitpid(child, &exit_stat, WUNTRACED); in main()
H A D7-4.c23 * 4. Fork a child process.
25 * 6. Check whether the change in step 3 is visible to the child.
47 pid_t child; in main() local
77 child = fork(); in main()
78 switch (child) { in main()
80 /* Mmap again the same shared memory to child's memory */ in main()
84 printf("child: Error at mmap: %s\n", strerror(errno)); in main()
94 "into the child\n"); in main()
101 waitpid(child, &exit_stat, WUNTRACED); in main()
H A D6-2.c21 * 1. Spawn a child process.
22 * 2. The child process mmap a memory region setting prot as PROT_NONE.
53 pid_t child; in main() local
66 child = fork(); in main()
67 switch (child) { in main()
96 waitpid(child, &status, 0); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/
H A D1-2.c122 pthread_t child; in main() local
149 pthread_create(&child, &scenarii[sc].ta, threaded, in main()
191 ret = pthread_detach(child); in main()
194 "Failed to detach the child thread."); in main()
199 ret = pthread_join(child, NULL); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
H A D4-1.c83 pthread_t child; in main() local
107 ret = pthread_create(&child, &scenarii[sc].ta, threaded, NULL); in main()
144 joiner_func, &child); in main()
164 /* Unblock the child thread */ in main()
170 ret = pthread_join(child, NULL); in main()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cancel/
H A Dstress.c108 pthread_t child; in threaded() local
119 ret = pthread_create(&child, NULL, th, arg); in threaded()
133 ret = pthread_cancel(child); in threaded()
141 ret = pthread_join(child, NULL); in threaded()
144 UNRESOLVED(ret, "Unable to join the child"); in threaded()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-5/
H A Dobjc_inheritance.rs46 fn from(child: Bar) -> Foo { in from()
47 Foo(child.0) in from()
81 fn from(child: Baz) -> Bar { in from()
82 Bar(child.0) in from()
99 fn from(child: Baz) -> Foo { in from()
100 Foo(child.0) in from()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/
H A Dobjc_inheritance.rs46 fn from(child: Bar) -> Foo { in from()
47 Foo(child.0) in from()
81 fn from(child: Baz) -> Bar { in from()
82 Bar(child.0) in from()
99 fn from(child: Baz) -> Foo { in from()
100 Foo(child.0) in from()
/third_party/pulseaudio/src/modules/gsettings/
H A Dgsettings-helper.c105 GSettings *child = g_settings_get_child(settings, *name); in main() local
107 /* The child may have been removed between the in main()
109 if (!child) in main()
112 g_ptr_array_add(groups, child); in main()
113 g_signal_connect(child, "changed", (GCallback) module_group_callback, *name); in main()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcord_internal.cc66 CordRep* child = rep_substring->child; in Destroy() local
69 if (!child->refcount.Decrement()) { in Destroy()
70 rep = child; in Destroy()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
H A Dseed_sequences_test.cc105 URBG child(reusable_seed); in TestReproducibleVariateSequencesForNonsecureURBG()
107 variate = child(); in TestReproducibleVariateSequencesForNonsecureURBG()
112 URBG child(reusable_seed); in TestReproducibleVariateSequencesForNonsecureURBG()
114 ASSERT_EQ(variate, child()); in TestReproducibleVariateSequencesForNonsecureURBG()
/third_party/skia/gm/
H A Ddestcolor.cpp29 static std::unique_ptr<GrFragmentProcessor> Make(std::unique_ptr<GrFragmentProcessor> child) { in Make() argument
30 return std::unique_ptr<GrFragmentProcessor>(new DestColorTestFP(std::move(child))); in Make()
38 DestColorTestFP(std::unique_ptr<GrFragmentProcessor> child) in DestColorTestFP() argument
40 this->registerChild(std::move(child)); in DestColorTestFP()
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drender_list.cpp348 LOGE("Get near child by position failed. layout manager is null."); in GetNearChildByPosition()
415 auto child = GetChildByIndex(index); in GetItemByIndex() local
416 if (!child || child->GetChildren().empty()) { in GetItemByIndex()
419 return RenderListItem::GetRenderListItem(child); in GetItemByIndex()
425 auto child = GetChildByPosition(position); in GetIndexByPosition() local
426 if (child && !child->GetChildren().empty()) { in GetIndexByPosition()
427 auto listItem = RenderListItem::GetRenderListItem(child); in GetIndexByPosition()
698 void RenderList::OnChildRemoved(const RefPtr<RenderNode>& child) in OnChildRemoved() argument
[all...]

Completed in 13 milliseconds

1...<<11121314151617181920>>...82