Home
last modified time | relevance | path

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

123456

/external/pdfium/core/fxcrt/
Dwidestring.h57 explicit WideString(WideStringView str);
58 WideString(WideStringView str1, WideStringView str2);
59 WideString(const std::initializer_list<WideStringView>& list);
80 WideStringView AsStringView() const { in AsStringView()
81 return WideStringView(c_str(), GetLength()); in AsStringView()
116 WideString& operator=(WideStringView str);
125 WideString& operator+=(WideStringView str);
128 bool operator==(WideStringView str) const;
132 bool operator!=(WideStringView str) const { return !(*this == str); }
136 bool operator<(WideStringView str) const;
[all …]
Dwidestring_unittest.cpp120 WideStringView v_empty; in TEST()
121 WideStringView v_a(L"a"); in TEST()
122 WideStringView v_ab(L"ab"); in TEST()
123 WideStringView v_abc(L"\x0110qq"); in TEST()
124 WideStringView v_def(L"\x1001qq"); in TEST()
264 WideStringView null_string_c; in TEST()
265 WideStringView empty_string_c(L""); in TEST()
279 WideStringView wide_string_c_same1(L"hello"); in TEST()
283 WideStringView wide_string_c1(L"he"); in TEST()
284 WideStringView wide_string_c2(L"hellp"); in TEST()
[all …]
Dfx_string_unittest.cpp23 EXPECT_EQ("", FX_UTF8Encode(WideStringView())); in TEST()
387 std::vector<WideStringView> result; in TEST()
388 result = fxcrt::Split(WideStringView(L""), L','); in TEST()
392 result = fxcrt::Split(WideStringView(L"a"), L','); in TEST()
396 result = fxcrt::Split(WideStringView(L","), L','); in TEST()
401 result = fxcrt::Split(WideStringView(L"a,"), L','); in TEST()
406 result = fxcrt::Split(WideStringView(L",b"), L','); in TEST()
411 result = fxcrt::Split(WideStringView(L"a,b"), L','); in TEST()
416 result = fxcrt::Split(WideStringView(L"a,b,"), L','); in TEST()
422 result = fxcrt::Split(WideStringView(L"a,,"), L','); in TEST()
[all …]
Dcfx_widetextbuf.h22 WideStringView AsStringView() const { in AsStringView()
23 return WideStringView(reinterpret_cast<const wchar_t*>(m_pBuffer.get()), in AsStringView()
40 CFX_WideTextBuf& operator<<(WideStringView str);
Dfx_string.h21 ByteString FX_UTF8Encode(WideStringView wsStr);
25 float StringToFloat(WideStringView wsStr);
29 double StringToDouble(WideStringView wsStr);
Dwidestring.cpp346 WideString::WideString(WideStringView stringSrc) { in WideString()
353 WideString::WideString(WideStringView str1, WideStringView str2) { in WideString()
367 WideString::WideString(const std::initializer_list<WideStringView>& list) { in WideString()
397 WideString& WideString::operator=(WideStringView str) { in operator =()
439 WideString& WideString::operator+=(WideStringView str) { in operator +=()
457 bool WideString::operator==(WideStringView str) const { in operator ==()
485 bool WideString::operator<(WideStringView str) const { in operator <()
768 Optional<size_t> WideString::Find(WideStringView subStr, size_t start) const { in Find()
844 size_t WideString::Replace(WideStringView pOld, WideStringView pNew) { in Replace()
1022 void WideString::Trim(WideStringView targets) { in Trim()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dxfa_basic_data.h36 Optional<XFA_PACKETINFO> XFA_GetPacketByName(WideStringView wsName);
39 XFA_Element XFA_GetElementByName(WideStringView name);
42 Optional<XFA_ATTRIBUTEINFO> XFA_GetAttributeByName(WideStringView name);
45 Optional<XFA_AttributeValue> XFA_GetAttributeValueByName(WideStringView name);
49 WideStringView wsAttributeName);
Dcxfa_measurement.h16 explicit CXFA_Measurement(WideStringView wsMeasure);
20 static XFA_Unit GetUnitFromString(WideStringView wsUnit);
34 void SetString(WideStringView wsMeasure);
Dcxfa_xmllocale.h46 WideStringView bsTag,
47 WideStringView wsName) const;
48 WideString GetCalendarSymbol(WideStringView symbol,
Dxfa_basic_data.cpp124 Optional<XFA_PACKETINFO> XFA_GetPacketByName(WideStringView wsName) { in XFA_GetPacketByName()
138 XFA_Element XFA_GetElementByName(WideStringView name) { in XFA_GetElementByName()
152 Optional<XFA_ATTRIBUTEINFO> XFA_GetAttributeByName(WideStringView name) { in XFA_GetAttributeByName()
170 Optional<XFA_AttributeValue> XFA_GetAttributeValueByName(WideStringView name) { in XFA_GetAttributeValueByName()
184 WideStringView attribute_name) { in XFA_GetScriptAttributeByName()
/external/pdfium/xfa/fxfa/fm2js/
Dcxfa_fmexpression.h29 WideStringView wsName,
30 std::vector<WideStringView>&& arguments,
37 WideStringView m_wsName;
38 std::vector<WideStringView> m_pArguments;
56 CXFA_FMVarExpression(WideStringView wsName,
63 WideStringView m_wsName;
151 CXFA_FMForExpression(WideStringView wsVariant,
162 WideStringView m_wsVariant;
174 WideStringView wsIdentifier,
182 WideStringView m_wsIdentifier;
Dcxfa_fmsimpleexpression.h49 explicit CXFA_FMNumberExpression(WideStringView wsNumber);
55 WideStringView m_wsNumber;
60 explicit CXFA_FMStringExpression(WideStringView wsString);
66 WideStringView m_wsString;
71 explicit CXFA_FMIdentifierExpression(WideStringView wsIdentifier);
77 WideStringView m_wsIdentifier;
265 WideStringView wsIdentifier,
272 WideStringView m_wsIdentifier;
297 WideStringView wsIdentifier,
304 WideStringView m_wsIdentifier;
Dcxfa_fmlexer.cpp100 XFA_FM_TOKEN TokenizeIdentifier(WideStringView str) { in TokenizeIdentifier()
131 CXFA_FMLexer::CXFA_FMLexer(WideStringView wsFormCalc) in CXFA_FMLexer()
317 WideStringView(m_spInput.subspan(m_nCursor, end - m_nCursor)); in AdvanceForNumber()
336 WideStringView(m_spInput.subspan(start, m_nCursor - start)); in AdvanceForString()
346 WideStringView(m_spInput.subspan(start, m_nCursor - start)); in AdvanceForString()
372 WideStringView str = in AdvanceForIdentifier()
373 WideStringView(m_spInput.subspan(start, m_nCursor - start)); in AdvanceForIdentifier()
/external/pdfium/fxbarcode/oned/
DBC_OnedCode39Writer.h25 bool RenderResult(WideStringView contents,
28 bool CheckContentValidity(WideStringView contents) override;
29 WideString FilterContents(WideStringView contents) override;
33 WideString RenderTextContents(WideStringView contents);
34 bool encodedContents(WideStringView contents, WideString* result);
DBC_OnedCodaBarWriter.h27 bool RenderResult(WideStringView contents,
30 bool CheckContentValidity(WideStringView contents) override;
31 WideString FilterContents(WideStringView contents) override;
40 WideString encodedContents(WideStringView contents);
DBC_OneDimWriter.h28 virtual bool RenderResult(WideStringView contents,
31 virtual bool CheckContentValidity(WideStringView contents) = 0;
32 virtual WideString FilterContents(WideStringView contents) = 0;
46 WideStringView contents);
57 virtual bool ShowChars(WideStringView contents,
DBC_OnedEAN13Writer.h29 bool CheckContentValidity(WideStringView contents) override;
30 WideString FilterContents(WideStringView contents) override;
34 bool ShowChars(WideStringView contents,
DBC_OnedUPCAWriter.h33 bool CheckContentValidity(WideStringView contents) override;
34 WideString FilterContents(WideStringView contents) override;
39 bool ShowChars(WideStringView contents,
DBC_OnedEAN8Writer.h30 bool CheckContentValidity(WideStringView contents) override;
31 WideString FilterContents(WideStringView contents) override;
37 bool ShowChars(WideStringView contents,
DBC_OnedCodaBarWriter.cpp100 bool CBC_OnedCodaBarWriter::CheckContentValidity(WideStringView contents) { in CheckContentValidity()
106 WideString CBC_OnedCodaBarWriter::FilterContents(WideStringView contents) { in FilterContents()
192 WideString CBC_OnedCodaBarWriter::encodedContents(WideStringView contents) { in encodedContents()
198 bool CBC_OnedCodaBarWriter::RenderResult(WideStringView contents, in RenderResult()
DBC_OnedCode39Writer.cpp68 bool CBC_OnedCode39Writer::CheckContentValidity(WideStringView contents) { in CheckContentValidity()
72 WideString CBC_OnedCode39Writer::FilterContents(WideStringView contents) { in FilterContents()
91 WideString CBC_OnedCode39Writer::RenderTextContents(WideStringView contents) { in RenderTextContents()
215 bool CBC_OnedCode39Writer::encodedContents(WideStringView contents, in encodedContents()
231 bool CBC_OnedCode39Writer::RenderResult(WideStringView contents, in RenderResult()
/external/pdfium/core/fxcrt/css/
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);
/external/pdfium/fxjs/xfa/
Dcjx_object.h120 void SetAttribute(XFA_Attribute eAttr, WideStringView wsValue, bool bNotify);
121 void SetAttribute(WideStringView wsAttr,
122 WideStringView wsValue,
124 void RemoveAttribute(WideStringView wsAttr);
125 WideString GetAttribute(WideStringView attr);
127 Optional<WideString> TryAttribute(WideStringView wsAttr, bool bUseDefault);
224 void SetMapModuleString(void* pKey, WideStringView wsValue);
/external/pdfium/xfa/fgas/font/
Dfgas_fontutils.h29 WideString FGAS_FontNameToEnglishName(WideStringView wsLocalName);
31 const FGAS_FontInfo* FGAS_FontInfoByFontName(WideStringView wsFontName);
/external/pdfium/xfa/fwl/theme/
Dcfwl_widgettp.h85 bool Equal(WideStringView wsFontFamily,
88 bool LoadFont(WideStringView wsFontFamily,
106 RetainPtr<CFGAS_GEFont> FindFont(WideStringView wsFontFamily,

123456