Home
last modified time | relevance | path

Searched refs:nMaxLen (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/fpdfsdk/formfiller/
Dcffl_textfield.cpp76 int32_t nMaxLen = m_pWidget->GetMaxLen(); in NewPDFWindow() local
79 if (nMaxLen > 0) { in NewPDFWindow()
81 pWnd->SetCharArray(nMaxLen); in NewPDFWindow()
84 pWnd->SetLimitChar(nMaxLen); in NewPDFWindow()
/external/pdfium/core/fxcrt/
Dwidestring.cpp62 size_t nMaxLen = 0; in GuessSizeForVSWPrintf() local
65 ++nMaxLen; in GuessSizeForVSWPrintf()
72 nMaxLen += 2; in GuessSizeForVSWPrintf()
245 nMaxLen += nItemLen; in GuessSizeForVSWPrintf()
247 nMaxLen += 32; // Fudge factor. in GuessSizeForVSWPrintf()
248 return Optional<size_t>(nMaxLen); in GuessSizeForVSWPrintf()
Dbytestring.cpp119 int nMaxLen = vsnprintf(nullptr, 0, pFormat, argListCopy); in FormatV() local
122 if (nMaxLen <= 0) in FormatV()
126 char* buf = ret.GetBuffer(nMaxLen); in FormatV()
130 memset(buf, 0, nMaxLen + 1); in FormatV()
132 vsnprintf(buf, nMaxLen + 1, pFormat, argListCopy); in FormatV()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_appstream.cpp1770 int nMaxLen = pField->GetMaxLen(); in SetAsTextField() local
1782 if (nMaxLen > 0) { in SetAsTextField()
1784 pEdit->SetCharArray(nMaxLen); in SetAsTextField()
1788 rcClient, nMaxLen); in SetAsTextField()
1792 nMaxLen = sValue->GetLength(); in SetAsTextField()
1793 pEdit->SetLimitChar(nMaxLen); in SetAsTextField()
1842 for (int32_t i = 1; i < nMaxLen; ++i) { in SetAsTextField()
1844 ((rcClient.right - rcClient.left) / nMaxLen) * i in SetAsTextField()
1847 ((rcClient.right - rcClient.left) / nMaxLen) * i in SetAsTextField()
1866 for (int32_t i = 1; i < nMaxLen; ++i) { in SetAsTextField()
[all …]