Home
last modified time | relevance | path

Searched refs:atom (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/app_bar/
H A Dapp_bar_test_ng.cpp93 auto atom = appBar->Create(stage); variable
121 auto atom = appBar->Create(stage); variable
216 auto atom = appBar->Create(stage); variable
243 auto atom = appBar->Create(stage); variable
263 auto atom = appBar->Create(stage); variable
288 auto atom = appBar->Create(stage); variable
319 auto atom = appBar->Create(stage); variable
356 auto atom = appBar->Create(stage); variable
358 atom->AddChild(menuBar);
378 auto atom = appBar->Create(stage); variable
[all …]
/ohos5.0/drivers/hdf_core/framework/support/platform/src/uart/
H A Duart_core.c30 if (OsalAtomicIncReturn(&host->atom) > 1) { in UartHostRequest()
32 OsalAtomicDec(&host->atom); in UartHostRequest()
39 OsalAtomicDec(&host->atom); in UartHostRequest()
66 OsalAtomicDec(&host->atom); in UartHostRelease()
97 OsalAtomicSet(&host->atom, 0); in UartHostCreate()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/app_bar/
H A Dapp_bar_view.cpp86 atom->AddChild(stage); in Create()
87 atom->AddChild(menuBarRow); in Create()
91 atomicService_ = atom; in Create()
92 auto pattern = atom->GetPattern<AtomicServicePattern>(); in Create()
96 return atom; in Create()
367 auto atom = atomicService_.Upgrade(); in GetAppBarRect() local
368 CHECK_NULL_RETURN(atom, std::nullopt); in GetAppBarRect()
369 auto pattern = atom->GetPattern<AtomicServicePattern>(); in GetAppBarRect()
392 auto atom = atomicService_.Upgrade(); in SetStatusBarItemColor() local
393 CHECK_NULL_VOID(atom); in SetStatusBarItemColor()
[all …]
H A Datomic_service_pattern.cpp76 auto atom = GetHost(); in UpdateLayoutMargin() local
77 CHECK_NULL_VOID(atom); in UpdateLayoutMargin()
84 auto stage = AceType::DynamicCast<FrameNode>(atom->GetChildAtIndex(0)); in UpdateLayoutMargin()
95 auto atom = GetHost(); in UpdateOverlayLayout() local
96 CHECK_NULL_VOID(atom); in UpdateOverlayLayout()
97 if (atom->GetChildren().size() <= ATOMIC_SERVICE_MIN_SIZE) { in UpdateOverlayLayout()
101 … index <= static_cast<int32_t>(atom->GetChildren().size()) - ATOMIC_SERVICE_MIN_SIZE; index++) { in UpdateOverlayLayout()
102 auto overlay = AceType::DynamicCast<FrameNode>(atom->GetChildAtIndex(index)); in UpdateOverlayLayout()
142 auto atom = GetHost(); in GetMenuBarRow() local
143 CHECK_NULL_RETURN(atom, nullptr); in GetMenuBarRow()
[all …]
/ohos5.0/base/startup/init/services/modules/seccomp/scripts/
H A Dgenerate_code_from_policy.py668 def compile_atom(self, atom, cur_size): argument
670 if len(atom) < 6:
673 if atom[0] == '(':
680 def compile_mask_equal_atom(self, atom, cur_size): argument
682 left_brace_pos = atom.find('(')
683 right_brace_pos = atom.rfind(')')
685 outside_brace_content = atom[right_brace_pos + 1:]
707 arg_res = self.check_arg_str(atom[0:4])
711 operation_res = self.check_operation_str(atom[4:6])
715 const_str = atom[4 + len(operation_res[0]):]
[all …]
/ohos5.0/build/config/components/init/seccomp/scripts/
H A Dgenerate_code_from_policy.py668 def compile_atom(self, atom, cur_size): argument
670 if len(atom) < 6:
673 if atom[0] == '(':
680 def compile_mask_equal_atom(self, atom, cur_size): argument
682 left_brace_pos = atom.find('(')
683 right_brace_pos = atom.rfind(')')
685 outside_brace_content = atom[right_brace_pos + 1:]
707 arg_res = self.check_arg_str(atom[0:4])
711 operation_res = self.check_operation_str(atom[4:6])
715 const_str = atom[4 + len(operation_res[0]):]
[all …]
/ohos5.0/drivers/hdf_core/framework/support/platform/include/uart/
H A Duart_core.h29 OsalAtomic atom; member
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-uart-develop.md278 OsalAtomic atom; // 原子量
345 OsalAtomicSet(&host->atom, 0); // 原子量初始化或者原子量设置
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/
H A Doverlay_test_ng.cpp1188 auto atom = FrameNode::CreateFrameNode(V2::ATOMIC_SERVICE_ETS_TAG, variable
1195 atom->AddChild(stageNode);
1196 atom->AddChild(menuBarRow);
1215 atom->MountToParent(rootNode);
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-platform-uart-develop.md255 OsalAtomic atom; // Atomic quantity.
322 …OsalAtomicSet(&host->atom, 0); // Initialize or set the atom…