/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_document_parser.h | 18 class CFX_XMLNode; variable 32 CFX_XMLNode* ParseXMLData(const ByteString& wsXML); 33 void ConstructXFANode(CXFA_Node* pXFANode, CFX_XMLNode* pXMLNode); 42 CXFA_Node* ParseAsXDPPacket(CFX_XMLNode* pXMLDocumentNode, 44 CXFA_Node* ParseAsXDPPacket_XDP(CFX_XMLNode* pXMLDocumentNode); 45 CXFA_Node* ParseAsXDPPacket_Config(CFX_XMLNode* pXMLDocumentNode); 46 CXFA_Node* ParseAsXDPPacket_Template(CFX_XMLNode* pXMLDocumentNode); 47 CXFA_Node* ParseAsXDPPacket_Form(CFX_XMLNode* pXMLDocumentNode); 48 CXFA_Node* ParseAsXDPPacket_Data(CFX_XMLNode* pXMLDocumentNode); 50 CFX_XMLNode* pXMLDocumentNode, [all …]
|
D | cxfa_document_parser.cpp | 37 CFX_XMLNode* GetDocumentNode(CFX_XMLNode* pRootNode) { in GetDocumentNode() 38 for (CFX_XMLNode* pXMLNode = pRootNode->GetFirstChild(); pXMLNode; in GetDocumentNode() 40 if (pXMLNode->GetType() == CFX_XMLNode::Type::kElement) in GetDocumentNode() 46 bool MatchNodeName(CFX_XMLNode* pNode, in MatchNodeName() 129 CFX_XMLNode* GetDataSetsFromXDP(CFX_XMLNode* pXMLDocumentNode) { in GetDataSetsFromXDP() 141 for (CFX_XMLNode* pDatasetsNode = pXMLDocumentNode->GetFirstChild(); in GetDataSetsFromXDP() 157 for (CFX_XMLNode* pXMLChild = pRootXMLNode->GetFirstChild(); pXMLChild; in ConvertXMLToPlainText() 160 case CFX_XMLNode::Type::kElement: { in ConvertXMLToPlainText() 166 case CFX_XMLNode::Type::kText: in ConvertXMLToPlainText() 167 case CFX_XMLNode::Type::kCharData: { in ConvertXMLToPlainText() [all …]
|
/external/pdfium/core/fxcrt/xml/ |
D | cfx_xmlnode.cpp | 9 CFX_XMLNode::CFX_XMLNode() = default; 11 CFX_XMLNode::~CFX_XMLNode() = default; 13 void CFX_XMLNode::InsertChildNode(CFX_XMLNode* pNode, int32_t index) { in InsertChildNode() 17 CFX_XMLNode* CFX_XMLNode::GetRoot() { in GetRoot() 18 CFX_XMLNode* pParent = this; in GetRoot() 25 WideString CFX_XMLNode::EncodeEntities(const WideString& value) { in EncodeEntities()
|
D | cfx_xmltext.h | 15 class CFX_XMLText : public CFX_XMLNode { 22 CFX_XMLNode* Clone(CFX_XMLDocument* doc) override; 32 inline bool IsXMLText(const CFX_XMLNode* pNode) { in IsXMLText() 33 CFX_XMLNode::Type type = pNode->GetType(); in IsXMLText() 34 return type == CFX_XMLNode::Type::kText || in IsXMLText() 35 type == CFX_XMLNode::Type::kCharData; in IsXMLText() 38 inline CFX_XMLText* ToXMLText(CFX_XMLNode* pNode) { in ToXMLText() 42 inline const CFX_XMLText* ToXMLText(const CFX_XMLNode* pNode) { in ToXMLText()
|
D | cfx_xmlnode.h | 17 class CFX_XMLNode : public TreeNode<CFX_XMLNode> { 26 CFX_XMLNode(); 27 ~CFX_XMLNode() override; 30 virtual CFX_XMLNode* Clone(CFX_XMLDocument* doc) = 0; 33 CFX_XMLNode* GetRoot(); 34 void InsertChildNode(CFX_XMLNode* pNode, int32_t index);
|
D | cfx_xmlelement.h | 17 class CFX_XMLElement final : public CFX_XMLNode { 24 CFX_XMLNode* Clone(CFX_XMLDocument* doc) override; 54 inline CFX_XMLElement* ToXMLElement(CFX_XMLNode* pNode) { in ToXMLElement() 55 return pNode && pNode->GetType() == CFX_XMLNode::Type::kElement in ToXMLElement() 60 inline const CFX_XMLElement* ToXMLElement(const CFX_XMLNode* pNode) { in ToXMLElement() 61 return pNode && pNode->GetType() == CFX_XMLNode::Type::kElement in ToXMLElement()
|
D | cfx_xmlinstruction.h | 17 class CFX_XMLInstruction final : public CFX_XMLNode { 24 CFX_XMLNode* Clone(CFX_XMLDocument* doc) override; 38 inline CFX_XMLInstruction* ToXMLInstruction(CFX_XMLNode* pNode) { in ToXMLInstruction() 39 return pNode && pNode->GetType() == CFX_XMLNode::Type::kInstruction in ToXMLInstruction()
|
D | cfx_xmlelement.cpp | 23 CFX_XMLNode::Type CFX_XMLElement::GetType() const { in GetType() 27 CFX_XMLNode* CFX_XMLElement::Clone(CFX_XMLDocument* doc) { in Clone() 33 for (CFX_XMLNode* pChild = GetFirstChild(); pChild; in Clone() 59 const CFX_XMLNode* pNode = this; in GetNamespaceURI() 73 for (CFX_XMLNode* pChild = GetFirstChild(); pChild; in GetTextData() 103 for (CFX_XMLNode* pChild = GetFirstChild(); pChild; in Save()
|
D | cfx_xmlchardata.h | 22 CFX_XMLNode* Clone(CFX_XMLDocument* doc) override; 26 inline CFX_XMLCharData* ToXMLCharData(CFX_XMLNode* pNode) { in ToXMLCharData() 27 return pNode && pNode->GetType() == CFX_XMLNode::Type::kCharData in ToXMLCharData()
|
D | cfx_xmlchardata_unittest.cpp | 12 EXPECT_EQ(CFX_XMLNode::Type::kCharData, data.GetType()); in TEST() 24 CFX_XMLNode* clone = data.Clone(&doc); in TEST() 27 ASSERT_EQ(CFX_XMLNode::Type::kCharData, clone->GetType()); in TEST()
|
D | cfx_xmltext_unittest.cpp | 12 EXPECT_EQ(CFX_XMLNode::Type::kText, text.GetType()); in TEST() 24 CFX_XMLNode* clone = data.Clone(&doc); in TEST() 26 ASSERT_EQ(CFX_XMLNode::Type::kText, clone->GetType()); in TEST()
|
D | cfx_xmlinstruction_unittest.cpp | 18 EXPECT_EQ(CFX_XMLNode::Type::kInstruction, node.GetType()); in TEST() 53 CFX_XMLNode* clone = node.Clone(&doc); in TEST() 56 ASSERT_EQ(CFX_XMLNode::Type::kInstruction, clone->GetType()); in TEST() 99 ASSERT_EQ(CFX_XMLNode::Type::kInstruction, root->GetFirstChild()->GetType()); in TEST() 132 ASSERT_TRUE(root->GetFirstChild()->GetType() == CFX_XMLNode::Type::kElement); in TEST()
|
D | cfx_xmlparser.cpp | 105 std::stack<CFX_XMLNode::Type> node_type_stack; in DoSyntaxParse() 154 node_type_stack.push(CFX_XMLNode::Type::kInstruction); in DoSyntaxParse() 158 node_type_stack.push(CFX_XMLNode::Type::kElement); in DoSyntaxParse() 203 if (node_type_stack.top() == CFX_XMLNode::Type::kElement) { in DoSyntaxParse() 209 CFX_XMLNode::Type::kInstruction) { in DoSyntaxParse() 220 if (node_type_stack.top() == CFX_XMLNode::Type::kInstruction) { in DoSyntaxParse() 240 if (node_type_stack.top() == CFX_XMLNode::Type::kInstruction) { in DoSyntaxParse() 297 current_node_->GetType() == CFX_XMLNode::Type::kInstruction) in DoSyntaxParse()
|
D | cfx_xmltext.cpp | 15 CFX_XMLNode::Type CFX_XMLText::GetType() const { in GetType() 19 CFX_XMLNode* CFX_XMLText::Clone(CFX_XMLDocument* doc) { in Clone()
|
D | cfx_xmlchardata.cpp | 16 CFX_XMLNode::Type CFX_XMLCharData::GetType() const { in GetType() 20 CFX_XMLNode* CFX_XMLCharData::Clone(CFX_XMLDocument* doc) { in Clone()
|
D | cfx_xmldocument.h | 16 class CFX_XMLNode; variable 38 std::vector<std::unique_ptr<CFX_XMLNode>> nodes_;
|
D | cfx_xmlinstruction.cpp | 20 CFX_XMLNode::Type CFX_XMLInstruction::GetType() const { in GetType() 24 CFX_XMLNode* CFX_XMLInstruction::Clone(CFX_XMLDocument* doc) { in Clone()
|
D | cfx_xmlparser.h | 20 class CFX_XMLNode; variable 57 CFX_XMLNode* current_node_ = nullptr;
|
D | cfx_xmlelement_unittest.cpp | 14 EXPECT_EQ(CFX_XMLNode::Type::kElement, node.GetType()); in TEST() 86 CFX_XMLNode* clone = node.Clone(&doc); in TEST() 88 ASSERT_EQ(CFX_XMLNode::Type::kElement, clone->GetType()); in TEST() 105 ASSERT_EQ(CFX_XMLNode::Type::kText, inst->GetFirstChild()->GetType()); in TEST()
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_textparser.h | 24 class CFX_XMLNode; variable 36 void DoParse(const CFX_XMLNode* pXMLContainer, 42 const CFX_XMLNode* pXMLNode, 64 const CFX_XMLNode* pXMLNode) const; 85 const CFX_XMLNode* pXMLNode); 86 CXFA_TextParseContext* GetParseContextFromMap(const CFX_XMLNode* pXMLNode); 117 std::unique_ptr<TagProvider> ParseTagInfo(const CFX_XMLNode* pXMLNode); 120 void ParseRichText(const CFX_XMLNode* pXMLNode, 129 std::map<const CFX_XMLNode*, std::unique_ptr<CXFA_TextParseContext>>
|
D | cxfa_textlayout.h | 23 class CFX_XMLNode; variable 71 CFX_XMLNode* GetXMLContainerNode(); 77 const CFX_XMLNode* pXMLNode, 84 bool LoadRichText(const CFX_XMLNode* pXMLNode,
|
D | cxfa_loadercontext.h | 17 class CFX_XMLNode; variable 38 UnownedPtr<const CFX_XMLNode> pXMLNode;
|
D | cxfa_textparser.cpp | 199 const CFX_XMLNode* pXMLNode, in ComputeStyle() 222 void CXFA_TextParser::DoParse(const CFX_XMLNode* pXMLContainer, in DoParse() 233 void CXFA_TextParser::ParseRichText(const CFX_XMLNode* pXMLNode, in ParseRichText() 264 for (CFX_XMLNode* pXMLChild = pXMLNode->GetFirstChild(); pXMLChild; in ParseRichText() 292 const CFX_XMLNode* pXMLNode) { in ParseTagInfo() 305 if (pXMLNode->GetType() == CFX_XMLNode::Type::kText) { in ParseTagInfo() 380 const CFX_XMLNode* pXMLNode) const { in GetHorScale() 512 const CFX_XMLNode* pXMLNode) { in GetEmbeddedObj() 541 const CFX_XMLNode* pXMLNode) { in GetParseContextFromMap()
|
/external/pdfium/fxjs/xfa/ |
D | cjx_node.cpp | 273 CFX_XMLNode* pXMLNode = pParser->ParseXMLData(expression); in loadXML() 282 (pXMLNode->GetType() != CFX_XMLNode::Type::kElement || in loadXML() 294 CFX_XMLNode* pFakeXMLRoot = pFakeRoot->GetXMLMappingNode(); in loadXML() 296 CFX_XMLNode* pThisXMLRoot = GetXFANode()->GetXMLMappingNode(); in loadXML() 297 CFX_XMLNode* clone; in loadXML() 308 CFX_XMLNode* pXMLChild = pXMLNode->GetFirstChild(); in loadXML() 310 CFX_XMLNode* pXMLSibling = pXMLChild->GetNextSibling(); in loadXML() 346 CFX_XMLNode* pTempXMLNode = GetXFANode()->GetXMLMappingNode(); in loadXML() 399 CFX_XMLNode* pElement = nullptr; in saveXML() 402 if (!pElement || pElement->GetType() != CFX_XMLNode::Type::kElement) { in saveXML()
|
/external/pdfium/testing/fuzzers/ |
D | pdf_xml_fuzzer.cc | 29 for (CFX_XMLNode* pXMLNode = doc->GetRoot()->GetFirstChild(); pXMLNode; in LLVMFuzzerTestOneInput() 31 if (pXMLNode->GetType() == CFX_XMLNode::Type::kElement) in LLVMFuzzerTestOneInput()
|