Home
last modified time | relevance | path

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

/developtools/hdc/src/common/
Duart.cpp456 size_t packetSize = 0; in PackageProcess() local
460 if (ValidateUartPacket(data, sessionId, packageIndex, packetSize) != RET_SUCCESS) { in PackageProcess()
463 } else if (packetSize == sizeof(UartHead)) { in PackageProcess()
467 __FUNCTION__, packetSize); in PackageProcess()
471 if (data.size() >= packetSize) { in PackageProcess()
491 RetErrCode ret = DispatchToWorkThread(hSession, data.data(), packetSize); in PackageProcess()
509 __FUNCTION__, packetSize); in PackageProcess()
510 return packetSize; in PackageProcess()
514 if (data.size() >= packetSize) { in PackageProcess()
515 data.erase(data.begin(), data.begin() + packetSize); in PackageProcess()
[all …]