Lines Matching refs:string
56 std::map<std::string, std::string, std::less<>>* props_map) { in ParsePropertyFile() argument
58 std::vector<std::string> lines = android::base::Split(std::string(prop_content), "\n"); in ParsePropertyFile()
62 if (pos == std::string::npos) continue; in ParsePropertyFile()
63 std::string key = line.substr(0, pos); in ParsePropertyFile()
64 std::string value = line.substr(pos + 1); in ParsePropertyFile()
74 std::vector<std::string> lines = android::base::Split(std::string(fstab), "\n"); in ParseFstab()
79 std::vector<std::string> tokens = android::base::Split(line, " "); in ParseFstab()
109 std::string entry_path = path_ + "/" + std::string(name); in EntryExists()
122 bool TargetFile::ReadEntryToString(const std::string_view name, std::string* content) const { in ReadEntryToString()
124 std::string entry_path = path_ + "/" + std::string(name); in ReadEntryToString()
154 std::string entry_path = path_ + "/" + std::string(name); in ExtractEntryToTempFile()
182 std::string misc_info_content; in Open()
193 bool TargetFile::GetBuildProps(std::map<std::string, std::string, std::less<>>* props_map) const { in GetBuildProps() argument
211 std::string build_prop_content; in GetBuildProps()
215 std::map<std::string, std::string, std::less<>> props; in GetBuildProps()
244 TemporaryFile sparse_image{ std::string(work_dir) }; in ExtractImage()
268 std::string fstab_content; in ParseFstabInfo()
270 if (std::string content; ReadEntryToString(name, &content)) { in ParseFstabInfo()