/external/skia/src/sksl/ |
D | SkSLParser.h | 280 Checkpoint(Parser* p) : fParser(p) { in Checkpoint() 281 fPushbackCheckpoint = fParser->fPushback; in Checkpoint() 282 fLexerCheckpoint = fParser->fLexer.getCheckpoint(); in Checkpoint() 283 fASTCheckpoint = fParser->fFile->fNodes.size(); in Checkpoint() 284 fErrorCount = fParser->fErrors.errorCount(); in Checkpoint() 288 fParser->fPushback = fPushbackCheckpoint; in rewind() 289 fParser->fLexer.rewindToCheckpoint(fLexerCheckpoint); in rewind() 290 fParser->fFile->fNodes.resize(fASTCheckpoint); in rewind() 291 fParser->fErrors.setErrorCount(fErrorCount); in rewind() 295 Parser* fParser;
|
D | SkSLParser.cpp | 62 : fParser(p) in AutoDepth() 66 fParser->fDepth -= fDepth; in ~AutoDepth() 71 ++fParser->fDepth; in increase() 72 if (fParser->fDepth > kMaxParseDepth) { in increase() 73 fParser->error(fParser->peek(), String("exceeded max parse depth")); in increase() 80 Parser* fParser; member in SkSL::AutoDepth
|
/external/skqp/src/xml/ |
D | SkXMLParser.cpp | 68 : 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()
|
D | SkXMLWriter.cpp | 266 : 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()
|
D | SkDOM.cpp | 346 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()
|
D | SkXMLParser.h | 80 void* fParser; variable
|
D | SkDOM.h | 90 std::unique_ptr<SkDOMParser> fParser; variable
|
D | SkXMLWriter.h | 90 SkXMLParser& fParser;
|
/external/skia/src/xml/ |
D | SkXMLParser.cpp | 70 : 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()
|
D | SkXMLWriter.cpp | 275 : 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()
|
D | SkDOM.cpp | 347 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()
|
D | SkXMLParser.h | 80 void* fParser; variable
|
D | SkDOM.h | 90 std::unique_ptr<SkDOMParser> fParser; variable
|
D | SkXMLWriter.h | 98 SkXMLParser& fParser;
|
/external/skqp/tools/bookmaker/ |
D | textParser.h | 613 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/ |
D | SkFontMgr_android_parser.cpp | 91 : 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/ |
D | SkFontMgr_android_parser.cpp | 93 : fParser(parser) in FamilyData() 106 XML_Parser fParser; // The expat parser doing the work, owned by caller member 131 XML_GetCurrentLineNumber(self->fParser), XML_GetCurrentColumnNumber(self->fParser), \ 580 XML_SetCharacterDataHandler(self->fParser, child->chars); in start_element_handler() 583 XML_SetCharacterDataHandler(self->fParser, nullptr); in start_element_handler() 602 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler() 608 XML_SetCharacterDataHandler(self->fParser, parent->chars); in end_element_handler() 624 XML_StopParser(self->fParser, XML_FALSE); in xml_entity_decl_handler()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | xmlparser.h | 138 const UXMLParser *fParser; variable
|
D | xmlparser.cpp | 682 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/ |
D | SkSLParser.cpp | 60 : 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
|