Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils.cpp155 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseReference() local
156 if (trimmed_str.empty()) { in ParseReference()
162 if (trimmed_str.data()[0] == '@') { in ParseReference()
164 if (trimmed_str.data()[1] == '+') { in ParseReference()
171 trimmed_str.substr(offset, trimmed_str.size() - offset), &name, in ParseReference()
205 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseAttributeReference() local
206 if (trimmed_str.empty()) { in ParseAttributeReference()
210 if (*trimmed_str.data() == '?') { in ParseAttributeReference()
214 if (!android::ExtractResourceName(trimmed_str.substr(1, trimmed_str.size() - 1), &package, in ParseAttributeReference()
299 StringPiece trimmed_str = util::TrimWhitespace(str); in ParseXmlAttributeName() local
[all …]