Home
last modified time | relevance | path

Searched refs:wsName (Results 1 – 25 of 43) sorted by relevance

12

/external/pdfium/xfa/fxfa/parser/
Dcxfa_xmllocale.cpp30 WideString wsName; in GetNumbericSymbol() local
34 wsName = L"decimal"; in GetNumbericSymbol()
38 wsName = L"grouping"; in GetNumbericSymbol()
42 wsName = L"percent"; in GetNumbericSymbol()
46 wsName = L"minus"; in GetNumbericSymbol()
50 wsName = L"zero"; in GetNumbericSymbol()
54 wsName = L"symbol"; in GetNumbericSymbol()
58 wsName = L"isoname"; in GetNumbericSymbol()
70 wsName.AsStringView()); in GetNumbericSymbol()
145 WideString wsName; in GetDatePattern() local
[all …]
Dcxfa_nodehelper.cpp237 WideString wsName; in GetNameExpression() local
239 wsName = GetNameExpression(refNode, false, eLogicType); in GetNameExpression()
246 wsParent += wsName; in GetNameExpression()
247 wsName = wsParent; in GetNameExpression()
250 return wsName; in GetNameExpression()
310 bool CXFA_NodeHelper::ResolveNodes_CreateNode(WideString wsName, in ResolveNodes_CreateNode() argument
319 if (wsName[0] == '!') { in ResolveNodes_CreateNode()
320 wsName = wsName.Right(wsName.GetLength() - 1); in ResolveNodes_CreateNode()
324 if (wsName[0] == '#') { in ResolveNodes_CreateNode()
326 wsName = wsName.Right(wsName.GetLength() - 1); in ResolveNodes_CreateNode()
[all …]
Dcxfa_validate.cpp88 WideString wsName = pItemNode->JSObject()->GetCData(XFA_Attribute::Name); in GetMessageText() local
89 if (wsName.IsEmpty() || wsName == wsMessageType) in GetMessageText()
131 WideString wsName = pItemNode->JSObject()->GetCData(XFA_Attribute::Name); in SetMessageText() local
132 if (wsName.IsEmpty() || wsName == wsMessageType) { in SetMessageText()
Dcxfa_treelist.cpp28 CXFA_Node* CXFA_TreeList::NamedItem(const WideStringView& wsName) { in NamedItem() argument
29 uint32_t dwHashCode = FX_HashCode_GetW(wsName, false); in NamedItem()
Dxfa_utils.cpp156 const WideString& wsName, in SaveAttribute() argument
167 wsOutput += wsName; in SaveAttribute()
322 WideString wsName; in RegenerateFormFile_Changed() local
323 SaveAttribute(pNode, XFA_Attribute::Name, L"name", true, wsName); in RegenerateFormFile_Changed()
326 buf << wsName; in RegenerateFormFile_Changed()
Dcxfa_nodelocale.cpp139 const WideStringView& wsName) const { in GetNodeByName()
142 if (pChild->JSObject()->GetAttribute(XFA_Attribute::Name) == wsName) in GetNodeByName()
Dcxfa_simple_parser.cpp91 const PacketInfo* GetPacketByName(const WideStringView& wsName) { in GetPacketByName() argument
92 if (wsName.IsEmpty()) in GetPacketByName()
95 uint32_t hash = FX_HashCode_GetW(wsName, false); in GetPacketByName()
843 WideString wsName = in ParseAsXDPPacket_User() local
845 pNode->JSObject()->SetCData(XFA_Attribute::Name, wsName, false, false); in ParseAsXDPPacket_User()
1073 WideString wsName; in ParseDataGroup() local
1075 if (!ResolveAttribute(pXMLElement, it.first, wsName, wsNS)) { in ParseDataGroup()
1078 if (wsName == L"nil" && it.second == L"true") { in ParseDataGroup()
1093 pXFAMetaData->JSObject()->SetCData(XFA_Attribute::Name, wsName, false, in ParseDataGroup()
Dcxfa_node.cpp242 WideString wsName = JSObject() in Clone() local
245 auto pCloneXMLElement = pdfium::MakeUnique<CFX_XMLElement>(wsName); in Clone()
951 WideString wsName = pNode->JSObject() in RemoveChild() local
954 CFX_XMLElement* pNewXMLElement = new CFX_XMLElement(wsName); in RemoveChild()
970 CXFA_Node* CXFA_Node::GetFirstChildByName(const WideStringView& wsName) const { in GetFirstChildByName()
971 return GetFirstChildByName(FX_HashCode_GetW(wsName, false)); in GetFirstChildByName()
1050 WideString wsName = JSObject()->GetCData(XFA_Attribute::Name); in GetInstanceMgrOfSubform() local
1054 wsInstName.Right(wsInstName.GetLength() - 1) == wsName) { in GetInstanceMgrOfSubform()
1115 WideString wsName = JSObject()->GetCData(XFA_Attribute::Name); in UpdateNameHash() local
1116 m_dwNameHash = FX_HashCode_GetW(wsName.AsStringView(), false); in UpdateNameHash()
[all …]
Dcxfa_treelist.h21 CXFA_Node* NamedItem(const WideStringView& wsName);
Dxfa_document_datamerger_imp.cpp431 const WideString& wsName, in FindGlobalDataNode() argument
434 if (wsName.IsEmpty()) in FindGlobalDataNode()
437 uint32_t dwNameHash = FX_HashCode_GetW(wsName.AsStringView(), false); in FindGlobalDataNode()
449 const WideString& wsName, in FindOnceDataNode() argument
452 if (wsName.IsEmpty()) in FindOnceDataNode()
455 uint32_t dwNameHash = FX_HashCode_GetW(wsName.AsStringView(), false); in FindOnceDataNode()
1032 const WideString& wsName) { in MaybeCreateDataNode() argument
1040 pDataNode->JSObject()->SetCData(XFA_Attribute::Name, wsName, false, false); in MaybeCreateDataNode()
1061 pDDGroupNode->GetFirstChildByName(wsName.AsStringView()); in MaybeCreateDataNode()
1069 pDataNode->JSObject()->SetCData(XFA_Attribute::Name, wsName, false, false); in MaybeCreateDataNode()
/external/pdfium/fxjs/
Dcfxjse_resolveprocessor.cpp92 WideString wsName = rnd.m_wsName; in ResolveAnyChild() local
96 if (wsName.GetLength() && wsName[0] == '#') { in ResolveAnyChild()
98 wsName = wsName.Right(wsName.GetLength() - 1); in ResolveAnyChild()
101 ToNode(rnd.m_CurObject), wsName.c_str(), bClassName); in ResolveAnyChild()
121 WideString wsName = rnd.m_wsName; in ResolveDollar() local
123 int32_t iNameLen = wsName.GetLength(); in ResolveDollar()
132 WideStringView(wsName.c_str() + 1, iNameLen - 1), false)); in ResolveDollar()
171 WideString wsName = rnd.m_wsName.Right(rnd.m_wsName.GetLength() - 1); in ResolveNumberSign() local
174 if (ResolveForAttributeRs(curNode, rnd, wsName.AsStringView())) in ResolveNumberSign()
182 rndFind.m_wsName = wsName; in ResolveNumberSign()
[all …]
/external/pdfium/fpdfsdk/
Dfpdfattachment.cpp61 WideString wsName = in FPDFDoc_AddAttachment() local
63 if (!pDoc || wsName.IsEmpty()) in FPDFDoc_AddAttachment()
88 pFile->SetNewFor<CPDF_String>("UF", wsName); in FPDFDoc_AddAttachment()
89 pFile->SetNewFor<CPDF_String>("F", wsName); in FPDFDoc_AddAttachment()
95 wsName)) { in FPDFDoc_AddAttachment()
/external/pdfium/core/fxcrt/css/
Dcfx_cssstylesheet.cpp66 WideString wsName; in LoadStyleRule() local
80 wsName = WideString(strValue); in LoadStyleRule()
91 decl->AddProperty(wsName, WideString(strValue)); in LoadStyleRule()
Dcfx_cssdeclaration.cpp116 const WideStringView& wsName) { in GetCSSPropertyValueByName() argument
117 ASSERT(!wsName.IsEmpty()); in GetCSSPropertyValueByName()
118 uint32_t dwHash = FX_HashCode_GetW(wsName, true); in GetCSSPropertyValueByName()
137 const WideStringView& wsName) { in GetCSSLengthUnitByName() argument
138 ASSERT(!wsName.IsEmpty()); in GetCSSLengthUnitByName()
139 uint16_t wHash = FX_HashCode_GetW(wsName, true); in GetCSSLengthUnitByName()
158 const CFX_CSSColorTable* GetCSSColorByName(const WideStringView& wsName) { in GetCSSColorByName() argument
159 ASSERT(!wsName.IsEmpty()); in GetCSSColorByName()
160 uint32_t dwHash = FX_HashCode_GetW(wsName, true); in GetCSSColorByName()
Dcfx_cssdatatable.cpp125 const WideStringView& wsName) { in CFX_GetCSSPropertyByName() argument
126 ASSERT(!wsName.IsEmpty()); in CFX_GetCSSPropertyByName()
127 uint32_t dwHash = FX_HashCode_GetW(wsName, true); in CFX_GetCSSPropertyByName()
Dcfx_csscomputedstyle.cpp17 bool CFX_CSSComputedStyle::GetCustomStyle(const WideString& wsName, in GetCustomStyle() argument
21 if (wsName == iter->name()) { in GetCustomStyle()
Dcfx_cssdatatable.h26 const WideStringView& wsName);
/external/pdfium/xfa/fxfa/
Dcxfa_textprovider.cpp108 WideString wsName = pNode->JSObject()->GetCData(XFA_Attribute::Name); in GetTextNode() local
109 if (m_eType == XFA_TEXTPROVIDERTYPE_Rollover && wsName == L"rollover") in GetTextNode()
111 if (m_eType == XFA_TEXTPROVIDERTYPE_Down && wsName == L"down") in GetTextNode()
Dcxfa_ffbarcode.cpp99 const WideString& wsName) { in GetBarcodeTypeByName() argument
100 if (wsName.IsEmpty()) in GetBarcodeTypeByName()
105 FX_HashCode_GetW(wsName.AsStringView(), true), in GetBarcodeTypeByName()
108 if (it != std::end(g_BarCodeData) && wsName.AsStringView() == it->pName) in GetBarcodeTypeByName()
Dcxfa_textparser.cpp255 bool CXFA_TextParser::TagValidate(const WideString& wsName) const { in TagValidate()
274 FX_HashCode_GetW(wsName.AsStringView(), true)); in TagValidate()
281 WideString wsName; in ParseTagInfo() local
284 wsName = pXMLElement->GetLocalTagName(); in ParseTagInfo()
285 tagProvider->SetTagName(wsName); in ParseTagInfo()
286 tagProvider->m_bTagAvailable = TagValidate(wsName); in ParseTagInfo()
Dcxfa_ffdoc.cpp340 const WideStringView& wsName, in GetPDFNamedImage() argument
346 uint32_t dwHash = FX_HashCode_GetW(wsName, false); in GetPDFNamedImage()
367 CPDF_Object* pObject = nametree.LookupValue(WideString(wsName)); in GetPDFNamedImage()
372 if (wsTemp == wsName) { in GetPDFNamedImage()
Dcxfa_textparser.h98 void SetTagName(const WideString& wsName) { m_wsTagName = wsName; } in SetTagName() argument
Dcxfa_textlayout.cpp705 WideString wsName; in LoadRichText() local
719 wsName = pElement->GetLocalTagName(); in LoadRichText()
721 if (wsName == L"ol") { in LoadRichText()
739 (wsName.IsEmpty() || (wsName != L"body" && wsName != L"html" && in LoadRichText()
740 wsName != L"ol" && wsName != L"ul"))) { in LoadRichText()
748 if (wsName == L"a") { in LoadRichText()
765 } else if (wsName == L"br") { in LoadRichText()
767 } else if (wsName == L"li") { in LoadRichText()
Dcxfa_ffdocview.h66 CXFA_FFWidget* GetWidgetByName(const WideString& wsName,
68 CXFA_WidgetAcc* GetWidgetAccByName(const WideString& wsName,
/external/pdfium/core/fpdfdoc/
Dcpdf_nametree.cpp98 WideString wsName = pNames->GetUnicodeTextAt(i * 2); in UpdateNodesAndLimitsUponDeletion() local
99 if (wsName.Compare(csNewLeft) < 0) in UpdateNodesAndLimitsUponDeletion()
100 csNewLeft = wsName; in UpdateNodesAndLimitsUponDeletion()
101 if (wsName.Compare(csNewRight) > 0) in UpdateNodesAndLimitsUponDeletion()
102 csNewRight = wsName; in UpdateNodesAndLimitsUponDeletion()

12