Lines Matching refs:WideString
100 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()
277 WideString wsMonthName = pLocale->GetMonthName(i, symbol == L"MMM"); in ParseLocaleDate()
288 WideString wsDayName = pLocale->GetDayName(i, symbol == L"EEE"); in ParseLocaleDate()
342 bool ParseLocaleTime(const WideString& wsTime, in ParseLocaleTime()
343 const WideString& wsTimePattern, in ParseLocaleTime()
361 WideString wsLiteral = GetLiteralText(strf, &ccf, lenf); in ParseLocaleTime()
379 WideString symbol; in ParseLocaleTime()
419 WideString wsAM = pLocale->GetMeridiemName(true); in ParseLocaleTime()
420 WideString wsPM = pLocale->GetMeridiemName(false); in ParseLocaleTime()
437 WideString tz(str[(*cc)++]); in ParseLocaleTime()
484 int32_t GetNumTrailingLimit(const WideString& wsFormat, in GetNumTrailingLimit()
557 WideString NumToString(size_t fmt_size, int32_t value) { in NumToString()
558 return WideString::Format( in NumToString()
562 WideString DateFormat(const WideString& wsDatePattern, in DateFormat()
565 WideString wsResult; in DateFormat()
584 WideString symbol; in DateFormat()
624 WideString TimeFormat(const WideString& wsTimePattern, in TimeFormat()
627 WideString wsResult; in TimeFormat()
654 WideString symbol; in TimeFormat()
688 WideString::Format(L"%02d:%02d", abs(tz.tzHour), tz.tzMinute); in TimeFormat()
695 WideString FormatDateTimeInternal(const CFX_DateTime& dt, in FormatDateTimeInternal()
696 const WideString& wsDatePattern, in FormatDateTimeInternal()
697 const WideString& wsTimePattern, in FormatDateTimeInternal()
700 WideString wsDateOut; in FormatDateTimeInternal()
704 WideString wsTimeOut; in FormatDateTimeInternal()
713 bool FX_DateFromCanonical(const WideString& wsDate, CFX_DateTime* datetime) { in FX_DateFromCanonical()
840 const WideString& wsFormatString, in SplitFormatString()
841 std::vector<WideString>* wsPatterns) { in SplitFormatString()
849 wsPatterns->push_back(WideString(pToken, pStr - pToken)); in SplitFormatString()
855 wsPatterns->push_back(WideString(pToken, pStr - pToken)); in SplitFormatString()
862 FX_LOCALECATEGORY CFGAS_FormatString::GetCategory(const WideString& wsPattern) { in GetCategory()
873 WideString wsCategory(pStr[ccf]); in GetCategory()
916 WideString CFGAS_FormatString::GetTextFormat(const WideString& wsPattern, in GetTextFormat()
923 WideString wsPurgePattern; in GetTextFormat()
930 WideString wsSearchCategory(pStr[ccf]); in GetTextFormat()
963 IFX_Locale* CFGAS_FormatString::GetNumericFormat(const WideString& wsPattern, in GetNumericFormat()
966 WideString* wsPurgePattern) { in GetNumericFormat()
981 WideString wsCategory(pStr[ccf]); in GetNumericFormat()
1000 WideString wsLCID; in GetNumericFormat()
1006 WideString wsSubCategory; in GetNumericFormat()
1066 bool CFGAS_FormatString::ParseText(const WideString& wsSrcText, in ParseText()
1067 const WideString& wsPattern, in ParseText()
1068 WideString* wsValue) { in ParseText()
1073 WideString wsTextFormat = GetTextFormat(wsPattern, L"text"); in ParseText()
1086 WideString wsLiteral = in ParseText()
1139 bool CFGAS_FormatString::ParseNum(const WideString& wsSrcNum, in ParseNum()
1140 const WideString& wsPattern, in ParseNum()
1141 WideString* wsValue) { in ParseNum()
1148 WideString wsNumFormat; in ParseNum()
1155 WideString wsDotSymbol = in ParseNum()
1157 WideString wsGroupSymbol = in ParseNum()
1160 WideString wsMinus = pLocale->GetNumbericSymbol(FX_LOCALENUMSYMBOL_Minus); in ParseNum()
1190 WideString wsLiteral = GetLiteralTextReverse(strf, &ccf); in ParseNum()
1263 WideString wsSymbol = in ParseNum()
1305 WideString wsSymbol = in ParseNum()
1369 WideString wsLiteral = GetLiteralText(strf, &ccf, lenf); in ParseNum()
1439 WideString wsSymbol = in ParseNum()
1481 WideString wsSymbol = in ParseNum()
1547 const WideString& wsPattern, in GetDateTimeFormat()
1549 WideString* wsDatePattern, in GetDateTimeFormat()
1550 WideString* wsTimePattern) { in GetDateTimeFormat()
1552 WideString wsTempPattern; in GetDateTimeFormat()
1567 WideString wsCategory(pStr[ccf]); in GetDateTimeFormat()
1604 WideString wsLCID; in GetDateTimeFormat()
1610 WideString wsSubCategory; in GetDateTimeFormat()
1684 bool CFGAS_FormatString::ParseDateTime(const WideString& wsSrcDateTime, in ParseDateTime()
1685 const WideString& wsPattern, in ParseDateTime()
1692 WideString wsDatePattern; in ParseDateTime()
1693 WideString wsTimePattern; in ParseDateTime()
1729 bool CFGAS_FormatString::ParseZero(const WideString& wsSrcText, in ParseZero()
1730 const WideString& wsPattern) { in ParseZero()
1731 WideString wsTextFormat = GetTextFormat(wsPattern, L"zero"); in ParseZero()
1741 WideString wsLiteral = in ParseZero()
1761 bool CFGAS_FormatString::ParseNull(const WideString& wsSrcText, in ParseNull()
1762 const WideString& wsPattern) { in ParseNull()
1763 WideString wsTextFormat = GetTextFormat(wsPattern, L"null"); in ParseNull()
1773 WideString wsLiteral = in ParseNull()
1793 bool CFGAS_FormatString::FormatText(const WideString& wsSrcText, in FormatText()
1794 const WideString& wsPattern, in FormatText()
1795 WideString* wsOutput) { in FormatText()
1803 WideString wsTextFormat = GetTextFormat(wsPattern, L"text"); in FormatText()
1856 const WideString& wsPattern, in FormatStrNum()
1857 WideString* wsOutput) { in FormatStrNum()
1863 WideString wsNumFormat; in FormatStrNum()
1872 WideString wsSrcNum(wsInputNum); in FormatStrNum()
1936 WideString wsGroupSymbol = in FormatStrNum()
2009 *wsOutput = WideString::Format(L"E%+d", exponent) + *wsOutput; in FormatStrNum()
2111 WideString wsDotSymbol = in FormatStrNum()
2165 *wsOutput += WideString::Format(L"E%+d", exponent); in FormatStrNum()
2242 bool CFGAS_FormatString::FormatNum(const WideString& wsSrcNum, in FormatNum()
2243 const WideString& wsPattern, in FormatNum()
2244 WideString* wsOutput) { in FormatNum()
2250 bool CFGAS_FormatString::FormatDateTime(const WideString& wsSrcDateTime, in FormatDateTime()
2251 const WideString& wsPattern, in FormatDateTime()
2253 WideString* wsOutput) { in FormatDateTime()
2257 WideString wsDatePattern; in FormatDateTime()
2258 WideString wsTimePattern; in FormatDateTime()
2291 WideString wsSrcDate(wsSrcDateTime.c_str(), iT.value()); in FormatDateTime()
2307 bool CFGAS_FormatString::FormatZero(const WideString& wsPattern, in FormatZero()
2308 WideString* wsOutput) { in FormatZero()
2312 WideString wsTextFormat = GetTextFormat(wsPattern, L"zero"); in FormatZero()
2327 bool CFGAS_FormatString::FormatNull(const WideString& wsPattern, in FormatNull()
2328 WideString* wsOutput) { in FormatNull()
2332 WideString wsTextFormat = GetTextFormat(wsPattern, L"null"); in FormatNull()