Home
last modified time | relevance | path

Searched refs:pParent (Results 1 – 25 of 46) sorted by relevance

12

/external/pdfium/core/fxcrt/
Dtree_node_unittest.cpp70 auto pParent = std::make_unique<TestTreeNode>(); in TEST() local
72 pParent->AppendFirstChild(pChild.get()); in TEST()
74 EXPECT_FALSE(pParent->GetFirstChild()); in TEST()
85 auto pParent = std::make_unique<TestTreeNode>(); in TEST() local
86 pParent->RemoveAllChildren(); in TEST()
87 EXPECT_FALSE(pParent->GetFirstChild()); in TEST()
93 pParent->AppendLastChild(p0.get()); in TEST()
94 pParent->AppendLastChild(p1.get()); in TEST()
95 pParent->AppendLastChild(p2.get()); in TEST()
96 pParent->AppendLastChild(p3.get()); in TEST()
[all …]
Dtree_node.h148 inline void SetParent(T* pParent) { in SetParent() argument
149 static_cast<T*>(this)->m_pParent = pParent; in SetParent()
/external/pdfium/core/fxcrt/xml/
Dcfx_xmlnode.cpp18 CFX_XMLNode* pParent = this; in GetRoot() local
19 while (pParent->GetParent()) in GetRoot()
20 pParent = pParent->GetParent(); in GetRoot()
22 return pParent; in GetRoot()
Dcfx_xmlnode_unittest.cpp11 WideString ChildrenString(CFX_XMLElement* pParent) { in ChildrenString() argument
13 for (CFX_XMLNode* pChild = pParent->GetFirstChild(); pChild; in ChildrenString()
20 WideString ReverseChildrenString(CFX_XMLElement* pParent) { in ReverseChildrenString() argument
22 for (CFX_XMLNode* pChild = pParent->GetLastChild(); pChild; in ReverseChildrenString()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_attachnodelist.cpp33 CXFA_Node* pParent = pNode->GetParent(); in Append() local
34 if (pParent) in Append()
35 pParent->RemoveChildAndNotify(pNode, true); in Append()
48 CXFA_Node* pParent = pNewNode->GetParent(); in Insert() local
49 if (pParent) in Insert()
50 pParent->RemoveChildAndNotify(pNewNode, true); in Insert()
Dcxfa_nodeiteratortemplate.h49 NodeType* pParent = ParentWithinSubtree(static_cast<NodeType*>(m_pCurrent)); in MoveToPrev() local
50 if (pParent) in MoveToPrev()
51 m_pCurrent = pParent; in MoveToPrev()
52 return pParent; in MoveToPrev()
99 NodeType* pParent = ParentWithinSubtree(pNode); in PreviousSiblingWithinSubtree() local
100 if (!pParent) in PreviousSiblingWithinSubtree()
102 NodeType* pCurrent = TraverseStrategy::GetFirstChild(pParent); in PreviousSiblingWithinSubtree()
Dcxfa_nodelocale.cpp137 CXFA_Node* CXFA_NodeLocale::GetNodeByName(CXFA_Node* pParent, in GetNodeByName() argument
139 CXFA_Node* pChild = pParent ? pParent->GetFirstChild() : nullptr; in GetNodeByName()
Dxfa_utils.cpp410 for (CFX_XMLNode* pParent = pNode; pParent != pFakeRoot; in XFA_FDEExtension_ResolveNamespaceQualifier() local
411 pParent = pParent->GetParent()) { in XFA_FDEExtension_ResolveNamespaceQualifier()
412 CFX_XMLElement* pElement = ToXMLElement(pParent); in XFA_FDEExtension_ResolveNamespaceQualifier()
/external/parameter-framework/upstream/parameter/
DConfigurableElement.cpp375 const CElement *pParent = getParent(); in getSyncer() local
377 if (isOfConfigurableElementType(pParent)) { in getSyncer()
379 return static_cast<const CConfigurableElement *>(pParent)->getSyncer(); in getSyncer()
448 const CElement *pParent = getParent(); in getBelongingDomains() local
450 if (isOfConfigurableElementType(pParent)) { in getBelongingDomains()
452 static_cast<const CConfigurableElement *>(pParent)->getBelongingDomains( in getBelongingDomains()
616 const CElement *pParent = getParent(); in belongsToDomainAscending() local
618 if (isOfConfigurableElementType(pParent)) { in belongsToDomainAscending()
620 return static_cast<const CConfigurableElement *>(pParent)->belongsTo(pConfigurableDomain); in belongsToDomainAscending()
628 const CElement *pParent = getParent(); in getBelongingSubsystem() local
[all …]
/external/pdfium/xfa/fwl/
Dcfwl_widgetmgr.cpp37 Item* pParent = pItem->GetParent(); in GetParentWidget() local
38 return pParent ? pParent->pWidget : nullptr; in GetParentWidget()
92 void CFWL_WidgetMgr::InsertWidget(CFWL_Widget* pParent, CFWL_Widget* pChild) { in InsertWidget() argument
93 Item* pParentItem = GetWidgetMgrItem(pParent); in InsertWidget()
95 pParentItem = CreateWidgetMgrItem(pParent); in InsertWidget()
137 CFWL_Widget* CFWL_WidgetMgr::GetDefaultButton(CFWL_Widget* pParent) const { in GetDefaultButton()
138 if (pParent->GetClassID() == FWL_Type::PushButton && in GetDefaultButton()
139 (pParent->GetStates() & FWL_STATE_PSB_Default)) { in GetDefaultButton()
140 return pParent; in GetDefaultButton()
143 CFWL_Widget* child = GetFirstChildWidget(pParent); in GetDefaultButton()
Dcfwl_widgetmgr.h53 void InsertWidget(CFWL_Widget* pParent, CFWL_Widget* pChild);
56 CFWL_Widget* GetWidgetAtPoint(CFWL_Widget* pParent,
59 CFWL_Widget* GetDefaultButton(CFWL_Widget* pParent) const;
90 void DrawChildren(CFWL_Widget* pParent,
Dcfwl_widget.cpp302 CFX_SizeF CFWL_Widget::GetOffsetFromParent(CFWL_Widget* pParent) { in GetOffsetFromParent() argument
303 if (pParent == this) in GetOffsetFromParent()
309 while (pDstWidget && pDstWidget != pParent) { in GetOffsetFromParent()
317 bool CFWL_Widget::IsParent(CFWL_Widget* pParent) { in IsParent() argument
320 if (pUpWidget == pParent) in IsParent()
/external/pdfium/core/fpdfdoc/
Dcpdf_structtree.cpp94 RetainPtr<const CPDF_Dictionary> pParent = pParentArray->GetDictAt(i); in LoadPageTree() local
95 if (pParent) in LoadPageTree()
96 AddPageNode(std::move(pParent), &element_map, 0); in LoadPageTree()
115 RetainPtr<const CPDF_Dictionary> pParent = pDict->GetDictFor("P"); in AddPageNode() local
116 if (!pParent || pParent->GetNameFor("Type") == "StructTreeRoot") { in AddPageNode()
123 AddPageNode(std::move(pParent), map, nLevel + 1); in AddPageNode()
Dcpdf_interactiveform.cpp431 Node* AddChild(Node* pParent, const WideString& short_name);
432 Node* Lookup(Node* pParent, WideStringView short_name);
442 CFieldTree::Node* CFieldTree::AddChild(Node* pParent, in AddChild() argument
444 if (!pParent) in AddChild()
447 int level = pParent->GetLevel() + 1; in AddChild()
451 auto pNew = std::make_unique<Node>(short_name, pParent->GetLevel() + 1); in AddChild()
453 pParent->AddChildNode(std::move(pNew)); in AddChild()
457 CFieldTree::Node* CFieldTree::Lookup(Node* pParent, WideStringView short_name) { in Lookup() argument
458 if (!pParent) in Lookup()
461 for (size_t i = 0; i < pParent->GetChildrenCount(); ++i) { in Lookup()
[all …]
/external/pdfium/fpdfsdk/pwl/
Dcpwl_sbbutton.cpp118 if (CPWL_Wnd* pParent = GetParentWindow()) in OnLButtonDown() local
119 pParent->NotifyLButtonDown(this, point); in OnLButtonDown()
131 if (CPWL_Wnd* pParent = GetParentWindow()) in OnLButtonUp() local
132 pParent->NotifyLButtonUp(this, point); in OnLButtonUp()
144 if (CPWL_Wnd* pParent = GetParentWindow()) in OnMouseMove() local
145 pParent->NotifyMouseMove(this, point); in OnMouseMove()
Dcpwl_cbbutton.cpp66 CPWL_Wnd* pParent = GetParentWindow(); in OnLButtonDown() local
67 if (pParent) in OnLButtonDown()
68 pParent->NotifyLButtonDown(this, point); in OnLButtonDown()
Dcpwl_cblistbox.cpp35 if (CPWL_Wnd* pParent = GetParentWindow()) in OnLButtonUp() local
36 pParent->NotifyLButtonUp(this, point); in OnLButtonUp()
/external/mdnsresponder/mDNSWindows/DNSServiceBrowser/Windows/Sources/
DAboutDialog.cpp43 AboutDialog::AboutDialog(CWnd* pParent /*=NULL*/) in BEGIN_MESSAGE_MAP()
44 : CDialog(AboutDialog::IDD, pParent) in BEGIN_MESSAGE_MAP()
/external/pdfium/xfa/fxfa/
Dcxfa_ffwidget.cpp426 CXFA_FFWidget* pParent = GetFFWidget(ToContentLayoutItem(GetParent())); in OnSetFocus() local
427 if (pParent && !pParent->IsAncestorOf(pOldWidget)) { in OnSetFocus()
428 if (!pParent->OnSetFocus(pOldWidget)) in OnSetFocus()
445 CXFA_FFWidget* pParent = GetFFWidget(ToContentLayoutItem(GetParent())); in OnKillFocus() local
446 if (pParent && !pParent->IsAncestorOf(pNewWidget)) { in OnKillFocus()
447 if (!pParent->OnKillFocus(pNewWidget)) in OnKillFocus()
Dcxfa_textprovider.cpp140 CXFA_Node* pParent = m_pNode->GetParent(); in GetEmbeddedObj() local
143 if (pParent) in GetEmbeddedObj()
144 pIDNode = pDocument->GetNodeByID(pParent, wsAttr.AsStringView()); in GetEmbeddedObj()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Drdtsc_buckets.h140 child.pParent = bt.pCurrent; in StartBucket()
174 bt.pCurrent = bt.pCurrent->pParent; in StopBucket()
196 child.pParent = bt.pCurrent; in AddEvent()
/external/mdnsresponder/mDNSWindows/ControlPanel/
DSharedSecret.cpp40 CSharedSecret::CSharedSecret(CWnd* pParent /*=NULL*/) in IMPLEMENT_DYNAMIC()
41 : CDialog(CSharedSecret::IDD, pParent) in IMPLEMENT_DYNAMIC()
DServicesPage.cpp232 CPowerManagementWarning::CPowerManagementWarning(CWnd* pParent /*=NULL*/) in IMPLEMENT_DYNAMIC()
233 : CDialog(CPowerManagementWarning::IDD, pParent) in IMPLEMENT_DYNAMIC()
/external/pdfium/fxjs/xfa/
Dcjx_tree.cpp159 CXFA_Node* pParent = GetXFANode()->GetParent(); in parent() local
160 *pValue = pParent ? GetDocument() in parent()
162 ->GetOrCreateJSBindingFromMap(pParent) in parent()
Dcjx_object.cpp656 CXFA_Node* pParent = GetXFANode()->GetParent(); in SetContent() local
657 if (pParent) { in SetContent()
658 pParent = pParent->GetParent(); in SetContent()
660 if (pParent && pParent->GetElementType() == XFA_Element::Value) { in SetContent()
661 pParent = pParent->GetParent(); in SetContent()
662 if (pParent && pParent->IsContainerNode()) { in SetContent()
663 pBindNode = pParent->GetBindData(); in SetContent()

12