Searched refs:TrimWhitespace (Results 1 – 15 of 15) sorted by relevance
160 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseReference()210 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseAttributeReference()305 StringPiece trimmed_str = util::TrimWhitespace(str); in ParseXmlAttributeName()352 const StringPiece trimmed_str(util::TrimWhitespace(str)); in TryParseNullOrEmpty()374 StringPiece trimmed_str(util::TrimWhitespace(str)); in TryParseEnumSymbol()395 if (util::TrimWhitespace(str).empty()) { in TryParseFlagSymbol()401 StringPiece trimmed_part = util::TrimWhitespace(part); in TryParseFlagSymbol()437 StringPiece color_str(util::TrimWhitespace(str)); in TryParseColor()492 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseBool()512 StringPiece trimmed_str(util::TrimWhitespace(str)); in ParseResourceId()[all …]
82 StringPiece trimmed_part = util::TrimWhitespace(part); in ParseFormatAttribute()111 StringPiece trimmed_comment = util::TrimWhitespace(res->comment); in AddResourcesToTable()424 if (!util::TrimWhitespace(parser->text()).empty()) { in ParseResources()773 if (util::TrimWhitespace(raw_value).empty()) { in ParseXml()780 table_->string_pool.MakeRef(util::TrimWhitespace(raw_value), in ParseXml()942 comment = util::TrimWhitespace(parser->comment()).to_string(); in ParsePublicGroup()1158 StringPiece trimmed_part = util::TrimWhitespace(part); in ParseOverlayable()1229 StringPiece min_str = util::TrimWhitespace(maybe_min_str.value()); in ParseAttrImpl()1246 StringPiece max_str = util::TrimWhitespace(maybe_max_str.value()); in ParseAttrImpl()1282 comment = util::TrimWhitespace(parser->comment()).to_string(); in ParseAttrImpl()[all …]
80 const StringPiece trimmed = util::TrimWhitespace(comment); in AppendCommentLine()100 line = util::TrimWhitespace(line); in AppendComment()
181 << "<td>" << util::TrimWhitespace(symbol.symbol.GetComment()) in AddAttributeFormatDoc()
73 using ::aapt::util::TrimWhitespace;525 config->artifact_format = TrimWhitespace(t->text).to_string(); in ArtifactFormatTagHandler()567 auto abi = kStringToAbiMap.find(TrimWhitespace(t->text).to_string()); in AbiGroupTagHandler()629 const android::StringPiece& text = TrimWhitespace(t->text); in ScreenDensityGroupTagHandler()696 const android::StringPiece& text = TrimWhitespace(t->text); in LocaleGroupTagHandler()811 result.texture_paths.push_back(TrimWhitespace(t->text).to_string()); in GlTextureGroupTagHandler()848 group.push_back(TrimWhitespace(t->text).to_string()); in DeviceFeatureGroupTagHandler()
311 return StringPiece(util::TrimWhitespace(iter->value)); in FindAttribute()320 StringPiece trimmed = util::TrimWhitespace(iter->value); in FindNonEmptyAttribute()
255 line = util::TrimWhitespace(line); in AppendArgsFromFile()274 line = util::TrimWhitespace(line); in AppendSetArgsFromFile()
31 const StringPiece trimmed = util::TrimWhitespace("\n "); in TEST()
72 android::StringPiece TrimWhitespace(const android::StringPiece& str);
109 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()
323 line = util::TrimWhitespace(line); in ExtractConfig()
689 line = util::TrimWhitespace(line); in LoadStableIdMap()702 util::TrimWhitespace(line.substr(0, std::distance(line.begin(), iter))); in LoadStableIdMap()711 StringPiece res_id_str = util::TrimWhitespace(line.substr(res_id_start_idx, res_id_str_len)); in LoadStableIdMap()
696 if (options.remove_empty_text_nodes && util::TrimWhitespace(text_el->text).empty()) { in SerializeXmlToPb()