Home
last modified time | relevance | path

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

12

/frameworks/base/tools/aapt2/integration-tests/DumpTest/
Dcomponents_full_proto.txt891 line_number: 2
912 line_number: 3
932 line_number: 4
937 line_number: 2
949 line_number: 2
1042 line_number: 7
1134 line_number: 11
1202 line_number: 20
1216 line_number: 27
1230 line_number: 29
[all …]
/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()
128 AddClass(node->line_number, attr.value, in Visit()
[all …]
DManifestClassGenerator.cpp66 ExtractJavaIdentifier(diag, source.WithLine(el->line_number), attr->value); in WriteSymbol()
76 diag->Warn(android::DiagMessage(source.WithLine(el->line_number)) in WriteSymbol()
/frameworks/base/tools/aapt2/link/
DManifestFixer.cpp77 diag->Error(android::DiagMessage(data_el->line_number) in VerifyDeeplinkPathAttribute()
89 diag->Error(android::DiagMessage(data_el->line_number) in VerifyDeeplinkPathAttribute()
124 diag->Error(android::DiagMessage(el->line_number) in RequiredNameIsNotEmpty()
130 diag->Error(android::DiagMessage(el->line_number) in RequiredNameIsNotEmpty()
151 diag->Error(android::DiagMessage(el->line_number) << "attribute 'android:name' in <" << el->name in NameIsJavaClassName()
168 diag->Error(android::DiagMessage(el->line_number) in RequiredNameIsJavaClassName()
178 diag->Error(android::DiagMessage(el->line_number) in RequiredNameIsJavaPackage()
184 diag->Error(android::DiagMessage(el->line_number) << "attribute 'android:name' in <" << el->name in RequiredNameIsJavaPackage()
194 diag->Error(android::DiagMessage(el->line_number) in RequiredAndroidAttribute()
208 diag->Error(android::DiagMessage(el->line_number) in RequiredOneAndroidAttribute()
[all …]
DFeatureFlagsFilter.cpp74 diagnostics_->Error(android::DiagMessage(node->line_number) in ShouldRemove()
81 diagnostics_->Error(android::DiagMessage(node->line_number) in ShouldRemove()
DXmlReferenceLinker.cpp62 const android::Source source = source_.WithLine(el->line_number); in Visit()
/frameworks/libs/binary_translation/tools/
Dsymbolize_trace.py57 def parse_tombstone_map_entry(self, line, line_number): argument
60 "Unexpected line (" + line_number + ") in maps section: " + line
93 line_number = 0
95 line_number += 1
100 self.parse_tombstone_map_entry(line, line_number)
/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()
294 decl.line_number = tree.getLineNumber(); in Inflate()
323 el->line_number = tree.getLineNumber(); in Inflate()
350 text->line_number = tree.getLineNumber(); in Inflate()
499 el->line_number = line_number; in Clone()
531 t->line_number = line_number; in Clone()
DXmlActionExecutor.cpp83 android::DiagMessage error_msg(child_el->line_number); in Execute()
126 android::DiagMessage error_msg(el->line_number); in Execute()
DXmlPullParser.h89 size_t line_number() const;
174 size_t line_number; member
DXmlDom.h45 size_t line_number = 0u; variable
62 size_t line_number = 0u; member
DXmlPullParser.cpp112 size_t XmlPullParser::line_number() const { in line_number() function in aapt::xml::XmlPullParser
113 return event_queue_.front().line_number; in line_number()
/frameworks/base/tools/aapt2/compile/
DXmlIdCollector.cpp52 source_diag_->Error(android::DiagMessage(element->line_number) in Visit()
59 element->line_number}); in Visit()
DInlineXmlFormatParser.cpp50 const android::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 android::Source child_source = doc->file.source.WithLine(child->line_number); in Consume()
/frameworks/base/tools/aapt2/
DResourceParser.cpp308 diag_->Error(android::DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
323 diag_->Warn(android::DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
383 diag_->Error(android::DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
406 diag_->Error(android::DiagMessage(source_.WithLine(parser->line_number())) in Parse()
416 diag_->Error(android::DiagMessage(source_.WithLine(parser->line_number())) in Parse()
438 diag_->Error(android::DiagMessage(source_.WithLine(parser->line_number())) in ParseResources()
460 parsed_resource.source = source_.WithLine(parser->line_number()); in ParseResources()
564 diag_->Error(android::DiagMessage(source_.WithLine(parser->line_number())) in ParseResource()
587 diag_->Error(android::DiagMessage(source_.WithLine(parser->line_number())) in ParseResource()
746 const size_t begin_xml_line = parser->line_number(); in CreateFlattenSubTree()
[all …]
DDebug.cpp476 decl.line_number)); in Visit()
485 printer_->Println(StringPrintf("%s (line=%zu)", el->name.c_str(), el->line_number)); in Visit()
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DbuildPolicyCriterionTypes.py221 for line_number, line in enumerate(androidaudiobaseheaderFile):
225 androidaudiobaseheaderFile.name, line_number, line))
313 for line_number, line in enumerate(androidaudiocommonbaseheaderFile):
317 androidaudiocommonbaseheaderFile.name, line_number, line))
DbuildCommonTypesStructureFile.py138 for line_number, line in enumerate(androidaudiobaseheaderFile):
142 androidaudiobaseheaderFile.name, line_number, line))
/frameworks/base/tools/aapt2/cmd/
DUtil.cpp410 diag->Error(android::DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
420 diag->Error(android::DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
431 diag->Error(android::DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
442 diag->Error(android::DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
453 diag->Error(android::DiagMessage(xml_res.file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()
465 diag->Error(android::DiagMessage(xml_res.file.source.WithLine(uses_sdk_el->line_number)) in ExtractAppInfoFromBinaryManifest()
DLink.cpp952 diag->Error(android::DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()
963 diag->Error(android::DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()
975 diag->Error(android::DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()
1809 android::DiagMessage error_msg(manifest_el->line_number); in VerifySharedUserId()
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener.cpp99 flat_node->lineNumber = android::util::HostToDevice32(node->line_number); in Visit()
119 flat_node->lineNumber = android::util::HostToDevice32(node->line_number); in Visit()
143 flat_end_node->lineNumber = android::util::HostToDevice32(node->line_number); in Visit()
190 flatNode->lineNumber = android::util::HostToDevice32(decl.line_number); in WriteNamespace()
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp364 out_source->line = static_cast<size_t>(pb_source.position().line_number()); in DeserializeSourceFromPb()
636 line = pb_symbol.source().line_number(); in DeserializeCompiledFileFromPb()
1029 out_el->line_number = pb_node.source().line_number(); in DeserializeXmlFromPb()
1036 decl.line_number = pb_ns.source().line_number(); in DeserializeXmlFromPb()
1055 attr.compiled_value->SetSource(android::Source().WithLine(pb_attr.source().line_number())); in DeserializeXmlFromPb()
1065 text->line_number = pb_child.source().line_number(); in DeserializeXmlFromPb()
DProtoSerialize_test.cpp255 element.line_number = 22; in TEST()
263 decl.line_number = 21; in TEST()
279 text->line_number = 25; in TEST()
304 EXPECT_THAT(actual_el.line_number, Eq(22u)); in TEST()
311 EXPECT_THAT(actual_decl.line_number, Eq(21u)); in TEST()
334 EXPECT_THAT(child_text->line_number, Eq(25u)); in TEST()
348 element.line_number = 22; in TEST()
353 trim_text->line_number = 25; in TEST()
359 keep_text->line_number = 26; in TEST()
DProtoSerialize.cpp746 pb_src->set_line_number(node.line_number); in SerializeXmlCommon()
763 pb_src->set_line_number(ns.line_number); in SerializeXmlToPb()
/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()

12