Home
last modified time | relevance | path

Searched refs:pChild (Results 1 – 25 of 31) sorted by relevance

12

/external/webrtc/webrtc/libjingle/xmllite/
Dxmlelement.cc87 XmlChild* pChild; in XmlElement() local
91 for (pChild = elt.first_child_; pChild; pChild = pChild->NextChild()) { in XmlElement()
92 if (pChild->IsText()) { in XmlElement()
93 newChild = new XmlText(*(pChild->AsText())); in XmlElement()
95 newChild = new XmlElement(*(pChild->AsElement())); in XmlElement()
236 XmlChild* pChild; in FirstElement() local
237 for (pChild = first_child_; pChild; pChild = pChild->next_child_) { in FirstElement()
238 if (!pChild->IsText()) in FirstElement()
239 return pChild->AsElement(); in FirstElement()
245 XmlChild* pChild; in NextElement() local
[all …]
/external/parameter-framework/upstream/parameter/
DElement.cpp115 for (CElement *pChild : _childArray) { in dumpContent()
117 output += pChild->dumpContent(errorContext, depth + 1); in dumpContent()
155 CElement *pChild; in fromXml() local
159 pChild = findChildOfKind(childElement.getType()); in fromXml()
161 if (!pChild) { in fromXml()
171 pChild = createChild(childElement, serializingContext); in fromXml()
173 if (!pChild) { in fromXml()
180 if (!pChild->fromXml(childElement, serializingContext)) { in fromXml()
196 for (CElement *pChild : _childArray) { in childrenToXml()
201 xmlElement.createChild(xmlChildElement, pChild->getXmlElementName()); in childrenToXml()
[all …]
DXmlFileIncluderElement.cpp85 CElement *pChild = in fromXml() local
88 if (pChild) { in fromXml()
91 getParent()->addChild(pChild); in fromXml()
101 CXmlMemoryDocSink memorySink(pChild); in fromXml()
DComponentLibrary.cpp69 CElement *pChild = createChild(childElement, serializingContext); in fromXml() local
71 if (!pChild || !pChild->fromXml(childElement, serializingContext)) { in fromXml()
/external/pdfium/xfa/fwl/
Dcfwl_widgetmgr.cpp71 return pItem && pItem->pChild ? pItem->pChild->pWidget : nullptr; in GetFirstChildWidget()
79 pItem = pItem->pChild; in GetLastChildWidget()
102 Item* pChild = pItem->pParent->pChild; in AppendWidget() local
104 while (pChild) { in AppendWidget()
105 if (pChild == pItem) { in AppendWidget()
106 if (pChild->pPrevious) in AppendWidget()
107 pChild->pPrevious->pNext = pChild->pNext; in AppendWidget()
108 if (pChild->pNext) in AppendWidget()
109 pChild->pNext->pPrevious = pChild->pPrevious; in AppendWidget()
110 if (pItem->pParent->pChild == pItem) in AppendWidget()
[all …]
Dcfwl_widgetmgr.h53 void InsertWidget(CFWL_Widget* pParent, CFWL_Widget* pChild);
56 void SetParent(CFWL_Widget* pParent, CFWL_Widget* pChild);
79 Item* pChild; variable
/external/pdfium/core/fxcrt/xml/
Dcfx_xmlelement.cpp33 for (CFX_XMLNode* pChild = GetFirstChild(); pChild; in Clone() local
34 pChild = pChild->GetNextSibling()) { in Clone()
35 if (pChild->GetType() == Type::kText) in Clone()
36 node->AppendLastChild(pChild->Clone(doc)); in Clone()
73 for (CFX_XMLNode* pChild = GetFirstChild(); pChild; in GetTextData() local
74 pChild = pChild->GetNextSibling()) { in GetTextData()
75 CFX_XMLText* pText = ToXMLText(pChild); in GetTextData()
103 for (CFX_XMLNode* pChild = GetFirstChild(); pChild; in Save() local
104 pChild = pChild->GetNextSibling()) { in Save()
105 pChild->Save(pXMLStream); in Save()
Dcfx_xmlnode_unittest.cpp13 for (CFX_XMLNode* pChild = pParent->GetFirstChild(); pChild; in ChildrenString() local
14 pChild = pChild->GetNextSibling()) { in ChildrenString()
15 result += static_cast<CFX_XMLElement*>(pChild)->GetName(); in ChildrenString()
22 for (CFX_XMLNode* pChild = pParent->GetLastChild(); pChild; in ReverseChildrenString() local
23 pChild = pChild->GetPrevSibling()) { in ReverseChildrenString()
24 result = static_cast<CFX_XMLElement*>(pChild)->GetName() + result; in ReverseChildrenString()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_nodeiteratortemplate.h54 NodeType* pChild = TraverseStrategy::GetFirstChild(m_pCurrent.Get()); in MoveToNext() local
55 if (pChild) { in MoveToNext()
56 m_pCurrent.Reset(pChild); in MoveToNext()
57 return pChild; in MoveToNext()
108 NodeType* pChild = TraverseStrategy::GetFirstChild(pNode); in LastChild() local
109 while (pChild) { in LastChild()
110 pPrevious = pChild; in LastChild()
111 pChild = NextSiblingWithinSubtree(pChild); in LastChild()
117 NodeType* pChild = LastChild(pNode); in LastDescendant() local
118 return pChild ? LastDescendant(pChild) : pNode; in LastDescendant()
Dcxfa_dataexporter.cpp32 for (CXFA_Node* pChild = pNode->GetFirstChild(); pChild; in Export() local
33 pChild = pChild->GetNextSibling()) { in Export()
34 Export(pStream, pChild); in Export()
Dcxfa_event.cpp55 CXFA_Node* pChild = GetFirstChild(); in GetEventType() local
56 while (pChild) { in GetEventType()
57 XFA_Element eType = pChild->GetElementType(); in GetEventType()
61 pChild = pChild->GetNextSibling(); in GetEventType()
Dcxfa_nodelocale.cpp139 CXFA_Node* pChild = pParent ? pParent->GetFirstChild() : nullptr; in GetNodeByName() local
140 while (pChild) { in GetNodeByName()
141 if (pChild->JSObject()->GetAttribute(XFA_Attribute::Name) == wsName) in GetNodeByName()
142 return pChild; in GetNodeByName()
144 pChild = pChild->GetNextSibling(); in GetNodeByName()
Dcxfa_fill.cpp78 CXFA_Node* pChild = GetFirstChild(); in GetType() local
79 while (pChild) { in GetType()
80 XFA_Element eType = pChild->GetElementType(); in GetType()
84 pChild = pChild->GetNextSibling(); in GetType()
Dcxfa_node.cpp997 for (CXFA_Node* pChild = GetFirstChild(); pChild; in Clone() local
998 pChild = pChild->GetNextSibling()) { in Clone()
999 pClone->InsertChildAndNotify(pChild->Clone(bRecursive), nullptr); in Clone()
1151 for (CXFA_Node* pChild = GetFirstChild(); pChild; in GetNodeListForType() local
1152 pChild = pChild->GetNextSibling()) { in GetNodeListForType()
1153 if (pChild->GetElementType() == eTypeFilter) in GetNodeListForType()
1154 nodes.push_back(pChild); in GetNodeListForType()
1163 for (CXFA_Node* pChild = GetFirstChild(); pChild; in GetNodeListWithFilter() local
1164 pChild = pChild->GetNextSibling()) in GetNodeListWithFilter()
1165 nodes.push_back(pChild); in GetNodeListWithFilter()
[all …]
Dxfa_utils.cpp274 CXFA_Node* pChild = pNode->GetFirstChild(); in RegenerateFormFile_Changed() local
275 while (pChild) { in RegenerateFormFile_Changed()
276 RegenerateFormFile_Changed(pChild, newBuf, bSaveXML); in RegenerateFormFile_Changed()
279 pChild = pChild->GetNextSibling(); in RegenerateFormFile_Changed()
Dcxfa_document.cpp559 CXFA_Node* pChild = pFormNode->GetFirstChild(); in CreateDataBinding() local
560 for (; pChild; pChild = pChild->GetNextSibling()) { in CreateDataBinding()
561 if (pChild->GetElementType() != XFA_Element::Field) in CreateDataBinding()
565 pChild->GetChild<CXFA_Value>(0, XFA_Element::Value, false); in CreateDataBinding()
574 pChild->GetChild<CXFA_Items>(0, XFA_Element::Items, false); in CreateDataBinding()
584 pChecked = pChild; in CreateDataBinding()
595 pChild = pFormNode->GetFirstChild(); in CreateDataBinding()
596 for (; pChild; pChild = pChild->GetNextSibling()) { in CreateDataBinding()
597 if (pChild == pChecked) in CreateDataBinding()
599 if (pChild->GetElementType() != XFA_Element::Field) in CreateDataBinding()
[all …]
/external/pdfium/fpdfsdk/pwl/
Dcpwl_wnd.cpp171 std::unique_ptr<CPWL_Wnd> pChild = std::move(m_Children.back()); in Destroy() local
173 pChild->Destroy(); in Destroy()
243 for (const auto& pChild : m_Children) { in DrawChildAppearance() local
244 CFX_Matrix mt = pChild->GetChildMatrix(); in DrawChildAppearance()
246 pChild->DrawAppearance(pDevice, mtUser2Device); in DrawChildAppearance()
250 pChild->DrawAppearance(pDevice, mt); in DrawChildAppearance()
279 for (const auto& pChild : m_Children) { \
280 if (IsWndCaptureKeyboard(pChild.get())) \
281 return pChild->key_method_name(nChar, nFlag); \
295 for (const auto& pChild : m_Children) { \ in PWL_IMPLEMENT_KEY_METHOD()
[all …]
Dcpwl_edit_ctrl.cpp61 if (CPWL_Wnd* pChild = GetVScrollBar()) in SetScrollInfo() local
62 pChild->SetScrollInfo(info); in SetScrollInfo()
66 if (CPWL_Wnd* pChild = GetVScrollBar()) in SetScrollPosition() local
67 pChild->SetScrollPosition(pos); in SetScrollPosition()
Dcpwl_list_box.cpp230 if (CPWL_Wnd* pChild = GetVScrollBar()) in SetScrollInfo() local
231 pChild->SetScrollInfo(info); in SetScrollInfo()
235 if (CPWL_Wnd* pChild = GetVScrollBar()) in SetScrollPosition() local
236 pChild->SetScrollPosition(pos); in SetScrollPosition()
/external/pdfium/fxjs/xfa/
Dcjx_layoutpseudomodel.cpp253 for (CXFA_LayoutItem* pChild = iterator.GetCurrent(); pChild; in GetObjArray() local
254 pChild = iterator.MoveToNext()) { in GetObjArray()
255 CXFA_ContentLayoutItem* pItemChild = pChild->AsContentLayoutItem(); in GetObjArray()
274 for (CXFA_LayoutItem* pChild = iterator.GetCurrent(); pChild; in GetObjArray() local
275 pChild = iterator.MoveToNext()) { in GetObjArray()
276 CXFA_ContentLayoutItem* pItemChild = pChild->AsContentLayoutItem(); in GetObjArray()
313 for (CXFA_LayoutItem* pChild = iterator.GetCurrent(); pChild; in GetObjArray() local
314 pChild = iterator.MoveToNext()) { in GetObjArray()
315 CXFA_ContentLayoutItem* pItemChild = pChild->AsContentLayoutItem(); in GetObjArray()
330 for (CXFA_LayoutItem* pChild = iterator.GetCurrent(); pChild; in GetObjArray() local
[all …]
Dcjx_node.cpp326 CXFA_Node* pChild = GetXFANode()->GetFirstChild(); in loadXML() local
337 while (pChild) { in loadXML()
338 CXFA_Node* pItem = pChild->GetNextSibling(); in loadXML()
339 GetXFANode()->RemoveChildAndNotify(pChild, true); in loadXML()
340 pFakeRoot->InsertChildAndNotify(pChild, nullptr); in loadXML()
341 pChild = pItem; in loadXML()
356 CXFA_Node* pChild = pFakeRoot->GetFirstChild(); in loadXML() local
357 while (pChild) { in loadXML()
358 CXFA_Node* pItem = pChild->GetNextSibling(); in loadXML()
359 pFakeRoot->RemoveChildAndNotify(pChild, true); in loadXML()
[all …]
Dcfxjse_resolveprocessor.cpp129 CXFA_Node* const pChild = in ResolveAnyChild() local
133 if (!pChild) in ResolveAnyChild()
137 rnd.m_Objects.emplace_back(pChild); in ResolveAnyChild()
145 std::vector<CXFA_Node*> siblings = pChild->GetSiblings(bClassName); in ResolveAnyChild()
268 for (CXFA_Node* pChild = curNode->GetFirstChild(); pChild; in ResolveNormal() local
269 pChild = pChild->GetNextSibling()) { in ResolveNormal()
270 if (pChild->GetElementType() == XFA_Element::Variables) { in ResolveNormal()
271 pVariablesNode = pChild; in ResolveNormal()
274 if (pChild->GetElementType() == XFA_Element::PageSet) { in ResolveNormal()
275 pPageSetNode = pChild; in ResolveNormal()
[all …]
/external/pdfium/core/fxcrt/
Dtree_node_unittest.cpp72 auto pChild = pdfium::MakeUnique<TestTreeNode>(); in TEST() local
73 pParent->AppendFirstChild(pChild.get()); in TEST()
74 pChild->RemoveSelfIfParented(); in TEST()
76 EXPECT_EQ(nullptr, pChild->GetParent()); in TEST()
Dretained_tree_node.h53 while (auto* pChild = TreeNode<T>::GetFirstChild()) in ~RetainedTreeNode() local
54 RemoveChild(pdfium::WrapRetain(pChild)); in ~RetainedTreeNode()
/external/pdfium/xfa/fxfa/layout/
Dcxfa_viewlayoutprocessor.cpp152 for (CXFA_LayoutItem* pChild = pViewItem->GetFirstChild(); pChild; in SyncContainer() local
153 pChild = pChild->GetNextSibling()) { in SyncContainer()
154 if (pChild->IsContentLayoutItem()) { in SyncContainer()
155 SyncContainer(pNotify, pDocLayout, pChild, dwRelevantContainer, in SyncContainer()
234 for (CXFA_LayoutItem* pChild = pPageAreaLayoutItem->GetFirstChild(); pChild; in CheckContentAreaNotUsed() local
235 pChild = pChild->GetNextSibling()) { in CheckContentAreaNotUsed()
236 CXFA_ViewLayoutItem* pLayoutItem = pChild->AsViewLayoutItem(); in CheckContentAreaNotUsed()
270 for (const CXFA_LayoutItem* pChild = pItem->GetFirstChild(); pChild; in CalculateLayoutItemHeight() local
271 pChild = pChild->GetNextSibling()) { in CalculateLayoutItemHeight()
272 const CXFA_ContentLayoutItem* pContent = pChild->AsContentLayoutItem(); in CalculateLayoutItemHeight()
[all …]

12