Home
last modified time | relevance | path

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

/freebsd/contrib/libarchive/tar/
H A Dutil.c81 int fmtbuff_length; in safe_fprintf() local
91 fmtbuff_length = sizeof(fmtbuff_stack); in safe_fprintf()
96 length = vsnprintf(fmtbuff, fmtbuff_length, fmt, ap); in safe_fprintf()
100 while (length < 0 || length >= fmtbuff_length) { in safe_fprintf()
101 if (length >= fmtbuff_length) in safe_fprintf()
102 fmtbuff_length = length+1; in safe_fprintf()
103 else if (fmtbuff_length < 8192) in safe_fprintf()
104 fmtbuff_length *= 2; in safe_fprintf()
105 else if (fmtbuff_length < 1000000) in safe_fprintf()
106 fmtbuff_length += fmtbuff_length / 4; in safe_fprintf()
[all …]