Lines Matching refs:xml_parser
91 ResXMLParser* xml_parser, in GetXmlStyleBag() argument
93 if (xml_parser == nullptr) { in GetXmlStyleBag()
99 const ssize_t idx = xml_parser->indexOfStyle(); in GetXmlStyleBag()
100 if (idx < 0 || xml_parser->getAttributeValue(idx, &value) < 0) { in GetXmlStyleBag()
220 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser, in ApplyStyle() argument
226 def_style_attr, def_style_resid, xml_parser); in ApplyStyle()
241 const auto xml_style_bag = GetXmlStyleBag(theme, xml_parser, &def_style_theme_flags); in ApplyStyle()
248 XmlAttributeFinder xml_attr_finder(xml_parser); in ApplyStyle()
268 xml_parser->getAttributeValue(xml_attr_idx, &attribute_value); in ApplyStyle()
271 value_source_resid = xml_parser->getSourceResourceId(); in ApplyStyle()
353 ResXMLParser* xml_parser, in RetrieveAttributes() argument
362 const size_t xml_attr_count = xml_parser->getAttributeCount(); in RetrieveAttributes()
363 uint32_t cur_xml_attr = xml_parser->getAttributeNameResID(ix); in RetrieveAttributes()
374 cur_xml_attr = xml_parser->getAttributeNameResID(++ix); in RetrieveAttributes()
380 xml_parser->getAttributeValue(ix, &attribute_value); in RetrieveAttributes()
383 cur_xml_attr = xml_parser->getAttributeNameResID(++ix); in RetrieveAttributes()