Home
last modified time | relevance | path

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

12345678910>>...19

/external/pdfium/xfa/fgas/crt/
Dcfgas_formatstring.h15 bool FX_DateFromCanonical(const WideString& wsDate, CFX_DateTime* datetime);
25 void SplitFormatString(const WideString& wsFormatString,
26 std::vector<WideString>* wsPatterns);
27 FX_LOCALECATEGORY GetCategory(const WideString& wsPattern);
29 bool ParseText(const WideString& wsSrcText,
30 const WideString& wsPattern,
31 WideString* wsValue);
32 bool ParseNum(const WideString& wsSrcNum,
33 const WideString& wsPattern,
34 WideString* wsValue);
[all …]
Dcfgas_formatstring.cpp100 WideString GetLiteralText(const wchar_t* pStrPattern, in GetLiteralText()
103 WideString wsOutput; in GetLiteralText()
138 WideString GetLiteralTextReverse(const wchar_t* pStrPattern, in GetLiteralTextReverse()
140 WideString wsOutput; in GetLiteralTextReverse()
176 bool GetNumericDotIndex(const WideString& wsNum, in GetNumericDotIndex()
177 const WideString& wsDotSymbol, in GetNumericDotIndex()
224 bool ParseLocaleDate(const WideString& wsDate, in ParseLocaleDate()
225 const WideString& wsDatePattern, in ParseLocaleDate()
240 WideString wsLiteral = GetLiteralText(strf, &ccf, lenf); in ParseLocaleDate()
258 WideString symbol; in ParseLocaleDate()
[all …]
/external/pdfium/core/fxcrt/
Dwidestring.h30 class WideString {
36 static WideString Format(const wchar_t* lpszFormat, ...) WARN_UNUSED_RESULT;
37 static WideString FormatV(const wchar_t* lpszFormat,
40 WideString();
41 WideString(const WideString& other);
42 WideString(WideString&& other) noexcept;
46 WideString(wchar_t ch);
48 WideString(const wchar_t* ptr);
52 WideString(char) = delete;
54 WideString(const wchar_t* ptr, size_t len);
[all …]
Dwidestring.cpp25 template class fxcrt::StringPoolTemplate<WideString>;
26 template struct std::hash<WideString>;
252 Optional<WideString> TryVSWPrintf(size_t size, in TryVSWPrintf()
255 WideString str; in TryVSWPrintf()
290 WideString GetWideString(uint16_t codepage, const ByteStringView& bstr) { in GetWideString()
299 return WideString(); in GetWideString()
301 WideString wstr; in GetWideString()
313 static_assert(sizeof(WideString) <= sizeof(wchar_t*),
317 WideString WideString::FormatV(const wchar_t* format, va_list argList) { in FormatV()
335 Optional<WideString> ret = in FormatV()
[all …]
Dwidestring_unittest.cpp15 TEST(WideString, ElementAccess) { in TEST() argument
16 const WideString abc(L"abc"); in TEST()
24 WideString mutable_abc = abc; in TEST()
52 TEST(WideString, OperatorLT) { in TEST() argument
53 WideString empty; in TEST()
54 WideString a(L"a"); in TEST()
55 WideString abc(L"\x0110qq"); // Comes before despite endianness. in TEST()
56 WideString def(L"\x1001qq"); // Comes after despite endianness. in TEST()
147 TEST(WideString, OperatorEQ) { in TEST() argument
148 WideString null_string; in TEST()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_xmllocale.cpp24 WideString CXFA_XMLLocale::GetName() const { in GetName()
25 return m_pLocaleData ? m_pLocaleData->GetAttrValue("name") : WideString(); in GetName()
28 WideString CXFA_XMLLocale::GetNumbericSymbol(FX_LOCALENUMSYMBOL eType) const { in GetNumbericSymbol()
30 WideString wsName; in GetNumbericSymbol()
61 return WideString(); in GetNumbericSymbol()
66 return WideString(); in GetNumbericSymbol()
73 WideString CXFA_XMLLocale::GetDateTimeSymbols() const { in GetDateTimeSymbols()
75 return WideString(); in GetDateTimeSymbols()
80 return WideString(); in GetDateTimeSymbols()
84 return WideString(); in GetDateTimeSymbols()
[all …]
Dcxfa_localevalue.h34 const WideString& wsValue,
37 const WideString& wsValue,
38 const WideString& wsFormat,
44 bool ValidateValue(const WideString& wsValue,
45 const WideString& wsPattern,
47 WideString* pMatchFormat);
49 bool FormatPatterns(WideString& wsResult,
50 const WideString& wsFormat,
54 void GetNumericFormat(WideString& wsFormat, int32_t nIntLen, int32_t nDecLen);
55 bool ValidateNumericTemp(const WideString& wsNumeric,
[all …]
Dcxfa_nodelocale.cpp30 WideString XFA_PatternToString(FX_LOCALENUMSUBCATEGORY category) { in XFA_PatternToString()
41 return WideString(); in XFA_PatternToString()
48 WideString CXFA_NodeLocale::GetName() const { in GetName()
49 return WideString(m_pLocale in GetName()
54 WideString CXFA_NodeLocale::GetNumbericSymbol(FX_LOCALENUMSYMBOL eType) const { in GetNumbericSymbol()
71 return WideString(); in GetNumbericSymbol()
74 WideString CXFA_NodeLocale::GetDateTimeSymbols() const { in GetDateTimeSymbols()
79 return pSymbols ? pSymbols->JSObject()->GetContent(false) : WideString(); in GetDateTimeSymbols()
82 WideString CXFA_NodeLocale::GetMonthName(int32_t nMonth, bool bAbbr) const { in GetMonthName()
86 WideString CXFA_NodeLocale::GetDayName(int32_t nWeek, bool bAbbr) const { in GetDayName()
[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();
37 WideString GetMessageText(const WideString& wsMessageType);
38 void SetMessageText(const WideString& wsMessageType,
[all …]
Dcxfa_nodelocale.h17 WideString XFA_PatternToString(FX_LOCALENUMSUBCATEGORY category);
25 WideString GetName() const override;
26 WideString GetNumbericSymbol(FX_LOCALENUMSYMBOL eType) const override;
28 WideString GetDateTimeSymbols() const override;
29 WideString GetMonthName(int32_t nMonth, bool bAbbr) const override;
30 WideString GetDayName(int32_t nWeek, bool bAbbr) const override;
31 WideString GetMeridiemName(bool bAM) const override;
33 WideString GetEraName(bool bAD) const override;
35 WideString GetDatePattern(FX_LOCALEDATETIMESUBCATEGORY eType) const override;
36 WideString GetTimePattern(FX_LOCALEDATETIMESUBCATEGORY eType) const override;
[all …]
Dcxfa_xmllocale.h22 WideString GetName() const override;
23 WideString GetNumbericSymbol(FX_LOCALENUMSYMBOL eType) const override;
25 WideString GetDateTimeSymbols() const override;
26 WideString GetMonthName(int32_t nMonth, bool bAbbr) const override;
27 WideString GetDayName(int32_t nWeek, bool bAbbr) const override;
28 WideString GetMeridiemName(bool bAM) const override;
30 WideString GetEraName(bool bAD) const override;
32 WideString GetDatePattern(FX_LOCALEDATETIMESUBCATEGORY eType) const override;
33 WideString GetTimePattern(FX_LOCALEDATETIMESUBCATEGORY eType) const override;
34 WideString GetNumPattern(FX_LOCALENUMSUBCATEGORY eType) const override;
[all …]
/external/pdfium/core/fxcrt/xml/
Dcfx_xmlattributenode.h18 explicit CFX_XMLAttributeNode(const WideString& name);
25 WideString GetName() const { return name_; } in GetName()
26 const std::map<WideString, WideString>& GetAttributes() const { in GetAttributes()
29 void SetAttributes(const std::map<WideString, WideString>& attrs) { in SetAttributes() argument
32 bool HasAttribute(const WideString& name) const;
34 void SetString(const WideString& name, const WideString& value);
35 WideString GetString(const WideString& name) const;
37 void RemoveAttribute(const WideString& name);
40 WideString name_;
41 std::map<WideString, WideString> attrs_;
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_context.h63 WideString GetLanguage() override;
64 WideString GetPlatform() override;
65 WideString GetAppName() override;
66 WideString GetAppTitle() const override;
69 int32_t MsgBox(const WideString& wsMessage,
70 const WideString& wsTitle,
73 WideString Response(const WideString& wsQuestion,
74 const WideString& wsTitle,
75 const WideString& wsDefaultAnswer,
78 const WideString& wsURL) override;
[all …]
Dcpdfxfa_context.cpp211 WideString CPDFXFA_Context::GetAppTitle() const { in GetAppTitle()
215 WideString CPDFXFA_Context::GetAppName() { in GetAppName()
219 WideString CPDFXFA_Context::GetLanguage() { in GetLanguage()
223 WideString CPDFXFA_Context::GetPlatform() { in GetPlatform()
232 int32_t CPDFXFA_Context::MsgBox(const WideString& wsMessage, in MsgBox()
233 const WideString& wsTitle, in MsgBox()
284 WideString CPDFXFA_Context::Response(const WideString& wsQuestion, in Response()
285 const WideString& wsTitle, in Response()
286 const WideString& wsDefaultAnswer, in Response()
289 return WideString(); in Response()
[all …]
/external/pdfium/xfa/fxfa/
Dfxfa.h114 virtual WideString GetLanguage() = 0;
119 virtual WideString GetPlatform() = 0;
124 virtual WideString GetAppName() = 0;
129 virtual WideString GetAppTitle() const = 0;
147 virtual int32_t MsgBox(const WideString& wsMessage,
148 const WideString& wsTitle = L"",
160 virtual WideString Response(const WideString& wsQuestion,
161 const WideString& wsTitle = L"",
162 const WideString& wsDefaultAnswer = L"",
171 const WideString& wsURL) = 0;
[all …]
Dcxfa_widgetacc.h85 void SetImageEdit(const WideString& wsContentType,
86 const WideString& wsHref,
87 const WideString& wsData);
134 Optional<WideString> GetChoiceListItem(int32_t nIndex, bool bSaveValue);
137 std::vector<WideString> GetChoiceListItems(bool bSaveValue);
142 std::vector<WideString> GetSelectedItemsValue();
147 void InsertItem(const WideString& wsLabel,
148 const WideString& wsValue,
160 WideString GetItemValue(const WideStringView& wsLabel);
166 bool SetValue(XFA_VALUEPICTURE eValueType, const WideString& wsValue);
[all …]
/external/pdfium/core/fpdfdoc/
Dcpdf_filespec.cpp23 WideString ChangeSlashToPlatform(const wchar_t* str) { in ChangeSlashToPlatform()
24 WideString result; in ChangeSlashToPlatform()
40 WideString ChangeSlashToPDF(const wchar_t* str) { in ChangeSlashToPDF()
41 WideString result; in ChangeSlashToPDF()
62 WideString CPDF_FileSpec::DecodeFileName(const WideString& filepath) { in DecodeFileName()
64 return WideString(); in DecodeFileName()
77 WideString result; in DecodeFileName()
83 WideString result; in DecodeFileName()
88 return WideString(filepath); in DecodeFileName()
92 WideString CPDF_FileSpec::GetFileName() const { in GetFileName()
[all …]
Dcpdf_formfield.h85 WideString FPDF_GetFullName(CPDF_Dictionary* pFieldDict);
105 WideString GetFullName() const;
127 WideString GetAlternateName() const;
128 WideString GetMappingName() const;
132 WideString GetRichTextString() const;
134 WideString GetValue() const;
135 WideString GetDefaultValue() const;
136 bool SetValue(const WideString& value, bool bNotify = false);
151 WideString GetOptionLabel(int index) const;
152 WideString GetOptionValue(int index) const;
[all …]
Dcpdf_pagelabel.cpp16 WideString MakeRoman(int num) { in MakeRoman()
18 const WideString kRoman[] = {L"m", L"cm", L"d", L"cd", L"c", L"xc", L"l", in MakeRoman()
24 WideString wsRomanNumber; in MakeRoman()
35 WideString MakeLetters(int num) { in MakeLetters()
37 return WideString(); in MakeLetters()
39 WideString wsLetters; in MakeLetters()
52 WideString GetLabelNumPortion(int num, const ByteString& bsStyle) { in GetLabelNumPortion()
56 return WideString::Format(L"%d", num); in GetLabelNumPortion()
58 WideString wsNumPortion = MakeRoman(num); in GetLabelNumPortion()
65 WideString wsNumPortion = MakeLetters(num); in GetLabelNumPortion()
[all …]
Dcpdf_formfield.cpp71 WideString FPDF_GetFullName(CPDF_Dictionary* pFieldDict) { in FPDF_GetFullName()
72 WideString full_name; in FPDF_GetFullName()
77 WideString short_name = pLevel->GetUnicodeTextFor("T"); in FPDF_GetFullName()
160 WideString CPDF_FormField::GetFullName() const { in GetFullName()
186 WideString csValue; in ResetField()
205 WideString csDValue; in ResetField()
210 WideString csValue; in ResetField()
277 WideString CPDF_FormField::GetAlternateName() const { in GetAlternateName()
282 WideString CPDF_FormField::GetMappingName() const { in GetMappingName()
297 WideString CPDF_FormField::GetRichTextString() const { in GetRichTextString()
[all …]
/external/pdfium/fxjs/
Dcjs_eventhandler.h70 const WideString& strTargetName);
84 WideString& Value,
87 WideString& Value,
89 void OnField_Keystroke(WideString& strChange,
90 const WideString& strChangeEx,
97 WideString& Value,
101 void OnField_Validate(WideString& strChange,
102 const WideString& strChangeEx,
107 WideString& Value,
117 const WideString& Value);
[all …]
Dcjs_event_context_stub.h18 bool RunScript(const WideString& script, WideString* info) override;
22 const WideString& strTargetName) override {} in OnDoc_Open()
47 const WideString& Value) override {} in OnField_Focus()
51 const WideString& Value) override {} in OnField_Blur()
54 WideString& Value, in OnField_Calculate()
57 WideString& Value, in OnField_Format()
59 void OnField_Keystroke(WideString& strChange, in OnField_Keystroke()
60 const WideString& strChangeEx, in OnField_Keystroke()
67 WideString& Value, in OnField_Keystroke()
71 void OnField_Validate(WideString& strChange, in OnField_Validate()
[all …]
/external/pdfium/fpdfsdk/
Dfpdfdoc_embeddertest.cpp187 EXPECT_EQ(WideString(L"A Good Beginning"), WideString::FromUTF16LE(buf, 16)); in TEST_F()
194 EXPECT_EQ(WideString(L"A Good Ending"), WideString::FromUTF16LE(buf, 13)); in TEST_F()
212 EXPECT_EQ(WideString(L"A Good Beginning"), WideString::FromUTF16LE(buf, 16)); in TEST_F()
260 EXPECT_EQ(WideString(kExpectedCreator), in TEST_F()
261 WideString::FromUTF16LE(buf, FXSYS_len(kExpectedCreator))); in TEST_F()
266 EXPECT_EQ(WideString(kExpectedCreationDate), in TEST_F()
267 WideString::FromUTF16LE(buf, FXSYS_len(kExpectedCreationDate))); in TEST_F()
271 EXPECT_EQ(WideString(kExpectedModDate), in TEST_F()
272 WideString::FromUTF16LE(buf, FXSYS_len(kExpectedModDate))); in TEST_F()
284 EXPECT_EQ(WideString(kExpectedModDate), in TEST_F()
[all …]
Dcpdfsdk_formfillenvironment.cpp72 ByteString bsMsg = WideString(Msg).UTF16LE_Encode(); in JS_appAlert()
73 ByteString bsTitle = WideString(Title).UTF16LE_Encode(); in JS_appAlert()
90 ByteString bsQuestion = WideString(Question).UTF16LE_Encode(); in JS_appResponse()
91 ByteString bsTitle = WideString(Title).UTF16LE_Encode(); in JS_appResponse()
92 ByteString bsDefault = WideString(Default).UTF16LE_Encode(); in JS_appResponse()
93 ByteString bsLabel = WideString(cLabel).UTF16LE_Encode(); in JS_appResponse()
108 WideString CPDFSDK_FormFillEnvironment::JS_fieldBrowse() { in JS_fieldBrowse()
111 return WideString(); in JS_fieldBrowse()
116 return WideString(); in JS_fieldBrowse()
122 return WideString(); in JS_fieldBrowse()
[all …]
/external/pdfium/core/fxcrt/css/
Dcfx_cssvaluelistparser_unittest.cpp21 EXPECT_EQ(L"#abc", WideString(start, len)); in TEST()
27 EXPECT_EQ(L"#abcdef", WideString(start, len)); in TEST()
34 EXPECT_EQ(L"rgb(1, 255, 4)", WideString(start, len)); in TEST()
39 EXPECT_EQ(L"#abcdefghij", WideString(start, len)); in TEST()
51 EXPECT_EQ(L"1234", WideString(start, len)); in TEST()
56 EXPECT_EQ(L"-1234", WideString(start, len)); in TEST()
61 EXPECT_EQ(L"+1234", WideString(start, len)); in TEST()
66 EXPECT_EQ(L".1234", WideString(start, len)); in TEST()
71 EXPECT_EQ(L"4321.1234", WideString(start, len)); in TEST()
77 EXPECT_EQ(L"4321.12.34", WideString(start, len)); in TEST()
[all …]

12345678910>>...19