Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 467) sorted by relevance

12345678910>>...19

/ohos5.0/base/startup/bootstrap_lite/services/source/
H A Dcore_main.h86 #pragma section = SYS_NAME(service, 0)
96 #pragma section = MODULE_NAME(bsp, 0)
97 #pragma section = MODULE_NAME(bsp, 1)
98 #pragma section = MODULE_NAME(bsp, 2)
99 #pragma section = MODULE_NAME(bsp, 3)
100 #pragma section = MODULE_NAME(bsp, 4)
111 #pragma section = MODULE_NAME(run, 0)
112 #pragma section = MODULE_NAME(run, 1)
113 #pragma section = MODULE_NAME(run, 2)
114 #pragma section = MODULE_NAME(run, 3)
[all …]
H A Dbootstrap_service.h84 #pragma section = APP_NAME(service, 0)
85 #pragma section = APP_NAME(service, 1)
86 #pragma section = APP_NAME(service, 2)
87 #pragma section = APP_NAME(service, 3)
88 #pragma section = APP_NAME(service, 4)
89 #pragma section = APP_NAME(feature, 0)
90 #pragma section = APP_NAME(feature, 1)
91 #pragma section = APP_NAME(feature, 2)
92 #pragma section = APP_NAME(feature, 3)
93 #pragma section = APP_NAME(feature, 4)
[all …]
/ohos5.0/base/startup/appspawn/modules/sandbox/
H A Dsandbox_manager.c155 if (section == NULL || ListEmpty(section->front)) { in GetFirstSandboxMountNode()
199 section->number = 0; in InitSandboxSection()
200 section->gidCount = 0; in InitSandboxSection()
201 section->gidTable = NULL; in InitSandboxSection()
203 section->name = NULL; in InitSandboxSection()
210 if (section->gidTable) { in ClearSandboxSection()
219 if (section->name) { in ClearSandboxSection()
220 free(section->name); in ClearSandboxSection()
288 free(section); in CreateSandboxSection()
291 return section; in CreateSandboxSection()
[all …]
H A Dsandbox_load.c314 if (section->gidTable) { in ParseGidTableConfig()
315 free(section->gidTable); in ParseGidTableConfig()
316 section->gidTable = NULL; in ParseGidTableConfig()
317 section->gidCount = 0; in ParseGidTableConfig()
334 section->gidTable[section->gidCount++] = gid; in ParseGidTableConfig()
348 count += section->number; in ParseMountGroupsConfig()
383 if (j < section->number) { in ParseMountGroupsConfig()
390 free(section->nameGroups); in ParseMountGroupsConfig()
393 section->number = number; in ParseMountGroupsConfig()
394 APPSPAWN_LOGV("mount-group in section %{public}s %{public}u", section->name, section->number); in ParseMountGroupsConfig()
[all …]
H A Dappspawn_sandbox.c220 extraData.sandboxTag = GetSectionType(section); in GetVarExtraData()
441 section->name, ret, category); in DoSandboxPathNodeMount()
475 ListNode *node = section->front.next; in DoSandboxNodeMount()
476 while (node != &section->front) { in DoSandboxNodeMount()
566 if (section->nameGroups == NULL) { in MountSandboxConfig()
571 if (section->nameGroups[i] == NULL) { in MountSandboxConfig()
822 if (section == NULL) { in UnmountSandboxConfigs()
825 ListNode *node = section->front.next; in UnmountSandboxConfigs()
826 while (node != &section->front) { in UnmountSandboxConfigs()
876 if (section != NULL) { in StagedMountSystemConst()
[all …]
H A Dappspawn_sandbox.h145 SandboxSection section; member
149 SandboxSection section; member
154 SandboxSection section; member
162 SandboxSection section; member
231 __attribute__((always_inline)) inline uint32_t GetSectionType(const SandboxSection *section) in GetSectionType() argument
233 return section != NULL ? section->sandboxNode.type : SANDBOX_TAG_INVALID; in GetSectionType()
241 SandboxMountNode *GetFirstSandboxMountNode(const SandboxSection *section);
243 void AddSandboxMountNode(SandboxMountNode *node, SandboxSection *section);
244 PathMountNode *GetPathMountNode(const SandboxSection *section, int type, const char *source, const …
245 SymbolLinkNode *GetSymbolLinkNode(const SandboxSection *section, const char *target, const char *li…
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_config.h73 std::string GetLocalLtk(const std::string &section) const;
74 std::string GetLocalEdiv(const std::string &section) const;
75 std::string GetLocalRand(const std::string &section) const;
76 std::string GetLocalCsrk(const std::string &section) const;
77 uint32_t GetLocalSignCounter(const std::string &section) const;
89 std::string GetPeerLtk(const std::string &section) const;
90 std::string GetPeerEdiv(const std::string &section) const;
91 std::string GetPeerRand(const std::string &section) const;
93 std::string GetPeerIrk(const std::string &section) const;
94 std::string GetPeerCsrk(const std::string &section) const;
[all …]
H A Dble_config.cpp497 std::string BleConfig::GetLocalLtk(const std::string &section) const in GetLocalLtk()
509 std::string BleConfig::GetLocalEdiv(const std::string &section) const in GetLocalEdiv()
521 std::string BleConfig::GetLocalRand(const std::string &section) const in GetLocalRand()
533 std::string BleConfig::GetLocalCsrk(const std::string &section) const in GetLocalCsrk()
545 uint32_t BleConfig::GetLocalSignCounter(const std::string &section) const in GetLocalSignCounter()
557 std::string BleConfig::GetPeerLtk(const std::string &section) const in GetPeerLtk()
569 std::string BleConfig::GetPeerEdiv(const std::string &section) const in GetPeerEdiv()
581 std::string BleConfig::GetPeerRand(const std::string &section) const in GetPeerRand()
605 std::string BleConfig::GetPeerIrk(const std::string &section) const in GetPeerIrk()
617 std::string BleConfig::GetPeerCsrk(const std::string &section) const in GetPeerCsrk()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/
H A Dxml_parse.h156 bool HasSection(const std::string &section, const std::string &subSection);
165 bool GetSubSections(const std::string &section, std::vector<std::string> &subSections);
186 bool RemoveSection(const std::string &section, const std::string &subSection);
209 bool GetValue(const std::string &section, const std::string &property, int &value);
231 bool GetValue(const std::string &section, const std::string &property, bool &value);
243 bool SetValue(const std::string &section, const std::string &property, const int &value);
266 bool SetValue(const std::string &section, const std::string &property, const bool &value);
275 bool HasSection(const std::string &section);
285 bool HasProperty(const std::string &section, const std::string &property);
293 bool RemoveSection(const std::string &section);
[all …]
H A Dxml_parse.cpp46 if (xmlStrcmp((xmlChar *)section.c_str(), btSectionNodeProp) == 0) { in IntHasSection()
73 xmlNodePtr sectionNode = IntHasSection(section, subSection); in IntHasProperty()
120 if (xmlStrcmp((xmlChar *)section.c_str(), sectionNodeProp) == 0) { in FindOrCreatePropertyNode()
344 xmlNodePtr sectionNode = pimpl->IntHasSection(section, subSection); in HasProperty()
420 if (xmlStrcmp((xmlChar *)section.c_str(), sectionNodeProp) == 0) { in RemoveSection()
451 xmlNodePtr sectionNode = pimpl->IntHasSection(section, subSection); in RemoveProperty()
509 xmlNodePtr sectionNode = pimpl->IntHasSection(section, ""); in HasProperty()
513 bool XmlParse::HasSection(const std::string &section) in HasSection() argument
531 bool XmlParse::RemoveSection(const std::string &section) in RemoveSection() argument
541 if (xmlStrcmp((xmlChar *)section.c_str(), sectionNodeProp) == 0) { in RemoveSection()
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dadapter_device_config.cpp85 return pimpl->parse_.SetValue(section, property, value); in SetValue()
91 return pimpl->parse_.SetValue(section, property, value); in SetValue()
97 return pimpl->parse_.GetValue(section, property, value); in GetValue()
104 return pimpl->parse_.GetValue(section, property, value); in GetValue()
110 return pimpl->parse_.GetValue(section, property, value); in GetValue()
117 return pimpl->parse_.SetValue(section, subSection, property, value); in SetValue()
123 return pimpl->parse_.SetValue(section, subSection, property, value); in SetValue()
130 return pimpl->parse_.SetValue(section, subSection, property, value); in SetValue()
137 return pimpl->parse_.GetValue(section, subSection, property, value); in GetValue()
157 return pimpl->parse_.GetSubSections(section, subSections); in GetSubSections()
[all …]
H A Dadapter_device_config.h130 …const std::string &section, const std::string &subSection, const std::string &property, int &value…
204 …virtual bool GetSubSections(const std::string &section, std::vector<std::string> &subSections) = 0;
213 virtual bool RemoveSection(const std::string &section, const std::string &subSection) = 0;
223 virtual bool GetValue(const std::string &section, const std::string &property, int &value) = 0;
233 …virtual bool GetValue(const std::string &section, const std::string &property, std::string &value)…
243 virtual bool GetValue(const std::string &section, const std::string &property, bool &value) = 0;
254 …virtual bool SetValue(const std::string &section, const std::string &property, const int &value) =…
383 …virtual bool GetSubSections(const std::string &section, std::vector<std::string> &subSections) ove…
392 virtual bool RemoveSection(const std::string &section, const std::string &subSection) override;
402 …virtual bool GetValue(const std::string &section, const std::string &property, int &value) overrid…
[all …]
H A Dprofile_config.h78 … const std::string &addr, const std::string &section, const std::string &property, int &value) = 0;
93 …const std::string &addr, const std::string &section, const std::string &property, bool &value) = 0;
108 … const std::string &addr, const std::string &section, const std::string &property, int &value) = 0;
123 …const std::string &addr, const std::string &section, const std::string &property, bool &value) = 0;
157 virtual bool HasSection(const std::string &addr, const std::string &section) = 0;
199 …const std::string &addr, const std::string &section, const std::string &property, int &value) over…
214 …const std::string &addr, const std::string &section, const std::string &property, bool &value) ove…
229 …const std::string &addr, const std::string &section, const std::string &property, int &value) over…
244 …const std::string &addr, const std::string &section, const std::string &property, bool &value) ove…
268 const std::string &addr, const std::string &section, const std::string &property) override;
[all …]
H A Dprofile_config.cpp71 const std::string &addr, const std::string &section, const std::string &property, int &value) in GetValue() argument
74 return pimpl->parse_.GetValue(addr, section, property, value); in GetValue()
78 const std::string &addr, const std::string &section, const std::string &property, bool &value) in GetValue() argument
81 return pimpl->parse_.GetValue(addr, section, property, value); in GetValue()
85 const std::string &addr, const std::string &section, const std::string &property, int &value) in SetValue() argument
88 if (!pimpl->parse_.SetValue(addr, section, property, value)) { in SetValue()
95 const std::string &addr, const std::string &section, const std::string &property, bool &value) in SetValue() argument
98 if (!pimpl->parse_.SetValue(addr, section, property, value)) { in SetValue()
116 if (!pimpl->parse_.RemoveProperty(addr, section, property)) { in RemoveProperty()
122 bool ProfileConfig::HasSection(const std::string &addr, const std::string &section) in HasSection() argument
[all …]
H A Dadapter_config.cpp69 bool AdapterConfig::GetValue(const std::string &section, const std::string &property, int &value) in GetValue() argument
71 return pimpl->parse_.GetValue(section, property, value); in GetValue()
73 bool AdapterConfig::GetValue(const std::string &section, const std::string &property, std::string &… in GetValue() argument
75 return pimpl->parse_.GetValue(section, property, value); in GetValue()
77 bool AdapterConfig::GetValue(const std::string &section, const std::string &property, bool &value) in GetValue() argument
79 return pimpl->parse_.GetValue(section, property, value); in GetValue()
81 bool AdapterConfig::HasSection(const std::string &section) in HasSection() argument
83 return pimpl->parse_.HasSection(section); in HasSection()
H A Dadapter_device_info.cpp76 bool AdapterDeviceInfo::GetValue(const std::string &section, const std::string &property, std::stri… in GetValue() argument
79 return pimpl->parse_.GetValue(section, property, value); in GetValue()
82 bool AdapterDeviceInfo::GetValue(const std::string &section, const std::string &property, bool &val… in GetValue() argument
85 return pimpl->parse_.GetValue(section, property, value); in GetValue()
88 bool AdapterDeviceInfo::GetValue(const std::string &section, const std::string &property, int &valu… in GetValue() argument
91 return pimpl->parse_.GetValue(section, property, value); in GetValue()
H A Dadapter_device_info.h78 …virtual bool GetValue(const std::string &section, const std::string &property, std::string &value)…
88 virtual bool GetValue(const std::string &section, const std::string &property, int &value) = 0;
98 virtual bool GetValue(const std::string &section, const std::string &property, bool &value) = 0;
131 …virtual bool GetValue(const std::string &section, const std::string &property, std::string &value)…
141 …virtual bool GetValue(const std::string &section, const std::string &property, int &value) overrid…
151 …virtual bool GetValue(const std::string &section, const std::string &property, bool &value) overri…
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_sandboxmgr_test.cpp165 if (section) { in __anona643db180102()
167 free(section->name); in __anona643db180102()
168 free(section); in __anona643db180102()
228 EXPECT_EQ(section != nullptr, 1);
232 EXPECT_EQ(section != nullptr, 1);
234 DeleteSandboxSection(section);
238 EXPECT_EQ(section != nullptr, 0);
258 EXPECT_EQ(section == nullptr, 1);
260 EXPECT_EQ(section == nullptr, 1);
262 EXPECT_EQ(section == nullptr, 1);
[all …]
/ohos5.0/drivers/peripheral/camera/vdi_base/common/metadata_manager/src/
H A Dcamera_example_vendor_tags.cpp37 for (int32_t section = 0; section < EXAMPLE_SECTION_COUNT; section++) { in GetVendorTagCount() local
38 uint32_t start = EXAMPLE_VENDOR_SECTION_BOUNDS[section][0]; in GetVendorTagCount()
39 uint32_t end = EXAMPLE_VENDOR_SECTION_BOUNDS[section][1]; in GetVendorTagCount()
67 for (int32_t section = 0; section < EXAMPLE_SECTION_COUNT; section++) { in GetAllVendorTags() local
68 uint32_t start = EXAMPLE_VENDOR_SECTION_BOUNDS[section][0]; in GetAllVendorTags()
69 uint32_t end = EXAMPLE_VENDOR_SECTION_BOUNDS[section][1]; in GetAllVendorTags()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/
H A Dwater_flow_layout_info_sw.cpp179 return section.empty() || in SectionEmpty()
184 if (section.empty()) { in SectionEndPos()
187 … return std::max_element(section.begin(), section.end(), [](const Lane& left, const Lane& right) { in SectionEndPos()
194 if (section.empty()) { in SectionStartPos()
197 … return std::min_element(section.begin(), section.end(), [](const Lane& left, const Lane& right) { in SectionStartPos()
223 if (SectionEmpty(section)) { in StartPos()
260 if (SectionEmpty(section)) { in GetMainCount()
334 for (auto& section : lanes_) { in Reset() local
402 for (auto& section : lanes_) { in ResetWithLaneOffset() local
403 std::for_each(section.begin(), section.end(), [&laneBasePos](auto& lane) { in ResetWithLaneOffset()
[all …]
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_loader.cpp398 if (section->get_name() == "license") { in SetLicenseAndVersion()
399 license_ = section->get_data(); in SetLicenseAndVersion()
425 for (const auto &section : elfIo_.sections) { in LoadElfMapSectionCore() local
426 … if (section->get_type() != ELFIO::SHT_SYMTAB && section->get_type() != ELFIO::SHT_DYNSYM) { in LoadElfMapSectionCore()
458 [](const auto &section) { return section->get_name() == "maps"; }); in LoadElfMapsSection() argument
463 ELFIO::section *mapsSection = it->get(); in LoadElfMapsSection()
558 bool ApplyRelocation(bpf_insn *insn, ELFIO::section *section) const in ApplyRelocation()
560 if (insn == nullptr || section == nullptr || section->get_entry_size() == 0) { in ApplyRelocation()
564 auto size = section->get_size() / section->get_entry_size(); in ApplyRelocation()
773 auto info = section->get_info(); in ParseRelocation()
[all …]
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/
H A Dunique_stack_table.cpp121 node.section.pc = thisPc; in PutPcInSlot()
122 node.section.prevIdx = prevIdx; in PutPcInSlot()
123 node.section.inKernel = !!(thisPc & PC_IN_KERNEL); in PutPcInSlot()
175 stackId->section.id = prev; in PutPcsInTable()
176 stackId->section.nr = static_cast<uint64_t>(nr); in PutPcsInTable()
216 uint64_t nr = stackId.section.nr; in GetPcsByStackId()
217 uint64_t tailIdx = stackId.section.id; in GetPcsByStackId()
222 node->section.inKernel ? (node->section.pc | KERNEL_PREFIX) : node->section.pc); in GetPcsByStackId()
223 if (node->section.prevIdx == HEAD_NODE_INDEX) { in GetPcsByStackId()
226 node = GetFrame(node->section.prevIdx); in GetPcsByStackId()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_water_flow_sections.cpp86 void ParseGaps(const JSRef<JSObject>& obj, NG::WaterFlowSections::Section& section) in ParseGaps() argument
94 section.columnsGap = colGap; in ParseGaps()
103 section.rowsGap = rowGap; in ParseGaps()
110 section.margin = marginProperty; in ParseGaps()
116 … const JSCallbackInfo& args, const JSRef<JSVal>& jsValue, NG::WaterFlowSections::Section& section) in ParseSectionOptions() argument
128 JSViewAbstract::ParseJsInteger(itemsCount, section.itemsCount); in ParseSectionOptions()
129 if (section.itemsCount < 0) { in ParseSectionOptions()
141 section.crossCount = crossCountValue; in ParseSectionOptions()
144 ParseGaps(obj, section); in ParseSectionOptions()
165 section.onGetItemMainSizeByIndex = std::move(onGetItemMainSizeByIndex); in ParseSectionOptions()
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dui-js-components-list.md213 … <list-item class="item" for="{{namelist}}" type="{{$item.section}}" section="{{$item.section}}">
274 section:'Z'
277 section:'Q'
280 section:'S'
283 section:'L'
286 section:'Z'
289 section:'W'
292 section:'Z'
295 section:'W'
298 section:'K'
[all …]
/ohos5.0/docs/en/application-dev/ui/
H A Dui-js-components-list.md214 … <list-item class="item" for="{{namelist}}" type="{{$item.section}}" section="{{$item.section}}">
275 section:'Z'
278 section:'Q'
281 section:'S'
284 section:'L'
287 section:'Z'
290 section:'W'
293 section:'Z'
296 section:'W'
299 section:'K'
[all …]

12345678910>>...19