Lines Matching refs:wsSrcNum
1122 bool CFGAS_StringFormatter::ParseNum(const WideString& wsSrcNum, in ParseNum() argument
1125 if (wsSrcNum.IsEmpty() || m_spPattern.empty()) in ParseNum()
1143 pdfium::span<const wchar_t> spSrcNum = wsSrcNum.span(); in ParseNum()
1153 if (!GetNumericDotIndex(wsSrcNum, wsDotSymbol, &dot_index) && in ParseNum()
1846 WideString wsSrcNum = wsInputNum; in FormatNum() local
1847 wsSrcNum.TrimLeft('0'); in FormatNum()
1848 if (wsSrcNum.IsEmpty() || wsSrcNum[0] == '.') in FormatNum()
1849 wsSrcNum.InsertAtFront('0'); in FormatNum()
1851 CFGAS_Decimal decimal = CFGAS_Decimal(wsSrcNum.AsStringView()); in FormatNum()
1854 wsSrcNum = decimal.ToWideString(); in FormatNum()
1907 wsSrcNum = decimal.ToWideString(); in FormatNum()
1910 wsSrcNum.TrimRight(L"0"); in FormatNum()
1911 wsSrcNum.TrimRight(L"."); in FormatNum()
1916 if (wsSrcNum[0] == '-') { in FormatNum()
1918 wsSrcNum.Delete(0, 1); in FormatNum()
1922 pdfium::span<const wchar_t> spSrcNum = wsSrcNum.span(); in FormatNum()
1923 auto dot_index = wsSrcNum.Find('.'); in FormatNum()
2046 *wsOutput += wsSrcNum[i]; in FormatNum()
2050 *wsOutput += wsSrcNum.Last(spSrcNum.size() - dot_index.value() - 1); in FormatNum()