Home
last modified time | relevance | path

Searched refs:pNewNode (Results 1 – 14 of 14) sorted by relevance

/external/pdfium/fxjs/xfa/
Dcjx_model.cpp50 CXFA_Node* pNewNode = GetXFANode()->CreateSamePacketNode(eType); in createNode() local
51 if (!pNewNode) in createNode()
55 if (!pNewNode->HasAttribute(XFA_Attribute::Name)) in createNode()
58 pNewNode->JSObject()->SetAttribute(XFA_Attribute::Name, name.AsStringView(), in createNode()
60 if (pNewNode->GetPacketType() == XFA_PacketType::Datasets) in createNode()
61 pNewNode->CreateXMLMappingNode(); in createNode()
65 GetDocument()->GetScriptContext()->GetJSValueFromMap(pNewNode); in createNode()
Dcjx_list.cpp52 auto* pNewNode = ToNode(runtime->ToXFAObject(params[0])); in insert() local
53 if (!pNewNode) in insert()
57 GetXFAList()->Insert(pNewNode, pBeforeNode); in insert()
Dcjx_object.cpp939 CXFA_Node* pNewNode = nullptr; in GetOrCreatePropertyInternal() local
941 pNewNode = GetDocument()->CreateNode(xfaNode->GetPacketType(), eProperty); in GetOrCreatePropertyInternal()
942 if (!pNewNode) in GetOrCreatePropertyInternal()
945 xfaNode->InsertChild(pNewNode, nullptr); in GetOrCreatePropertyInternal()
946 pNewNode->SetFlag(XFA_NodeFlag_Initialized, true); in GetOrCreatePropertyInternal()
948 return pNewNode; in GetOrCreatePropertyInternal()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_attachnodelist.cpp32 bool CXFA_AttachNodeList::Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) { in Insert() argument
33 CXFA_Node* pParent = pNewNode->GetParent(); in Insert()
35 pParent->RemoveChild(pNewNode, true); in Insert()
37 return m_pAttachNode->InsertChild(pNewNode, pBeforeNode); in Insert()
Dcxfa_nodehelper.cpp337 CXFA_Node* pNewNode = m_pCreateParent->CreateSamePacketNode(eType); in ResolveNodes_CreateNode() local
338 if (pNewNode) { in ResolveNodes_CreateNode()
339 m_pCreateParent->InsertChild(pNewNode, nullptr); in ResolveNodes_CreateNode()
341 m_pCreateParent = pNewNode; in ResolveNodes_CreateNode()
352 CXFA_Node* pNewNode = m_pCreateParent->CreateSamePacketNode(eClassType); in ResolveNodes_CreateNode() local
353 if (pNewNode) { in ResolveNodes_CreateNode()
354 pNewNode->JSObject()->SetAttribute(XFA_Attribute::Name, in ResolveNodes_CreateNode()
356 pNewNode->CreateXMLMappingNode(); in ResolveNodes_CreateNode()
357 m_pCreateParent->InsertChild(pNewNode, nullptr); in ResolveNodes_CreateNode()
359 m_pCreateParent = pNewNode; in ResolveNodes_CreateNode()
Dcxfa_arraynodelist.cpp33 bool CXFA_ArrayNodeList::Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) { in Insert() argument
35 m_array.push_back(pNewNode); in Insert()
39 m_array.insert(it, pNewNode); in Insert()
Dcxfa_attachnodelist.h22 bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) override;
Dcxfa_arraynodelist.h25 bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) override;
Dcxfa_document.cpp58 CXFA_Node* pNewNode = pProtoNode->Clone(true); in MergeNodeRecurse() local
59 pNewNode->SetTemplateNode(pProtoNode); in MergeNodeRecurse()
60 pDestNodeParent->InsertChild(pNewNode, nullptr); in MergeNodeRecurse()
Dcxfa_list.h22 virtual bool Insert(CXFA_Node* pNewNode, CXFA_Node* pBeforeNode) = 0;
Dxfa_document_datamerger_imp.cpp555 CXFA_Node* pNewNode = in CloneOrMergeInstanceManager() local
559 pNewNode->JSObject()->SetCData(XFA_Attribute::Name, wsInstMgrNodeName, false, in CloneOrMergeInstanceManager()
561 pFormParent->InsertChild(pNewNode, nullptr); in CloneOrMergeInstanceManager()
562 pNewNode->SetTemplateNode(pTemplateNode); in CloneOrMergeInstanceManager()
563 return pNewNode; in CloneOrMergeInstanceManager()
1303 CXFA_Node* pNewNode = pTemplateNode->CloneTemplateToForm(false); in XFA_NodeMerge_CloneOrMergeContainer() local
1304 pFormParent->InsertChild(pNewNode, nullptr); in XFA_NodeMerge_CloneOrMergeContainer()
1310 pNewNode->InsertChild(pNewChild, nullptr); in XFA_NodeMerge_CloneOrMergeContainer()
1314 return pNewNode; in XFA_NodeMerge_CloneOrMergeContainer()
Dcxfa_node.cpp447 CXFA_Node* pNewNode = m_pDocument->CreateNode(GetPacketType(), *property); in GetNodeList() local
448 if (pNewNode) { in GetNodeList()
449 InsertChild(pNewNode, nullptr); in GetNodeList()
450 pNewNode->SetFlag(XFA_NodeFlag_Initialized, true); in GetNodeList()
451 nodes.push_back(pNewNode); in GetNodeList()
/external/pdfium/xfa/fxfa/
Dcxfa_ffwidgethandler.cpp513 CXFA_Node* pNewNode = in CreateCopyNode() local
518 pParent->InsertChild(pNewNode, pBefore); in CreateCopyNode()
519 return pNewNode; in CreateCopyNode()
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp6070 DESCRIPTOR_POOL_STATE *pNewNode = new DESCRIPTOR_POOL_STATE(*pDescriptorPool, pCreateInfo); in PostCallRecordCreateDescriptorPool() local
6071 assert(pNewNode); in PostCallRecordCreateDescriptorPool()
6072 dev_data->descriptorPoolMap[*pDescriptorPool] = pNewNode; in PostCallRecordCreateDescriptorPool()