Lines Matching refs:alt_form
63 static char *o2s(uintmax_t x, bool alt_form, char *s, size_t *slen_p);
65 static char *x2s(uintmax_t x, bool alt_form, bool uppercase, char *s,
319 o2s(uintmax_t x, bool alt_form, char *s, size_t *slen_p) { in o2s() argument
321 if (alt_form && *s != '0') { in o2s()
330 x2s(uintmax_t x, bool alt_form, bool uppercase, char *s, size_t *slen_p) { in x2s() argument
332 if (alt_form) { in x2s()
428 bool alt_form = false; in malloc_vsnprintf() local
443 assert(!alt_form); in malloc_vsnprintf()
444 alt_form = true; in malloc_vsnprintf()
549 s = o2s(val, alt_form, buf, &slen); in malloc_vsnprintf()
567 s = x2s(val, alt_form, *f == 'X', buf, &slen); in malloc_vsnprintf()