Lines Matching refs:trimmedStr
49 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseReference() local
50 if (trimmedStr.empty()) { in tryParseReference()
54 if (trimmedStr.data()[0] == u'@') { in tryParseReference()
57 if (trimmedStr.data()[1] == u'+') { in tryParseReference()
60 } else if (trimmedStr.data()[1] == u'*') { in tryParseReference()
67 extractResourceName(trimmedStr.substr(offset, trimmedStr.size() - offset), in tryParseReference()
89 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseAttributeReference() local
90 if (trimmedStr.empty()) { in tryParseAttributeReference()
94 if (*trimmedStr.data() == u'?') { in tryParseAttributeReference()
98 extractResourceName(trimmedStr.substr(1, trimmedStr.size() - 1), &package, &type, &entry); in tryParseAttributeReference()
195 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseNullOrEmpty() local
197 if (trimmedStr == u"@null") { in tryParseNullOrEmpty()
201 } else if (trimmedStr == u"@empty") { in tryParseNullOrEmpty()
213 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseEnumSymbol() local
218 if (trimmedStr == enumSymbolResourceName.entry) { in tryParseEnumSymbol()
323 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseBool() local
325 if (trimmedStr == u"true" || trimmedStr == u"TRUE") { in tryParseBool()
327 } else if (trimmedStr != u"false" && trimmedStr != u"FALSE") { in tryParseBool()