Searched refs:TrimWhitespace (Results 1 – 15 of 15) sorted by relevance
158 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseReference()208 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseAttributeReference()302 StringPiece trimmed_str = util::TrimWhitespace(str); in ParseXmlAttributeName()350 const StringPiece trimmed_str(util::TrimWhitespace(str)); in TryParseNullOrEmpty()372 StringPiece trimmed_str(util::TrimWhitespace(str)); in TryParseEnumSymbol()393 if (util::TrimWhitespace(str).empty()) { in TryParseFlagSymbol()399 StringPiece trimmed_part = util::TrimWhitespace(part); in TryParseFlagSymbol()435 StringPiece color_str(util::TrimWhitespace(str)); in TryParseColor()490 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseBool()510 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseResourceId()[all …]
90 StringPiece trimmed_part = util::TrimWhitespace(part); in ParseFormatAttribute()121 StringPiece trimmed_comment = util::TrimWhitespace(res->comment); in AddResourcesToTable()439 if (!util::TrimWhitespace(parser->text()).empty()) { in ParseResources()829 util::TrimWhitespace(xmlsub_tree.raw_value), StringPool::Context(config))); in ParseXml()830 } else if (util::TrimWhitespace(xmlsub_tree.raw_value).empty()) { in ParseXml()1011 comment = util::TrimWhitespace(parser->comment()).to_string(); in ParseGroupImpl()1252 StringPiece trimmed_part = util::TrimWhitespace(part); in ParseOverlayable()1328 StringPiece min_str = util::TrimWhitespace(maybe_min_str.value()); in ParseAttrImpl()1345 StringPiece max_str = util::TrimWhitespace(maybe_max_str.value()); in ParseAttrImpl()1381 comment = util::TrimWhitespace(parser->comment()).to_string(); in ParseAttrImpl()[all …]
93 const StringPiece trimmed = util::TrimWhitespace(comment); in AppendCommentLine()113 line = util::TrimWhitespace(line); in AppendComment()
181 << "<td>" << util::TrimWhitespace(symbol.symbol.GetComment()) in AddAttributeFormatDoc()
72 using ::aapt::util::TrimWhitespace;527 config->artifact_format = TrimWhitespace(t->text).to_string(); in ArtifactFormatTagHandler()569 auto abi = kStringToAbiMap.find(TrimWhitespace(t->text).to_string()); in AbiGroupTagHandler()631 const android::StringPiece& text = TrimWhitespace(t->text); in ScreenDensityGroupTagHandler()698 const android::StringPiece& text = TrimWhitespace(t->text); in LocaleGroupTagHandler()813 result.texture_paths.push_back(TrimWhitespace(t->text).to_string()); in GlTextureGroupTagHandler()850 group.push_back(TrimWhitespace(t->text).to_string()); in DeviceFeatureGroupTagHandler()
313 return StringPiece(util::TrimWhitespace(iter->value)); in FindAttribute()322 StringPiece trimmed = util::TrimWhitespace(iter->value); in FindNonEmptyAttribute()
255 line = util::TrimWhitespace(line); in AppendArgsFromFile()274 line = util::TrimWhitespace(line); in AppendSetArgsFromFile()
42 const StringPiece trimmed = util::TrimWhitespace("\n "); in TEST()
71 android::StringPiece TrimWhitespace(const android::StringPiece& str);
113 StringPiece TrimWhitespace(const StringPiece& str) { in TrimWhitespace() function
141 if (!util::TrimWhitespace(t->text).empty()) { in Consume()
82 std::string text = util::TrimWhitespace(node->text).to_string(); in Visit()
307 line = util::TrimWhitespace(line); in ParseConfig()
720 line = util::TrimWhitespace(line); in LoadStableIdMap()733 util::TrimWhitespace(line.substr(0, std::distance(line.begin(), iter))); in LoadStableIdMap()742 StringPiece res_id_str = util::TrimWhitespace(line.substr(res_id_start_idx, res_id_str_len)); in LoadStableIdMap()
776 if (options.remove_empty_text_nodes && util::TrimWhitespace(text_el->text).empty()) { in SerializeXmlToPb()