Home
last modified time | relevance | path

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

/third_party/python/Python/
Dformatter_unicode.c425 Py_ssize_t n_digits; /* The number of digits before a decimal member
479 spec->n_digits = n_end - n_start - n_remainder - (has_decimal?1:0); in calc_number_widths()
538 if (spec->n_digits == 0) in calc_number_widths()
547 NULL, 0, spec->n_digits, in calc_number_widths()
642 if (spec->n_digits != 0) { in fill_number()
646 digits, d_pos, spec->n_digits, in fill_number()
652 d_pos += spec->n_digits; in fill_number()
860 Py_ssize_t n_digits; /* count of digits need from the computed in format_long_internal() local
910 n_digits = 1; in format_long_internal()
970 n_digits = PyUnicode_GET_LENGTH(tmp); in format_long_internal()
[all …]
/third_party/json/include/nlohmann/detail/output/
Dserializer.hpp643 unsigned int n_digits = 1; in count_digits() local
648 return n_digits; in count_digits()
652 return n_digits + 1; in count_digits()
656 return n_digits + 2; in count_digits()
660 return n_digits + 3; in count_digits()
663 n_digits += 4; in count_digits()
/third_party/skia/third_party/externals/libpng/contrib/tools/
Dpngfix.c266 uarb_mult_digit(uarb acc, int a_digits, uarb num, FIX_GCC int n_digits, in uarb_mult_digit() argument
283 if (val > 0 && n_digits > 0) /* Else the product is 0 */ in uarb_mult_digit()
288 while (out_digits < n_digits || carry > 0) in uarb_mult_digit()
293 if (out_digits < n_digits) in uarb_mult_digit()
311 uarb_mult32(uarb acc, int a_digits, uarb num, int n_digits, png_uint_32 val) in uarb_mult32() argument
316 if (n_digits > 0 && val > 0) in uarb_mult32()
318 a_digits = uarb_mult_digit(acc, a_digits, num, n_digits, in uarb_mult32()
323 a_digits = uarb_mult_digit(acc+1, a_digits-1, num, n_digits, in uarb_mult32()
/third_party/flutter/skia/third_party/externals/libpng/contrib/tools/
Dpngfix.c266 uarb_mult_digit(uarb acc, int a_digits, uarb num, FIX_GCC int n_digits, in uarb_mult_digit() argument
283 if (val > 0 && n_digits > 0) /* Else the product is 0 */ in uarb_mult_digit()
288 while (out_digits < n_digits || carry > 0) in uarb_mult_digit()
293 if (out_digits < n_digits) in uarb_mult_digit()
311 uarb_mult32(uarb acc, int a_digits, uarb num, int n_digits, png_uint_32 val) in uarb_mult32() argument
316 if (n_digits > 0 && val > 0) in uarb_mult32()
318 a_digits = uarb_mult_digit(acc, a_digits, num, n_digits, in uarb_mult32()
323 a_digits = uarb_mult_digit(acc+1, a_digits-1, num, n_digits, in uarb_mult32()
/third_party/gstreamer/gstplugins_bad/ext/ttml/
Dttmlparse.c298 guint n_digits; in ttml_parse_timecode() local
301 n_digits = strlen (substrings[1]); in ttml_parse_timecode()
304 (guint64) (milliseconds * pow (10.0, (3 - (double) n_digits))); in ttml_parse_timecode()
/third_party/python/Include/cpython/
Dunicodeobject.h1038 Py_ssize_t n_digits,
/third_party/json/single_include/nlohmann/
Djson.hpp16968 unsigned int n_digits = 1; in count_digits() local
16973 return n_digits; in count_digits()
16977 return n_digits + 1; in count_digits()
16981 return n_digits + 2; in count_digits()
16985 return n_digits + 3; in count_digits()
16988 n_digits += 4; in count_digits()
/third_party/python/Objects/
Dunicodeobject.c9828 Py_ssize_t n_digits, in _PyUnicode_InsertThousandsGrouping() argument
9844 assert(0 <= n_digits); in _PyUnicode_InsertThousandsGrouping()
9866 Py_ssize_t remaining = n_digits; /* Number of chars remaining to in _PyUnicode_InsertThousandsGrouping()
9878 digits_pos = d_pos + n_digits; in _PyUnicode_InsertThousandsGrouping()