Home
last modified time | relevance | path

Searched refs:n_digits (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Objects/stringlib/
Dformatter.h395 Py_ssize_t n_digits; /* The number of digits before a decimal member
447 spec->n_digits = n_number - n_remainder - (has_decimal?1:0); in calc_number_widths()
506 if (spec->n_digits == 0) in calc_number_widths()
513 spec->n_digits, in calc_number_widths()
557 STRINGLIB_CHAR *digits, Py_ssize_t n_digits, in fill_number() argument
592 if (spec->n_digits != 0) { in fill_number()
598 spec->n_digits, spec->n_min_width, in fill_number()
603 p += spec->n_digits; in fill_number()
747 Py_ssize_t n_digits; /* count of digits need from the computed in format_int_or_long_internal() local
817 n_digits = 1; in format_int_or_long_internal()
[all …]
Dlocaleutil.h116 Py_ssize_t n_digits, in _Py_InsertThousandsGrouping() argument
132 Py_ssize_t remaining = n_digits; /* Number of chars remaining to in _Py_InsertThousandsGrouping()
141 digits_end = digits + n_digits; in _Py_InsertThousandsGrouping()
202 Py_ssize_t n_digits, in _Py_InsertThousandsGroupingLocale() argument
209 return _Py_InsertThousandsGrouping(buffer, n_buffer, digits, n_digits, in _Py_InsertThousandsGroupingLocale()
/external/python/cpython2/Include/
Dstringobject.h187 Py_ssize_t n_digits,
196 Py_ssize_t n_digits,
/external/libpng/contrib/tools/
Dpngfix.c267 uarb_mult_digit(uarb acc, int a_digits, uarb num, FIX_GCC int n_digits, in uarb_mult_digit() argument
284 if (val > 0 && n_digits > 0) /* Else the product is 0 */ in uarb_mult_digit()
289 while (out_digits < n_digits || carry > 0) in uarb_mult_digit()
294 if (out_digits < n_digits) in uarb_mult_digit()
312 uarb_mult32(uarb acc, int a_digits, uarb num, int n_digits, png_uint_32 val) in uarb_mult32() argument
317 if (n_digits > 0 && val > 0) in uarb_mult32()
319 a_digits = uarb_mult_digit(acc, a_digits, num, n_digits, in uarb_mult32()
324 a_digits = uarb_mult_digit(acc+1, a_digits-1, num, n_digits, in uarb_mult32()