Lines Matching refs:str_stream
107 std::stringstream str_stream; in EmitResourceConfigValueDiff() local
108 str_stream << "value " << pkg_a.name << ":" << type_a.type << "/" << entry_a.name in EmitResourceConfigValueDiff()
110 value_a->Print(&str_stream); in EmitResourceConfigValueDiff()
111 str_stream << "\n vs \n"; in EmitResourceConfigValueDiff()
112 value_b->Print(&str_stream); in EmitResourceConfigValueDiff()
113 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceConfigValueDiff()
130 std::stringstream str_stream; in EmitResourceEntryDiff() local
131 str_stream << "missing " << pkg_a.name << ":" << type_a.type << "/" << entry_a.name in EmitResourceEntryDiff()
133 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceEntryDiff()
145 std::stringstream str_stream; in EmitResourceEntryDiff() local
146 str_stream << "new config " << pkg_b.name << ":" << type_b.type << "/" << entry_b.name in EmitResourceEntryDiff()
148 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceEntryDiff()
166 std::stringstream str_stream; in EmitResourceTypeDiff() local
167 str_stream << "missing " << pkg_a.name << ":" << type_a.type << "/" << entry_a_iter->name; in EmitResourceTypeDiff()
168 EmitDiffLine(apk_a->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
172 std::stringstream str_stream; in EmitResourceTypeDiff() local
173 str_stream << "new entry " << pkg_b.name << ":" << type_b.type << "/" << entry_b_iter->name; in EmitResourceTypeDiff()
174 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
180 std::stringstream str_stream; in EmitResourceTypeDiff() local
181 str_stream << pkg_a.name << ":" << type_a.type << "/" << entry_a.name in EmitResourceTypeDiff()
184 str_stream << "STAGED "; in EmitResourceTypeDiff()
187 str_stream << "PUBLIC"; in EmitResourceTypeDiff()
189 str_stream << "PRIVATE"; in EmitResourceTypeDiff()
191 str_stream << " vs "; in EmitResourceTypeDiff()
193 str_stream << "STAGED "; in EmitResourceTypeDiff()
196 str_stream << "PUBLIC"; in EmitResourceTypeDiff()
198 str_stream << "PRIVATE"; in EmitResourceTypeDiff()
200 str_stream << ")"; in EmitResourceTypeDiff()
201 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
205 std::stringstream str_stream; in EmitResourceTypeDiff() local
206 str_stream << pkg_a.name << ":" << type_a.type << "/" << entry_a.name in EmitResourceTypeDiff()
209 str_stream << "0x" << std::hex << entry_b.id.value(); in EmitResourceTypeDiff()
211 str_stream << "none"; in EmitResourceTypeDiff()
213 str_stream << " vs "; in EmitResourceTypeDiff()
215 str_stream << "0x " << std::hex << entry_a.id.value(); in EmitResourceTypeDiff()
217 str_stream << "none"; in EmitResourceTypeDiff()
219 str_stream << ")"; in EmitResourceTypeDiff()
220 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTypeDiff()
245 std::stringstream str_stream; in EmitResourcePackageDiff() local
246 str_stream << "missing " << pkg_a.name << ":" << type_a_iter->type; in EmitResourcePackageDiff()
247 EmitDiffLine(apk_a->GetSource(), str_stream.str()); in EmitResourcePackageDiff()
251 std::stringstream str_stream; in EmitResourcePackageDiff() local
252 str_stream << "new type " << pkg_b.name << ":" << type_b_iter->type; in EmitResourcePackageDiff()
253 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourcePackageDiff()
259 std::stringstream str_stream; in EmitResourcePackageDiff() local
260 str_stream << pkg_a.name << ":" << type_a.type << " has different visibility ("; in EmitResourcePackageDiff()
262 str_stream << "PUBLIC"; in EmitResourcePackageDiff()
264 str_stream << "PRIVATE"; in EmitResourcePackageDiff()
266 str_stream << " vs "; in EmitResourcePackageDiff()
268 str_stream << "PUBLIC"; in EmitResourcePackageDiff()
270 str_stream << "PRIVATE"; in EmitResourcePackageDiff()
272 str_stream << ")"; in EmitResourcePackageDiff()
273 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourcePackageDiff()
276 std::stringstream str_stream; in EmitResourcePackageDiff() local
277 str_stream << pkg_a.name << ":" << type_a.type << " has different public ID ("; in EmitResourcePackageDiff()
279 str_stream << "0x" << std::hex << type_b.id.value(); in EmitResourcePackageDiff()
281 str_stream << "none"; in EmitResourcePackageDiff()
283 str_stream << " vs "; in EmitResourcePackageDiff()
285 str_stream << "0x " << std::hex << type_a.id.value(); in EmitResourcePackageDiff()
287 str_stream << "none"; in EmitResourcePackageDiff()
289 str_stream << ")"; in EmitResourcePackageDiff()
290 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourcePackageDiff()
315 std::stringstream str_stream; in EmitResourceTableDiff() local
316 str_stream << "missing package " << package_a_iter->name; in EmitResourceTableDiff()
317 EmitDiffLine(apk_a->GetSource(), str_stream.str()); in EmitResourceTableDiff()
321 std::stringstream str_stream; in EmitResourceTableDiff() local
322 str_stream << "new package " << package_b_iter->name; in EmitResourceTableDiff()
323 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTableDiff()
329 std::stringstream str_stream; in EmitResourceTableDiff() local
330 str_stream << "package '" << package_a.name << "' has different id ("; in EmitResourceTableDiff()
332 str_stream << "0x" << std::hex << package_b.id.value(); in EmitResourceTableDiff()
334 str_stream << "none"; in EmitResourceTableDiff()
336 str_stream << " vs "; in EmitResourceTableDiff()
338 str_stream << "0x" << std::hex << package_b.id.value(); in EmitResourceTableDiff()
340 str_stream << "none"; in EmitResourceTableDiff()
342 str_stream << ")"; in EmitResourceTableDiff()
343 EmitDiffLine(apk_b->GetSource(), str_stream.str()); in EmitResourceTableDiff()