Home
last modified time | relevance | path

Searched refs:line_number (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/tools/aapt2/java/
DProguardRules.cpp57 AddClass(node->line_number, package, ctor_signature_); in Visit()
61 AddClass(node->line_number, node->name, ctor_signature_); in Visit()
72 AddReference(node->line_number, ref); in Visit()
83 virtual void AddClass(size_t line_number, const std::string& class_name, in AddClass() argument
85 keep_set_->AddConditionalClass({file_.name, file_.source.WithLine(line_number)}, in AddClass()
89 void AddMethod(size_t line_number, const std::string& method_name, in AddMethod() argument
91 keep_set_->AddMethod({file_.name, file_.source.WithLine(line_number)}, in AddMethod()
95 void AddReference(size_t line_number, Reference* ref) { in AddReference() argument
101 keep_set_->AddReference({file_.name, file_.source.WithLine(line_number)}, ref_name); in AddReference()
133 AddClass(node->line_number, attr.value, in Visit()
[all …]
DManifestClassGenerator.cpp67 ExtractJavaIdentifier(diag, source.WithLine(el->line_number), attr->value); in WriteSymbol()
77 diag->Warn(DiagMessage(source.WithLine(el->line_number)) in WriteSymbol()
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp36 diag->Error(DiagMessage(el->line_number) in RequiredNameIsNotEmpty()
42 diag->Error(DiagMessage(el->line_number) in RequiredNameIsNotEmpty()
63 diag->Error(DiagMessage(el->line_number) in NameIsJavaClassName()
81 diag->Error(DiagMessage(el->line_number) in RequiredNameIsJavaClassName()
91 diag->Error(DiagMessage(el->line_number) in RequiredNameIsJavaPackage()
97 diag->Error(DiagMessage(el->line_number) << "attribute 'android:name' in <" << el->name in RequiredNameIsJavaPackage()
107 diag->Error(DiagMessage(el->line_number) in RequiredAndroidAttribute()
131 diag->Error(DiagMessage(el->line_number) in AutoGenerateIsFeatureSplit()
148 diag->Error(DiagMessage(el->line_number) in VerifyManifest()
152 diag->Error(DiagMessage(el->line_number) in VerifyManifest()
[all …]
DXmlReferenceLinker.cpp86 const Source source = source_.WithLine(el->line_number); in Visit()
/frameworks/base/tools/aapt2/
DResourceParser.cpp296 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
311 diag_->Warn(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
371 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) << builder.GetError()); in FlattenXmlSubtree()
393 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()
403 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()
425 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResources()
447 parsed_resource.source = source_.WithLine(parser->line_number()); in ParseResources()
547 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource()
571 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource()
726 const size_t begin_xml_line = parser->line_number(); in ParseXml()
[all …]
DDebug.cpp462 decl.line_number)); in Visit()
471 printer_->Println(StringPrintf("%s (line=%zu)", el->name.c_str(), el->line_number)); in Visit()
DResources.proto33 uint32 line_number = 1; field
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp84 decl.line_number = XML_GetCurrentLineNumber(parser); in StartNamespaceHandler()
118 el->line_number = XML_GetCurrentLineNumber(parser); in StartElementHandler()
170 stack->last_text_node->line_number = XML_GetCurrentLineNumber(parser); in CharacterDataHandler()
292 decl.line_number = tree.getLineNumber(); in Inflate()
319 el->line_number = tree.getLineNumber(); in Inflate()
346 text->line_number = tree.getLineNumber(); in Inflate()
496 el->line_number = line_number; in Clone()
528 t->line_number = line_number; in Clone()
DXmlActionExecutor.cpp70 DiagMessage error_msg(child_el->line_number); in Execute()
113 DiagMessage error_msg(el->line_number); in Execute()
DXmlPullParser.h91 size_t line_number() const;
169 size_t line_number; member
DXmlDom.h46 size_t line_number = 0u; variable
63 size_t line_number = 0u; member
DXmlPullParser.cpp114 size_t XmlPullParser::line_number() const { in line_number() function in aapt::xml::XmlPullParser
115 return event_queue_.front().line_number; in line_number()
/frameworks/base/tools/aapt2/compile/
DXmlIdCollector.cpp51 source_diag_->Error(DiagMessage(element->line_number) in Visit()
58 element->line_number}); in Visit()
DInlineXmlFormatParser.cpp50 const Source src = xml_resource_->file.source.WithLine(el->line_number); in Visit()
128 new_doc->file.source.line = decl.el->line_number; in Consume()
139 const Source child_source = doc->file.source.WithLine(child->line_number); in Consume()
/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.cpp926 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()
937 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()
949 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp179 element.line_number = 22; in TEST()
187 decl.line_number = 21; in TEST()
203 text->line_number = 25; in TEST()
228 EXPECT_THAT(actual_el.line_number, Eq(22u)); in TEST()
235 EXPECT_THAT(actual_decl.line_number, Eq(21u)); in TEST()
258 EXPECT_THAT(child_text->line_number, Eq(25u)); in TEST()
272 element.line_number = 22; in TEST()
277 trim_text->line_number = 25; in TEST()
283 keep_text->line_number = 26; in TEST()
DProtoDeserialize.cpp361 out_source->line = static_cast<size_t>(pb_source.position().line_number()); in DeserializeSourceFromPb()
614 line = pb_symbol.source().line_number(); in DeserializeCompiledFileFromPb()
959 out_el->line_number = pb_node.source().line_number(); in DeserializeXmlFromPb()
966 decl.line_number = pb_ns.source().line_number(); in DeserializeXmlFromPb()
985 attr.compiled_value->SetSource(Source().WithLine(pb_attr.source().line_number())); in DeserializeXmlFromPb()
995 text->line_number = pb_child.source().line_number(); in DeserializeXmlFromPb()
DProtoSerialize.cpp655 pb_src->set_line_number(node.line_number); in SerializeXmlCommon()
672 pb_src->set_line_number(ns.line_number); in SerializeXmlToPb()
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener.cpp99 flat_node->lineNumber = util::HostToDevice32(node->line_number); in Visit()
119 flat_node->lineNumber = util::HostToDevice32(node->line_number); in Visit()
143 flat_end_node->lineNumber = util::HostToDevice32(node->line_number); in Visit()
190 flatNode->lineNumber = util::HostToDevice32(decl.line_number); in WriteNamespace()
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DbuildPolicyCriterionTypes.py205 for line_number, line in enumerate(androidaudiobaseheaderFile):
209 androidaudiobaseheaderFile.name, line_number, line))
/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp316 size_t line_number = 1; in CompileShader() local
318 ALOGE("%03zd : %s", line_number, src.substr(cur_pos, next_pos-cur_pos).c_str()); in CompileShader()
320 line_number++; in CompileShader()
322 ALOGE("%03zu : %s", line_number, src.substr(cur_pos, next_pos-cur_pos).c_str()); in CompileShader()