Lines Matching refs:lines
113 std::vector<std::string> lines = android::base::Split(android::base::Trim(content), "\n"); in ParseLastCommandFile() local
114 if (lines.size() != 2) { in ParseLastCommandFile()
119 if (!android::base::ParseUint(lines[0], last_command_index)) { in ParseLastCommandFile()
120 LOG(ERROR) << "Failed to parse integer in: " << lines[0]; in ParseLastCommandFile()
1738 std::vector<std::string> lines = android::base::Split(transfer_list_value->data, "\n"); in PerformBlockImageUpdate() local
1739 if (lines.size() < kTransferListHeaderLines) { in PerformBlockImageUpdate()
1741 lines.size()); in PerformBlockImageUpdate()
1746 if (!android::base::ParseInt(lines[0], ¶ms.version, 3, 4)) { in PerformBlockImageUpdate()
1747 LOG(ERROR) << "unexpected transfer list version [" << lines[0] << "]"; in PerformBlockImageUpdate()
1755 if (!android::base::ParseUint(lines[1], &total_blocks)) { in PerformBlockImageUpdate()
1756 ErrorAbort(state, kArgsParsingFailure, "unexpected block count [%s]", lines[1].c_str()); in PerformBlockImageUpdate()
1765 LOG(INFO) << "maximum stash entries " << lines[2]; in PerformBlockImageUpdate()
1769 if (!android::base::ParseUint(lines[3], &stash_max_blocks)) { in PerformBlockImageUpdate()
1771 lines[3].c_str()); in PerformBlockImageUpdate()
1826 for (size_t i = kTransferListHeaderLines; i < lines.size(); i++) { in PerformBlockImageUpdate()
1827 const std::string& line = lines[i]; in PerformBlockImageUpdate()