Lines Matching full:pi

123 __printf_arginfo_float(const struct printf_info *pi, size_t n, int *argt)  in __printf_arginfo_float()  argument
127 if (pi->is_long_double) in __printf_arginfo_float()
148 __printf_render_float(struct __printf_io *io, const struct printf_info *pi, const void *const *arg) in __printf_render_float() argument
179 prec = pi->prec; in __printf_render_float()
181 sign = pi->showsign; in __printf_render_float()
187 if (pi->alt) in __printf_render_float()
192 switch(pi->spec) { in __printf_render_float()
195 if (pi->spec == 'a') { in __printf_render_float()
206 if (pi->is_long_double) { in __printf_render_float()
224 expchar = pi->spec; in __printf_render_float()
236 expchar = pi->spec - ('g' - 'e'); in __printf_render_float()
241 assert(pi->spec == 'f'); in __printf_render_float()
246 if (pi->is_long_double) { in __printf_render_float()
264 cp = (pi->spec >= 'a') ? "nan" : "NAN"; in __printf_render_float()
267 cp = (pi->spec >= 'a') ? "inf" : "INF"; in __printf_render_float()
273 if (pi->spec == 'g' || pi->spec == 'G') { in __printf_render_float()
277 if (pi->alt) in __printf_render_float()
288 if (!pi->alt) in __printf_render_float()
295 if (prec > 1 || pi->alt) in __printf_render_float()
304 if (prec || pi->alt) in __printf_render_float()
347 if (pi->pad != '0' && pi->left == 0) in __printf_render_float()
348 ret += __printf_pad(io, pi->width - realsz, 0); in __printf_render_float()
360 if (pi->pad == '0' && pi->left == 0) in __printf_render_float()
361 ret += __printf_pad(io, pi->width - realsz, 1); in __printf_render_float()
373 if (prec || pi->alt) in __printf_render_float()
397 if (prec || pi->alt) in __printf_render_float()
402 if (prec > 1 || pi->alt) { in __printf_render_float()
414 if (pi->left) in __printf_render_float()
415 ret += __printf_pad(io, pi->width - realsz, 0); in __printf_render_float()