Home
last modified time | relevance | path

Searched refs:elems (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_util.c514 elems->filsHlp = pos; in HdiParseExtensionInfo()
528 elems->delivery = pos; in HdiParseExtensionInfo()
539 elems->filsPk = pos; in HdiParseExtensionInfo()
552 elems->oweDh = pos; in HdiParseExtensionInfo()
568 elems->oci = pos; in HdiParseExtensionInfo()
569 elems->ociLen = elen; in HdiParseExtensionInfo()
787 (void)memset_s(elems, sizeof(*elems), 0, sizeof(*elems)); in Get80211ElemsFromIE()
955 elems->mic = pos; in Get80211ElemsFromIE()
966 elems->hdiIes.ies[elems->hdiIes.nofIes].ie = pos; in Get80211ElemsFromIE()
967 elems->hdiIes.ies[elems->hdiIes.nofIes].ieLen = elen; in Get80211ElemsFromIE()
[all …]
H A Dwifi_hdi_util.h27 int Get80211ElemsFromIE(const uint8_t *start, size_t len, struct HdiElems *elems,
31 struct HdiElems *elems, char* buff, int buffLen);
H A Dwifi_hdi_common.c779 char* HdiGetWifiCategoryTxt(char *pos, char* end, const struct HdiElems *elems) in HdiGetWifiCategoryTxt() argument
782 if (elems->ehtCapabilities80211Be != NULL) { in HdiGetWifiCategoryTxt()
784 } else if (elems->heCapabilities != NULL) { in HdiGetWifiCategoryTxt()
H A Dwifi_hdi_common.h119 char* HdiGetWifiCategoryTxt(char *pos, char* end, const struct HdiElems *elems);
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_util_test.cpp51 struct HdiElems elems; variable
379 struct HdiElems elems; variable
393 struct HdiElems elems; variable
408 struct HdiElems elems; variable
423 struct HdiElems elems; variable
434 struct HdiElems elems; variable
449 struct HdiElems elems; variable
464 struct HdiElems elems; variable
475 struct HdiElems elems; variable
490 struct HdiElems elems; variable
[all …]
H A Dwifi_hdi_common_test.cpp91 struct HdiElems elems = {0}; variable
92 elems.ehtCapabilities80211Be = reinterpret_cast<const uint8_t *>("11be");
93 HdiGetWifiCategoryTxt(pos, end, &elems);
102 struct HdiElems elems = {0}; variable
103 elems.heCapabilities = reinterpret_cast<const uint8_t *>("11ax");
104 HdiGetWifiCategoryTxt(pos, end, &elems);
113 struct HdiElems elems = {0}; variable
114 HdiGetWifiCategoryTxt(pos, end, &elems);
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dip_qos_monitor_test.cpp65 std::vector<int64_t> elems = {1, 2, 3}; variable
72 std::vector<int64_t> elems = {1, 2, 3}; variable
74 IpQosMonitor::GetInstance().ParseTcpReportMsg(elems, cmd);
77 IpQosMonitor::GetInstance().ParseTcpReportMsg(elems, cmd);
79 elems = {};
80 IpQosMonitor::GetInstance().ParseTcpReportMsg(elems, cmd);
85 std::vector<int64_t> elems = {1, 2, 3}; variable
86 IpQosMonitor::GetInstance().HandleTcpPktsResp(elems);
93 IpQosMonitor::GetInstance().HandleTcpPktsResp(elems);
104 std::vector<int64_t> elems = {1, 2, 3}; variable
[all …]
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_self_cure/
H A Dip_qos_monitor.cpp53 ParseTcpReportMsg(elems, cmd); in HandleTcpReportMsgComplete()
56 void IpQosMonitor::ParseTcpReportMsg(const std::vector<int64_t> &elems, int32_t cmd) in ParseTcpReportMsg() argument
58 if (elems.size() == 0) { in ParseTcpReportMsg()
63 HandleTcpPktsResp(elems); in ParseTcpReportMsg()
67 void IpQosMonitor::HandleTcpPktsResp(const std::vector<int64_t> &elems) in HandleTcpPktsResp() argument
70 bool internetGood = ParseNetworkInternetGood(elems); in HandleTcpPktsResp()
119 bool IpQosMonitor::ParseNetworkInternetGood(const std::vector<int64_t> &elems) in ParseNetworkInternetGood() argument
122 bool queryResp = (elems[QOS_MSG_FROM] == 0); in ParseNetworkInternetGood()
123 int32_t packetsLength = static_cast<int32_t>(elems.size()); in ParseNetworkInternetGood()
125 int64_t tcpTxPkts = elems[QOS_TCP_TX_PKTS]; in ParseNetworkInternetGood()
[all …]
H A Dip_qos_monitor.h30 void HandleTcpReportMsgComplete(const std::vector<int64_t> &elems, int32_t cmd);
31 void ParseTcpReportMsg(const std::vector<int64_t> &elems, int32_t cmd);
32 void HandleTcpPktsResp(const std::vector<int64_t> &elems);
33 bool ParseNetworkInternetGood(const std::vector<int64_t> &elems);
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_netlink.cpp188 std::vector<int64_t> elems(NEW_INT_ARR_LENGTH, 0); in ProcessReportMsg() local
189 elems[QOS_RTT] = info.qos.rtt; in ProcessReportMsg()
190 elems[QOS_RTT_PKTS] = info.qos.rttPkts; in ProcessReportMsg()
191 elems[QOS_RTT_WHEN] = info.qos.rttWhen; in ProcessReportMsg()
192 elems[QOS_CONGESTION] = info.qos.congestion; in ProcessReportMsg()
193 elems[QOS_CONG_WHEN] = info.qos.congWhen; in ProcessReportMsg()
194 elems[QOS_TCP_QUALITY] = info.qos.tcpQuality; in ProcessReportMsg()
195 elems[QOS_TCP_TX_PKTS] = info.qos.tcpTxPkts; in ProcessReportMsg()
196 elems[QOS_TCP_RX_PKTS] = info.qos.tcpRxPkts; in ProcessReportMsg()
197 elems[QOS_TCP_RETRANS_PKTS] = info.qos.tcpRetransPkts; in ProcessReportMsg()
[all …]
H A Dwifi_netlink.h26 std::function<void(const std::vector<int64_t> &elems, const int32_t cmd, const int32_t mInstId)>
/ohos5.0/foundation/window/window_manager/window_scene/common/include/
H A Dfold_screen_state_internel.h83 std::vector<std::string> elems = StringSplit(PHY_ROTATION_OFFSET, ';'); in GetPhyRotationOffset() local
84 for (auto& num : elems) { in GetPhyRotationOffset()
124 std::vector<std::string> elems; in StringSplit() local
127 elems.push_back(str.substr(previous, current - previous)); in StringSplit()
133 elems.push_back(str.substr(previous)); in StringSplit()
135 return elems; in StringSplit()
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Dpath_helper.h145 std::vector<std::string> elems; in NormalizePath() local
151 && !elems.empty()) { // looking for xxx/../ in NormalizePath()
152 elems.pop_back(); in NormalizePath()
154 elems.push_back(elem); in NormalizePath()
161 elems.push_back(entryPoint.substr(prev)); in NormalizePath()
163 for (auto e : elems) { in NormalizePath()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/
H A Dwifi_common_service_manager.cpp128 void WifiCommonServiceManager::OnTcpReportMsgComplete(const std::vector<int64_t> &elems, const int3… in OnTcpReportMsgComplete() argument
132 IpQosMonitor::GetInstance().HandleTcpReportMsgComplete(elems, cmd); in OnTcpReportMsgComplete()
H A Dwifi_common_service_manager.h68 …void OnTcpReportMsgComplete(const std::vector<int64_t> &elems, const int32_t cmd, const int32_t mI…
/ohos5.0/base/telephony/core_service/utils/vcard/src/
H A Dvcard_contact.cpp436 void VCardContact::HandlePhoneticNameFromSound(std::vector<std::string> elems) in HandlePhoneticNameFromSound() argument
445 int32_t size = static_cast<int32_t>(elems.size()); in HandlePhoneticNameFromSound()
446 if (elems.empty() || size == 0) { in HandlePhoneticNameFromSound()
450 if (elems[0].length() > 0) { in HandlePhoneticNameFromSound()
453 if (elems[i].length() > 0) { in HandlePhoneticNameFromSound()
459 std::vector<std::string> namesArray = VCardUtils::Split(elems[VALUE_INDEX_ZERO], " "); in HandlePhoneticNameFromSound()
469 nameData_->SetPhoneticGiven(elems[VALUE_INDEX_ZERO]); in HandlePhoneticNameFromSound()
476 nameData_->SetPhoneticMiddle(elems[VALUE_INDEX_TWO]); in HandlePhoneticNameFromSound()
479 nameData_->SetPhoneticGiven(elems[VALUE_INDEX_ONE]); in HandlePhoneticNameFromSound()
482 nameData_->SetPhoneticFamily(elems[VALUE_INDEX_ZERO]); in HandlePhoneticNameFromSound()
/ohos5.0/base/hiviewdfx/hiview/plugins/reliability/leak_detectors/
H A Dfault_detector_util.cpp119 vector<string> elems; in Split() local
124 elems.push_back(item); in Split()
126 return elems; in Split()
/ohos5.0/base/request/request/frameworks/cj/ffi/src/
H A Dcj_initialize.cpp309 …JInitialize::StringSplit(const std::string &str, const char delim, std::vector<std::string> &elems) in StringSplit() argument
315 elems.push_back(item); in StringSplit()
485 std::vector<std::string> elems; in WholeToNormal() local
486 StringSplit(wholePath, '/', elems); in WholeToNormal()
487 if (!PathVecToNormal(elems, out)) { in WholeToNormal()
/ohos5.0/base/request/request/frameworks/cj/ffi/include/
H A Dcj_initialize.h41 …static void StringSplit(const std::string &str, const char delim, std::vector<std::string> &elems);
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/wifi_hal_interface/
H A Dwifi_sta_hal_interface.cpp324 struct HdiElems elems = {0}; in ParseScanInfo() local
325 Get80211ElemsFromIE(scanResult.ie.data(), scanResult.ie.size(), &elems, 1); in ParseScanInfo()
330 buffLen = GetScanResultText(&wifiScanResultExt, &elems, buff, buffLen); in ParseScanInfo()
/ohos5.0/base/request/request/frameworks/js/napi/src/
H A Djs_initialize.cpp1266 std::vector<std::string> elems; in WholeToNormal() local
1267 StringSplit(path, '/', elems); in WholeToNormal()
1268 if (!PathVecToNormal(elems, out)) { in WholeToNormal()
1294 …sInitialize::StringSplit(const std::string &str, const char delim, std::vector<std::string> &elems) in StringSplit() argument
1300 elems.push_back(item); in StringSplit()
/ohos5.0/base/request/request/frameworks/js/napi/include/
H A Djs_initialize.h47 …static void StringSplit(const std::string &str, const char delim, std::vector<std::string> &elems);
/ohos5.0/base/telephony/core_service/utils/vcard/include/
H A Dvcard_contact.h92 void HandlePhoneticNameFromSound(std::vector<std::string> elems);
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dpac_map_test.cpp54 std::vector<std::string> elems; in Parse() local