Lines Matching refs:lenMax
324 int Process(wxChar *buf, size_t lenMax, wxPrintfArg *p, size_t written);
761 int wxPrintfConvSpec::Process(wxChar *buf, size_t lenMax, wxPrintfArg *p, size_t written)
771 if ( lenCur == lenMax ) \
922 len = wxMin((unsigned int)len, lenMax-lenCur);
971 if (lenMax < lenScratch)
974 wxStrncpy(buf, szScratch, lenMax);
987 const wxChar *bufend = buf + lenMax;
1060 int WXDLLEXPORT wxVsnprintf_(wxChar *buf, size_t lenMax,
1076 // number of characters in the buffer so far, must be less than lenMax
1172 lenCur += wxCopyStrWithPercents(lenMax - lenCur, buf + lenCur,
1174 if (lenCur == lenMax)
1176 buf[lenMax - 1] = 0;
1177 return lenMax+1; // not enough space in the output buffer !
1181 int n = arg[i].Process(buf+lenCur, lenMax - lenCur, &argdata[arg[i].m_pos], lenCur);
1184 buf[lenMax-1] = wxT('\0'); // be sure to always NUL-terminate the string
1185 return lenMax+1; // not enough space in the output buffer !
1200 lenCur += wxCopyStrWithPercents(lenMax - lenCur, buf + lenCur,
1205 return lenMax+1; // not enough space in the output buffer !