• Home
  • Raw
  • Download

Lines Matching refs:wsPattern

326   WideString wsPattern = WideString::FromUTF8(bsPattern);  in PatternStringType()  local
327 if (L"datetime" == wsPattern.First(8)) in PatternStringType()
329 if (L"date" == wsPattern.First(4)) { in PatternStringType()
330 auto pos = wsPattern.Find(L"time"); in PatternStringType()
335 if (L"time" == wsPattern.First(4)) in PatternStringType()
337 if (L"text" == wsPattern.First(4)) in PatternStringType()
339 if (L"num" == wsPattern.First(3)) { in PatternStringType()
341 if (L"integer" == wsPattern.Substr(4, 7)) { in PatternStringType()
343 } else if (L"decimal" == wsPattern.Substr(4, 7)) { in PatternStringType()
345 } else if (L"currency" == wsPattern.Substr(4, 8)) { in PatternStringType()
347 } else if (L"percent" == wsPattern.Substr(4, 7)) { in PatternStringType()
356 wsPattern.MakeLower(); in PatternStringType()
357 const wchar_t* pData = wsPattern.c_str(); in PatternStringType()
358 int32_t iLength = wsPattern.GetLength(); in PatternStringType()
3676 WideString wsPattern = WideString::FromUTF8(bsPattern.AsStringView()); in Format() local
3685 auto iTChar = wsPattern.Find(L'T'); in Format()
3691 wsDatePattern += wsPattern.First(iTChar.value()) + L"} "; in Format()
3695 wsPattern.Last(wsPattern.GetLength() - (iTChar.value() + 1)) + L"}"; in Format()
3696 wsPattern = wsDatePattern + wsTimePattern; in Format()
3699 wsPattern = L"date{" + wsPattern + L"}"; in Format()
3702 wsPattern = L"time{" + wsPattern + L"}"; in Format()
3705 wsPattern = L"text{" + wsPattern + L"}"; in Format()
3708 wsPattern = L"num{" + wsPattern + L"}"; in Format()
3711 WideString wsTestPattern = L"num{" + wsPattern + L"}"; in Format()
3715 wsPattern = std::move(wsTestPattern); in Format()
3718 wsPattern = L"text{" + wsPattern + L"}"; in Format()
3724 CXFA_LocaleValue localeValue(dwPatternType, wsValue, wsPattern, pLocale, in Format()
3727 if (!localeValue.FormatPatterns(wsRet, wsPattern, pLocale, in Format()
3852 WideString wsPattern = WideString::FromUTF8(bsPattern.AsStringView()); in Parse() local
3859 CXFA_LocaleValue localeValue(dwPatternType, wsValue, wsPattern, pLocale, in Parse()
3872 auto iTChar = wsPattern.Find(L'T'); in Parse()
3877 WideString wsDatePattern(L"date{" + wsPattern.First(iTChar.value()) + in Parse()
3881 wsPattern.Last(wsPattern.GetLength() - (iTChar.value() + 1)) + L"}"); in Parse()
3882 wsPattern = wsDatePattern + wsTimePattern; in Parse()
3883 CXFA_LocaleValue localeValue(dwPatternType, wsValue, wsPattern, pLocale, in Parse()
3894 wsPattern = L"date{" + wsPattern + L"}"; in Parse()
3895 CXFA_LocaleValue localeValue(dwPatternType, wsValue, wsPattern, pLocale, in Parse()
3906 wsPattern = L"time{" + wsPattern + L"}"; in Parse()
3907 CXFA_LocaleValue localeValue(dwPatternType, wsValue, wsPattern, pLocale, in Parse()
3918 wsPattern = L"text{" + wsPattern + L"}"; in Parse()
3919 CXFA_LocaleValue localeValue(XFA_VT_TEXT, wsValue, wsPattern, pLocale, in Parse()
3930 wsPattern = L"num{" + wsPattern + L"}"; in Parse()
3931 CXFA_LocaleValue localeValue(XFA_VT_FLOAT, wsValue, wsPattern, pLocale, in Parse()
3942 WideString wsTestPattern = L"num{" + wsPattern + L"}"; in Parse()
3952 WideString wsTestPattern = L"text{" + wsPattern + L"}"; in Parse()