Home
last modified time | relevance | path

Searched refs:WithLine (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceParser.cpp300 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 …]
DSource.h47 inline Source WithLine(size_t line) const { in WithLine() function
DDiagnostics.h45 explicit DiagMessage(size_t line) : source_(Source().WithLine(line)) {} in DiagMessage()
/frameworks/base/tools/aapt2/cmd/
DUtil.cpp357 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()
DLink.cpp934 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/
DManifestClassGenerator.cpp67 ExtractJavaIdentifier(diag, source.WithLine(el->line_number), attr->value); in WriteSymbol()
77 diag->Warn(DiagMessage(source.WithLine(el->line_number)) in WriteSymbol()
DProguardRules.cpp85 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/
DInlineXmlFormatParser.cpp50 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/
DXmlReferenceLinker.cpp95 const Source source = source_.WithLine(el->line_number); in Visit()
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp202 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/
DProtoSerialize_test.cpp203 attr.compiled_value->SetSource(Source().WithLine(25)); in TEST()
DProtoDeserialize.cpp993 attr.compiled_value->SetSource(Source().WithLine(pb_attr.source().line_number())); in DeserializeXmlFromPb()