Lines Matching refs:n_buf
909 int n_buf; in OS_VSNPrintfEx() local
1108 int n_buf = 0; in OS_VSNPrintfEx() local
1113 while (p_buf[n_buf]) in OS_VSNPrintfEx()
1117 n_buf += 2; in OS_VSNPrintfEx()
1121 ++n_buf; in OS_VSNPrintfEx()
1127 while ((n_buf < precision) && p_buf[n_buf]) in OS_VSNPrintfEx()
1131 n_buf += 2; in OS_VSNPrintfEx()
1135 ++n_buf; in OS_VSNPrintfEx()
1141 n_buf /= 2; in OS_VSNPrintfEx()
1143 width -= n_buf; in OS_VSNPrintfEx()
1151 while (n_buf--) in OS_VSNPrintfEx()
1166 string_put_string(&str, p_buf, n_buf); in OS_VSNPrintfEx()
1180 while (n_buf--) in OS_VSNPrintfEx()
1195 string_put_string(&str, p_buf, n_buf); in OS_VSNPrintfEx()
1206 int n_buf = width; in OS_VSNPrintfEx() local
1211 if (n_buf <= 0) in OS_VSNPrintfEx()
1213 n_buf = 1; in OS_VSNPrintfEx()
1235 if (count >= n_buf) in OS_VSNPrintfEx()
1370 n_buf = 0; in OS_VSNPrintfEx()
1378 buf[n_buf++] = (char)(d + '0'); in OS_VSNPrintfEx()
1395 buf[n_buf++] = (char)(d + '0'); in OS_VSNPrintfEx()
1405 buf[n_buf++] = (char)(d + '0'); in OS_VSNPrintfEx()
1414 buf[n_buf++] = (char)((d < 10) ? (d + '0') : (d + hex_char)); in OS_VSNPrintfEx()
1421 buf[n_buf++] = '0'; in OS_VSNPrintfEx()
1428 int n_pad = precision - n_buf; in OS_VSNPrintfEx()
1431 if (n_pad < width - n_buf - n_prefix) in OS_VSNPrintfEx()
1432 n_pad = width - n_buf - n_prefix; in OS_VSNPrintfEx()
1436 width -= n_prefix + n_buf; in OS_VSNPrintfEx()
1442 while (n_buf > 0) in OS_VSNPrintfEx()
1443 string_put_char(&str, buf[--n_buf]); in OS_VSNPrintfEx()