Home
last modified time | relevance | path

Searched refs:leftLength (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
H A Dwifi_p2p_service_request_list.cpp103 std::size_t leftLength = tlvs.size(); in ParseTlvs2ReqList() local
104 std::size_t vectorLenth = leftLength; in ParseTlvs2ReqList()
107 while (leftLength > 0) { in ParseTlvs2ReqList()
108 if (leftLength < headLength) { in ParseTlvs2ReqList()
122 if (dataLength > leftLength - headLength || dataLength < 0) { in ParseTlvs2ReqList()
139 leftLength = leftLength - headLength - dataLength; in ParseTlvs2ReqList()
H A Dwifi_p2p_service_response_list.cpp152 std::size_t leftLength = tlvList.size(); in ParseTlvs2RespList() local
155 while (leftLength > 0) { in ParseTlvs2RespList()
162 if (dataLength > leftLength - headLength || dataLength < 0) { in ParseTlvs2RespList()
178 leftLength = leftLength - headLength - dataLength; in ParseTlvs2RespList()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/
H A Dprotocol_proto.cpp1019 if (headLen > outPacket.leftLength) { in FillFragmentPacketExtendHead()
1023 errno_t retCode = memcpy_s(outPacket.ptrPacket, outPacket.leftLength, headBytesAddr, headLen); in FillFragmentPacketExtendHead()
1035 if (outPacket.leftLength == 0) { in FillFragmentPacket()
1039 uint32_t leftLength = outPacket.leftLength; in FillFragmentPacket() local
1043 errno_t retCode = memcpy_s(ptrPacket, leftLength, &phyHeader, sizeof(CommPhyHeader)); in FillFragmentPacket()
1048 leftLength -= sizeof(CommPhyHeader); in FillFragmentPacket()
1050 retCode = memcpy_s(ptrPacket, leftLength, &phyOptHeader, sizeof(CommPhyOptHeader)); in FillFragmentPacket()
1055 leftLength -= sizeof(CommPhyOptHeader); in FillFragmentPacket()
1057 retCode = memcpy_s(ptrPacket, leftLength, fragBytes, fragLen); in FillFragmentPacket()
1065 outPacket.leftLength - LENGTH_BEFORE_SUM_RANGE, sumResult); in FillFragmentPacket()
H A Dprotocol_proto.h47 uint32_t leftLength = 0u; member