Home
last modified time | relevance | path

Searched refs:pElement (Results 1 – 25 of 41) sorted by relevance

12

/external/pdfium/xfa/fxfa/parser/
Dcxfa_dataexporter.cpp40 CFX_XMLElement* pElement = ToXMLElement(pNode->GetXMLMappingNode()); in Export() local
41 if (!pElement) in Export()
47 pElement->Save(pStream); in Export()
55 CFX_XMLElement* pElement = ToXMLElement(pNode->GetXMLMappingNode()); in Export() local
56 if (!pElement) in Export()
59 pElement->Save(pStream); in Export()
75 CFX_XMLElement* pElement = ToXMLElement(pExportNode->GetXMLMappingNode()); in Export() local
76 if (!pElement) in Export()
80 pElement->SetAttribute(L"xmlns:xfa", in Export()
82 pElement->Save(pStream); in Export()
[all …]
Dcxfa_document_parser.cpp50 CFX_XMLElement* pElement = ToXMLElement(pNode); in MatchNodeName() local
51 if (!pElement) in MatchNodeName()
54 WideString wsNodeStr = pElement->GetLocalTagName(); in MatchNodeName()
58 wsNodeStr = pElement->GetNamespaceURI(); in MatchNodeName()
81 bool ResolveAttribute(CFX_XMLElement* pElement, in ResolveAttribute() argument
94 if (!XFA_FDEExtension_ResolveNamespaceQualifier(pElement, wsNSPrefix, in ResolveAttribute()
102 Optional<WideString> FindAttributeWithNS(CFX_XMLElement* pElement, in FindAttributeWithNS() argument
106 for (auto it : pElement->GetAttributes()) { in FindAttributeWithNS()
119 if (!XFA_FDEExtension_ResolveNamespaceQualifier(pElement, wsNSPrefix, in FindAttributeWithNS()
396 CFX_XMLElement* pElement = ToXMLElement(pChildItem); in ParseAsXDPPacket_XDP() local
[all …]
Dxfa_utils.cpp439 CFX_XMLElement* pElement = ToXMLElement(pParent); in XFA_FDEExtension_ResolveNamespaceQualifier() local
440 if (pElement && pElement->HasAttribute(wsNSAttribute)) { in XFA_FDEExtension_ResolveNamespaceQualifier()
441 *wsNamespaceURI = pElement->GetAttribute(wsNSAttribute); in XFA_FDEExtension_ResolveNamespaceQualifier()
463 CFX_XMLElement* pElement = ToXMLElement(pDataNode->GetXMLMappingNode()); in XFA_DataExporter_DealWithDataGroupNode() local
465 if (pElement->HasAttribute(L"xfa:dataNode")) in XFA_DataExporter_DealWithDataGroupNode()
466 pElement->RemoveAttribute(L"xfa:dataNode"); in XFA_DataExporter_DealWithDataGroupNode()
469 pElement->SetAttribute(L"xfa:dataNode", L"dataGroup"); in XFA_DataExporter_DealWithDataGroupNode()
/external/pdfium/core/fpdfdoc/
Dcpdf_structtree.cpp97 auto pElement = pdfium::MakeRetain<CPDF_StructElement>(this, nullptr, pDict); in AddPageNode() local
98 (*map)[pDict] = pElement; in AddPageNode()
101 if (!AddTopLevelNode(pDict, pElement)) in AddPageNode()
103 return pElement; in AddPageNode()
111 kid.m_pElement = pElement; in AddPageNode()
117 return pElement; in AddPageNode()
122 const RetainPtr<CPDF_StructElement>& pElement) { in AddTopLevelNode() argument
130 m_Kids[0] = pElement; in AddTopLevelNode()
141 m_Kids[i] = pElement; in AddTopLevelNode()
Dcpdf_interactiveform.cpp136 CPDF_Dictionary* pElement = pFonts->GetDictFor(csAlias); in GetFont() local
137 if (!pElement || pElement->GetStringFor("Type") != "Font") in GetFont()
140 return CPDF_DocPageData::FromDocument(pDocument)->GetFont(pElement); in GetFont()
164 CPDF_Dictionary* pElement = ToDictionary(it.second->GetDirect()); in GetNativeFont() local
165 if (!pElement || pElement->GetStringFor("Type") != "Font") in GetNativeFont()
169 RetainPtr<CPDF_Font> pFind = pData->GetFont(pElement); in GetNativeFont()
204 CPDF_Dictionary* pElement = ToDictionary(it.second->GetDirect()); in FindFont() local
205 if (!pElement) in FindFont()
207 if (pElement->GetStringFor("Type") != "Font") in FindFont()
209 if (pFont->GetFontDict() == pElement) { in FindFont()
[all …]
Dcpdf_formcontrol.cpp226 CPDF_Dictionary* pElement = pFonts->GetDictFor(*csFontNameTag); in GetDefaultControlFont() local
227 if (pElement) { in GetDefaultControlFont()
229 RetainPtr<CPDF_Font> pFont = pData->GetFont(pElement); in GetDefaultControlFont()
249 CPDF_Dictionary* pElement = pFonts->GetDictFor(*csFontNameTag); in GetDefaultControlFont() local
250 if (!pElement) in GetDefaultControlFont()
254 return pDocPageData->GetFont(pElement); in GetDefaultControlFont()
Dcpdf_metadata.cpp55 CFX_XMLElement* pElement = ToXMLElement(child); in CheckForSharedFormInternal() local
56 if (pElement) in CheckForSharedFormInternal()
57 CheckForSharedFormInternal(pElement, unsupported); in CheckForSharedFormInternal()
Dcba_fontmap.cpp235 CPDF_Dictionary* pElement = ToDictionary(it.second->GetDirect()); in FindResFontSameCharset() local
236 if (!pElement || pElement->GetStringFor("Type") != "Font") in FindResFontSameCharset()
240 RetainPtr<CPDF_Font> pFont = pData->GetFont(pElement); in FindResFontSameCharset()
/external/OpenCSD/decoder/source/
Docsd_dcd_tree.cpp611 DecodeTreeElement *pElement = getDecoderElement(CSID); in addPacketPrinter() local
612 if (pElement) in addPacketPrinter()
614 ocsd_trace_protocol_t protocol = pElement->getProtocol(); in addPacketPrinter()
627 …err = pElement->getDecoderMngr()->attachPktMonitor(pElement->getDecoderHandle(), (IPktRawDataMon<E… in addPacketPrinter()
629 …err = pElement->getDecoderMngr()->attachPktSink(pElement->getDecoderHandle(), (IPktDataIn<EtmV4ITr… in addPacketPrinter()
637 …err = pElement->getDecoderMngr()->attachPktMonitor(pElement->getDecoderHandle(), (IPktRawDataMon<E… in addPacketPrinter()
639 …err = pElement->getDecoderMngr()->attachPktSink(pElement->getDecoderHandle(), (IPktDataIn<EtmV3Trc… in addPacketPrinter()
647 …err = pElement->getDecoderMngr()->attachPktMonitor(pElement->getDecoderHandle(), (IPktRawDataMon<P… in addPacketPrinter()
649 …err = pElement->getDecoderMngr()->attachPktSink(pElement->getDecoderHandle(), (IPktDataIn<PtmTrcPa… in addPacketPrinter()
657 …err = pElement->getDecoderMngr()->attachPktMonitor(pElement->getDecoderHandle(), (IPktRawDataMon<S… in addPacketPrinter()
[all …]
/external/parameter-framework/upstream/parameter/
DComponentInstance.cpp121 void CComponentInstance::populate(CElement *pElement) const in populate()
132 pElement->addChild(pChildComponent); in populate()
139 base::populate(pElement); in populate()
141 _pComponentType->populate(static_cast<CComponent *>(pElement)); in populate()
DParameterBlockType.cpp55 void CParameterBlockType::populate(CElement *pElement) const in populate()
67 pElement->addChild(pChildParameterBlock); in populate()
73 base::populate(pElement); in populate()
DComponentType.cpp114 void CComponentType::populate(CElement *pElement) const in populate()
117 base::populate(pElement); in populate()
123 _pExtendsComponentType->populate(pElement); in populate()
DTypeElement.cpp88 void CTypeElement::populate(CElement *pElement) const in populate()
103 pElement->addChild(pInstanceConfigurableChildElement); in populate()
DParameterBlockType.h49 void populate(CElement *pElement) const override;
DComponentType.h44 void populate(CElement *pElement) const override;
/external/pdfium/fxjs/xfa/
Dcjx_packet.cpp71 CFX_XMLElement* pElement = ToXMLElement(GetXFANode()->GetXMLMappingNode()); in removeAttribute() local
72 if (pElement) { in removeAttribute()
74 if (pElement->HasAttribute(name)) in removeAttribute()
75 pElement->RemoveAttribute(name); in removeAttribute()
Dcjx_node.cpp399 CFX_XMLNode* pElement = nullptr; in saveXML() local
401 pElement = GetXFANode()->GetXMLMappingNode(); in saveXML()
402 if (!pElement || pElement->GetType() != CFX_XMLNode::Type::kElement) { in saveXML()
416 pElement->Save(pMemoryStream); in saveXML()
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_utility.cpp220 const CPDF_Object* pElement = p->GetObjectAt(i); in operator <<() local
221 if (pElement && !pElement->IsInline()) { in operator <<()
222 buf << " " << pElement->GetObjNum() << " 0 R"; in operator <<()
224 buf << pElement; in operator <<()
/external/pdfium/xfa/fxfa/
Dcxfa_textprovider.cpp64 CFX_XMLElement* pElement = ToXMLElement(pXMLChild); in GetTextNode() local
65 if (pElement && XFA_RecognizeRichText(pElement)) { in GetTextNode()
Dcxfa_textparser.cpp47 const CFX_XMLElement* pElement, in GetLowerCaseElementAttributeOrDefault() argument
50 WideString ws = pElement->GetAttribute(wsName); in GetLowerCaseElementAttributeOrDefault()
516 const CFX_XMLElement* pElement = ToXMLElement(pXMLNode); in GetEmbeddedObj() local
517 if (!pElement) in GetEmbeddedObj()
520 WideString wsAttr = pElement->GetAttribute(L"xfa:embed"); in GetEmbeddedObj()
528 GetLowerCaseElementAttributeOrDefault(pElement, L"xfa:embedType", L"som"); in GetEmbeddedObj()
532 ws = GetLowerCaseElementAttributeOrDefault(pElement, L"xfa:embedMode", in GetEmbeddedObj()
/external/pdfium/core/fpdfapi/page/
Dcpdf_allstates.cpp51 CPDF_Object* pElement = it.second.Get(); in ProcessExtGS() local
52 CPDF_Object* pObject = pElement ? pElement->GetDirect() : nullptr; in ProcessExtGS()
/external/pdfium/core/fxcrt/xml/
Dcfx_xmlelement.cpp61 auto* pElement = static_cast<const CFX_XMLElement*>(pNode); in GetNamespaceURI() local
62 if (!pElement->HasAttribute(attr)) { in GetNamespaceURI()
66 return pElement->GetAttribute(attr); in GetNamespaceURI()
/external/pdfium/core/fpdfapi/font/
Dcpdf_simplefont.cpp151 const CPDF_Object* pElement = pDiffs->GetDirectObjectAt(i); in LoadPDFEncoding() local
152 if (!pElement) in LoadPDFEncoding()
155 const CPDF_Name* pName = pElement->AsName(); in LoadPDFEncoding()
161 cur_code = pElement->GetInteger(); in LoadPDFEncoding()
/external/OpenCSD/decoder/tests/source/
Dtrc_pkt_lister.cpp476 DecodeTreeElement *pElement = dcd_tree->getFirstElement(elemID); in AttachPacketPrinters() local
477 while(pElement && !no_undecoded_packets) in AttachPacketPrinters()
491 …oss << "Trace Packet Lister : Protocol printer " << pElement->getDecoderTypeName() << " on Trace … in AttachPacketPrinters()
494 …oss << "Trace Packet Lister : Failed to Protocol printer " << pElement->getDecoderTypeName() << " … in AttachPacketPrinters()
498 pElement = dcd_tree->getNextElement(elemID); in AttachPacketPrinters()
/external/pdfium/fxjs/
Dcfx_globaldata.cpp366 for (const auto& pElement : m_arrayGlobalData) { in SaveGlobalPersisitentVariables() local
367 if (!pElement->bPersistent) in SaveGlobalPersisitentVariables()
371 if (!MakeByteString(pElement->data.sKey, pElement->data, &sElement)) in SaveGlobalPersisitentVariables()

12