• Home
  • Raw
  • Download

Lines Matching refs:dot

347 #define EXTRACT_DIGIT(s, x, d, dot) \  argument
348 if (s == dot) *s++ = '.'; *s++ = '0' + (char)(x / d); x %= d
350 word_to_string(char *s, mpd_uint_t x, int n, char *dot) in word_to_string() argument
354 case 20: EXTRACT_DIGIT(s, x, 10000000000000000000ULL, dot); /* GCOV_NOT_REACHED */ in word_to_string()
355 case 19: EXTRACT_DIGIT(s, x, 1000000000000000000ULL, dot); in word_to_string()
356 case 18: EXTRACT_DIGIT(s, x, 100000000000000000ULL, dot); in word_to_string()
357 case 17: EXTRACT_DIGIT(s, x, 10000000000000000ULL, dot); in word_to_string()
358 case 16: EXTRACT_DIGIT(s, x, 1000000000000000ULL, dot); in word_to_string()
359 case 15: EXTRACT_DIGIT(s, x, 100000000000000ULL, dot); in word_to_string()
360 case 14: EXTRACT_DIGIT(s, x, 10000000000000ULL, dot); in word_to_string()
361 case 13: EXTRACT_DIGIT(s, x, 1000000000000ULL, dot); in word_to_string()
362 case 12: EXTRACT_DIGIT(s, x, 100000000000ULL, dot); in word_to_string()
363 case 11: EXTRACT_DIGIT(s, x, 10000000000ULL, dot); in word_to_string()
365 case 10: EXTRACT_DIGIT(s, x, 1000000000UL, dot); in word_to_string()
366 case 9: EXTRACT_DIGIT(s, x, 100000000UL, dot); in word_to_string()
367 case 8: EXTRACT_DIGIT(s, x, 10000000UL, dot); in word_to_string()
368 case 7: EXTRACT_DIGIT(s, x, 1000000UL, dot); in word_to_string()
369 case 6: EXTRACT_DIGIT(s, x, 100000UL, dot); in word_to_string()
370 case 5: EXTRACT_DIGIT(s, x, 10000UL, dot); in word_to_string()
371 case 4: EXTRACT_DIGIT(s, x, 1000UL, dot); in word_to_string()
372 case 3: EXTRACT_DIGIT(s, x, 100UL, dot); in word_to_string()
373 case 2: EXTRACT_DIGIT(s, x, 10UL, dot); in word_to_string()
374 default: if (s == dot) *s++ = '.'; *s++ = '0' + (char)x; in word_to_string()
419 coeff_to_string_dot(char *s, char *dot, const mpd_t *dec) in coeff_to_string_dot() argument
426 s = word_to_string(s, x, mpd_word_digits(x), dot); in coeff_to_string_dot()
431 s = word_to_string(s, x, MPD_RDIGITS, dot); in coeff_to_string_dot()
777 n = strlen(spec->dot); in mpd_validate_lconv()
800 spec->dot = ""; in mpd_parse_fmt_str()
859 spec->dot = "."; in mpd_parse_fmt_str()
893 spec->dot = lc->decimal_point; in mpd_parse_fmt_str()
990 const char *dot, /* location of optional decimal point */ in _mpd_add_sep_dot() argument
1007 if (dot) { in _mpd_add_sep_dot()
1008 _mbstr_copy_char(dest, dot, (mpd_ssize_t)strlen(dot)); in _mpd_add_sep_dot()
1095 const char *sign = NULL, *intpart = NULL, *dot = NULL; in _mpd_apply_lconv() local
1116 dp++; dot = spec->dot; in _mpd_apply_lconv()
1122 if (dot == NULL && (*spec->sep == '\0' || *spec->grouping == '\0')) { in _mpd_apply_lconv()
1131 _mpd_add_sep_dot(result, sign, intpart, n_int, dot, in _mpd_apply_lconv()
1142 _mpd_add_sep_dot(result, sign, intpart, n_int, dot, in _mpd_apply_lconv()
1372 if (*spec->dot != '\0' && !mpd_isspecial(dec)) { in mpd_qformat_spec()