Home
last modified time | relevance | path

Searched refs:WideString (Results 1 – 25 of 458) sorted by relevance

12345678910>>...19

/external/pdfium/core/fxcrt/
Dwidestring.h33 class WideString {
39 [[nodiscard]] static WideString FormatInteger(int i);
40 [[nodiscard]] static WideString Format(const wchar_t* pFormat, ...);
41 [[nodiscard]] static WideString FormatV(const wchar_t* lpszFormat,
44 WideString();
45 WideString(const WideString& other);
48 WideString(WideString&& other) noexcept;
51 explicit WideString(wchar_t ch);
55 WideString(const wchar_t* ptr);
59 WideString(char) = delete;
[all …]
Dwidestring.cpp27 template class fxcrt::StringPoolTemplate<WideString>;
28 template struct std::hash<WideString>;
255 absl::optional<WideString> TryVSWPrintf(size_t size, in TryVSWPrintf()
261 WideString str; in TryVSWPrintf()
287 static_assert(sizeof(WideString) <= sizeof(wchar_t*),
291 WideString WideString::FormatInteger(int i) { in FormatInteger()
294 return WideString(wbuf); in FormatInteger()
298 WideString WideString::FormatV(const wchar_t* format, va_list argList) { in FormatV()
305 return WideString(); in FormatV()
311 absl::optional<WideString> ret = in FormatV()
[all …]
Dwidestring_unittest.cpp19 TEST(WideString, ElementAccess) { in TEST() argument
20 const WideString abc(L"abc"); in TEST()
32 WideString mutable_abc = abc; in TEST()
60 TEST(WideString, Construct) { in TEST() argument
63 WideString string1(L"abc"); in TEST()
64 WideString string2(string1); in TEST()
72 WideString string1(L"abc"); in TEST()
73 WideString string2(std::move(string1)); in TEST()
81 TEST(WideString, Assign) { in TEST() argument
84 WideString string1; in TEST()
[all …]
/external/pdfium/xfa/fgas/crt/
Dcfgas_stringformatter.h46 explicit CFGAS_StringFormatter(const WideString& wsPattern);
49 static std::vector<WideString> SplitOnBars(const WideString& wsFormatString);
53 bool ParseText(const WideString& wsSrcText, WideString* wsValue) const;
55 const WideString& wsSrcNum,
56 WideString* wsValue) const;
58 const WideString& wsSrcDateTime,
61 bool ParseZero(const WideString& wsSrcText) const;
62 bool ParseNull(const WideString& wsSrcText) const;
64 bool FormatText(const WideString& wsSrcText, WideString* wsOutput) const;
66 const WideString& wsSrcNum,
[all …]
Dlocale_iface.h31 virtual WideString GetName() const = 0;
32 virtual WideString GetDecimalSymbol() const = 0;
33 virtual WideString GetGroupingSymbol() const = 0;
34 virtual WideString GetPercentSymbol() const = 0;
35 virtual WideString GetMinusSymbol() const = 0;
36 virtual WideString GetCurrencySymbol() const = 0;
37 virtual WideString GetDateTimeSymbols() const = 0;
38 virtual WideString GetMonthName(int32_t nMonth, bool bAbbr) const = 0;
39 virtual WideString GetDayName(int32_t nWeek, bool bAbbr) const = 0;
40 virtual WideString GetMeridiemName(bool bAM) const = 0;
[all …]
/external/pdfium/core/fxcrt/xml/
Dcfx_xmlelement.h19 explicit CFX_XMLElement(const WideString& wsTag);
27 const WideString& GetName() const { return name_; } in GetName()
29 const std::map<WideString, WideString>& GetAttributes() const { in GetAttributes()
32 bool HasAttribute(const WideString& name) const;
33 void SetAttribute(const WideString& name, const WideString& value);
34 WideString GetAttribute(const WideString& name) const;
35 void RemoveAttribute(const WideString& name);
40 WideString GetLocalTagName() const;
41 WideString GetNamespacePrefix() const;
42 WideString GetNamespaceURI() const;
[all …]
Dcfx_xmlelement.cpp15 CFX_XMLElement::CFX_XMLElement(const WideString& wsTag) : name_(wsTag) { in CFX_XMLElement()
39 WideString CFX_XMLElement::GetLocalTagName() const { in GetLocalTagName()
45 WideString CFX_XMLElement::GetNamespacePrefix() const { in GetNamespacePrefix()
47 return pos.has_value() ? name_.First(pos.value()) : WideString(); in GetNamespacePrefix()
50 WideString CFX_XMLElement::GetNamespaceURI() const { in GetNamespaceURI()
51 WideString attr(L"xmlns"); in GetNamespaceURI()
52 WideString wsPrefix = GetNamespacePrefix(); in GetNamespaceURI()
66 return WideString(); in GetNamespaceURI()
69 WideString CFX_XMLElement::GetTextData() const { in GetTextData()
70 WideString buffer; in GetTextData()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_xmllocale.cpp65 WideString CXFA_XMLLocale::GetName() const { in GetName()
69 WideString CXFA_XMLLocale::GetDecimalSymbol() const { in GetDecimalSymbol()
72 : WideString(); in GetDecimalSymbol()
75 WideString CXFA_XMLLocale::GetGroupingSymbol() const { in GetGroupingSymbol()
78 : WideString(); in GetGroupingSymbol()
81 WideString CXFA_XMLLocale::GetPercentSymbol() const { in GetPercentSymbol()
84 : WideString(); in GetPercentSymbol()
87 WideString CXFA_XMLLocale::GetMinusSymbol() const { in GetMinusSymbol()
90 : WideString(); in GetMinusSymbol()
93 WideString CXFA_XMLLocale::GetCurrencySymbol() const { in GetCurrencySymbol()
[all …]
Dcxfa_localevalue.h40 const WideString& wsValue,
43 const WideString& wsValue,
44 const WideString& wsFormat,
52 bool ValidateValue(const WideString& wsValue,
53 const WideString& wsPattern,
55 WideString* pMatchFormat);
57 bool FormatPatterns(WideString& wsResult,
58 const WideString& wsFormat,
62 void GetNumericFormat(WideString& wsFormat, int32_t nIntLen, int32_t nDecLen);
63 bool ValidateNumericTemp(const WideString& wsNumeric,
[all …]
Dcxfa_nodelocale.h18 WideString XFA_PatternToString(LocaleIface::NumSubcategory category);
27 WideString GetName() const override;
28 WideString GetDecimalSymbol() const override;
29 WideString GetGroupingSymbol() const override;
30 WideString GetPercentSymbol() const override;
31 WideString GetMinusSymbol() const override;
32 WideString GetCurrencySymbol() const override;
33 WideString GetDateTimeSymbols() const override;
34 WideString GetMonthName(int32_t nMonth, bool bAbbr) const override;
35 WideString GetDayName(int32_t nWeek, bool bAbbr) const override;
[all …]
Dcxfa_nodelocale.cpp27 WideString XFA_PatternToString(LocaleIface::NumSubcategory category) { in XFA_PatternToString()
38 return WideString(); in XFA_PatternToString()
50 WideString CXFA_NodeLocale::GetName() const { in GetName()
51 return WideString(m_pNode ? m_pNode->JSObject()->GetCData(XFA_Attribute::Name) in GetName()
55 WideString CXFA_NodeLocale::GetDecimalSymbol() const { in GetDecimalSymbol()
59 WideString CXFA_NodeLocale::GetGroupingSymbol() const { in GetGroupingSymbol()
63 WideString CXFA_NodeLocale::GetPercentSymbol() const { in GetPercentSymbol()
67 WideString CXFA_NodeLocale::GetMinusSymbol() const { in GetMinusSymbol()
71 WideString CXFA_NodeLocale::GetCurrencySymbol() const { in GetCurrencySymbol()
75 WideString CXFA_NodeLocale::GetDateTimeSymbols() const { in GetDateTimeSymbols()
[all …]
Dcxfa_xmllocale.h31 WideString GetName() const override;
32 WideString GetDecimalSymbol() const override;
33 WideString GetGroupingSymbol() const override;
34 WideString GetPercentSymbol() const override;
35 WideString GetMinusSymbol() const override;
36 WideString GetCurrencySymbol() const override;
37 WideString GetDateTimeSymbols() const override;
38 WideString GetMonthName(int32_t nMonth, bool bAbbr) const override;
39 WideString GetDayName(int32_t nWeek, bool bAbbr) const override;
40 WideString GetMeridiemName(bool bAM) const override;
[all …]
Dcxfa_validate.h20 WideString GetFormatMessageText();
21 void SetFormatMessageText(const WideString& wsMessage);
24 void SetNullTest(const WideString& wsValue);
26 WideString GetNullMessageText();
27 void SetNullMessageText(const WideString& wsMessage);
30 WideString GetScriptMessageText();
31 void SetScriptMessageText(const WideString& wsMessage);
33 WideString GetPicture() const;
39 WideString GetMessageText(const WideString& wsMessageType);
40 void SetMessageText(const WideString& wsMessageType,
[all …]
Dxfa_utils.cpp34 WideString ExportEncodeAttribute(const WideString& str) { in ExportEncodeAttribute()
35 WideString textBuf; in ExportEncodeAttribute()
66 WideString ExportEncodeContent(const WideString& str) { in ExportEncodeContent()
115 absl::optional<WideString> wsContent = in ContentNodeNeedtoExport()
135 WideString SaveAttribute(CXFA_Node* pNode, in SaveAttribute()
140 return WideString(); in SaveAttribute()
142 absl::optional<WideString> value = in SaveAttribute()
145 return WideString(); in SaveAttribute()
147 WideString wsEncoded = ExportEncodeAttribute(value.value()); in SaveAttribute()
148 return WideString{L" ", wsName, L"=\"", wsEncoded.AsStringView(), L"\""}; in SaveAttribute()
[all …]
Dcxfa_validate.cpp64 void CXFA_Validate::SetNullTest(const WideString& wsValue) { in SetNullTest()
80 WideString CXFA_Validate::GetMessageText(const WideString& wsMessageType) { in GetMessageText()
84 return WideString(); in GetMessageText()
91 WideString wsName = pItemNode->JSObject()->GetCData(XFA_Attribute::Name); in GetMessageText()
95 return WideString(); in GetMessageText()
98 void CXFA_Validate::SetFormatMessageText(const WideString& wsMessage) { in SetFormatMessageText()
102 WideString CXFA_Validate::GetFormatMessageText() { in GetFormatMessageText()
106 void CXFA_Validate::SetNullMessageText(const WideString& wsMessage) { in SetNullMessageText()
110 WideString CXFA_Validate::GetNullMessageText() { in GetNullMessageText()
114 WideString CXFA_Validate::GetScriptMessageText() { in GetScriptMessageText()
[all …]
/external/pdfium/xfa/fxfa/
Dcxfa_ffapp.h34 virtual WideString GetLanguage() = 0;
39 virtual WideString GetPlatform() = 0;
44 virtual WideString GetAppName() = 0;
49 virtual WideString GetAppTitle() const = 0;
67 virtual int32_t MsgBox(const WideString& wsMessage,
68 const WideString& wsTitle,
81 virtual WideString Response(const WideString& wsQuestion,
82 const WideString& wsTitle,
83 const WideString& wsDefaultAnswer,
92 const WideString& wsURL) = 0;
[all …]
/external/pdfium/fpdfsdk/
Dcpdfsdk_formfillenvironment.h76 void OnSetFieldInputFocus(const WideString& text) override;
122 bool DoActionJavaScript(const CPDF_Action& JsAction, WideString csJSName);
151 WideString GetLanguage();
152 WideString GetPlatform();
154 int JS_appAlert(const WideString& Msg,
155 const WideString& Title,
158 int JS_appResponse(const WideString& Question,
159 const WideString& Title,
160 const WideString& Default,
161 const WideString& cLabel,
[all …]
/external/pdfium/fxjs/
Dcjs_event_context.h51 const WideString& script) override;
52 void OnDoc_Open(const WideString& strTargetName) override;
77 WideString* Value) override;
81 WideString* Value) override;
84 WideString* pValue,
86 void OnField_Format(CPDF_FormField* pTarget, WideString* Value) override;
87 void OnField_Keystroke(WideString* strChange,
88 const WideString& strChangeEx,
95 WideString* Value,
99 void OnField_Validate(WideString* strChange,
[all …]
Dijs_event_context.h24 const WideString& script) = 0;
26 virtual void OnDoc_Open(const WideString& strTargetName) = 0;
53 WideString* Value) = 0;
57 WideString* Value) = 0;
60 WideString* Value,
62 virtual void OnField_Format(CPDF_FormField* pTarget, WideString* Value) = 0;
63 virtual void OnField_Keystroke(WideString* strChange,
64 const WideString& strChangeEx,
71 WideString* Value,
75 virtual void OnField_Validate(WideString* strChange,
[all …]
Dcjs_event_context_stub.h19 const WideString& script) override;
21 void OnDoc_Open(const WideString& strTargetName) override {} in OnDoc_Open()
46 WideString* Value) override {} in OnField_Focus()
50 WideString* Value) override {} in OnField_Blur()
53 WideString* pValue, in OnField_Calculate()
55 void OnField_Format(CPDF_FormField* pTarget, WideString* Value) override {} in OnField_Format()
56 void OnField_Keystroke(WideString* strChange, in OnField_Keystroke()
57 const WideString& strChangeEx, in OnField_Keystroke()
64 WideString* Value, in OnField_Keystroke()
68 void OnField_Validate(WideString* strChange, in OnField_Validate()
[all …]
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_context.h79 WideString GetLanguage() override;
80 WideString GetPlatform() override;
81 WideString GetAppName() override;
82 WideString GetAppTitle() const override;
84 int32_t MsgBox(const WideString& wsMessage,
85 const WideString& wsTitle,
88 WideString Response(const WideString& wsQuestion,
89 const WideString& wsTitle,
90 const WideString& wsDefaultAnswer,
93 const WideString& wsURL) override;
[all …]
/external/pdfium/core/fpdfdoc/
Dcpdf_filespec.cpp27 WideString ChangeSlashToPlatform(const wchar_t* str) { in ChangeSlashToPlatform()
28 WideString result; in ChangeSlashToPlatform()
44 WideString ChangeSlashToPDF(const wchar_t* str) { in ChangeSlashToPDF()
45 WideString result; in ChangeSlashToPDF()
67 WideString CPDF_FileSpec::DecodeFileName(const WideString& filepath) { in DecodeFileName()
69 return WideString(); in DecodeFileName()
82 WideString result; in DecodeFileName()
88 WideString result; in DecodeFileName()
93 return WideString(filepath); in DecodeFileName()
97 WideString CPDF_FileSpec::GetFileName() const { in GetFileName()
[all …]
Dcpdf_formfield.h76 static WideString GetFullNameForDict(const CPDF_Dictionary* pFieldDict);
84 WideString GetFullName() const;
98 WideString GetAlternateName() const;
99 WideString GetMappingName() const;
107 WideString GetValue() const;
108 WideString GetDefaultValue() const;
109 bool SetValue(const WideString& value, NotificationOption notify);
121 WideString GetOptionLabel(int index) const;
122 WideString GetOptionValue(int index) const;
123 int FindOption(const WideString& csOptValue) const;
[all …]
Dcpdf_pagelabel.cpp18 WideString MakeRoman(int num) { in MakeRoman()
27 WideString wsRomanNumber; in MakeRoman()
38 WideString MakeLetters(int num) { in MakeLetters()
40 return WideString(); in MakeLetters()
42 WideString wsLetters; in MakeLetters()
55 WideString GetLabelNumPortion(int num, const ByteString& bsStyle) { in GetLabelNumPortion()
57 return WideString(); in GetLabelNumPortion()
59 return WideString::FormatInteger(num); in GetLabelNumPortion()
61 WideString wsNumPortion = MakeRoman(num); in GetLabelNumPortion()
68 WideString wsNumPortion = MakeLetters(num); in GetLabelNumPortion()
[all …]
/external/pdfium/fxjs/xfa/
Dcjx_object.h121 bool HasMethod(const WideString& func) const;
122 CJS_Result RunMethod(const WideString& func,
126 WideString GetAttributeByString(WideStringView attr) const;
127 WideString GetAttributeByEnum(XFA_Attribute attr) const;
128 absl::optional<WideString> TryAttribute(XFA_Attribute eAttr,
131 const WideString& wsValue,
133 void SetAttributeByString(WideStringView wsAttr, const WideString& wsValue);
136 WideString GetContent(bool bScriptModify) const;
137 absl::optional<WideString> TryContent(bool bScriptModify, bool bProto) const;
138 void SetContent(const WideString& wsContent,
[all …]

12345678910>>...19