Lines Matching refs:outPkgs
669 auto it = std::find_if(outPkgs.begin(), outPkgs.end(), HandleOutputPkgKeyFinder(pkgId)); in RequestSendPackage()
670 if (it == outPkgs.end()) { in RequestSendPackage()
673 outPkgs.emplace_back(pkgId, head->sessionId, data, length, response, in RequestSendPackage()
676 head->ToDebugString().c_str(), outPkgs.size()); in RequestSendPackage()
692 auto it = std::find_if(outPkgs.begin(), outPkgs.end(), HandleOutputPkgKeyFinder(pkgId)); in ProcessResponsePackage()
693 if (it != outPkgs.end()) { in ProcessResponsePackage()
696 outPkgs.erase(it); in ProcessResponsePackage()
704 for (auto pkg : outPkgs) { in ProcessResponsePackage()
715 if (outPkgs.empty()) { in SendPkgInUARTOutMap()
719 WRITE_LOG(LOG_DEBUG, "UartPackageManager: send pkgs, have:%zu pkgs", outPkgs.size()); in SendPkgInUARTOutMap()
723 auto it = outPkgs.begin(); in SendPkgInUARTOutMap()
724 while (it != outPkgs.end()) { in SendPkgInUARTOutMap()
747 it = outPkgs.erase(it); in SendPkgInUARTOutMap()
788 WRITE_LOG(LOG_DEBUG, "UartPackageManager: send finish, have %zu pkgs", outPkgs.size()); in SendPkgInUARTOutMap()
796 auto it = outPkgs.begin(); in ClearUARTOutMap()
797 while (it != outPkgs.end()) { in ClearUARTOutMap()
802 it = outPkgs.erase(it); in ClearUARTOutMap()
817 if (!outPkgs.empty()) { in EnsureAllPkgsSent()