Home
last modified time | relevance | path

Searched refs:FX_XmlSyntaxResult (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/fxcrt/xml/
Dcfx_xmlsyntaxparser_unittest.cpp35 ASSERT_EQ(FX_XmlSyntaxResult::ElementOpen, parser.DoSyntaxParse()); in TEST()
36 ASSERT_EQ(FX_XmlSyntaxResult::TagName, parser.DoSyntaxParse()); in TEST()
39 ASSERT_EQ(FX_XmlSyntaxResult::AttriName, parser.DoSyntaxParse()); in TEST()
41 ASSERT_EQ(FX_XmlSyntaxResult::AttriValue, parser.DoSyntaxParse()); in TEST()
44 ASSERT_EQ(FX_XmlSyntaxResult::ElementBreak, parser.DoSyntaxParse()); in TEST()
45 ASSERT_EQ(FX_XmlSyntaxResult::Text, parser.DoSyntaxParse()); in TEST()
48 ASSERT_EQ(FX_XmlSyntaxResult::CData, parser.DoSyntaxParse()); in TEST()
51 ASSERT_EQ(FX_XmlSyntaxResult::Text, parser.DoSyntaxParse()); in TEST()
54 ASSERT_EQ(FX_XmlSyntaxResult::ElementClose, parser.DoSyntaxParse()); in TEST()
57 ASSERT_EQ(FX_XmlSyntaxResult::EndOfString, parser.DoSyntaxParse()); in TEST()
[all …]
Dcfx_xmlparser.cpp25 m_syntaxParserResult(FX_XmlSyntaxResult::None) { in CFX_XMLParser()
33 if (m_syntaxParserResult == FX_XmlSyntaxResult::Error) in DoParser()
35 if (m_syntaxParserResult == FX_XmlSyntaxResult::EndOfString) in DoParser()
42 case FX_XmlSyntaxResult::InstructionOpen: in DoParser()
44 case FX_XmlSyntaxResult::InstructionClose: in DoParser()
47 m_syntaxParserResult = FX_XmlSyntaxResult::Error; in DoParser()
53 case FX_XmlSyntaxResult::ElementOpen: in DoParser()
57 case FX_XmlSyntaxResult::ElementBreak: in DoParser()
59 case FX_XmlSyntaxResult::ElementClose: in DoParser()
61 m_syntaxParserResult = FX_XmlSyntaxResult::Error; in DoParser()
[all …]
Dcfx_xmlsyntaxparser.cpp95 m_syntaxParserResult(FX_XmlSyntaxResult::None), in CFX_XMLSyntaxParser()
112 m_syntaxParserResult = FX_XmlSyntaxResult::Error; in CFX_XMLSyntaxParser()
125 FX_XmlSyntaxResult CFX_XMLSyntaxParser::DoSyntaxParse() { in DoSyntaxParse()
126 if (m_syntaxParserResult == FX_XmlSyntaxResult::Error || in DoSyntaxParse()
127 m_syntaxParserResult == FX_XmlSyntaxResult::EndOfString) { in DoSyntaxParse()
134 FX_XmlSyntaxResult syntaxParserResult = FX_XmlSyntaxResult::None; in DoSyntaxParse()
138 m_syntaxParserResult = FX_XmlSyntaxResult::EndOfString; in DoSyntaxParse()
151 m_syntaxParserResult = FX_XmlSyntaxResult::EndOfString; in DoSyntaxParse()
170 syntaxParserResult = FX_XmlSyntaxResult::Text; in DoSyntaxParse()
194 syntaxParserResult = FX_XmlSyntaxResult::InstructionOpen; in DoSyntaxParse()
[all …]
Dcfx_xmlsyntaxparser.h19 enum class FX_XmlSyntaxResult { enum
45 FX_XmlSyntaxResult DoSyntaxParse();
122 FX_XmlSyntaxResult m_syntaxParserResult;
Dcfx_xmlparser.h43 FX_XmlSyntaxResult m_syntaxParserResult;