Home
last modified time | relevance | path

Searched refs:spanStack (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/
DResourceParser.cpp491 std::vector<Span> spanStack; in flattenXmlSubtree() local
505 spanStack.back().lastChar = builder.str().size(); in flattenXmlSubtree()
506 outStyleString->spans.push_back(spanStack.back()); in flattenXmlSubtree()
507 spanStack.pop_back(); in flattenXmlSubtree()
546 spanStack.push_back(Span{ spanName, static_cast<uint32_t>(builder.str().size()) }); in flattenXmlSubtree()
558 assert(spanStack.empty() && "spans haven't been fully processed"); in flattenXmlSubtree()
/frameworks/base/tools/aapt/
DXMLNode.cpp213 Vector<StringPool::entry_style_span> spanStack; in parseStyledString() local
303 spanStack.push(span); in parseStyledString()
326 if (spanStack.size() == 0) { in parseStyledString()
336 StringPool::entry_style_span span = spanStack.top(); in parseStyledString()
359 spanStack.pop(); in parseStyledString()