Home
last modified time | relevance | path

Searched refs:TrimWhitespace (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceUtils.cpp160 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 …]
DResourceParser.cpp82 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 …]
/frameworks/base/tools/aapt2/java/
DAnnotationProcessor.cpp80 const StringPiece trimmed = util::TrimWhitespace(comment); in AppendCommentLine()
100 line = util::TrimWhitespace(line); in AppendComment()
DJavaClassGenerator.cpp181 << "<td>" << util::TrimWhitespace(symbol.symbol.GetComment()) in AddAttributeFormatDoc()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp73 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()
/frameworks/base/tools/aapt2/xml/
DXmlPullParser.cpp311 return StringPiece(util::TrimWhitespace(iter->value)); in FindAttribute()
320 StringPiece trimmed = util::TrimWhitespace(iter->value); in FindNonEmptyAttribute()
/frameworks/base/tools/aapt2/util/
DFiles.cpp255 line = util::TrimWhitespace(line); in AppendArgsFromFile()
274 line = util::TrimWhitespace(line); in AppendSetArgsFromFile()
DUtil_test.cpp31 const StringPiece trimmed = util::TrimWhitespace("\n "); in TEST()
DUtil.h72 android::StringPiece TrimWhitespace(const android::StringPiece& str);
DUtil.cpp109 StringPiece TrimWhitespace(const StringPiece& str) { in TrimWhitespace() function
/frameworks/base/tools/aapt2/compile/
DInlineXmlFormatParser.cpp141 if (!util::TrimWhitespace(t->text).empty()) { in Consume()
/frameworks/base/tools/aapt2/format/binary/
DXmlFlattener.cpp82 std::string text = util::TrimWhitespace(node->text).to_string(); in Visit()
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp323 line = util::TrimWhitespace(line); in ExtractConfig()
DLink.cpp689 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()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp696 if (options.remove_empty_text_nodes && util::TrimWhitespace(text_el->text).empty()) { in SerializeXmlToPb()