Home
last modified time | relevance | path

Searched refs:totLen (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_socket.h31 int CheckReadBytes(const int count, const int totLen);
32 int CheckUdpPacket(struct UdpDhcpPacket *pPacket, const int totLen);
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_socket.cpp281 int CheckReadBytes(const int count, const int totLen) in CheckReadBytes() argument
295 if (count < totLen) { in CheckReadBytes()
296 DHCP_LOGE("CheckReadBytes() count:%{public}d less than totLen:%{public}d, packet is Truncated!", count, totLen); in CheckReadBytes()
300 DHCP_LOGI("CheckReadBytes() count:%{public}d, tot:%{public}d, common:%{public}d.", count, totLen, nCommonSize); in CheckReadBytes()
304 int CheckUdpPacket(struct UdpDhcpPacket *pPacket, const int totLen) in CheckUdpPacket() argument
311 if (totLen > (int)sizeof(struct UdpDhcpPacket)) { in CheckUdpPacket()
312 DHCP_LOGE("CheckUdpPacket() totLen:%{public}d more than %{public}d!", totLen, in CheckUdpPacket()
335 uint16_t uLen = (uint16_t)(totLen in CheckUdpPacket()
[all...]
/foundation/communication/dhcp/test/fuzztest/dhcpclientfun_fuzzer/
H A Ddhcpclientfun_fuzzer.cpp302 int totLen = static_cast<int>(data[0]); in CheckReadBytesFuzzerTest() local
303 CheckReadBytes(count, totLen); in CheckReadBytesFuzzerTest()
308 int totLen = static_cast<int>(data[0]); in CheckUdpPacketFuzzerTest() local
309 CheckUdpPacket(nullptr, totLen); in CheckUdpPacketFuzzerTest()
312 CheckUdpPacket(&pPacket, totLen); in CheckUdpPacketFuzzerTest()
316 CheckUdpPacket(&pPacket, totLen); in CheckUdpPacketFuzzerTest()
319 CheckUdpPacket(&pPacket, totLen); in CheckUdpPacketFuzzerTest()
322 CheckUdpPacket(&pPacket, totLen); in CheckUdpPacketFuzzerTest()
325 CheckUdpPacket(&pPacket, totLen); in CheckUdpPacketFuzzerTest()
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/
H A Daudio_effect_chain_manager.cpp383 size_t totLen = static_cast<size_t>(bufferAttr->frameLen * bufferAttr->numChans * sizeof(float)); in ApplyAudioEffectChain() local
388 CHECK_AND_RETURN_RET_LOG(memcpy_s(bufferAttr->bufOut, totLen, bufferAttr->bufIn, totLen) == 0, ERROR, in ApplyAudioEffectChain()

Completed in 6 milliseconds