Home
last modified time | relevance | path

Searched refs:source_diag (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DXmlIdCollector.cpp41 SourcePathDiagnostics* source_diag) : out_symbols_(out_symbols), in IdCollector()
42 source_diag_(source_diag) {} in IdCollector()
78 SourcePathDiagnostics source_diag(xmlRes->file.source, context->GetDiagnostics()); in Consume() local
79 IdCollector collector(&xmlRes->file.exported_symbols, &source_diag); in Consume()
81 return !source_diag.HadError(); in Consume()
DPngCrunch.cpp149 SourcePathDiagnostics source_diag(source, context->GetDiagnostics()); in ReadPng() local
157 source_diag.Error(DiagMessage() << "failed to read PNG signature: " << in->GetError()); in ReadPng()
159 source_diag.Error(DiagMessage() << "not enough data for PNG signature"); in ReadPng()
165 source_diag.Error(DiagMessage() << "file signature does not match PNG signature"); in ReadPng()
177 source_diag.Error(DiagMessage() << "failed to create libpng read png_struct"); in ReadPng()
184 source_diag.Error(DiagMessage() << "failed to create libpng read png_info"); in ReadPng()
200 png_set_error_fn(read_ptr, (png_voidp)&source_diag, LogError, LogWarning); in ReadPng()
257 source_diag.Error(DiagMessage() in ReadPng()
/frameworks/base/tools/aapt2/xml/
DXmlActionExecutor.cpp93 SourcePathDiagnostics source_diag(doc->file.source, diag); in Execute() local
98 source_diag.Error(DiagMessage() << "no root XML tag found"); in Execute()
109 return iter->second.Execute(policy, &bread_crumb, &source_diag, el); in Execute()
116 source_diag.Error(error_msg); in Execute()