Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/link/
DReferenceLinker.cpp233 std::string* out_error) { in ResolveSymbolCheckVisibility() argument
236 if (out_error) *out_error = "not found"; in ResolveSymbolCheckVisibility()
241 if (out_error) *out_error = "is private"; in ResolveSymbolCheckVisibility()
249 std::string* out_error) { in ResolveAttributeCheckVisibility() argument
251 ResolveSymbolCheckVisibility(reference, callsite, symbols, out_error); in ResolveAttributeCheckVisibility()
257 if (out_error) *out_error = "is not an attribute"; in ResolveAttributeCheckVisibility()
266 std::string* out_error) { in CompileXmlAttribute() argument
268 ResolveAttributeCheckVisibility(reference, callsite, symbols, out_error); in CompileXmlAttribute()
274 if (out_error) *out_error = "is not an attribute"; in CompileXmlAttribute()
DReferenceLinker.h64 std::string* out_error);
75 std::string* out_error);
85 std::string* out_error);
/frameworks/base/tools/aapt2/
DFlags.cpp137 std::ostream* out_error) { in Parse() argument
146 Usage(command, out_error); in Parse()
156 *out_error << flag.name << " missing argument.\n\n"; in Parse()
157 Usage(command, out_error); in Parse()
171 *out_error << "unknown option '" << arg << "'.\n\n"; in Parse()
172 Usage(command, out_error); in Parse()
179 *out_error << "missing required flag " << flag.name << "\n\n"; in Parse()
180 Usage(command, out_error); in Parse()
DResourceUtils.cpp212 std::string* out_error) { in ParseStyleParentReference() argument
244 *out_error = err.str(); in ParseStyleParentReference()
252 *out_error = err.str(); in ParseStyleParentReference()
380 static uint32_t ParseHex(char c, bool* out_error) { in ParseHex() argument
388 *out_error = true; in ParseHex()
DResourceUtils.h111 Maybe<Reference> ParseStyleParentReference(const android::StringPiece& str, std::string* out_error);
/frameworks/base/tools/aapt2/io/
DZipArchive.cpp81 const StringPiece& path, std::string* out_error) { in Create() argument
96 if (out_error) *out_error = ErrorCodeString(result); in Create()
103 if (out_error) *out_error = ErrorCodeString(result); in Create()
124 if (out_error) *out_error = ErrorCodeString(result); in Create()
/frameworks/base/tools/aapt2/util/
DFiles.cpp155 std::string* out_error) { in MmapPath() argument
159 if (out_error) *out_error = android::base::SystemErrorCodeToString(errno); in MmapPath()
167 if (out_error) *out_error = android::base::SystemErrorCodeToString(errno); in MmapPath()
178 if (out_error) *out_error = android::base::SystemErrorCodeToString(errno); in MmapPath()
185 std::string* out_error) { in AppendArgsFromFile() argument
188 if (out_error) { in AppendArgsFromFile()
189 *out_error = "failed to read argument-list file"; in AppendArgsFromFile()
DFiles.h90 Maybe<android::FileMap> MmapPath(const android::StringPiece& path, std::string* out_error);
96 std::string* out_error);
/frameworks/base/tools/aapt2/cmd/
DUtil.cpp194 static Maybe<std::string> ExtractCompiledString(xml::Attribute* attr, std::string* out_error) { in ExtractCompiledString() argument
201 *out_error = "compiled value is an empty string"; in ExtractCompiledString()
205 *out_error = "compiled value is not a string"; in ExtractCompiledString()
213 *out_error = "value is an empty string"; in ExtractCompiledString()
217 static Maybe<uint32_t> ExtractCompiledInt(xml::Attribute* attr, std::string* out_error) { in ExtractCompiledInt() argument
226 *out_error = "compiled value is not an integer"; in ExtractCompiledInt()
237 *out_error = error_msg.str(); in ExtractCompiledInt()
241 static Maybe<int> ExtractSdkVersion(xml::Attribute* attr, std::string* out_error) { in ExtractSdkVersion() argument
249 *out_error = "compiled value is not an integer or string"; in ExtractSdkVersion()
260 *out_error = "compiled string value is not a valid SDK version"; in ExtractSdkVersion()
[all …]
DCompile.cpp74 std::string* out_error) { in ExtractResourcePathData() argument
77 if (out_error) *out_error = "bad resource path"; in ExtractResourcePathData()
90 if (out_error) { in ExtractResourcePathData()
93 *out_error = err_str.str(); in ExtractResourcePathData()
DLink.cpp1047 std::string* out_error) { in LoadStaticLibrary() argument
1049 io::ZipFileCollection::Create(input, out_error); in LoadStaticLibrary()