Searched refs:WithLine (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | ResourceParser.cpp | 300 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree() 315 diag_->Warn(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree() 375 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) << builder.GetError()); in FlattenXmlSubtree() 397 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse() 407 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse() 429 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResources() 451 parsed_resource.source = source_.WithLine(parser->line_number()); in ParseResources() 551 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource() 575 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource() 752 id->SetSource(source_.WithLine(begin_xml_line)); in ParseXml() [all …]
|
D | Source.h | 47 inline Source WithLine(size_t line) const { in WithLine() function
|
D | Diagnostics.h | 45 explicit DiagMessage(size_t line) : source_(Source().WithLine(line)) {} in DiagMessage()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Util.cpp | 357 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest() 367 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest() 378 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest() 389 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest() 399 diag->Error(DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest() 411 diag->Error(DiagMessage(xml_res.file.source.WithLine(uses_sdk_el->line_number)) in ExtractAppInfoFromBinaryManifest()
|
D | Link.cpp | 934 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest() 945 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest() 957 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest() 1378 id->SetSource(source.WithLine(exported_symbol.line)); in MergeExportedSymbols()
|
/frameworks/base/tools/aapt2/java/ |
D | ManifestClassGenerator.cpp | 67 ExtractJavaIdentifier(diag, source.WithLine(el->line_number), attr->value); in WriteSymbol() 77 diag->Warn(DiagMessage(source.WithLine(el->line_number)) in WriteSymbol()
|
D | ProguardRules.cpp | 85 keep_set_->AddConditionalClass({file_.name, file_.source.WithLine(line_number)}, in AddClass() 91 keep_set_->AddMethod({file_.name, file_.source.WithLine(line_number)}, in AddMethod() 101 keep_set_->AddReference({file_.name, file_.source.WithLine(line_number)}, ref_name); in AddReference() 337 keep_set_->AddManifestClass({file_.name, file_.source.WithLine(line_number)}, class_name); in AddClass()
|
/frameworks/base/tools/aapt2/compile/ |
D | InlineXmlFormatParser.cpp | 50 const Source src = xml_resource_->file.source.WithLine(el->line_number); in Visit() 139 const Source child_source = doc->file.source.WithLine(child->line_number); in Consume()
|
/frameworks/base/tools/aapt2/link/ |
D | XmlReferenceLinker.cpp | 95 const Source source = source_.WithLine(el->line_number); in Visit()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.cpp | 202 diag->Error(DiagMessage(source.WithLine(XML_GetCurrentLineNumber(parser.get()))) in Inflate() 214 diag->Error(DiagMessage(source.WithLine(XML_GetCurrentLineNumber(parser.get()))) in Inflate()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 203 attr.compiled_value->SetSource(Source().WithLine(25)); in TEST()
|
D | ProtoDeserialize.cpp | 993 attr.compiled_value->SetSource(Source().WithLine(pb_attr.source().line_number())); in DeserializeXmlFromPb()
|