Lines Matching refs:dot

331 #define EXTRACT_DIGIT(s, x, d, dot) \  argument
332 if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d
334 word_to_string(char *s, mpd_uint_t x, int n, char *dot) in word_to_string() argument
338 case 20: EXTRACT_DIGIT(s, x, 10000000000000000000ULL, dot); /* GCOV_NOT_REACHED */ in word_to_string()
339 case 19: EXTRACT_DIGIT(s, x, 1000000000000000000ULL, dot); in word_to_string()
340 case 18: EXTRACT_DIGIT(s, x, 100000000000000000ULL, dot); in word_to_string()
341 case 17: EXTRACT_DIGIT(s, x, 10000000000000000ULL, dot); in word_to_string()
342 case 16: EXTRACT_DIGIT(s, x, 1000000000000000ULL, dot); in word_to_string()
343 case 15: EXTRACT_DIGIT(s, x, 100000000000000ULL, dot); in word_to_string()
344 case 14: EXTRACT_DIGIT(s, x, 10000000000000ULL, dot); in word_to_string()
345 case 13: EXTRACT_DIGIT(s, x, 1000000000000ULL, dot); in word_to_string()
346 case 12: EXTRACT_DIGIT(s, x, 100000000000ULL, dot); in word_to_string()
347 case 11: EXTRACT_DIGIT(s, x, 10000000000ULL, dot); in word_to_string()
349 case 10: EXTRACT_DIGIT(s, x, 1000000000UL, dot); in word_to_string()
350 case 9: EXTRACT_DIGIT(s, x, 100000000UL, dot); in word_to_string()
351 case 8: EXTRACT_DIGIT(s, x, 10000000UL, dot); in word_to_string()
352 case 7: EXTRACT_DIGIT(s, x, 1000000UL, dot); in word_to_string()
353 case 6: EXTRACT_DIGIT(s, x, 100000UL, dot); in word_to_string()
354 case 5: EXTRACT_DIGIT(s, x, 10000UL, dot); in word_to_string()
355 case 4: EXTRACT_DIGIT(s, x, 1000UL, dot); in word_to_string()
356 case 3: EXTRACT_DIGIT(s, x, 100UL, dot); in word_to_string()
357 case 2: EXTRACT_DIGIT(s, x, 10UL, dot); in word_to_string()
358 default: if (s == dot) *s++ = '.'; *s++ = '0' + (char)x; in word_to_string()
403 coeff_to_string_dot(char *s, char *dot, const mpd_t *dec) in coeff_to_string_dot() argument
410 s = word_to_string(s, x, mpd_word_digits(x), dot); in coeff_to_string_dot()
415 s = word_to_string(s, x, MPD_RDIGITS, dot); in coeff_to_string_dot()
761 n = strlen(spec->dot); in mpd_validate_lconv()
784 spec->dot = ""; in mpd_parse_fmt_str()
843 spec->dot = "."; in mpd_parse_fmt_str()
877 spec->dot = lc->decimal_point; in mpd_parse_fmt_str()
974 const char *dot, /* location of optional decimal point */ in _mpd_add_sep_dot() argument
991 if (dot) { in _mpd_add_sep_dot()
992 _mbstr_copy_char(dest, dot, (mpd_ssize_t)strlen(dot)); in _mpd_add_sep_dot()
1079 const char *sign = NULL, *intpart = NULL, *dot = NULL; in _mpd_apply_lconv() local
1100 dp++; dot = spec->dot; in _mpd_apply_lconv()
1106 if (dot == NULL && (*spec->sep == '\0' || *spec->grouping == '\0')) { in _mpd_apply_lconv()
1115 _mpd_add_sep_dot(result, sign, intpart, n_int, dot, in _mpd_apply_lconv()
1126 _mpd_add_sep_dot(result, sign, intpart, n_int, dot, in _mpd_apply_lconv()
1355 if (*spec->dot != '\0' && !mpd_isspecial(dec)) { in mpd_qformat_spec()