Lines Matching defs:bp
487 static size_t __format_float_scientific( __iostring& buf, const char *bp,
498 buf += *bp++;
511 while (*bp != 0 && precision--)
512 buf += *bp++;
550 static size_t __format_float_fixed( __iostring &buf, const char *bp,
554 if ( sign && (decpt > -precision) && (*bp != 0) )
562 buf += (nnn <= 0 || *bp == 0) ? '0' : *bp++;
574 while ( *bp != 0 && --precision >= 0 ) {
575 buf += (++decpt <= 0) ? '0' : *bp++;
651 static inline size_t __format_float(__iostring &buf, const char * bp,
658 __group_pos = __format_float_scientific( buf, bp, decpt, sign, is_zero,
662 __group_pos = __format_float_fixed( buf, bp, decpt, sign,
678 size_t n = strlen(bp);
681 while (kk >= 1 && bp[kk-1] == '0')
687 __group_pos = __format_float_scientific( buf, bp, decpt, sign, is_zero,
691 __group_pos = __format_float_fixed( buf, bp, decpt, sign,
793 char *bp;
806 bp = _Stl_fcvtR(x, (min) (precision, digits10), &decpt, &sign, _STLP_CVT_BUFFER(cvtbuf) );
814 bp = _Stl_ecvtR(x, (min) (precision, digits10), &decpt, &sign, _STLP_CVT_BUFFER(cvtbuf) );
818 return __format_float(buf, bp, decpt, sign, x == 0.0, flags, precision);
861 char * bp;
863 bp = _Stl_fcvtR(__x, 0, &decpt, &sign, _STLP_CVT_BUFFER(cvtbuf));
868 out.append(bp, bp + decpt);