Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/
DResourceUtils.cpp95 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseReference() local
96 if (trimmedStr.empty()) { in tryParseReference()
102 if (trimmedStr.data()[0] == u'@') { in tryParseReference()
104 if (trimmedStr.data()[1] == u'+') { in tryParseReference()
110 if (!parseResourceName(trimmedStr.substr(offset, trimmedStr.size() - offset), in tryParseReference()
144 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseAttributeReference() local
145 if (trimmedStr.empty()) { in tryParseAttributeReference()
149 if (*trimmedStr.data() == u'?') { in tryParseAttributeReference()
153 if (!extractResourceName(trimmedStr.substr(1, trimmedStr.size() - 1), in tryParseAttributeReference()
256 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseNullOrEmpty() local
[all …]