| /foundation/arkui/ace_engine/frameworks/core/components/flex/ |
| H A D | flex_component_v2.cpp | 90 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 D | render_piece.cpp | 36 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 D | list_content_modifier.cpp | 59 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 D | render_navigation_container.cpp | 32 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 D | dom_badge.cpp | 49 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 D | component_group_element.cpp | 57 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 D | tree.c | 30 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 D | test-domain-with-abort-on-uncaught-exception.js | 29 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 D | test-inspect-address-in-use.js | 28 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 D | test-vm-sigint-existing-handler.js | 17 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 D | raise-race.c | 14 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 D | hugemmap08.c | 44 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 D | 7-3.c | 23 * 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 D | 7-4.c | 23 * 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 D | 6-2.c | 21 * 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 D | 1-2.c | 122 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 D | 4-1.c | 83 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 D | stress.c | 108 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 D | objc_inheritance.rs | 46 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 D | objc_inheritance.rs | 46 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 D | gsettings-helper.c | 105 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 D | cord_internal.cc | 66 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 D | seed_sequences_test.cc | 105 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 D | destcolor.cpp | 29 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 D | render_list.cpp | 348 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...] |