Searched refs:TrimWhitespace (Results 1 – 16 of 16) sorted by relevance
155 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseReference()205 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseAttributeReference()299 StringPiece trimmed_str = util::TrimWhitespace(str); in ParseXmlAttributeName()346 const StringPiece trimmed_str(util::TrimWhitespace(str)); in TryParseNullOrEmpty()367 StringPiece trimmed_str(util::TrimWhitespace(str)); in TryParseEnumSymbol()387 if (util::TrimWhitespace(str).empty()) { in TryParseFlagSymbol()393 StringPiece trimmed_part = util::TrimWhitespace(part); in TryParseFlagSymbol()429 StringPiece color_str(util::TrimWhitespace(str)); in TryParseColor()484 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseBool()504 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseResourceId()[all …]
90 StringPiece trimmed_part = util::TrimWhitespace(part); in ParseFormatAttribute()122 StringPiece trimmed_comment = util::TrimWhitespace(res->comment); in AddResourcesToTable()437 if (!util::TrimWhitespace(parser->text()).empty()) { in ParseResources()825 util::TrimWhitespace(xmlsub_tree.raw_value), android::StringPool::Context(config))); in ParseXml()826 } else if (util::TrimWhitespace(xmlsub_tree.raw_value).empty()) { in ParseXml()1008 comment = std::string(util::TrimWhitespace(parser->comment())); in ParseGroupImpl()1250 StringPiece trimmed_part = util::TrimWhitespace(part); in ParseOverlayable()1327 StringPiece min_str = util::TrimWhitespace(maybe_min_str.value()); in ParseAttrImpl()1344 StringPiece max_str = util::TrimWhitespace(maybe_max_str.value()); in ParseAttrImpl()1380 comment = std::string(util::TrimWhitespace(parser->comment())); in ParseAttrImpl()[all …]
255 line = util::TrimWhitespace(line); in AppendArgsFromFile()257 arg = util::TrimWhitespace(arg); in AppendArgsFromFile()277 line = util::TrimWhitespace(line); in AppendSetArgsFromFile()279 arg = util::TrimWhitespace(arg); in AppendSetArgsFromFile()
70 android::StringPiece TrimWhitespace(android::StringPiece str);
42 const StringPiece trimmed = util::TrimWhitespace("\n "); in TEST()
114 StringPiece TrimWhitespace(StringPiece str) { in TrimWhitespace() function
97 const StringPiece trimmed = util::TrimWhitespace(comment); in AppendCommentLine()117 line = util::TrimWhitespace(line); in AppendComment()
181 << "<td>" << util::TrimWhitespace(symbol.symbol.GetComment()) in AddAttributeFormatDoc()
71 using ::aapt::util::TrimWhitespace;522 config->artifact_format.emplace(TrimWhitespace(t->text)); in ArtifactFormatTagHandler()564 auto abi = kStringToAbiMap.find(TrimWhitespace(t->text)); in AbiGroupTagHandler()625 android::StringPiece text = TrimWhitespace(t->text); in ScreenDensityGroupTagHandler()691 android::StringPiece text = TrimWhitespace(t->text); in LocaleGroupTagHandler()809 result.texture_paths.emplace_back(TrimWhitespace(t->text)); in GlTextureGroupTagHandler()846 group.emplace_back(TrimWhitespace(t->text)); in DeviceFeatureGroupTagHandler()
60 std::string_view flag_name = util::TrimWhitespace(attr->value); in ShouldRemove()
312 return StringPiece(util::TrimWhitespace(iter->value)); in FindAttribute()320 StringPiece trimmed = util::TrimWhitespace(iter->value); in FindNonEmptyAttribute()
135 StringPiece flag_name = util::TrimWhitespace(parts[0]); in ParseFeatureFlagsParameter()143 StringPiece str_flag_value = util::TrimWhitespace(parts[1]); in ParseFeatureFlagsParameter()504 line = util::TrimWhitespace(line); in ParseResourceConfig()
726 line = util::TrimWhitespace(line); in LoadStableIdMap()739 util::TrimWhitespace(line.substr(0, std::distance(line.begin(), iter))); in LoadStableIdMap()748 StringPiece res_id_str = util::TrimWhitespace(line.substr(res_id_start_idx, res_id_str_len)); in LoadStableIdMap()
141 if (!util::TrimWhitespace(t->text).empty()) { in Consume()
82 std::string text(util::TrimWhitespace(node->text)); in Visit()
787 if (options.remove_empty_text_nodes && util::TrimWhitespace(text_el->text).empty()) { in SerializeXmlToPb()