Searched refs:updateOffset (Results 1 – 1 of 1) sorted by relevance
/base/update/updater/interfaces/kits/updaterkits/ |
D | updaterkits.cpp | 48 static bool AddPkgPath(struct UpdateMessage &msg, size_t updateOffset, const std::vector<std::strin… in AddPkgPath() argument 51 if (updateOffset > sizeof(msg.update)) { in AddPkgPath() 57 ret = snprintf_s(msg.update + updateOffset, sizeof(msg.update) - updateOffset, in AddPkgPath() 58 sizeof(msg.update) - 1 - updateOffset, "%s\n", path.c_str()); in AddPkgPath() 60 ret = snprintf_s(msg.update + updateOffset, sizeof(msg.update) - updateOffset, in AddPkgPath() 61 sizeof(msg.update) - 1 - updateOffset, "--update_package=%s\n", path.c_str()); in AddPkgPath() 67 updateOffset += static_cast<size_t>(ret); in AddPkgPath()
|