Home
last modified time | relevance | path

Searched refs:GetFirstChild (Results 1 – 25 of 45) sorted by relevance

12

/external/pdfium/core/fxcrt/xml/
Dcfx_xmlnode_unittest.cpp13 for (CFX_XMLNode* pChild = pParent->GetFirstChild(); pChild; in ChildrenString()
67 EXPECT_EQ(&node2, node1.GetFirstChild()); in TEST()
70 EXPECT_EQ(&node3, node2.GetFirstChild()); in TEST()
73 EXPECT_TRUE(node3.GetFirstChild() == nullptr); in TEST()
76 EXPECT_TRUE(node4.GetFirstChild() == nullptr); in TEST()
90 EXPECT_TRUE(node1.GetFirstChild() == nullptr); in TEST()
99 EXPECT_EQ(&node3, node2.GetFirstChild()); in TEST()
115 EXPECT_EQ(&nodeA, parent.GetFirstChild()); in TEST()
159 EXPECT_EQ(&node2, node1.GetFirstChild()); in TEST()
171 EXPECT_EQ(&node2, node1.GetFirstChild()); in TEST()
[all …]
Dcfx_xmlinstruction_unittest.cpp98 ASSERT_TRUE(root->GetFirstChild() != nullptr); in TEST()
99 ASSERT_EQ(CFX_XMLNode::Type::kInstruction, root->GetFirstChild()->GetType()); in TEST()
101 CFX_XMLInstruction* node = ToXMLInstruction(root->GetFirstChild()); in TEST()
131 ASSERT_TRUE(root->GetFirstChild() != nullptr); in TEST()
132 ASSERT_TRUE(root->GetFirstChild()->GetType() == CFX_XMLNode::Type::kElement); in TEST()
134 CFX_XMLElement* node = ToXMLElement(root->GetFirstChild()); in TEST()
138 for (auto* elem = node->GetFirstChild(); elem && !instruction; in TEST()
Dcfx_xmlelement.cpp33 for (CFX_XMLNode* pChild = GetFirstChild(); pChild; in Clone()
73 for (CFX_XMLNode* pChild = GetFirstChild(); pChild; in GetTextData()
96 if (!GetFirstChild()) { in Save()
103 for (CFX_XMLNode* pChild = GetFirstChild(); pChild; in Save()
118 for (auto* child = GetFirstChild(); child; child = child->GetNextSibling()) { in GetNthChildNamed()
Dcfx_xmlelement_unittest.cpp102 ASSERT_TRUE(inst->GetFirstChild() != nullptr); in TEST()
103 EXPECT_TRUE(inst->GetFirstChild()->GetNextSibling() == nullptr); in TEST()
105 ASSERT_EQ(CFX_XMLNode::Type::kText, inst->GetFirstChild()->GetType()); in TEST()
106 auto* text = ToXMLText(inst->GetFirstChild()); in TEST()
Dcfx_xmlparser_unittest.cpp323 ASSERT_TRUE(root->GetFirstChild() != nullptr); in TEST_F()
324 ASSERT_EQ(CFX_XMLNode::Type::kInstruction, root->GetFirstChild()->GetType()); in TEST_F()
326 CFX_XMLInstruction* instruction = ToXMLInstruction(root->GetFirstChild()); in TEST_F()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_value.cpp59 CXFA_Node* pNode = GetFirstChild(); in GetChildValueClassID()
64 CXFA_Node* pNode = GetFirstChild(); in GetChildValueContent()
71 CXFA_Node* node = GetFirstChild(); in GetArcIfExists()
78 CXFA_Node* node = GetFirstChild(); in GetLineIfExists()
85 CXFA_Node* node = GetFirstChild(); in GetRectangleIfExists()
92 CXFA_Node* node = GetFirstChild(); in GetTextIfExists()
99 CXFA_Node* node = GetFirstChild(); in GetExDataIfExists()
106 CXFA_Node* node = GetFirstChild(); in GetImageIfExists()
Dcxfa_node_unittest.cpp52 EXPECT_EQ(nullptr, GetNode()->GetFirstChild()); in TEST_F()
60 EXPECT_EQ(child, GetNode()->GetFirstChild()); in TEST_F()
81 EXPECT_EQ(child0, GetNode()->GetFirstChild()); in TEST_F()
108 EXPECT_EQ(child0, GetNode()->GetFirstChild()); in TEST_F()
141 EXPECT_EQ(child0, GetNode()->GetFirstChild()); in TEST_F()
146 EXPECT_EQ(nullptr, GetNode()->GetFirstChild()); in TEST_F()
152 EXPECT_EQ(child, GetNode()->GetFirstChild()); in TEST_F()
174 EXPECT_EQ(child0, GetNode()->GetFirstChild()); in TEST_F()
196 EXPECT_EQ(child, GetNode()->GetFirstChild()); in TEST_F()
227 EXPECT_EQ(child0, GetNode()->GetFirstChild()); in TEST_F()
[all …]
Dcxfa_dataexporter.cpp32 for (CXFA_Node* pChild = pNode->GetFirstChild(); pChild; in Export()
44 CXFA_Node* pDataNode = pNode->GetFirstChild(); in Export()
68 for (CXFA_Node* pChildNode = pDataNode->GetFirstChild(); pChildNode; in Export()
Dxfa_utils.cpp180 CXFA_Node* pRawValueNode = pNode->GetFirstChild(); in RegenerateFormFile_Changed()
199 CFX_XMLNode* pRichTextXML = pExDataXML->GetFirstChild(); in RegenerateFormFile_Changed()
263 CXFA_Node* pChildNode = pNode->GetFirstChild(); in RegenerateFormFile_Changed()
274 CXFA_Node* pChild = pNode->GetFirstChild(); in RegenerateFormFile_Changed()
344 CXFA_Node* pChildNode = pNode->GetFirstChild(); in RegenerateFormFile_Container()
384 CXFA_Node* pValueChild = pNodeValue->GetFirstChild(); in XFA_GetLocaleValue()
454 for (CXFA_Node* pChildNode = pDataNode->GetFirstChild(); pChildNode; in XFA_DataExporter_DealWithDataGroupNode()
488 CXFA_Node* pChildNode = pNode->GetFirstChild(); in XFA_DataExporter_RegenerateFormFile()
507 CXFA_Node* pFirstChild = pUIChild->GetFirstChild(); in XFA_FieldIsMultiListBox()
Dcxfa_traversestrategy_xfanode.h14 static inline CXFA_Node* GetFirstChild(CXFA_Node* pTemplateNode) { in GetFirstChild() function
15 return pTemplateNode->GetFirstChild(); in GetFirstChild()
Dxfa_document_datamerger_imp.cpp31 CXFA_Node* pFormChild = pFormParent->GetFirstChild(); in XFA_DataMerge_FindFormDOMInstance()
66 for (CXFA_Node* pTemplateChild = pTemplateNode->GetFirstChild(); in XFA_NodeMerge_CloneOrMergeContainer()
81 for (CXFA_Node* pTemplateChild = pTemplateNode->GetFirstChild(); in XFA_NodeMerge_CloneOrMergeContainer()
Dcxfa_nodeiteratortemplate.h54 NodeType* pChild = TraverseStrategy::GetFirstChild(m_pCurrent.Get()); in MoveToNext()
97 NodeType* pCurrent = TraverseStrategy::GetFirstChild(pParent); in PreviousSiblingWithinSubtree()
108 NodeType* pChild = TraverseStrategy::GetFirstChild(pNode); in LastChild()
Dcxfa_document.cpp60 static CXFA_Node* GetFirstChild(CXFA_Node* pDDGroupNode) { in GetFirstChild() function in __anon8b9f425f0111::CXFA_TraverseStrategy_DDGroup
78 CXFA_Node* pChildNode = pValueNode->GetFirstChild(); in FormValueNode_CreateChild()
102 CXFA_Node* pContentRawDataNode = pChildNode->GetFirstChild(); in FormValueNode_SetChildContent()
137 for (CXFA_Node* pFormChild = pDestNodeParent->GetFirstChild(); pFormChild; in MergeNodeRecurse()
150 for (CXFA_Node* pTemplateChild = pProtoNode->GetFirstChild(); in MergeNodeRecurse()
170 for (CXFA_Node* pTemplateChild = pProtoNode->GetFirstChild(); pTemplateChild; in MergeNode()
236 for (CXFA_Node* pNode = pDataScope->GetFirstChild(); pNode; in SortRecurseRecord()
559 CXFA_Node* pChild = pFormNode->GetFirstChild(); in CreateDataBinding()
578 CXFA_Node* pText = pItems->GetFirstChild(); in CreateDataBinding()
595 pChild = pFormNode->GetFirstChild(); in CreateDataBinding()
[all …]
Dcxfa_document_parser.cpp38 for (CFX_XMLNode* pXMLNode = pRootNode->GetFirstChild(); pXMLNode; in GetDocumentNode()
141 for (CFX_XMLNode* pDatasetsNode = pXMLDocumentNode->GetFirstChild(); in GetDataSetsFromXDP()
157 for (CFX_XMLNode* pXMLChild = pRootXMLNode->GetFirstChild(); pXMLChild; in ConvertXMLToPlainText()
213 for (CFX_XMLNode* pChildXML = pXMLNode->GetFirstChild(); pChildXML; in GetPlainTextFromRichText()
274 for (CFX_XMLNode* pXMLChild = pXMLNode->GetFirstChild(); pXMLChild; in ConstructXFANode()
374 for (CFX_XMLNode* pChildItem = pXMLDocumentNode->GetFirstChild(); pChildItem; in ParseAsXDPPacket_XDP()
394 for (CFX_XMLNode* pChildItem = pXMLDocumentNode->GetFirstChild(); pChildItem; in ParseAsXDPPacket_XDP()
664 for (CFX_XMLNode* pXMLChild = pXMLDoc->GetFirstChild(); pXMLChild; in NormalLoader()
757 for (CFX_XMLNode* pXMLChild = pXMLNode->GetFirstChild(); pXMLChild; in ParseContentNode()
800 for (CFX_XMLNode* pXMLChild = pXMLNode->GetFirstChild(); pXMLChild; in ParseDataGroup()
[all …]
Dcxfa_xmllocale.cpp42 for (auto* child = doc->GetRoot()->GetFirstChild(); child; in Create()
133 for (auto* name = child->GetFirstChild(); name; in GetCalendarSymbol()
214 for (auto* child = patterns->GetFirstChild(); child; in GetPattern()
Dcxfa_node.cpp552 for (CXFA_Node* pNode = pCommonParent->GetFirstChild(); pNode; in NodesSortedByDocumentIdx()
997 for (CXFA_Node* pChild = GetFirstChild(); pChild; in Clone()
1024 for (auto* pNode = GetFirstChild(); pNode; pNode = pNode->GetNextSibling()) { in GetFirstContainerChild()
1074 for (CXFA_Node* pNode = GetFirstChild(); pNode; in GetProperty()
1097 for (CXFA_Node* pNode = GetFirstChild(); pNode; in GetOrCreateProperty()
1151 for (CXFA_Node* pChild = GetFirstChild(); pChild; in GetNodeListForType()
1163 for (CXFA_Node* pChild = GetFirstChild(); pChild; in GetNodeListWithFilter()
1175 for (CXFA_Node* pChild = GetFirstChild(); pChild; in GetNodeListWithFilter()
1232 for (CXFA_Node* pChild = GetFirstChild(); pChild; in CloneTemplateToForm()
1519 for (CXFA_Node* pNode = GetFirstChild(); pNode; in CountChildren()
[all …]
/external/pdfium/core/fxcrt/
Dtree_node_unittest.cpp75 EXPECT_EQ(nullptr, pParent->GetFirstChild()); in TEST()
88 EXPECT_EQ(nullptr, pParent->GetFirstChild()); in TEST()
99 EXPECT_EQ(nullptr, pParent->GetFirstChild()); in TEST()
129 EXPECT_EQ(child0.get(), parent->GetFirstChild()); in TEST()
131 EXPECT_EQ(child1.get(), parent->GetFirstChild()); in TEST()
143 EXPECT_EQ(child0.get(), parent->GetFirstChild()); in TEST()
146 EXPECT_EQ(child1.get(), parent->GetFirstChild()); in TEST()
149 EXPECT_EQ(nullptr, parent->GetFirstChild()); in TEST()
154 EXPECT_EQ(child0.get(), parent->GetFirstChild()); in TEST()
157 EXPECT_EQ(child0.get(), parent->GetFirstChild()); in TEST()
[all …]
Dtree_node.h21 T* GetFirstChild() const { return m_pFirstChild; } in GetFirstChild() function
33 T* result = GetFirstChild(); in GetNthChild()
124 while (T* child = GetFirstChild()) in RemoveAllChildren()
Dretained_tree_node_unittest.cpp159 parent->InsertBefore(pdfium::WrapRetain(parent->GetFirstChild()), in TEST()
162 parent->GetFirstChild()); in TEST()
175 for (ObservableRetainedTreeNodeForTest* pNode = parent->GetFirstChild(); in TEST()
/external/pdfium/xfa/fxfa/
Dcxfa_textprovider.cpp47 CXFA_Node* pChildNode = pValueNode->GetFirstChild(); in GetTextNode()
62 for (CFX_XMLNode* pXMLChild = pXMLNode->GetFirstChild(); pXMLChild; in GetTextNode()
84 CXFA_Node* pChildNode = pValueNode->GetFirstChild(); in GetTextNode()
101 CXFA_Node* pNode = pItemNode->GetFirstChild(); in GetTextNode()
/external/pdfium/xfa/fxfa/layout/
Dcxfa_traversestrategy_layoutitem.h16 static CXFA_LayoutItem* GetFirstChild(CXFA_LayoutItem* pLayoutItem) { in GetFirstChild() function
17 return pLayoutItem->GetFirstChild(); in GetFirstChild()
Dcxfa_viewlayoutprocessor.cpp42 static CXFA_ViewLayoutItem* GetFirstChild(CXFA_ViewLayoutItem* pLayoutItem) { in GetFirstChild() function in __anon76fae90a0111::TraverseStrategy_ViewLayoutItem
43 for (CXFA_LayoutItem* pChildItem = pLayoutItem->GetFirstChild(); pChildItem; in GetFirstChild()
73 static CXFA_ViewLayoutItem* GetFirstChild(CXFA_ViewLayoutItem* pLayoutItem) { in GetFirstChild() function in __anon76fae90a0111::TraverseStrategy_PageSet
77 for (CXFA_LayoutItem* pChildItem = pLayoutItem->GetFirstChild(); pChildItem; in GetFirstChild()
152 for (CXFA_LayoutItem* pChild = pViewItem->GetFirstChild(); pChild; in SyncContainer()
234 for (CXFA_LayoutItem* pChild = pPageAreaLayoutItem->GetFirstChild(); pChild; in CheckContentAreaNotUsed()
238 if (!pLayoutItem->GetFirstChild()) in CheckContentAreaNotUsed()
249 RetainPtr<CXFA_LayoutItem> pCurLayoutItem(pLayoutItem->GetFirstChild()); in SyncRemoveLayoutItem()
270 for (const CXFA_LayoutItem* pChild = pItem->GetFirstChild(); pChild; in CalculateLayoutItemHeight()
281 for (const CXFA_LayoutItem* pChild = pItem->GetFirstChild(); pChild; in GetHeightsForContentAreas()
[all …]
Dcxfa_contentlayoutprocessor.cpp210 for (CXFA_LayoutItem* pIter = pLayoutRow->GetFirstChild(); pIter; in RelocateTableRowCells()
258 for (CXFA_LayoutItem* pIter = pLayoutRow->GetFirstChild(); pIter; in RelocateTableRowCells()
271 if (pParaNode && pLayoutChild->GetFirstChild()) { in RelocateTableRowCells()
287 for (CXFA_LayoutItem* pInnerIter = pLayoutChild->GetFirstChild(); in RelocateTableRowCells()
315 for (CXFA_LayoutItem* pIter = pLayoutRow->GetFirstChild(); pIter; in RelocateTableRowCells()
507 for (CXFA_LayoutItem* pIter = pLayoutItem->GetFirstChild(); pIter; in FindLayoutItemSplitPos()
706 if (pLayoutItem->GetFirstChild()) in SplitLayoutItem()
712 if (fCurTopMargin > 0 && pLayoutItem->GetFirstChild()) { in SplitLayoutItem()
735 while (auto* pFirst = ToContentLayoutItem(pLayoutItem->GetFirstChild())) { in SplitLayoutItem()
858 ret = HandleKeep(pChildContainer->GetFirstChild(), pCurActionNode); in GotoNextContainerNode()
[all …]
/external/pdfium/core/fpdfdoc/
Dcpdf_metadata.cpp26 for (const auto* child = element->GetFirstChild(); child; in CheckForSharedFormInternal()
53 for (auto* child = element->GetFirstChild(); child; in CheckForSharedFormInternal()
/external/pdfium/fxjs/xfa/
Dcjx_layoutpseudomodel.cpp235 for (CXFA_LayoutItem* pItem = pLayoutPage->GetFirstChild(); pItem; in GetObjArray()
247 for (CXFA_LayoutItem* pItem = pLayoutPage->GetFirstChild(); pItem; in GetObjArray()
252 CXFA_LayoutItemIterator iterator(pItem->GetFirstChild()); in GetObjArray()
308 for (CXFA_LayoutItem* pItem = pLayoutPage->GetFirstChild(); pItem; in GetObjArray()
312 CXFA_LayoutItemIterator iterator(pItem->GetFirstChild()); in GetObjArray()
409 CXFA_Node* pContentRootNode = pFormRoot->GetFirstChild(); in relayout()

12