Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils.cpp160 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseReference() local
161 if (trimmed_str.empty()) { in ParseReference()
167 if (trimmed_str.data()[0] == '@') { in ParseReference()
169 if (trimmed_str.data()[1] == '+') { in ParseReference()
176 trimmed_str.substr(offset, trimmed_str.size() - offset), &name, in ParseReference()
210 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseAttributeReference() local
211 if (trimmed_str.empty()) { in ParseAttributeReference()
215 if (*trimmed_str.data() == '?') { in ParseAttributeReference()
219 if (!android::ExtractResourceName(trimmed_str.substr(1, trimmed_str.size() - 1), &package, in ParseAttributeReference()
305 StringPiece trimmed_str = util::TrimWhitespace(str); in ParseXmlAttributeName() local
[all …]