Lines Matching refs:contents
42 std::string contents; in ZipGetContents() local
47 contents.resize(entry.uncompressed_length); in ZipGetContents()
48 if (ExtractToMemory(archive, &entry, reinterpret_cast<uint8_t*>(contents.data()), in ZipGetContents()
50 contents = ""; in ZipGetContents()
56 return contents; in ZipGetContents()
92 std::string contents; in GetUnwindInfo() local
94 contents = ZipGetContents(filename); in GetUnwindInfo()
95 } else if (!android::base::ReadFileToString(filename, &contents)) { in GetUnwindInfo()
98 if (contents.empty()) { in GetUnwindInfo()
105 index = contents.find('\n', index); in GetUnwindInfo()
112 if (contents[contents.size() - 1] != '\n') { in GetUnwindInfo()
133 std::string contents; in GetUnwindInfo() local
135 contents = ZipGetContents(filename); in GetUnwindInfo()
136 } else if (!android::base::ReadFileToString(filename, &contents)) { in GetUnwindInfo()
139 if (contents.empty()) { in GetUnwindInfo()
147 end_str = contents.find('\n', start_str); in GetUnwindInfo()
154 contents[end_str] = '\0'; in GetUnwindInfo()
155 AllocGetData(&contents[start_str], &(*entries)[entry_idx++]); in GetUnwindInfo()