Lines Matching refs:string
59 static int parse_build_number(std::string str) { in parse_build_number()
61 if (pos != std::string::npos) { in parse_build_number()
62 std::string num_string = android::base::Trim(str.substr(pos+1)); in parse_build_number()
74 static void read_source_target_build(ZipArchive* zip, std::vector<std::string>& log_buffer) { in read_source_target_build()
81 std::string meta_data(meta_entry->uncompLen, '\0'); in read_source_target_build()
90 std::vector<std::string> lines = android::base::Split(meta_data, "\n"); in read_source_target_build()
91 for (const std::string& line : lines) { in read_source_target_build()
92 std::string str = android::base::Trim(line); in read_source_target_build()
112 std::vector<std::string>& log_buffer, int retry_count) in try_update_binary()
255 log_buffer.push_back(std::string(strtok(NULL, "\n"))); in try_update_binary()
277 std::vector<std::string>& log_buffer, int retry_count) in really_install_package()
366 std::vector<std::string> log_buffer; in install_package()