/glibc-2.36/math/ |
D | gen-fromfp-tests.py | 74 val, width = val_width.split(':') variable 78 width = int(width) variable 80 width += 1 82 if width > 2: 83 width_list.append(width - 1) 84 if width > 1 and width <= 64: 85 width_list.append(width) 86 if width < 64: 87 width_list.append(width + 1) 88 if width < 63: [all …]
|
D | fromfp.h | 40 fromfp_max_exponent (bool negative, int width) in fromfp_max_exponent() argument 43 return negative ? -1 : width - 1; in fromfp_max_exponent() 45 return negative ? width - 1 : width - 2; in fromfp_max_exponent() 115 fromfp_domain_error (bool negative, unsigned int width) in fromfp_domain_error() argument 125 else if (width == INTMAX_WIDTH) in fromfp_domain_error() 128 return (1ULL << width) - 1; in fromfp_domain_error() 132 if (width == 0) in fromfp_domain_error() 135 return -(1ULL << (width - 1)); in fromfp_domain_error() 137 return (1ULL << (width - 1)) - 1; in fromfp_domain_error() 153 int max_exponent, unsigned int width) in fromfp_round_and_return() argument [all …]
|
D | test-tgmath-ret.c | 29 static unsigned int width = 64; variable 67 CHECK_RET_CONST(fromfp, intmax_t, rm, width) in CHECK_RET_CONST() 68 CHECK_RET_CONST(ufromfp, uintmax_t, rm, width) in CHECK_RET_CONST() 69 CHECK_RET_CONST(fromfpx, intmax_t, rm, width) in CHECK_RET_CONST() 70 CHECK_RET_CONST(ufromfpx, uintmax_t, rm, width) in CHECK_RET_CONST()
|
/glibc-2.36/stdio-common/ |
D | vfscanf-internal.c | 285 int width; /* Maximum field width. */ in __vfwscanf_internal() local 496 width = argpos; in __vfwscanf_internal() 524 width = 0; in __vfwscanf_internal() 526 width = read_int (&f); in __vfwscanf_internal() 528 if (width == 0) in __vfwscanf_internal() 529 width = -1; in __vfwscanf_internal() 701 if (width == -1) in __vfwscanf_internal() 702 width = 1; in __vfwscanf_internal() 737 STRING_ARG (str, char, (width > 1024 ? 1024 : width)); in __vfwscanf_internal() 797 while (--width > 0 && inchar () != EOF); in __vfwscanf_internal() [all …]
|
D | vfprintf-process-arg.c | 182 width -= workend - string + prec; 186 width -= 2; 189 --width; 194 width = 0; 210 width += prec; 222 --width; 227 --width; 232 --width; 239 width -= 2; 242 width -= workend - string + prec; [all …]
|
D | printf_size.c | 158 int width = info->prec > info->width ? info->prec : info->width; in __printf_size() local 161 --width; in __printf_size() 162 width -= 3; in __printf_size() 164 if (!info->left && width > 0) in __printf_size() 165 PADN (' ', width); in __printf_size() 176 if (info->left && width > 0) in __printf_size() 177 PADN (' ', width); in __printf_size() 193 fp_info.width = 0; in __printf_size() 199 if (info->width > done) in __printf_size() 200 PADN (' ', info->width - done); in __printf_size() [all …]
|
D | printf_fphex.c | 150 int width = info->width; in __printf_fphex() local 212 int width = info->width; in __printf_fphex() local 215 --width; in __printf_fphex() 216 width -= 3; in __printf_fphex() 218 if (!info->left && width > 0) in __printf_fphex() 219 PADN (' ', width); in __printf_fphex() 230 if (info->left && width > 0) in __printf_fphex() 231 PADN (' ', width); in __printf_fphex() 413 width -= ((negative || info->showsign || info->space) in __printf_fphex() 424 width -= wide ? 1 : strlen (decimal); in __printf_fphex() [all …]
|
D | vfprintf-internal.c | 190 pad_func (FILE *s, CHAR_T padchar, int width, int done) in pad_func() argument 192 if (width > 0) in pad_func() 196 written = _IO_padn (s, padchar, width); in pad_func() 198 written = _IO_wpadn (s, padchar, width); in pad_func() 200 if (__glibc_unlikely (written != width)) in pad_func() 202 return done_add_func (width, done); in pad_func() 210 done = pad_func (s, (Padchar), width, done); \ 258 int width, bool left, int done) in outstring_converted_wide_string() argument 269 if (width > 0 && !left) in outstring_converted_wide_string() 302 if (total_written < width) in outstring_converted_wide_string() [all …]
|
D | printf_fp.c | 402 int width = info->width; in __printf_fp_l() local 405 --width; in __printf_fp_l() 406 width -= 3; in __printf_fp_l() 408 if (!info->left && width > 0) in __printf_fp_l() 409 PADN (' ', width); in __printf_fp_l() 420 if (info->left && width > 0) in __printf_fp_l() 421 PADN (' ', width); in __printf_fp_l() 831 int width = info->width; in __printf_fp_l() local 1167 --width; in __printf_fp_l() 1168 width -= wcp - wstartp; in __printf_fp_l() [all …]
|
D | printf-prs.c | 39 if (width > 0) \ 40 done += _IO_padn (s, Padchar, width) 51 if (width > 0) \ 52 done += _IO_wpadn (s, Padchar, width)
|
D | Makefile | 207 tst-vfprintf-width-prec \ 208 tst-vfprintf-width-prec-alloc \ 209 tst-vfprintf-width-i18n \ 236 $(objpfx)tst-vfprintf-width-prec-mem.out \ 249 tst-vfprintf-width-prec-mem.out \ 250 tst-vfprintf-width-prec.mtrace \ 302 $(objpfx)tst-vfprintf-width-i18n.out: $(gen-locales) 307 tst-vfprintf-width-prec-ENV = \ 308 MALLOC_TRACE=$(objpfx)tst-vfprintf-width-prec.mtrace \
|
/glibc-2.36/sysdeps/ieee754/flt-32/ |
D | s_fromfpf_main.c | 39 FUNC (float x, int round, unsigned int width) in FUNC() argument 41 if (width > INTMAX_WIDTH) in FUNC() 42 width = INTMAX_WIDTH; in FUNC() 46 if (width == 0) in FUNC() 47 return fromfp_domain_error (negative, width); in FUNC() 53 int max_exponent = fromfp_max_exponent (negative, width); in FUNC() 55 return fromfp_domain_error (negative, width); in FUNC() 82 exponent, max_exponent, width); in FUNC()
|
/glibc-2.36/sysdeps/ieee754/dbl-64/ |
D | s_fromfp_main.c | 39 FUNC (double x, int round, unsigned int width) in FUNC() argument 41 if (width > INTMAX_WIDTH) in FUNC() 42 width = INTMAX_WIDTH; in FUNC() 46 if (width == 0) in FUNC() 47 return fromfp_domain_error (negative, width); in FUNC() 53 int max_exponent = fromfp_max_exponent (negative, width); in FUNC() 55 return fromfp_domain_error (negative, width); in FUNC() 82 exponent, max_exponent, width); in FUNC()
|
/glibc-2.36/sysdeps/ieee754/ldbl-96/ |
D | s_fromfpl_main.c | 39 FUNC (long double x, int round, unsigned int width) in FUNC() argument 41 if (width > INTMAX_WIDTH) in FUNC() 42 width = INTMAX_WIDTH; in FUNC() 47 if (width == 0) in FUNC() 48 return fromfp_domain_error (negative, width); in FUNC() 53 int max_exponent = fromfp_max_exponent (negative, width); in FUNC() 55 return fromfp_domain_error (negative, width); in FUNC() 84 exponent, max_exponent, width); in FUNC()
|
/glibc-2.36/sysdeps/ieee754/ldbl-128/ |
D | s_fromfpl_main.c | 39 FUNC (_Float128 x, int round, unsigned int width) in FUNC() argument 41 if (width > INTMAX_WIDTH) in FUNC() 42 width = INTMAX_WIDTH; in FUNC() 46 if (width == 0) in FUNC() 47 return fromfp_domain_error (negative, width); in FUNC() 53 int max_exponent = fromfp_max_exponent (negative, width); in FUNC() 55 return fromfp_domain_error (negative, width); in FUNC() 90 exponent, max_exponent, width); in FUNC()
|
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/ |
D | s_fromfpl_main.c | 38 FUNC (long double x, int round, unsigned int width) in FUNC() argument 41 if (width > INTMAX_WIDTH) in FUNC() 42 width = INTMAX_WIDTH; in FUNC() 49 if (width == 0) in FUNC() 50 return fromfp_domain_error (negative, width); in FUNC() 61 int max_exponent = fromfp_max_exponent (negative, width); in FUNC() 63 return fromfp_domain_error (negative, width); in FUNC() 146 exponent, max_exponent, width); in FUNC()
|
/glibc-2.36/stdlib/ |
D | strfmon_l.c | 128 long int width; in __vstrfmon_l_internal() local 160 width = -1; /* No width specified so far. */ in __vstrfmon_l_internal() 213 width = to_digit (*fmt); in __vstrfmon_l_internal() 219 if (width > LONG_MAX / 10 in __vstrfmon_l_internal() 220 || (width == LONG_MAX && val > LONG_MAX % 10)) in __vstrfmon_l_internal() 226 width = width * 10 + val; in __vstrfmon_l_internal() 231 if (width >= maxsize - (dest - s)) in __vstrfmon_l_internal() 538 info.width = left_prec + (right_prec ? (right_prec + 1) : 0); in __vstrfmon_l_internal() 598 if (dest - startp < width) in __vstrfmon_l_internal() 604 while (dest - startp < width); in __vstrfmon_l_internal() [all …]
|
/glibc-2.36/sysdeps/x86_64/ |
D | configure.ac | 4 dnl Check if -mprefer-vector-width=128 works. 5 AC_CACHE_CHECK(-mprefer-vector-width=128, libc_cv_cc_mprefer_vector_width, [dnl 6 LIBC_TRY_CC_OPTION([-mprefer-vector-width=128], 10 LIBC_CONFIG_VAR([config-cflags-mprefer-vector-width],
|
D | configure | 4 { $as_echo "$as_me:${as_lineno-$LINENO}: checking -mprefer-vector-width=128" >&5 5 $as_echo_n "checking -mprefer-vector-width=128... " >&6; } 9 if { ac_try='${CC-cc} -mprefer-vector-width=128 -xc /dev/null -S -o /dev/null' 24 config-cflags-mprefer-vector-width = $libc_cv_cc_mprefer_vector_width"
|
/glibc-2.36/locale/programs/ |
D | ld-paper.c | 37 uint32_t width; member 105 if (paper->width == 0) in paper_finish() 111 paper->width = 210; in paper_finish() 125 add_locale_uint32 (&file, paper->width); in paper_output() 201 INT_ELEM (width); in paper_read()
|
/glibc-2.36/debug/ |
D | xtrace.sh | 77 width=$(expr $COLUMNS - 30) 79 if test "$filelen" -gt "$width"; then 80 rwidth=$(expr $width - 3) 83 printf '%-20s %-*s %6s\n' $fct $width $file $line
|
/glibc-2.36/time/ |
D | strftime_l.c | 233 int _delta = width - _n; \ 572 int width = -1; in libc_hidden_def() local 695 width = 0; in libc_hidden_def() 698 if (width > INT_MAX / 10 in libc_hidden_def() 699 || (width == INT_MAX / 10 && *f - L_('0') > INT_MAX % 10)) in libc_hidden_def() 701 width = INT_MAX; in libc_hidden_def() 704 width *= 10; in libc_hidden_def() 705 width += *f - L_('0'); in libc_hidden_def() 732 digits = d > width ? d : width; \ in libc_hidden_def() 740 digits = d > width ? d : width; \ in libc_hidden_def() [all …]
|
/glibc-2.36/elf/ |
D | dl-printf.c | 85 int width = -1; in _dl_debug_vdprintf() local 102 width = va_arg (arg, int); in _dl_debug_vdprintf() 171 if (width != -1) in _dl_debug_vdprintf() 172 while (endp - cp < width) in _dl_debug_vdprintf()
|
/glibc-2.36/sysdeps/ieee754/ldbl-opt/ |
D | nldbl-ufromfp.c | 23 ufromfpl (double x, int round, unsigned int width) in ufromfpl() argument 25 return ufromfp (x, round, width); in ufromfpl()
|
D | nldbl-ufromfpx.c | 23 ufromfpxl (double x, int round, unsigned int width) in ufromfpxl() argument 25 return ufromfpx (x, round, width); in ufromfpxl()
|