Searched refs:nMaxLen (Results 1 – 4 of 4) sorted by relevance
76 int32_t nMaxLen = m_pWidget->GetMaxLen(); in NewPDFWindow() local79 if (nMaxLen > 0) { in NewPDFWindow()81 pWnd->SetCharArray(nMaxLen); in NewPDFWindow()84 pWnd->SetLimitChar(nMaxLen); in NewPDFWindow()
62 size_t nMaxLen = 0; in GuessSizeForVSWPrintf() local65 ++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()
119 int nMaxLen = vsnprintf(nullptr, 0, pFormat, argListCopy); in FormatV() local122 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()
1770 int nMaxLen = pField->GetMaxLen(); in SetAsTextField() local1782 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 …]