Home
last modified time | relevance | path

Searched refs:section (Results 1 - 25 of 35) sorted by relevance

12

/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/
H A Dxml_parse.h72 * @param section Xml section.
79 bool GetValue(const std::string &section, const std::string &subSection, const std::string &property, int &value);
85 * @param section Xml section.
93 const std::string &section, const std::string &subSection, const std::string &property, std::string &value);
99 * @param section Xml section.
106 bool GetValue(const std::string &section, const std::string &subSection, const std::string &property, bool &value);
112 * @param section Xm
[all...]
H A Dxml_parse.cpp25 xmlNodePtr IntHasSection(const std::string &section, const std::string &subSection);
26 xmlNodePtr IntHasProperty(const std::string &section, const std::string &subSection, const std::string &property);
29 const std::string &section, const std::string &subSection, const std::string &property);
37 xmlNodePtr XmlParse::impl::IntHasSection(const std::string &section, const std::string &subSection) in IntHasSection() argument
45 xmlChar *btSectionNodeProp = xmlGetProp(btSectionNode, BAD_CAST "section"); in IntHasSection()
46 if (xmlStrcmp((xmlChar *)section.c_str(), btSectionNodeProp) == 0) { in IntHasSection()
60 xmlChar *btSubSectionNodeProp = xmlGetProp(btSubSectionNode, BAD_CAST "section"); in IntHasSection()
71 const std::string &section, const std::string &subSection, const std::string &property) in IntHasProperty()
73 xmlNodePtr sectionNode = IntHasSection(section, subSection); in IntHasProperty()
107 const std::string &section, cons in FindOrCreatePropertyNode()
70 IntHasProperty( const std::string &section, const std::string &subSection, const std::string &property) IntHasProperty() argument
106 FindOrCreatePropertyNode( const std::string &section, const std::string &subSection, const std::string &property) FindOrCreatePropertyNode() argument
284 GetValue( const std::string &section, const std::string &subSection, const std::string &property, int &value) GetValue() argument
291 GetValue( const std::string &section, const std::string &subSection, const std::string &property, std::string &value) GetValue() argument
298 GetValue( const std::string &section, const std::string &subSection, const std::string &property, bool &value) GetValue() argument
305 SetValue( const std::string &section, const std::string &subSection, const std::string &property, const int &value) SetValue() argument
319 SetValue( const std::string &section, const std::string &subSection, const std::string &property, const std::string &value) SetValue() argument
327 SetValue( const std::string &section, const std::string &subSection, const std::string &property, const bool &value) SetValue() argument
342 HasProperty(const std::string &section, const std::string &subSection, const std::string &property) HasProperty() argument
348 HasSection(const std::string &section, const std::string &subSection) HasSection() argument
378 GetSubSections(const std::string &section, std::vector<std::string> &subSections) GetSubSections() argument
410 RemoveSection(const std::string &section, const std::string &subSection) RemoveSection() argument
449 RemoveProperty(const std::string &section, const std::string &subSection, const std::string &property) RemoveProperty() argument
455 GetValue(const std::string &section, const std::string &property, int &value) GetValue() argument
461 GetValue(const std::string &section, const std::string &property, std::string &value) GetValue() argument
467 GetValue(const std::string &section, const std::string &property, bool &value) GetValue() argument
473 SetValue(const std::string &section, const std::string &property, const int &value) SetValue() argument
486 SetValue(const std::string &section, const std::string &property, const std::string &value) SetValue() argument
493 SetValue(const std::string &section, const std::string &property, const bool &value) SetValue() argument
507 HasProperty(const std::string &section, const std::string &property) HasProperty() argument
513 HasSection(const std::string &section) HasSection() argument
531 RemoveSection(const std::string &section) RemoveSection() argument
555 RemoveProperty(const std::string &section, const std::string &property) RemoveProperty() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_config.h66 bool SetLocalLtk(const std::string &section, const std::string &ltk) const;
67 bool SetLocalKeySize(const std::string &section, const std::string &keysize) const;
68 bool SetLocalEdivRand(const std::string &section, const std::string &ediv, const std::string &rand) const;
69 bool SetLocalCsrk(const std::string &section, const std::string &csrk) const;
70 bool SetLocalSignCounter(const std::string &section, uint32_t signCounter) const;
73 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) cons
[all...]
H A Dble_config.cpp325 bool BleConfig::SetLocalLtk(const std::string &section, const std::string &ltk) const in SetLocalLtk() argument
329 bool ret = config_->SetValue(SECTION_BLE_PAIRED_LIST, section, PROPERTY_BLE_LOCAL_LTK, ltk); in SetLocalLtk()
336 bool BleConfig::SetLocalKeySize(const std::string &section, const std::string &keysize) const in SetLocalKeySize() argument
340 bool ret = config_->SetValue(SECTION_BLE_PAIRED_LIST, section, PROPERTY_BLE_LOCAL_KEY_SIZE, keysize); in SetLocalKeySize()
347 bool BleConfig::SetLocalEdivRand(const std::string &section, const std::string &ediv, const std::string &rand) const in SetLocalEdivRand() argument
351 bool ret = config_->SetValue(SECTION_BLE_PAIRED_LIST, section, PROPERTY_BLE_LOCAL_EDIV, ediv); in SetLocalEdivRand()
356 ret = config_->SetValue(SECTION_BLE_PAIRED_LIST, section, PROPERTY_BLE_LOCAL_RAND, rand); in SetLocalEdivRand()
363 bool BleConfig::SetLocalCsrk(const std::string &section, const std::string &csrk) const in SetLocalCsrk() argument
367 bool ret = config_->SetValue(SECTION_BLE_PAIRED_LIST, section, PROPERTY_BLE_LOCAL_CSRK, csrk); in SetLocalCsrk()
374 bool BleConfig::SetLocalSignCounter(const std::string &section, uint32_ argument
386 SetPeerKeyType(const std::string &section, const std::string &keytype) const SetPeerKeyType() argument
397 SetPeerLtk(const std::string &section, const std::string &ltk) const SetPeerLtk() argument
408 SetPeerKeySize(const std::string &section, const std::string &keysize) const SetPeerKeySize() argument
419 SetPeerEdivRand(const std::string &section, const std::string &ediv, const std::string &rand) const SetPeerEdivRand() argument
435 SetPeerIdentityAddr(const std::string &section, uint8_t type, const std::string &peerAddress) const SetPeerIdentityAddr() argument
451 SetPeerIrk(const std::string &section, const std::string &irk) const SetPeerIrk() argument
462 SetPeerCsrk(const std::string &section, const std::string &csrk) const SetPeerCsrk() argument
473 SetPeerSignCounter(const std::string &section, uint32_t signCounter) const SetPeerSignCounter() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dadapter_device_config.cpp82 bool AdapterDeviceConfig::SetValue(const std::string &section, const std::string &property, const int &value) in SetValue() argument
85 return pimpl->parse_.SetValue(section, property, value); in SetValue()
88 bool AdapterDeviceConfig::SetValue(const std::string &section, const std::string &property, const std::string &value) in SetValue() argument
91 return pimpl->parse_.SetValue(section, property, value); in SetValue()
94 bool AdapterDeviceConfig::GetValue(const std::string &section, const std::string &property, int &value) in GetValue() argument
97 return pimpl->parse_.GetValue(section, property, value); in GetValue()
100 bool AdapterDeviceConfig::GetValue(const std::string &section, const std::string &property, std::string &value) in GetValue() argument
104 return pimpl->parse_.GetValue(section, property, value); in GetValue()
107 bool AdapterDeviceConfig::GetValue(const std::string &section, const std::string &property, bool &value) in GetValue() argument
110 return pimpl->parse_.GetValue(section, propert in GetValue()
113 SetValue( const std::string &section, const std::string &subSection, const std::string &property, const int &value) SetValue() argument
119 SetValue( const std::string &section, const std::string &subSection, const std::string &property, const std::string &value) SetValue() argument
126 SetValue( const std::string &section, const std::string &subSection, const std::string &property, const bool &value) SetValue() argument
133 GetValue( const std::string &section, const std::string &subSection, const std::string &property, int &value) GetValue() argument
140 GetValue( const std::string &section, const std::string &subSection, const std::string &property, std::string &value) GetValue() argument
147 GetValue( const std::string &section, const std::string &subSection, const std::string &property, bool &value) GetValue() argument
154 GetSubSections(const std::string &section, std::vector<std::string> &subSections) GetSubSections() argument
160 RemoveSection(const std::string &section, const std::string &subSection) RemoveSection() argument
[all...]
H A Dadapter_device_config.h128 * @param[in] section
136 const std::string &section, const std::string &subSection, const std::string &property, int &value) = 0;
141 * @param[in] section
149 const std::string &section, const std::string &subSection, const std::string &property, std::string &value) = 0;
154 * @param[in] section
162 const std::string &section, const std::string &subSection, const std::string &property, bool &value) = 0;
167 * @param[in] section
175 const std::string &section, const std::string &subSection, const std::string &property, const int &value) = 0;
180 * @param[in] section
187 virtual bool SetValue(const std::string &section, cons
[all...]
H A Dprofile_config.h70 * @param section
78 const std::string &addr, const std::string &section, const std::string &property, int &value) = 0;
85 * @param section
93 const std::string &addr, const std::string &section, const std::string &property, bool &value) = 0;
99 * @param section
108 const std::string &addr, const std::string &section, const std::string &property, int &value) = 0;
114 * @param section
123 const std::string &addr, const std::string &section, const std::string &property, bool &value) = 0;
139 * @param section
146 virtual bool RemoveProperty(const std::string &addr, const std::string &section, cons
[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 &value) 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 Dprofile_config.cpp71 const std::string &addr, const std::string &section, const std::string &property, int &value) in GetValue()
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()
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()
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()
98 if (!pimpl->parse_.SetValue(addr, section, property, value)) { in SetValue()
113 bool ProfileConfig::RemoveProperty(const std::string &addr, const std::string &section, const std::string &property) in RemoveProperty() argument
116 if (!pimpl->parse_.RemoveProperty(addr, section, propert in RemoveProperty()
70 GetValue( const std::string &addr, const std::string &section, const std::string &property, int &value) GetValue() argument
77 GetValue( const std::string &addr, const std::string &section, const std::string &property, bool &value) GetValue() argument
84 SetValue( const std::string &addr, const std::string &section, const std::string &property, int &value) SetValue() argument
94 SetValue( const std::string &addr, const std::string &section, const std::string &property, bool &value) SetValue() argument
122 HasSection(const std::string &addr, const std::string &section) HasSection() argument
[all...]
H A Dadapter_device_info.h72 * @param[in] section
78 virtual bool GetValue(const std::string &section, const std::string &property, std::string &value) = 0;
82 * @param[in] section
88 virtual bool GetValue(const std::string &section, const std::string &property, int &value) = 0;
92 * @param[in] section
98 virtual bool GetValue(const std::string &section, const std::string &property, bool &value) = 0;
125 * @param[in] section
131 virtual bool GetValue(const std::string &section, const std::string &property, std::string &value) override;
135 * @param[in] section
141 virtual bool GetValue(const std::string &section, cons
[all...]
H A Dadapter_device_info.cpp76 bool AdapterDeviceInfo::GetValue(const std::string &section, const std::string &property, std::string &value) 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 &value) 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 &value) in GetValue() argument
91 return pimpl->parse_.GetValue(section, property, value); in GetValue()
H A Dadapter_config.h25 // define section name
142 * @param[in] section
148 virtual bool GetValue(const std::string &section, const std::string &property, int &value) = 0;
152 * @param[in] section
158 virtual bool GetValue(const std::string &section, const std::string &property, std::string &value) = 0;
162 * @param[in] section
168 virtual bool GetValue(const std::string &section, const std::string &property, bool &value) = 0;
171 * @brief Whether XML document has specified section.
172 * @param[in] section
173 * @return true XML document has specified section
[all...]
H A Dprofile_info.cpp65 std::string section = (transport == BTTransport::ADAPTER_BREDR) ? SECTION_CLASSIC_ADAPTER : SECTION_BLE_ADAPTER; in GetConfigSupportProfiles() local
69 AdapterConfig::GetInstance()->GetValue(section, sp.name_, value); in GetConfigSupportProfiles()
/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()
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 in ParseSectionOptions()
115 ParseSectionOptions( const JSCallbackInfo& args, const JSRef<JSVal>& jsValue, NG::WaterFlowSections::Section& section) ParseSectionOptions() argument
[all...]
H A Djs_water_flow_sections.h29 const JSCallbackInfo& args, const JSRef<JSVal>& jsValue, NG::WaterFlowSections::Section& section);
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_loader.cpp249 {3, "load elf map section ok", loadElfMapsSection_, "load elf map section failed"}, in Unload()
279 {6, "load elf map section ok", loadElfMapsSection_, "load elf map section failed"}, in Load()
397 return std::all_of(elfIo_.sections.begin(), elfIo_.sections.end(), [this](const auto &section) { in SetLicenseAndVersion()
398 if (section->get_name() == "license") { in SetLicenseAndVersion()
399 license_ = section->get_data(); in SetLicenseAndVersion()
403 } else if (section->get_name() == "version") { in SetLicenseAndVersion()
405 kernVersion_ = std::stoi(section->get_data()); in SetLicenseAndVersion()
425 for (const auto &section in LoadElfMapSectionCore()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/
H A Dwater_flow_layout_info_sw.cpp169 inline bool SectionEmpty(const std::vector<WaterFlowLayoutInfoSW::Lane>& section) in SectionEmpty() argument
171 return section.empty() || in SectionEmpty()
172 std::all_of(section.begin(), section.end(), [](const auto& lane) { return lane.items_.empty(); }); in SectionEmpty()
174 inline float SectionEndPos(const std::vector<WaterFlowLayoutInfoSW::Lane>& section) in SectionEndPos() argument
176 return std::max_element(section.begin(), section.end(), [](const Lane& left, const Lane& right) { in SectionEndPos()
181 inline float SectionStartPos(const std::vector<WaterFlowLayoutInfoSW::Lane>& section)
183 return std::min_element(section.begin(), section
[all...]
H A Dwater_flow_layout_sw.cpp108 // implies section update in Init()
156 for (const auto& section : info_->lanes_) { in ItemHeightChanged()
157 for (size_t i = 0; i < section.size(); ++i) { in ItemHeightChanged()
158 for (const auto& item : section[i].items_) { in ItemHeightChanged()
221 for (auto& section : info_->lanes_) { in ApplyDelta()
222 for (auto& lane : section) { in ApplyDelta()
299 int32_t section = info_->GetSegment(idx); in FillBackSection() local
300 maxChildIdx = std::min(maxChildIdx, info_->segmentTails_[section]); in FillBackSection()
305 PrepareEndPosQueue(q, info_->lanes_[section], mainGaps_[section], viewportBoun in FillBackSection()
[all...]
/foundation/arkui/napi/jsvm/
H A Dbuild_jsvm_inter.sh98 ${OBJCOPY} -S --remove-section .gdb_index --remove-section .comment \
101 ${STRIP} --strip-all --keep-section=.comment ${binary}
104 ${OBJCOPY} --add-section .gnu_debugdata=${mini_debug_path}.xz ${binary}
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/directory/
H A Ddirectory_manager.cpp230 std::string section; in GenPath() local
232 section = strategy.path[i]; in GenPath()
234 section = (this->*(strategy.pipes[i]))(metaData); in GenPath()
236 if (section.empty()) { in GenPath()
239 path += "/" + section; in GenPath()
/foundation/communication/netmanager_base/bpf/bpf_progs/
H A Dnet_permission.c19 #define SEC(NAME) __attribute__((section(NAME), used))
H A D464xlat.c19 #define SEC(NAME) __attribute__((section(NAME), used))
H A Doffload.c19 #define SEC(NAME) __attribute__((section(NAME), used))
/foundation/communication/netmanager_base/bpf/bpf_loader/
H A Dbpf_loader.h131 bool ApplyRelocation(bpf_insn *insn, ELFIO::section *section);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/
H A Dwater_flow_layout_utils.cpp154 const auto& section = sections->GetSectionInfo()[seg]; in GetUserDefHeight() local
155 if (section.onGetItemMainSizeByIndex) { in GetUserDefHeight()
156 Dimension len(section.onGetItemMainSizeByIndex(idx), DimensionUnit::VP); in GetUserDefHeight()

Completed in 11 milliseconds

12