Home
last modified time | relevance | path

Searched refs:source_ (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/tools/aapt2/unflatten/
DBinaryResourceParser.cpp84 source_(source), in BinaryResourceParser()
94 context_->GetDiagnostics()->Error(DiagMessage(source_) in Parse()
100 context_->GetDiagnostics()->Error(DiagMessage(source_) in Parse()
113 DiagMessage(source_) << "invalid chunk trailing RES_TABLE_TYPE: " << parser.error()); in Parse()
116 DiagMessage(source_) << StringPrintf( in Parse()
131 context_->GetDiagnostics()->Error(DiagMessage(source_) in ParseTable()
146 DiagMessage(source_) << "corrupt string pool in ResTable: " in ParseTable()
156 DiagMessage(source_) << "unexpected string pool in ResTable"); in ParseTable()
168 DiagMessage(source_) in ParseTable()
177 DiagMessage(source_) << "corrupt resource table: " << parser.error()); in ParseTable()
[all …]
DBinaryResourceParser.h100 const Source source_; variable
/frameworks/base/tools/aapt2/
DDiagnostics.h41 explicit DiagMessage(const android::StringPiece& src) : source_(src) {} in DiagMessage()
43 explicit DiagMessage(const Source& src) : source_(src) {} in DiagMessage()
45 explicit DiagMessage(size_t line) : source_(Source().WithLine(line)) {} in DiagMessage()
54 return DiagMessageActual{source_, message_.str()}; in Build()
58 Source source_;
131 : source_(src), diag_(diag) {} in SourcePathDiagnostics()
134 actual_msg.source.path = source_.path; in Log()
139 Source source_;
DLoadedApk.h37 : source_(source), apk_(std::move(apk)), table_(std::move(table)) {} in LoadedApk()
43 const Source& GetSource() { return source_; } in GetSource()
56 Source source_;
DResourceParser.cpp147 source_(source), in ResourceParser()
193 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
205 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
219 diag_->Warn(DiagMessage(source_.WithLine(parser->line_number())) in FlattenXmlSubtree()
273 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()
283 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in Parse()
305 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResources()
327 parsed_resource.source = source_.WithLine(parser->line_number()); in ParseResources()
351 diag_->Error(DiagMessage(source_) in ParseResources()
426 diag_->Error(DiagMessage(source_.WithLine(parser->line_number())) in ParseResource()
[all …]
DResourceValues.cpp60 rs->source_ = source_; in Clone()
202 str->source_ = source_; in Clone()
250 str->source_ = source_; in Clone()
287 fr->source_ = source_; in Clone()
680 style->source_ = source_; in Clone()
779 array->source_ = source_; in Clone()
816 p->source_ = source_; in Clone()
DResourceValues.h61 const Source& GetSource() const { return source_; } in GetSource()
63 void SetSource(const Source& source) { source_ = source; } in SetSource()
65 void SetSource(Source&& source) { source_ = std::move(source); } in SetSource()
89 Source source_;
DResourceParser.h111 Source source_; variable
/frameworks/base/tools/aapt2/io/
DFileSystem.cpp32 RegularFile::RegularFile(const Source& source) : source_(source) {} in RegularFile()
36 if (Maybe<android::FileMap> map = file::MmapPath(source_.path, nullptr)) { in OpenAsData()
45 const Source& RegularFile::GetSource() const { return source_; } in GetSource()
DZipArchive.cpp32 : zip_handle_(handle), zip_entry_(entry), source_(source) {} in ZipFile()
60 const Source& ZipFile::GetSource() const { return source_; } in GetSource()
DFileSystem.h38 Source source_;
DZipArchive.h48 Source source_; variable
/frameworks/base/tools/aapt2/proto/
DTableProtoDeserializer.cpp65 source_(source), in PackagePbDeserializer()
81 diag_->Error(DiagMessage(source_) << "unknown type '" << pbType.name() << "'"); in DeserializeFromPb()
137 diag_->Error(DiagMessage(source_) << "invalid configuration"); in DeserializeFromPb()
144 diag_->Error(DiagMessage(source_) << "duplicate configuration"); in DeserializeFromPb()
218 diag_->Error(DiagMessage(source_) << "unknown item"); in DeserializeItemFromPb()
331 diag_->Error(DiagMessage(source_) << "unknown compound value"); in DeserializeValueFromPb()
335 diag_->Error(DiagMessage(source_) << "unknown value"); in DeserializeValueFromPb()
358 diag_->Error(DiagMessage(source_) << "invalid reference name '" << str_symbol << "'"); in DeserializeReferenceFromPb()
384 const Source source_; member in aapt::__anon171377b30111::PackagePbDeserializer
/frameworks/base/tools/aapt2/link/
DXmlReferenceLinker.cpp76 : source_(source), in XmlVisitor()
89 const Source source = source_.WithLine(el->line_number); in Visit()
152 Source source_; member in aapt::__anondb2bbb330111::XmlVisitor
/frameworks/base/tools/aapt2/test/
DCommon.h96 explicit TestFile(const android::StringPiece& path) : source_(path) {} in TestFile()
103 return source_; in GetSource()
109 Source source_; variable
/frameworks/base/tools/aapt2/java/
DProguardRules.cpp33 : source_(source), keep_set_(keep_set) {} in BaseVisitor()
65 keep_set_->AddClass(Source(source_.path, line_number), class_name); in AddClass()
69 keep_set_->AddMethod(Source(source_.path, line_number), method_name); in AddMethod()
75 Source source_; member in aapt::proguard::BaseVisitor
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.cpp952 source_ = EmptyVariant{}; in Reset()
966 source_ = SourceSurface{surface}; in Setup()
979 source_ = SourceBuffer{buffer}; in Setup()
984 if (source_.is<SourceBuffer>()) in UpdateBuffer()
985 std::get<SourceBuffer>(source_) = {buffer}; in UpdateBuffer()
997 return source_.Visit(Visitor{}); in GetBuffer()
1070 IfAnyOf<SourceSurface, SourceBuffer>::Call(&source_, [&](auto& source) { in Prepare()
1126 &source_, [release_fence_fd](auto& source) { in Finish()
Dhardware_composer.h118 bool IsLayerSetup() const { return !source_.empty(); } in IsLayerSetup()
126 &source_, [&surface_id](const SourceSurface& surface_source) { in GetSurfaceId()
217 pdx::rpc::Variant<SourceSurface, SourceBuffer> source_; variable