Home
last modified time | relevance | path

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

/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()
DSkDOM.cpp207 SkASSERT(!fParser); in beginParsing()
208 fParser = std::make_unique<SkDOMParser>(&fAlloc); in beginParsing()
210 return fParser.get(); in beginParsing()
214 SkASSERT(fParser); in finishParsing()
215 fRoot = fParser->getRoot(); in finishParsing()
216 fParser.reset(); in finishParsing()
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()
DSkXMLParser.h80 void* fParser; variable
DSkXMLWriter.h98 SkXMLParser& fParser;
DSkDOM.h110 std::unique_ptr<SkDOMParser> fParser; variable
/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
DSkSLDSLParser.cpp47 : fParser(p) in AutoDSLDepth()
51 fParser->fDepth -= fDepth; in ~AutoDSLDepth()
56 ++fParser->fDepth; in increase()
57 if (fParser->fDepth > kMaxParseDepth) { in increase()
58 fParser->error(fParser->peek(), String("exceeded max parse depth")); in increase()
65 DSLParser* fParser; member in SkSL::AutoDSLDepth
/third_party/skia/src/ports/
DSkFontMgr_config_parser.cpp73 : fParser(parser) in FamilyData()
86 XML_Parser fParser; // The expat parser doing the work, owned by caller member
112 … XML_GetCurrentLineNumber(self->fParser), XML_GetCurrentColumnNumber(self->fParser), ##__VA_ARGS__)
428 XML_SetCharacterDataHandler(self->fParser, child->chars); in start_element_handler()
431 XML_SetCharacterDataHandler(self->fParser, nullptr); in start_element_handler()
451 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler()
457 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler()
473 XML_StopParser(self->fParser, XML_FALSE); in xml_entity_decl_handler()
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/skia/modules/svg/src/
DSkSVGXMLDOM.cpp184 SkASSERT(!fParser); in beginParsing()
185 fParser = std::make_unique<SkSVGDOMParser>(&fAlloc); in beginParsing()
187 return fParser.get(); in beginParsing()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Dxmlparser.cpp682 fParser(parser), in UXMLElement()
749 const UnicodeString *p=fParser->findName(name); in getAttribute()
805 const UnicodeString *p=fParser->findName(name); in getChildElement()
Dxmlparser.h138 const UXMLParser *fParser; variable
/third_party/node/deps/icu-small/source/tools/toolutil/
Dxmlparser.cpp682 fParser(parser), in UXMLElement()
749 const UnicodeString *p=fParser->findName(name); in getAttribute()
805 const UnicodeString *p=fParser->findName(name); in getChildElement()
Dxmlparser.h138 const UXMLParser *fParser; variable
/third_party/icu/icu4c/source/tools/toolutil/
Dxmlparser.cpp682 fParser(parser), in UXMLElement()
749 const UnicodeString *p=fParser->findName(name); in getAttribute()
805 const UnicodeString *p=fParser->findName(name); in getChildElement()
Dxmlparser.h138 const UXMLParser *fParser; variable