Home
last modified time | relevance | path

Searched refs:wsFormat (Results 1 – 8 of 8) sorted by relevance

/external/pdfium/xfa/fxfa/parser/
Dcxfa_localevalue.h38 const WideString& wsFormat,
52 const WideString& wsFormat,
56 void GetNumericFormat(WideString& wsFormat, int32_t nIntLen, int32_t nDecLen);
58 const WideString& wsFormat,
71 const WideString& wsFormat,
Dcxfa_localevalue.cpp109 const WideString& wsFormat, in CXFA_LocaleValue() argument
114 m_bValid(ParsePatternValue(wsValue, wsFormat, pLocale)) {} in CXFA_LocaleValue()
138 const WideString& wsFormat = wsPatterns[i]; in ValidateValue() local
140 pdfium::MakeUnique<CFGAS_StringFormatter>(m_pLocaleMgr.Get(), wsFormat); in ValidateValue()
259 const WideString& wsFormat, in FormatPatterns() argument
263 for (const auto& pattern : CFGAS_StringFormatter::SplitOnBars(wsFormat)) { in FormatPatterns()
271 const WideString& wsFormat, in FormatSinglePattern() argument
282 pdfium::MakeUnique<CFGAS_StringFormatter>(m_pLocaleMgr.Get(), wsFormat); in FormatSinglePattern()
555 const WideString& wsFormat = wsPatterns[i]; in ParsePatternValue() local
557 pdfium::MakeUnique<CFGAS_StringFormatter>(m_pLocaleMgr.Get(), wsFormat); in ParsePatternValue()
[all …]
Dcxfa_node.cpp4366 WideString wsFormat(wsValue); in SetSelectedItems() local
4368 wsFormat = GetFormatDataValue(wsValue); in SetSelectedItems()
4370 JSObject()->SetContent(wsValue, wsFormat, bNotify, bScriptModify, bSyncData); in SetSelectedItems()
/external/pdfium/xfa/fxfa/
Dcxfa_ffnumericedit.cpp85 WideString wsFormat; in OnValidate() local
87 widgetValue.GetNumericFormat(wsFormat, m_pNode->GetLeadDigits(), in OnValidate()
89 return widgetValue.ValidateNumericTemp(wsText, wsFormat, in OnValidate()
/external/pdfium/fxjs/
Dcjs_util.cpp278 WideString CJS_Util::StringPrintx(const WideString& wsFormat, in StringPrintx() argument
281 wsResult.Reserve(wsFormat.GetLength()); in StringPrintx()
286 while (iFormatIdx < wsFormat.GetLength()) { in StringPrintx()
289 wsResult += wsFormat[iFormatIdx]; in StringPrintx()
293 switch (wsFormat[iFormatIdx]) { in StringPrintx()
359 wsResult += wsFormat[iFormatIdx]; in StringPrintx()
Dcjs_publicmethods.cpp1059 WideString wsFormat; in AFSpecial_Format() local
1062 wsFormat = L"99999"; in AFSpecial_Format()
1065 wsFormat = L"99999-9999"; in AFSpecial_Format()
1069 wsFormat = L"(999) 999-9999"; in AFSpecial_Format()
1071 wsFormat = L"999-9999"; in AFSpecial_Format()
1074 wsFormat = L"999-99-9999"; in AFSpecial_Format()
1078 pEvent->Value() = CJS_Util::StringPrintx(wsFormat, wsSource); in AFSpecial_Format()
/external/pdfium/fxjs/xfa/
Dcfxjse_formcalc_context.cpp2369 WideString wsFormat; in Time2Num() local
2371 wsFormat = pLocale->GetTimePattern(FX_LOCALEDATETIMESUBCATEGORY_Default); in Time2Num()
2373 wsFormat = WideString::FromUTF8(bsFormat.AsStringView()); in Time2Num()
2375 wsFormat = L"time{" + wsFormat + L"}"; in Time2Num()
2378 wsFormat, pLocale, pMgr); in Time2Num()
2455 WideString wsFormat = FormatFromString(pLocale, bsFormat); in Local2IsoDate() local
2457 wsFormat, pLocale, pMgr) in Local2IsoDate()
2478 WideString wsFormat = FormatFromString(pLocale, bsFormat); in IsoDate2Local() local
2481 .FormatPatterns(wsRet, wsFormat, pLocale, XFA_VALUEPICTURE_Display); in IsoDate2Local()
2499 WideString wsFormat = { in IsoTime2Local() local
[all …]
/external/pdfium/xfa/fgas/crt/
Dcfgas_stringformatter.cpp491 size_t GetNumTrailingLimit(const WideString& wsFormat, in GetNumTrailingLimit() argument
494 const pdfium::span<const wchar_t> spFormat = wsFormat.span(); in GetNumTrailingLimit()