Home
last modified time | relevance | path

Searched refs:fParser (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/xml/
DSkXMLParser.cpp66 : fParser(parser) in ParsingContext()
71 fParser->text(fBufferedText.c_str(), SkTo<int>(fBufferedText.size())); in flushText()
80 SkXMLParser* fParser; member
93 ctx->fParser->startElement(tag); in start_element_handler()
96 ctx->fParser->addAttribute(attributes[i], attributes[i + 1]); in start_element_handler()
104 ctx->fParser->endElement(tag); in end_element_handler()
130 SkXMLParser::SkXMLParser(SkXMLParserError* parserError) : fParser(nullptr), fError(parserError) in SkXMLParser()
DSkXMLWriter.cpp264 : SkXMLWriter(false), fParser(*parser) in SkXMLParserWriter()
275 fParser.addAttribute(name, str.c_str()); in onAddAttributeLen()
279 fParser.text(text, SkToInt(length)); in onAddText()
284 fParser.endElement(elem->fName.c_str()); in onEndElement()
291 fParser.startElement(str.c_str()); in onStartElementLen()
DSkDOM.cpp345 SkASSERT(!fParser); in beginParsing()
346 fParser.reset(new SkDOMParser(&fAlloc)); in beginParsing()
348 return fParser.get(); in beginParsing()
352 SkASSERT(fParser); in finishParsing()
353 fRoot = fParser->getRoot(); in finishParsing()
354 fParser.reset(); in finishParsing()
DSkXMLParser.h80 void* fParser; variable
DSkDOM.h89 std::unique_ptr<SkDOMParser> fParser; variable
DSkXMLWriter.h90 SkXMLParser& fParser;
/external/skia/src/ports/
DSkFontMgr_android_parser.cpp91 : fParser(parser) in FamilyData()
104 XML_Parser fParser; // The expat parser doing the work, owned by caller member
130 XML_GetCurrentLineNumber(self->fParser), \
131 XML_GetCurrentColumnNumber(self->fParser), \
544 XML_SetCharacterDataHandler(self->fParser, child->chars); in start_element_handler()
547 XML_SetCharacterDataHandler(self->fParser, nullptr); in start_element_handler()
566 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler()
572 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler()
588 XML_StopParser(self->fParser, XML_FALSE); in xml_entity_decl_handler()
/external/icu/icu4c/source/tools/toolutil/
Dxmlparser.h138 const UXMLParser *fParser; variable
Dxmlparser.cpp682 fParser(parser), in UXMLElement()
749 const UnicodeString *p=fParser->findName(name); in getAttribute()
805 const UnicodeString *p=fParser->findName(name); in getChildElement()
/external/skia/src/sksl/
DSkSLParser.cpp76 : fParser(p) { in AutoDepth()
77 fParser->fDepth++; in AutoDepth()
81 fParser->fDepth--; in ~AutoDepth()
85 if (fParser->fDepth > MAX_PARSE_DEPTH) { in checkValid()
86 fParser->error(fParser->peek().fPosition, String("exceeded max parse depth")); in checkValid()
93 Parser* fParser; member in SkSL::AutoDepth