Home
last modified time | relevance | path

Searched refs:err_str (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/tools/aapt2/
H A DResourceUtils_test.cpp157 std::string err_str; in TEST() local
159 ResourceUtils::ParseStyleParentReference("@android:style/foo", &err_str); in TEST()
163 ref = ResourceUtils::ParseStyleParentReference("@style/foo", &err_str); in TEST()
167 ref = ResourceUtils::ParseStyleParentReference("?android:style/foo", &err_str); in TEST()
171 ref = ResourceUtils::ParseStyleParentReference("?style/foo", &err_str); in TEST()
175 ref = ResourceUtils::ParseStyleParentReference("android:style/foo", &err_str); in TEST()
179 ref = ResourceUtils::ParseStyleParentReference("android:foo", &err_str); in TEST()
183 ref = ResourceUtils::ParseStyleParentReference("@android:foo", &err_str); in TEST()
187 ref = ResourceUtils::ParseStyleParentReference("foo", &err_str); in TEST()
191 ref = ResourceUtils::ParseStyleParentReference("*android:style/foo", &err_str); in TEST()
H A DResourceParser.cpp1530 std::string err_str; in ParseStyle() local
1531 style->parent = ResourceUtils::ParseStyleParentReference(maybe_parent.value(), &err_str); in ParseStyle()
1533 diag_->Error(android::DiagMessage(out_resource->source) << err_str); in ParseStyle()
/aosp14/frameworks/base/tools/aapt2/link/
H A DXmlReferenceLinker.cpp76 std::string err_str; in Visit() local
78 ReferenceLinker::CompileXmlAttribute(attr_ref, callsite_, context_, symbols_, &err_str); in Visit()
84 error_msg << " " << err_str; in Visit()
H A DReferenceLinker.cpp105 std::string err_str; in TransformDerived() local
115 transformed_reference, callsite_, context_, symbols_, &err_str); in TransformDerived()
144 << "' " << err_str); in TransformDerived()
437 std::string err_str; in LinkReference() local
439 ResolveSymbolCheckVisibility(transformed_reference, callsite, context, symbols, &err_str); in LinkReference()
453 << " " << err_str); in LinkReference()
/aosp14/system/core/fastboot/fuzzy_fastboot/
H A Dextensions.cpp54 static std::string err_str; in MakeRegex() local
55 err_str = android::base::StringPrintf("'%s' is not a valid regex string (line %d)\n", in MakeRegex()
58 int nbytes = write(fileno(stderr), err_str.c_str(), err_str.length()); in MakeRegex()
/aosp14/frameworks/base/tools/aapt2/cmd/
H A DCompile.cpp97 std::stringstream err_str; in ExtractResourcePathData() local
98 err_str << "invalid configuration '" << config_str << "'"; in ExtractResourcePathData()
99 *out_error = err_str.str(); in ExtractResourcePathData()
668 std::string err_str; in Compile() local
671 path, inputs->GetDirSeparator(), &err_str, options)) { in Compile()
674 context->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) << err_str); in Compile()