Searched refs:wsFormat (Results 1 – 8 of 8) sorted by relevance
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_localevalue.cpp | 89 const WideString& wsFormat, in CXFA_LocaleValue() argument 94 m_bValid(ParsePatternValue(wsValue, wsFormat, pLocale)) {} in CXFA_LocaleValue() 123 WideString wsFormat = wsPatterns[i]; in ValidateValue() local 124 switch (ValueCategory(pFormat->GetCategory(wsFormat), m_dwType)) { in ValidateValue() 126 bRet = pFormat->ParseNull(wsValue, wsFormat); in ValidateValue() 131 bRet = pFormat->ParseZero(wsValue, wsFormat); in ValidateValue() 137 bRet = pFormat->ParseNum(wsValue, wsFormat, &fNum); in ValidateValue() 139 bRet = pFormat->FormatNum(wsValue, wsFormat, &wsOutput); in ValidateValue() 143 bRet = pFormat->ParseText(wsValue, wsFormat, &wsOutput); in ValidateValue() 146 bRet = pFormat->FormatText(wsValue, wsFormat, &wsOutput); in ValidateValue() [all …]
|
D | cxfa_localevalue.h | 38 const WideString& wsFormat, 50 const WideString& wsFormat, 54 void GetNumericFormat(WideString& wsFormat, int32_t nIntLen, int32_t nDecLen); 56 const WideString& wsFormat, 70 const WideString& wsFormat,
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_ffnumericedit.cpp | 84 WideString wsFormat; in OnValidate() local 86 widgetValue.GetNumericFormat(wsFormat, in OnValidate() 89 return widgetValue.ValidateNumericTemp(wsText, wsFormat, in OnValidate()
|
D | cxfa_widgetacc.cpp | 2056 WideString wsFormat(wsValue); in SetSelectedItems() local 2058 wsFormat = GetFormatDataValue(wsValue); in SetSelectedItems() 2060 m_pNode->JSObject()->SetContent(wsValue, wsFormat, bNotify, bScriptModify, in SetSelectedItems()
|
/external/pdfium/fxjs/ |
D | cjs_util.cpp | 274 WideString util::printx(const WideString& wsFormat, in printx() argument 281 while (iFormatIdx < wsFormat.GetLength()) { in printx() 284 wsResult += wsFormat[iFormatIdx]; in printx() 288 switch (wsFormat[iFormatIdx]) { in printx() 354 wsResult += wsFormat[iFormatIdx]; in printx()
|
D | cjs_publicmethods.cpp | 1368 WideString wsFormat; in AFSpecial_Format() local 1371 wsFormat = L"99999"; in AFSpecial_Format() 1374 wsFormat = L"99999-9999"; in AFSpecial_Format() 1378 wsFormat = L"(999) 999-9999"; in AFSpecial_Format() 1380 wsFormat = L"999-9999"; in AFSpecial_Format() 1383 wsFormat = L"999-99-9999"; in AFSpecial_Format() 1387 pEvent->Value() = util::printx(wsFormat, wsSource); in AFSpecial_Format()
|
D | cfxjse_formcalc_context.cpp | 1651 WideString wsFormat; in Time2Num() local 1653 wsFormat = pLocale->GetTimePattern(FX_LOCALEDATETIMESUBCATEGORY_Default); in Time2Num() 1655 wsFormat = WideString::FromUTF8(formatString.AsStringView()); in Time2Num() 1657 wsFormat = L"time{" + wsFormat + L"}"; in Time2Num() 1660 wsFormat, pLocale, pMgr); in Time2Num() 2005 WideString wsFormat = FormatFromString(pLocale, szFormat); in Local2IsoDate() local 2007 wsFormat, pLocale, pMgr) in Local2IsoDate() 2029 WideString wsFormat = FormatFromString(pLocale, szFormat); in IsoDate2Local() local 2032 .FormatPatterns(wsRet, wsFormat, pLocale, XFA_VALUEPICTURE_Display); in IsoDate2Local() 2051 WideString wsFormat = { in IsoTime2Local() local [all …]
|
/external/pdfium/xfa/fgas/crt/ |
D | cfgas_formatstring.cpp | 484 int32_t GetNumTrailingLimit(const WideString& wsFormat, in GetNumTrailingLimit() argument 490 int32_t iCount = wsFormat.GetLength(); in GetNumTrailingLimit() 493 wchar_t wc = wsFormat[iDotPos]; in GetNumTrailingLimit()
|