Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/java/
DAnnotationProcessor.cpp38 if (util::trimWhitespace(comment).empty()) { in appendCommentLine()
53 line = util::trimWhitespace(line); in appendComment()
63 line = util::trimWhitespace(line); in appendComment()
DJavaClassGenerator.cpp170 << "<td>" << util::trimWhitespace(symbol.symbol.getComment()) << "</td></tr>"; in addAttributeFormatDoc()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp95 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseReference()
144 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseAttributeReference()
256 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseNullOrEmpty()
274 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseEnumSymbol()
295 if (util::trimWhitespace(str).empty()) { in tryParseFlagSymbol()
301 StringPiece16 trimmedPart = util::trimWhitespace(part); in tryParseFlagSymbol()
336 StringPiece16 colorStr(util::trimWhitespace(str)); in tryParseColor()
390 StringPiece16 trimmedStr(util::trimWhitespace(str)); in tryParseBool()
DResourceParser.cpp57 StringPiece16 trimmedPart = util::trimWhitespace(part); in parseFormatAttribute()
84 StringPiece16 trimmedComment = util::trimWhitespace(res->comment); in addResourcesToTable()
249 if (!util::trimWhitespace(parser->getText()).empty()) { in parseResources()
651 comment = util::trimWhitespace(parser->getComment()).toString(); in parsePublicGroup()
767 StringPiece16 minStr = util::trimWhitespace(maybeMinStr.value()); in parseAttrImpl()
783 StringPiece16 maxStr = util::trimWhitespace(maybeMaxStr.value()); in parseAttrImpl()
817 comment = util::trimWhitespace(parser->getComment()).toString(); in parseAttrImpl()
927 str = util::trimWhitespace(str); in parseXmlAttributeName()
1122 StringPiece16 trimmedQuantity = util::trimWhitespace(maybeQuantity.value()); in parsePlural()
1194 comment = util::trimWhitespace(parser->getComment()).toString(); in parseDeclareStyleable()
/frameworks/base/tools/aapt2/xml/
DXmlPullParser.cpp291 return StringPiece16(util::trimWhitespace(iter->value)); in findAttribute()
299 StringPiece16 trimmed = util::trimWhitespace(iter->value); in findNonEmptyAttribute()
/frameworks/base/core/java/android/net/
DUrlQuerySanitizer.java320 value = trimWhitespace(value); in sanitize()
350 private String trimWhitespace(String value) { in trimWhitespace() method in UrlQuerySanitizer.IllegalCharacterValueSanitizer
/frameworks/base/tools/aapt2/util/
DUtil.h63 StringPiece16 trimWhitespace(const StringPiece16& str);
65 StringPiece trimWhitespace(const StringPiece& str);
DUtil.cpp57 StringPiece16 trimWhitespace(const StringPiece16& str) { in trimWhitespace() function
76 StringPiece trimWhitespace(const StringPiece& str) { in trimWhitespace() function
DFiles.cpp203 line = util::trimWhitespace(line); in appendArgsFromFile()
DUtil_test.cpp29 StringPiece16 trimmed = util::trimWhitespace(full); in TEST()
/frameworks/base/tools/aapt2/flatten/
DXmlFlattener.cpp95 if (util::trimWhitespace(node->text).empty()) { in visit()