Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp157 std::string err_str; in TEST() local
158 Maybe<Reference> ref = ResourceUtils::ParseStyleParentReference("@android:style/foo", &err_str); in TEST()
162 ref = ResourceUtils::ParseStyleParentReference("@style/foo", &err_str); in TEST()
166 ref = ResourceUtils::ParseStyleParentReference("?android:style/foo", &err_str); in TEST()
170 ref = ResourceUtils::ParseStyleParentReference("?style/foo", &err_str); in TEST()
174 ref = ResourceUtils::ParseStyleParentReference("android:style/foo", &err_str); in TEST()
178 ref = ResourceUtils::ParseStyleParentReference("android:foo", &err_str); in TEST()
182 ref = ResourceUtils::ParseStyleParentReference("@android:foo", &err_str); in TEST()
186 ref = ResourceUtils::ParseStyleParentReference("foo", &err_str); in TEST()
190 ref = ResourceUtils::ParseStyleParentReference("*android:style/foo", &err_str); in TEST()
DResourceParser.cpp1428 std::string err_str; in ParseStyle() local
1429 style->parent = ResourceUtils::ParseStyleParentReference(maybe_parent.value(), &err_str); in ParseStyle()
1431 diag_->Error(DiagMessage(out_resource->source) << err_str); in ParseStyle()
/frameworks/base/tools/aapt2/link/
DReferenceLinker.cpp76 std::string err_str; in Visit() local
86 transformed_reference, callsite_, context_, symbols_, &err_str); in Visit()
116 msg << "' " << err_str; in Visit()
363 std::string err_str; in LinkReference() local
365 ResolveSymbolCheckVisibility(transformed_reference, callsite, context, symbols, &err_str); in LinkReference()
378 error_msg << " " << err_str; in LinkReference()
DXmlReferenceLinker.cpp109 std::string err_str; in Visit() local
111 ReferenceLinker::CompileXmlAttribute(attr_ref, callsite_, context_, symbols_, &err_str); in Visit()
117 error_msg << " " << err_str; in Visit()
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp96 std::stringstream err_str; in ExtractResourcePathData() local
97 err_str << "invalid configuration '" << config_str << "'"; in ExtractResourcePathData()
98 *out_error = err_str.str(); in ExtractResourcePathData()
668 std::string err_str; in Compile() local
670 if (auto maybe_path_data = ExtractResourcePathData(path, inputs->GetDirSeparator(), &err_str)) { in Compile()
673 context->GetDiagnostics()->Error(DiagMessage(file->GetSource()) << err_str); in Compile()