Home
last modified time | relevance | path

Searched refs:WideStringView (Results 1 – 25 of 140) sorted by relevance

123456

/aosp_15_r20/external/pdfium/core/fxcrt/
H A Dwidestring.h64 explicit WideString(WideStringView str);
65 WideString(WideStringView str1, WideStringView str2);
66 WideString(const std::initializer_list<WideStringView>& list);
87 WideStringView AsStringView() const { in AsStringView()
88 return WideStringView(c_str(), GetLength()); in AsStringView()
125 WideString& operator=(WideStringView str);
134 WideString& operator+=(WideStringView str);
137 bool operator==(WideStringView str) const;
141 bool operator!=(WideStringView str) const { return !(*this == str); }
145 bool operator<(WideStringView str) const;
[all …]
H A Dwidestring_unittest.cpp125 WideString string1(WideStringView(L"abc")); in TEST()
127 string1 = WideStringView(L""); in TEST()
129 string1 = WideStringView(L"def"); in TEST()
140 WideStringView v_empty; in TEST()
141 WideStringView v_a(L"a"); in TEST()
142 WideStringView v_ab(L"ab"); in TEST()
143 WideStringView v_abc(L"\x0110qq"); in TEST()
144 WideStringView v_def(L"\x1001qq"); in TEST()
284 WideStringView null_string_c; in TEST()
285 WideStringView empty_string_c(L""); in TEST()
[all …]
H A Dwidestring.cpp352 WideString::WideString(WideStringView stringSrc) { in WideString()
359 WideString::WideString(WideStringView str1, WideStringView str2) { in WideString()
373 WideString::WideString(const std::initializer_list<WideStringView>& list) { in WideString()
411 WideString& WideString::operator=(WideStringView str) { in operator =()
453 WideString& WideString::operator+=(WideStringView str) { in operator +=()
471 bool WideString::operator==(WideStringView str) const { in operator ==()
499 bool WideString::operator<(WideStringView str) const { in operator <()
794 absl::optional<size_t> WideString::Find(WideStringView subStr, in Find()
872 size_t WideString::Replace(WideStringView pOld, WideStringView pNew) { in Replace()
1047 void WideString::Trim(WideStringView targets) { in Trim()
[all …]
H A Dfx_string_unittest.cpp26 EXPECT_EQ("", FX_UTF8Encode(WideStringView())); in TEST()
473 std::vector<WideStringView> result; in TEST()
474 result = fxcrt::Split(WideStringView(L""), L','); in TEST()
478 result = fxcrt::Split(WideStringView(L"a"), L','); in TEST()
482 result = fxcrt::Split(WideStringView(L","), L','); in TEST()
487 result = fxcrt::Split(WideStringView(L"a,"), L','); in TEST()
492 result = fxcrt::Split(WideStringView(L",b"), L','); in TEST()
497 result = fxcrt::Split(WideStringView(L"a,b"), L','); in TEST()
502 result = fxcrt::Split(WideStringView(L"a,b,"), L','); in TEST()
508 result = fxcrt::Split(WideStringView(L"a,,"), L','); in TEST()
[all …]
H A Dwidetext_buffer.cpp28 WideStringView WideTextBuffer::AsStringView() const { in AsStringView()
29 return WideStringView(GetWideSpan()); in AsStringView()
45 void WideTextBuffer::AppendWideString(WideStringView str) { in AppendWideString()
56 WideTextBuffer& WideTextBuffer::operator<<(WideStringView str) { in operator <<()
67 AppendWideString(WideStringView(lpsz)); in operator <<()
/aosp_15_r20/external/pdfium/xfa/fxfa/parser/
H A Dcxfa_document_unittest.cpp88 WideStringView wsURI; in TEST()
89 WideStringView wsID; in TEST()
90 WideStringView wsSOM; in TEST()
98 WideStringView wsURI; in TEST()
99 WideStringView wsID; in TEST()
100 WideStringView wsSOM; in TEST()
108 WideStringView wsURI; in TEST()
109 WideStringView wsID; in TEST()
110 WideStringView wsSOM; in TEST()
118 WideStringView wsURI; in TEST()
[all …]
H A Dxfa_basic_data.h54 absl::optional<XFA_PACKETINFO> XFA_GetPacketByName(WideStringView wsName);
57 XFA_Element XFA_GetElementByName(WideStringView name);
60 absl::optional<XFA_ATTRIBUTEINFO> XFA_GetAttributeByName(WideStringView name);
64 WideStringView name);
68 WideStringView wsAttributeName);
H A Dcxfa_document.h103 CXFA_Node* GetNodeByID(CXFA_Node* pRoot, WideStringView wsID) const;
155 WideStringView& wsURI,
156 WideStringView& wsID,
157 WideStringView& wsSOM);
159 WideStringView& wsID,
160 WideStringView& wsSOM);
H A Dcxfa_node.h236 CXFA_Node* GetFirstChildByName(WideStringView wsNodeName) const;
244 T* GetNextSameNameSibling(WideStringView wsNodeName) const { in GetNextSameNameSibling()
252 CXFA_Node* GetOneChildNamed(WideStringView wsName);
253 CXFA_Node* GetOneChildOfClass(WideStringView wsClass);
363 CXFA_Node* SetSelectedMember(WideStringView wsName);
364 void SetSelectedMemberByValue(WideStringView wsValue,
399 WideString GetItemValue(WideStringView wsLabel);
460 CXFA_Node* GetNextSameNameSiblingInternal(WideStringView wsNodeName) const;
485 WideString GetItemLabel(WideStringView wsValue) const;
H A Dxfa_basic_data.cpp167 absl::optional<XFA_PACKETINFO> XFA_GetPacketByName(WideStringView wsName) { in XFA_GetPacketByName()
181 XFA_Element XFA_GetElementByName(WideStringView name) { in XFA_GetElementByName()
198 absl::optional<XFA_ATTRIBUTEINFO> XFA_GetAttributeByName(WideStringView name) { in XFA_GetAttributeByName()
221 WideStringView name) { in XFA_GetAttributeValueByName()
240 WideStringView attribute_name) { in XFA_GetScriptAttributeByName()
H A Dcxfa_measurement.h15 explicit CXFA_Measurement(WideStringView wsMeasure);
19 static XFA_Unit GetUnitFromString(WideStringView wsUnit);
33 void SetString(WideStringView wsMeasure);
/aosp_15_r20/external/pdfium/fxbarcode/oned/
H A DBC_OneDimWriter.h34 static bool HasValidContentSize(WideStringView contents);
39 virtual bool RenderResult(WideStringView contents,
41 virtual bool CheckContentValidity(WideStringView contents) = 0;
42 virtual WideString FilterContents(WideStringView contents) = 0;
54 WideStringView contents);
58 virtual bool ShowChars(WideStringView contents,
H A DBC_OnedCode39Writer.h22 bool RenderResult(WideStringView contents,
24 bool CheckContentValidity(WideStringView contents) override;
25 WideString FilterContents(WideStringView contents) override;
29 WideString RenderTextContents(WideStringView contents);
30 bool encodedContents(WideStringView contents, WideString* result);
H A DBC_OnedCodaBarWriter.h23 bool RenderResult(WideStringView contents,
25 bool CheckContentValidity(WideStringView contents) override;
26 WideString FilterContents(WideStringView contents) override;
33 WideString encodedContents(WideStringView contents);
H A DBC_OnedCode39Writer.cpp89 bool CBC_OnedCode39Writer::CheckContentValidity(WideStringView contents) { in CheckContentValidity()
94 WideString CBC_OnedCode39Writer::FilterContents(WideStringView contents) { in FilterContents()
113 WideString CBC_OnedCode39Writer::RenderTextContents(WideStringView contents) { in RenderTextContents()
203 bool CBC_OnedCode39Writer::encodedContents(WideStringView contents, in encodedContents()
219 bool CBC_OnedCode39Writer::RenderResult(WideStringView contents, in RenderResult()
H A DBC_OnedCodaBarWriter.cpp100 bool CBC_OnedCodaBarWriter::CheckContentValidity(WideStringView contents) { in CheckContentValidity()
106 WideString CBC_OnedCodaBarWriter::FilterContents(WideStringView contents) { in FilterContents()
178 WideString CBC_OnedCodaBarWriter::encodedContents(WideStringView contents) { in encodedContents()
184 bool CBC_OnedCodaBarWriter::RenderResult(WideStringView contents, in RenderResult()
H A DBC_OnedEAN13Writer.h25 bool CheckContentValidity(WideStringView contents) override;
26 WideString FilterContents(WideStringView contents) override;
30 bool ShowChars(WideStringView contents,
H A DBC_OnedUPCAWriter.h27 bool CheckContentValidity(WideStringView contents) override;
28 WideString FilterContents(WideStringView contents) override;
33 bool ShowChars(WideStringView contents,
/aosp_15_r20/external/pdfium/xfa/fxfa/formcalc/
H A Dcxfa_fmlexer.cpp105 XFA_FM_TOKEN TokenizeIdentifier(WideStringView str) { in TokenizeIdentifier()
122 CXFA_FMLexer::Token::Token(XFA_FM_TOKEN token, WideStringView str) in Token()
139 CXFA_FMLexer::CXFA_FMLexer(WideStringView wsFormCalc) in CXFA_FMLexer()
323 WideStringView str(m_spInput.subspan(m_nCursor, end - m_nCursor)); in AdvanceForNumber()
340 return Token(TOKstring, WideStringView(m_spInput.subspan( in AdvanceForString()
349 return Token(TOKstring, WideStringView(m_spInput.subspan( in AdvanceForString()
375 WideStringView str(m_spInput.subspan(start, m_nCursor - start)); in AdvanceForIdentifier()
H A Dcxfa_fmlexer.h92 Token(XFA_FM_TOKEN token, WideStringView str);
97 WideStringView GetString() const { return m_string; } in GetString()
104 WideStringView m_string;
107 explicit CXFA_FMLexer(WideStringView wsFormcalc);
/aosp_15_r20/external/pdfium/core/fxcrt/css/
H A Dcfx_cssdata.h39 static const Property* GetPropertyByName(WideStringView name);
41 static const PropertyValue* GetPropertyValueByName(WideStringView wsName);
42 static const LengthUnit* GetLengthUnitByName(WideStringView wsName);
43 static const Color* GetColorByName(WideStringView wsName);
H A Dcfx_cssdeclaration.cpp52 CFX_CSSData::GetLengthUnitByName(WideStringView(pszValue, 2)); in ParseCSSNumber()
136 CFX_CSSData::GetColorByName(WideStringView(pszValue, nValueLen)); in ParseCSSColor()
171 WideStringView value) { in AddProperty()
304 CFX_CSSData::GetPropertyValueByName(WideStringView(pszValue, nValueLen)); in ParseEnum()
363 WideStringView(pszValue, nValueLen)); in ParseValueListProperty()
475 CFX_CSSData::GetColorByName(WideStringView(pszValue, nValueLen)); in ParseBorderProperty()
481 WideStringView(pszValue, nValueLen)); in ParseBorderProperty()
524 WideStringView(pszValue, nValueLen)); in ParseFontProperty()
H A Dcfx_cssstylesheet.cpp28 bool CFX_CSSStyleSheet::LoadBuffer(WideStringView buffer) { in LoadBuffer()
52 WideStringView strValue = pSyntax->GetCurrentString(); in LoadStyleRule()
59 WideStringView strValue = pSyntax->GetCurrentString(); in LoadStyleRule()
67 WideStringView strValue = pSyntax->GetCurrentString(); in LoadStyleRule()
H A Dcfx_cssdata.cpp57 WideStringView name) { in GetPropertyByName()
80 WideStringView wsName) { in GetPropertyValueByName()
98 WideStringView wsName) { in GetLengthUnitByName()
114 const CFX_CSSData::Color* CFX_CSSData::GetColorByName(WideStringView wsName) { in GetColorByName()
/aosp_15_r20/external/pdfium/fxjs/xfa/
H A Dcfxjse_engine.h132 WideStringView wsScript,
137 WideStringView wsExpression,
142 WideStringView wsExpression,
176 WideStringView propname,
180 WideStringView propname,

123456