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.cpp1522 std::string err_str; in ParseStyle() local
1523 style->parent = ResourceUtils::ParseStyleParentReference(maybe_parent.value(), &err_str); in ParseStyle()
1525 diag_->Error(DiagMessage(out_resource->source) << err_str); in ParseStyle()
/frameworks/base/tools/aapt2/link/
DXmlReferenceLinker.cpp78 std::string err_str; in Visit() local
80 ReferenceLinker::CompileXmlAttribute(attr_ref, callsite_, context_, symbols_, &err_str); in Visit()
86 error_msg << " " << err_str; in Visit()
DReferenceLinker.cpp106 std::string err_str; in TransformDerived() local
116 transformed_reference, callsite_, context_, symbols_, &err_str); in TransformDerived()
145 << "' " << err_str); in TransformDerived()
438 std::string err_str; in LinkReference() local
440 ResolveSymbolCheckVisibility(transformed_reference, callsite, context, symbols, &err_str); in LinkReference()
454 << " " << err_str); in LinkReference()
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp98 std::stringstream err_str; in ExtractResourcePathData() local
99 err_str << "invalid configuration '" << config_str << "'"; in ExtractResourcePathData()
100 *out_error = err_str.str(); in ExtractResourcePathData()
663 std::string err_str; in Compile() local
666 path, inputs->GetDirSeparator(), &err_str, options)) { in Compile()
669 context->GetDiagnostics()->Error(DiagMessage(file->GetSource()) << err_str); in Compile()