Lines Matching refs:maxsz
73 grow_dst(char **dst, size_t *sz, size_t maxsz, char **dp, size_t need) in grow_dst() argument
81 if (tsz > maxsz) in grow_dst()
82 tsz = maxsz; in grow_dst()
104 vasnmprintf(char **str, size_t maxsz, int *wp, const char *fmt, va_list ap) in vasnmprintf() argument
129 if (maxsz > INT_MAX) in vasnmprintf()
130 maxsz = INT_MAX; in vasnmprintf()
164 if (print && (dp - dst >= (int)maxsz - len || in vasnmprintf()
168 if (grow_dst(&dst, &sz, maxsz, in vasnmprintf()
186 if (print && (dp - dst >= (int)maxsz - 4 || in vasnmprintf()
190 if (grow_dst(&dst, &sz, maxsz, in vasnmprintf()
223 if (ret < (int)maxsz && !print) in vasnmprintf()