Lines Matching full:ascii
2594 /* ASCII to fp functions */
2595 /* Check an ASCII formated floating point value, see the more detailed
2782 /* Function to format a floating point value in ASCII with a given
2786 png_ascii_from_fp(png_const_structrp png_ptr, png_charp ascii, png_size_t size,
2792 * the space in ascii[] consumed are indicated below.
2807 *ascii++ = 45; /* '-' PLUS 1 TOTAL 1 */
2910 int ch = *--ascii;
2917 ch = *--ascii, ++size;
2941 int ch = *--ascii;
2980 if (exp_b10 == 0) *ascii++ = 46, --size;
2984 *ascii++ = 48, --czero;
2989 if (exp_b10 == 0) *ascii++ = 46, --size; /* counted
2993 *ascii++ = (char)(48 + (int)d), ++cdigits;
3016 while (--exp_b10 >= 0) *ascii++ = 48;
3018 *ascii = 0;
3034 *ascii++ = 69, --size; /* 'E': PLUS 1 TOTAL 2+precision */
3045 *ascii++ = 45, --size; /* '-': PLUS 1 TOTAL 3+precision */
3066 while (cdigits > 0) *ascii++ = exponent[--cdigits];
3068 *ascii = 0;
3076 *ascii++ = 48; /* '0' */
3077 *ascii = 0;
3082 *ascii++ = 105; /* 'i' */
3083 *ascii++ = 110; /* 'n' */
3084 *ascii++ = 102; /* 'f' */
3085 *ascii = 0;
3091 png_error(png_ptr, "ASCII conversion buffer too small");
3097 /* Function to format a fixed point value in ASCII.
3100 png_ascii_from_fixed(png_const_structrp png_ptr, png_charp ascii,
3112 *ascii++ = 45, --size, num = -fp;
3137 while (ndigits > 5) *ascii++ = digits[--ndigits];
3145 *ascii++ = 46; /* decimal point */
3150 while (ndigits < i) *ascii++ = 48, --i;
3151 while (ndigits >= first) *ascii++ = digits[--ndigits];
3156 *ascii++ = 48;
3159 *ascii = 0;
3165 png_error(png_ptr, "ASCII conversion buffer too small");