Lines Matching refs:line
96 for (const std::string& line : android::base::Split(metadata_string, "\n")) { in ReadMetadataFromPackage() local
97 size_t eq = line.find('='); in ReadMetadataFromPackage()
99 metadata->emplace(android::base::Trim(line.substr(0, eq)), in ReadMetadataFromPackage()
100 android::base::Trim(line.substr(eq + 1))); in ReadMetadataFromPackage()
459 std::string line(buffer); in TryUpdateBinary() local
460 size_t space = line.find_first_of(" \n"); in TryUpdateBinary()
461 std::string command(line.substr(0, space)); in TryUpdateBinary()
465 std::string args = space == std::string::npos ? "" : android::base::Trim(line.substr(space)); in TryUpdateBinary()
475 LOG(ERROR) << "invalid \"progress\" parameters: " << line; in TryUpdateBinary()
483 LOG(ERROR) << "invalid \"set_progress\" parameters: " << line; in TryUpdateBinary()
504 LOG(ERROR) << "invalid \"log\" parameters: " << line; in TryUpdateBinary()