Home
last modified time | relevance | path

Searched refs:out_error (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.h39 std::string* out_error);
45 std::string* out_error);
48 std::string* out_error);
51 std::string* out_error);
54 android::ConfigDescription* out_config, std::string* out_error);
58 ResourceTable* out_table, std::string* out_error);
61 ResourceFile* out_file, std::string* out_error);
DProtoDeserialize.cpp69 std::string* out_error) { in DeserializeConfigFromPb() argument
78 *out_error = error.str(); in DeserializeConfigFromPb()
380 OverlayableItem* out_overlayable, std::string* out_error) { in DeserializeOverlayableItemFromPb() argument
411 *out_error = "unknown overlayable policy"; in DeserializeOverlayableItemFromPb()
427 ResourceTable* out_table, std::string* out_error) { in DeserializePackageFromPb() argument
436 *out_error = error.str(); in DeserializePackageFromPb()
489 *out_error = in DeserializePackageFromPb()
498 out_error)) { in DeserializePackageFromPb()
525 if (!DeserializeConfigFromPb(pb_config, &config, out_error)) { in DeserializePackageFromPb()
531 *out_error = "duplicate configuration in resource table"; in DeserializePackageFromPb()
[all …]
/frameworks/base/tools/aapt2/io/
DZipArchive.cpp96 const StringPiece& path, std::string* out_error) { in Create() argument
112 if (out_error) *out_error = ErrorCodeString(result); in Create()
119 if (out_error) *out_error = ErrorCodeString(result); in Create()
141 if (out_error) *out_error = ErrorCodeString(result); in Create()
/frameworks/base/tools/aapt2/cmd/
DCommand.cpp181 int Command::Execute(const std::vector<StringPiece>& args, std::ostream* out_error) { in Execute() argument
194 std::vector<StringPiece>(args.begin() + 1, args.end()), out_error); in Execute()
201 std::vector<StringPiece>(args.begin() + 1, args.end()), out_error); in Execute()
211 Usage(out_error); in Execute()
221 *out_error << flag.name << " missing argument.\n\n"; in Execute()
222 Usage(out_error); in Execute()
236 *out_error << "unknown option '" << arg << "'.\n\n"; in Execute()
237 Usage(out_error); in Execute()
244 *out_error << "missing required flag " << flag.name << "\n\n"; in Execute()
245 Usage(out_error); in Execute()
DUtil.cpp249 std::string* out_error) { in ExtractCompiledString() argument
256 *out_error = "compiled value is an empty string"; in ExtractCompiledString()
260 *out_error = "compiled value is not a string"; in ExtractCompiledString()
268 *out_error = "value is an empty string"; in ExtractCompiledString()
272 static Maybe<uint32_t> ExtractCompiledInt(const xml::Attribute& attr, std::string* out_error) { in ExtractCompiledInt() argument
281 *out_error = "compiled value is not an integer"; in ExtractCompiledInt()
292 *out_error = error_msg.str(); in ExtractCompiledInt()
296 static Maybe<int> ExtractSdkVersion(const xml::Attribute& attr, std::string* out_error) { in ExtractSdkVersion() argument
304 *out_error = "compiled value is not an integer or string"; in ExtractSdkVersion()
315 *out_error = "compiled string value is not a valid SDK version"; in ExtractSdkVersion()
[all …]
DCompile.cpp80 std::string* out_error, in ExtractResourcePathData() argument
84 if (out_error) *out_error = "bad resource path"; in ExtractResourcePathData()
97 if (out_error) { in ExtractResourcePathData()
100 *out_error = err_str.str(); in ExtractResourcePathData()
/frameworks/base/tools/aapt2/util/
DFiles.cpp211 Maybe<FileMap> MmapPath(const std::string& path, std::string* out_error) { in MmapPath() argument
215 if (out_error) { in MmapPath()
216 *out_error = SystemErrorCodeToString(errno); in MmapPath()
223 if (out_error) { in MmapPath()
224 *out_error = SystemErrorCodeToString(errno); in MmapPath()
236 if (out_error) { in MmapPath()
237 *out_error = SystemErrorCodeToString(errno); in MmapPath()
245 std::string* out_error) { in AppendArgsFromFile() argument
248 if (out_error) { in AppendArgsFromFile()
249 *out_error = "failed to read argument-list file"; in AppendArgsFromFile()
[all …]
DFiles.h84 Maybe<android::FileMap> MmapPath(const std::string& path, std::string* out_error);
88 std::string* out_error);
92 std::unordered_set<std::string>* out_argset, std::string* out_error);
DUtil.h169 std::string* out_str, std::string* out_error);
/frameworks/base/tools/aapt2/link/
DReferenceLinker.cpp295 std::string* out_error) { in ResolveSymbolCheckVisibility() argument
298 if (out_error) *out_error = "not found"; in ResolveSymbolCheckVisibility()
303 if (out_error) *out_error = "is private"; in ResolveSymbolCheckVisibility()
311 SymbolTable* symbols, std::string* out_error) { in ResolveAttributeCheckVisibility() argument
313 ResolveSymbolCheckVisibility(reference, callsite, context, symbols, out_error); in ResolveAttributeCheckVisibility()
319 if (out_error) *out_error = "is not an attribute"; in ResolveAttributeCheckVisibility()
329 std::string* out_error) { in CompileXmlAttribute() argument
331 ResolveAttributeCheckVisibility(reference, callsite, context, symbols, out_error); in CompileXmlAttribute()
337 if (out_error) *out_error = "is not an attribute"; in CompileXmlAttribute()
DReferenceLinker.h88 std::string* out_error);
96 std::string* out_error);
104 std::string* out_error);
/frameworks/base/tools/aapt2/
DResourceUtils.cpp255 std::string* out_error) { in ParseStyleParentReference() argument
287 *out_error = err.str(); in ParseStyleParentReference()
295 *out_error = err.str(); in ParseStyleParentReference()
423 static uint32_t ParseHex(char c, bool* out_error) { in ParseHex() argument
431 *out_error = true; in ParseHex()
DResourceUtils.h119 Maybe<Reference> ParseStyleParentReference(const android::StringPiece& str, std::string* out_error);
/frameworks/base/tools/aapt2/xml/
DXmlDom.cpp267 std::unique_ptr<XmlResource> Inflate(const void* data, size_t len, std::string* out_error) { in Inflate() argument
280 if (out_error != nullptr) { in Inflate()
281 *out_error = "failed to initialize ResXMLTree"; in Inflate()
DXmlDom.h165 std::string* out_error = nullptr);