Home
last modified time | relevance | path

Searched refs:wsSrcNum (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/xfa/fgas/crt/
Dcfgas_stringformatter.h55 const WideString& wsSrcNum,
66 const WideString& wsSrcNum,
Dcfgas_stringformatter.cpp1153 const WideString& wsSrcNum, in ParseNum() argument
1156 if (wsSrcNum.IsEmpty() || m_spPattern.empty()) in ParseNum()
1174 pdfium::span<const wchar_t> spSrcNum = wsSrcNum.span(); in ParseNum()
1184 if (!GetNumericDotIndex(wsSrcNum, wsDotSymbol, &dot_index) && in ParseNum()
1872 WideString wsSrcNum = wsInputNum; in FormatNum() local
1873 wsSrcNum.TrimLeft('0'); in FormatNum()
1874 if (wsSrcNum.IsEmpty() || wsSrcNum[0] == '.') in FormatNum()
1875 wsSrcNum.InsertAtFront('0'); in FormatNum()
1877 CFGAS_Decimal decimal = CFGAS_Decimal(wsSrcNum.AsStringView()); in FormatNum()
1880 wsSrcNum = decimal.ToWideString(); in FormatNum()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_node.cpp644 WideString wsSrcNum = wsValue; in FormatNumStr() local
647 if (wsSrcNum[0] == '-') { in FormatNumStr()
649 wsSrcNum.Delete(0, 1); in FormatNumStr()
652 size_t dot_index = wsSrcNum.Find('.').value_or(wsSrcNum.GetLength()); in FormatNumStr()
662 wsOutput += wsSrcNum[i]; in FormatNumStr()
664 if (dot_index < wsSrcNum.GetLength()) { in FormatNumStr()
666 wsOutput += wsSrcNum.Last(wsSrcNum.GetLength() - dot_index - 1); in FormatNumStr()