Lines Matching refs:fmtbuf
399 static void __fill_fmtbuf(char* fmtbuf, ios_base::fmtflags flags, char long_modifier);
409 char fmtbuf[32]; in _Stl_ecvtR() local
410 __fill_fmtbuf(fmtbuf, 0, 'L'); in _Stl_ecvtR()
411 sprintf(buf, fmtbuf, n, x < 0.0l ? -x : x); in _Stl_ecvtR()
449 char fmtbuf[32]; in _Stl_fcvtR() local
450 __fill_fmtbuf(fmtbuf, ios_base::fixed, 'L'); in _Stl_fcvtR()
451 sprintf(buf, fmtbuf, n, x < 0.0l ? -x : x); in _Stl_fcvtR()
710 static void __fill_fmtbuf(char* fmtbuf, ios_base::fmtflags flags, char long_modifier) { in __fill_fmtbuf() argument
711 fmtbuf[0] = '%'; in __fill_fmtbuf()
715 fmtbuf[i++] = '+'; in __fill_fmtbuf()
718 fmtbuf[i++] = '#'; in __fill_fmtbuf()
720 fmtbuf[i++] = '.'; in __fill_fmtbuf()
721 fmtbuf[i++] = '*'; in __fill_fmtbuf()
724 fmtbuf[i++] = long_modifier; in __fill_fmtbuf()
729 fmtbuf[i++] = (flags & ios_base::uppercase) ? 'E' : 'e'; in __fill_fmtbuf()
733 fmtbuf[i++] = 'f'; in __fill_fmtbuf()
735 fmtbuf[i++] = (flags & ios_base::uppercase) ? 'F' : 'f'; in __fill_fmtbuf()
739 fmtbuf[i++] = (flags & ios_base::uppercase) ? 'G' : 'g'; in __fill_fmtbuf()
743 fmtbuf[i] = 0; in __fill_fmtbuf()
759 char fmtbuf[32]; local
760 __fill_fmtbuf(fmtbuf, flags, modifier);
761 snprintf(_STLP_ARRAY_AND_SIZE(static_buf), fmtbuf, precision, x);