Home
last modified time | relevance | path

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

12

/third_party/flutter/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.h92 std::unique_ptr<SkDOMParser> fParser;
DSkXMLWriter.h90 SkXMLParser& fParser;
/third_party/skia/src/xml/
DSkXMLParser.cpp70 : fParser(parser) in ParsingContext()
75 fParser->text(fBufferedText.data(), SkTo<int>(fBufferedText.size())); in flushText()
84 SkXMLParser* fParser; member
97 ctx->fParser->startElement(tag); in start_element_handler()
100 ctx->fParser->addAttribute(attributes[i], attributes[i + 1]); in start_element_handler()
108 ctx->fParser->endElement(tag); in end_element_handler()
134 SkXMLParser::SkXMLParser(SkXMLParserError* parserError) : fParser(nullptr), fError(parserError) in SkXMLParser()
DSkXMLWriter.cpp275 : SkXMLWriter(false), fParser(*parser) in SkXMLParserWriter()
286 fParser.addAttribute(name, str.c_str()); in onAddAttributeLen()
290 fParser.text(text, SkToInt(length)); in onAddText()
295 fParser.endElement(elem->fName.c_str()); in onEndElement()
302 fParser.startElement(str.c_str()); in onStartElementLen()
DSkDOM.cpp347 SkASSERT(!fParser); in beginParsing()
348 fParser = std::make_unique<SkDOMParser>(&fAlloc); in beginParsing()
350 return fParser.get(); in beginParsing()
354 SkASSERT(fParser); in finishParsing()
355 fRoot = fParser->getRoot(); in finishParsing()
356 fParser.reset(); in finishParsing()
DSkXMLParser.h80 void* fParser; variable
DSkDOM.h90 std::unique_ptr<SkDOMParser> fParser; variable
DSkXMLWriter.h98 SkXMLParser& fParser;
/third_party/skia/src/sksl/
DSkSLDSLParser.h267 Checkpoint(DSLParser* p) : fParser(p) { in Checkpoint()
268 fPushbackCheckpoint = fParser->fPushback; in Checkpoint()
269 fLexerCheckpoint = fParser->fLexer.getCheckpoint(); in Checkpoint()
271 fOldEncounteredFatalError = fParser->fEncounteredFatalError; in Checkpoint()
291 fParser->fPushback = fPushbackCheckpoint; in rewind()
292 fParser->fLexer.rewindToCheckpoint(fLexerCheckpoint); in rewind()
293 fParser->fEncounteredFatalError = fOldEncounteredFatalError; in rewind()
325 DSLParser* fParser; variable
/third_party/flutter/skia/src/ports/
DSkFontMgr_config_parser.cpp72 : fParser(parser) in FamilyData()
85 XML_Parser fParser; // The expat parser doing the work, owned by caller member
111 … XML_GetCurrentLineNumber(self->fParser), XML_GetCurrentColumnNumber(self->fParser), ##__VA_ARGS__)
427 XML_SetCharacterDataHandler(self->fParser, child->chars); in start_element_handler()
430 XML_SetCharacterDataHandler(self->fParser, nullptr); in start_element_handler()
450 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler()
456 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler()
472 XML_StopParser(self->fParser, XML_FALSE); in xml_entity_decl_handler()
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()
/third_party/flutter/skia/experimental/svg/model/
DSkSVGXMLDOM.cpp181 SkASSERT(!fParser); in beginParsing()
182 fParser.reset(new SkSVGDOMParser(&fAlloc)); in beginParsing()
184 return fParser.get(); in beginParsing()
DSkSVGXMLDOM.h33 std::unique_ptr<SkSVGDOMParser> fParser; variable
/third_party/skia/src/ports/
DSkFontMgr_android_parser.cpp93 : fParser(parser) in FamilyData()
106 XML_Parser fParser; // The expat parser doing the work, owned by caller member
132 (int)XML_GetCurrentLineNumber(self->fParser), \
133 (int)XML_GetCurrentColumnNumber(self->fParser), \
588 XML_SetCharacterDataHandler(self->fParser, child->chars); in start_element_handler()
591 XML_SetCharacterDataHandler(self->fParser, nullptr); in start_element_handler()
610 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler()
616 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler()
632 XML_StopParser(self->fParser, XML_FALSE); in xml_entity_decl_handler()
/third_party/node/deps/icu-small/source/tools/toolutil/
Dxmlparser.h138 const UXMLParser *fParser; variable
/third_party/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/flutter/skia/third_party/externals/icu/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()

12