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,
305 o2s(uintmax_t x, bool alt_form, char *s, size_t *slen_p) { in o2s() argument
307 if (alt_form && *s != '0') { in o2s()
316 x2s(uintmax_t x, bool alt_form, bool uppercase, char *s, size_t *slen_p) { in x2s() argument
318 if (alt_form) { in x2s()
414 bool alt_form = false; in malloc_vsnprintf() local
429 assert(!alt_form); in malloc_vsnprintf()
430 alt_form = true; in malloc_vsnprintf()
535 s = o2s(val, alt_form, buf, &slen); in malloc_vsnprintf()
553 s = x2s(val, alt_form, *f == 'X', buf, &slen); in malloc_vsnprintf()