Home
last modified time | relevance | path

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

/external/skqp/src/xml/
DSkXMLParser.cpp68 : fParser(parser) in ParsingContext()
73 fParser->text(fBufferedText.c_str(), SkTo<int>(fBufferedText.size())); in flushText()
82 SkXMLParser* fParser; member
95 ctx->fParser->startElement(tag); in start_element_handler()
98 ctx->fParser->addAttribute(attributes[i], attributes[i + 1]); in start_element_handler()
106 ctx->fParser->endElement(tag); in end_element_handler()
132 SkXMLParser::SkXMLParser(SkXMLParserError* parserError) : fParser(nullptr), fError(parserError) in SkXMLParser()
DSkXMLWriter.cpp266 : SkXMLWriter(false), fParser(*parser) in SkXMLParserWriter()
277 fParser.addAttribute(name, str.c_str()); in onAddAttributeLen()
281 fParser.text(text, SkToInt(length)); in onAddText()
286 fParser.endElement(elem->fName.c_str()); in onEndElement()
293 fParser.startElement(str.c_str()); in onStartElementLen()
DSkDOM.cpp346 SkASSERT(!fParser); in beginParsing()
347 fParser.reset(new SkDOMParser(&fAlloc)); in beginParsing()
349 return fParser.get(); in beginParsing()
353 SkASSERT(fParser); in finishParsing()
354 fRoot = fParser->getRoot(); in finishParsing()
355 fParser.reset(); in finishParsing()
DSkXMLParser.h80 void* fParser; variable
DSkDOM.h90 std::unique_ptr<SkDOMParser> fParser; variable
DSkXMLWriter.h90 SkXMLParser& fParser;
/external/skia/src/xml/
DSkXMLParser.cpp68 : fParser(parser) in ParsingContext()
73 fParser->text(fBufferedText.c_str(), SkTo<int>(fBufferedText.size())); in flushText()
82 SkXMLParser* fParser; member
95 ctx->fParser->startElement(tag); in start_element_handler()
98 ctx->fParser->addAttribute(attributes[i], attributes[i + 1]); in start_element_handler()
106 ctx->fParser->endElement(tag); in end_element_handler()
132 SkXMLParser::SkXMLParser(SkXMLParserError* parserError) : fParser(nullptr), fError(parserError) in SkXMLParser()
DSkXMLWriter.cpp266 : SkXMLWriter(false), fParser(*parser) in SkXMLParserWriter()
277 fParser.addAttribute(name, str.c_str()); in onAddAttributeLen()
281 fParser.text(text, SkToInt(length)); in onAddText()
286 fParser.endElement(elem->fName.c_str()); in onEndElement()
293 fParser.startElement(str.c_str()); in onStartElementLen()
DSkDOM.cpp346 SkASSERT(!fParser); in beginParsing()
347 fParser.reset(new SkDOMParser(&fAlloc)); in beginParsing()
349 return fParser.get(); in beginParsing()
353 SkASSERT(fParser); in finishParsing()
354 fRoot = fParser->getRoot(); in finishParsing()
355 fParser.reset(); in finishParsing()
DSkXMLParser.h80 void* fParser; variable
DSkDOM.h90 std::unique_ptr<SkDOMParser> fParser; variable
DSkXMLWriter.h90 SkXMLParser& fParser;
/external/skia/tools/bookmaker/
DtextParser.h613 fParser = parser; in TextParserSave()
623 fParser->fFileName = fSave.fFileName; in restore()
624 fParser->fStart = fSave.fStart; in restore()
625 fParser->fLine = fSave.fLine; in restore()
626 fParser->fChar = fSave.fChar; in restore()
627 fParser->fEnd = fSave.fEnd; in restore()
628 fParser->fLineCount = fSave.fLineCount; in restore()
632 TextParser* fParser;
/external/skqp/tools/bookmaker/
DtextParser.h613 fParser = parser; in TextParserSave()
623 fParser->fFileName = fSave.fFileName; in restore()
624 fParser->fStart = fSave.fStart; in restore()
625 fParser->fLine = fSave.fLine; in restore()
626 fParser->fChar = fSave.fChar; in restore()
627 fParser->fEnd = fSave.fEnd; in restore()
628 fParser->fLineCount = fSave.fLineCount; in restore()
632 TextParser* fParser;
/external/skqp/src/ports/
DSkFontMgr_android_parser.cpp91 : fParser(parser) in FamilyData()
104 XML_Parser fParser; // The expat parser doing the work, owned by caller member
129 XML_GetCurrentLineNumber(self->fParser), XML_GetCurrentColumnNumber(self->fParser), \
578 XML_SetCharacterDataHandler(self->fParser, child->chars); in start_element_handler()
581 XML_SetCharacterDataHandler(self->fParser, nullptr); in start_element_handler()
600 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler()
606 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler()
622 XML_StopParser(self->fParser, XML_FALSE); in xml_entity_decl_handler()
/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
129 XML_GetCurrentLineNumber(self->fParser), XML_GetCurrentColumnNumber(self->fParser), \
578 XML_SetCharacterDataHandler(self->fParser, child->chars); in start_element_handler()
581 XML_SetCharacterDataHandler(self->fParser, nullptr); in start_element_handler()
600 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler()
606 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler()
622 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/skqp/src/sksl/
DSkSLParser.cpp60 : fParser(p) { in AutoDepth()
61 fParser->fDepth++; in AutoDepth()
65 fParser->fDepth--; in ~AutoDepth()
69 if (fParser->fDepth > MAX_PARSE_DEPTH) { in checkValid()
70 fParser->error(fParser->peek(), String("exceeded max parse depth")); in checkValid()
77 Parser* fParser; member in SkSL::AutoDepth
/external/skia/src/sksl/
DSkSLParser.cpp61 : fParser(p) { in AutoDepth()
62 fParser->fDepth++; in AutoDepth()
66 fParser->fDepth--; in ~AutoDepth()
70 if (fParser->fDepth > MAX_PARSE_DEPTH) { in checkValid()
71 fParser->error(fParser->peek(), String("exceeded max parse depth")); in checkValid()
78 Parser* fParser; member in SkSL::AutoDepth