Lines Matching refs:outPkgs
671 auto it = std::find_if(outPkgs.begin(), outPkgs.end(), HandleOutputPkgKeyFinder(pkgId)); in RequestSendPackage()
672 if (it == outPkgs.end()) { in RequestSendPackage()
675 outPkgs.emplace_back(pkgId, head->sessionId, data, length, response, in RequestSendPackage()
678 head->ToDebugString().c_str(), outPkgs.size()); in RequestSendPackage()
694 auto it = std::find_if(outPkgs.begin(), outPkgs.end(), HandleOutputPkgKeyFinder(pkgId)); in ProcessResponsePackage()
695 if (it != outPkgs.end()) { in ProcessResponsePackage()
698 outPkgs.erase(it); in ProcessResponsePackage()
706 for (auto pkg : outPkgs) { in ProcessResponsePackage()
717 if (outPkgs.empty()) { in SendPkgInUARTOutMap()
721 WRITE_LOG(LOG_DEBUG, "UartPackageManager: send pkgs, have:%zu pkgs", outPkgs.size()); in SendPkgInUARTOutMap()
725 auto it = outPkgs.begin(); in SendPkgInUARTOutMap()
726 while (it != outPkgs.end()) { in SendPkgInUARTOutMap()
749 it = outPkgs.erase(it); in SendPkgInUARTOutMap()
790 WRITE_LOG(LOG_DEBUG, "UartPackageManager: send finish, have %zu pkgs", outPkgs.size()); in SendPkgInUARTOutMap()
798 auto it = outPkgs.begin(); in ClearUARTOutMap()
799 while (it != outPkgs.end()) { in ClearUARTOutMap()
804 it = outPkgs.erase(it); in ClearUARTOutMap()
819 if (!outPkgs.empty()) { in EnsureAllPkgsSent()