/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-number-prototype.c | 76 lit_utf8_size_t num_digits, /**< length of the string representation */ in ecma_builtin_number_prototype_helper_to_string() 104 lit_utf8_size_t to_copy = JERRY_MIN (num_digits, to_num_digits); in ecma_builtin_number_prototype_helper_to_string() 110 num_digits -= to_copy; in ecma_builtin_number_prototype_helper_to_string() 116 JERRY_ASSERT (num_digits == 0); in ecma_builtin_number_prototype_helper_to_string() 131 lit_utf8_size_t to_copy = JERRY_MIN (num_digits, to_num_digits); in ecma_builtin_number_prototype_helper_to_string() 194 lit_utf8_size_t num_digits, /**< length of the string representation */ in ecma_builtin_number_prototype_helper_round() 204 if ((lit_utf8_size_t) round_num >= num_digits || zero) in ecma_builtin_number_prototype_helper_round() 206 return num_digits; in ecma_builtin_number_prototype_helper_round() 228 memmove (digits_p + 1, digits_p, num_digits); in ecma_builtin_number_prototype_helper_round() 670 lit_utf8_size_t num_digits; in ecma_builtin_number_prototype_object_to_fixed() local 75 ecma_builtin_number_prototype_helper_to_string(lit_utf8_byte_t *digits_p, lit_utf8_size_t num_digits, int32_t exponent, lit_utf8_byte_t *to_digits_p, lit_utf8_size_t to_num_digits) ecma_builtin_number_prototype_helper_to_string() argument 192 ecma_builtin_number_prototype_helper_round(lit_utf8_byte_t *digits_p, lit_utf8_size_t num_digits, int32_t round_num, int32_t *exponent_p, bool zero) ecma_builtin_number_prototype_helper_round() argument 768 lit_utf8_size_t num_digits; ecma_builtin_number_prototype_object_to_exponential() local 873 lit_utf8_size_t num_digits; ecma_builtin_number_prototype_object_to_precision() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | numbers_benchmark.cc | 44 // Creates an integer that would be printed as `num_digits` repeated 7s in the 46 int64_t RepeatedSevens(int num_digits, int base) { in RepeatedSevens() argument 49 while (--num_digits) num = base * num + 7; in RepeatedSevens() 164 // floating point number with `num_digits` digits before the decimal point and 165 // another `num_digits` digits after. 166 std::vector<std::string> MakeFloatStrings(int num_strings, int num_digits) { in MakeFloatStrings() argument 174 s.reserve(2 * num_digits + 1); in MakeFloatStrings() 175 for (int i = 0; i < num_digits; ++i) { in MakeFloatStrings() 179 for (int i = 0; i < num_digits; ++i) { in MakeFloatStrings() 208 const int num_digits in BM_SimpleAtof() local 238 const int num_digits = state.range(1); BM_SimpleAtod() local [all...] |
/third_party/libunwind/libunwind/src/ |
H A D | os-linux.h | 112 unsigned long num_digits = 0, digit, val = 0; in scan_hex() local 130 ++num_digits; in scan_hex() 133 if (!num_digits) in scan_hex() 142 unsigned long num_digits = 0, digit, val = 0; in scan_dec() local 158 ++num_digits; in scan_dec() 160 if (!num_digits) in scan_dec()
|
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/ |
H A D | many-digits.rs | 24 let num_digits = rnd.gen_range(100, 400); in main() 25 let digits = gen_digits(num_digits, &mut range, &mut rnd); in main()
|
/third_party/node/tools/gyp/ |
H A D | test_gyp.py | 176 num_digits = len(str(self.num_tests)) 177 self.fmt_str = "[%%%dd/%%%dd] (%%s) %%s" % (num_digits, num_digits)
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/ |
H A D | test_gyp.py | 176 num_digits = len(str(self.num_tests)) 177 self.fmt_str = "[%%%dd/%%%dd] (%%s) %%s" % (num_digits, num_digits)
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | parser.cc | 118 int num_digits = std::numeric_limits<int>::digits10; in ConsumeConversion() 123 --num_digits; in ConsumeConversion() 124 if (ABSL_PREDICT_FALSE(!num_digits)) break; in ConsumeConversion()
|
/third_party/mbedtls/library/ |
H A D | x509_crt.c | 2731 int nonzero_groups = 0, num_digits, zero_group_start = -1; in x509_inet_pton_ipv6() local 2735 uint16_t group = num_digits = 0; in x509_inet_pton_ipv6() 2736 for (uint8_t digit; num_digits < 4; num_digits++) { in x509_inet_pton_ipv6() 2743 if (num_digits != 0) { in x509_inet_pton_ipv6() 2829 uint8_t digit, num_digits = 0; in x509_inet_pton_ipv4() local 2834 octet = num_digits = 0; in x509_inet_pton_ipv4() 2843 if (octet == 0 && num_digits > 0) { in x509_inet_pton_ipv4() 2848 num_digits++; in x509_inet_pton_ipv4() 2850 } while (num_digits < in x509_inet_pton_ipv4() [all...] |
/third_party/cups-filters/filter/ |
H A D | rastertopdf.cpp | 235 * 'num_digits()' - Calculates the number of digits in an integer 239 int num_digits(int n) in num_digits() function 259 int num_zeroes = width - num_digits(n); in int_to_fwstring() 888 int_to_fwstring(i,num_digits(info->pclm_num_strips - 1)), in finish_page() 920 int_to_fwstring(i, num_digits(info->pclm_num_strips - 1)) + in finish_page()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_drawtext.c | 1088 int num_digits = 3; // default show millisecond [1,6] in func_strftime() local 1092 num_digits = av_clip(*(begin + 1) - '0', 1, 6); in func_strftime() 1094 av_log(ctx, AV_LOG_WARNING, "Invalid number of decimals for %%N, using default of %i\n", num_digits); in func_strftime() 1099 div = pow(10, 6 - num_digits); in func_strftime() 1101 av_bprintf(&fmt_bp, "%.*s%0*d", (int)(begin - fmt_begin), fmt_begin, num_digits, (int)(unow % 1000000) / div); in func_strftime()
|
/third_party/node/deps/v8/src/numbers/ |
H A D | conversions.cc | 980 int num_digits = accumulator_.ResultLength(); in DecimalString() local 981 base::SmallVector<bigint::digit_t, 8> digit_storage(num_digits); in DecimalString() 982 bigint::RWDigits digits(digit_storage.data(), num_digits); in DecimalString()
|
/third_party/icu/tools/unicode/py/ |
H A D | preparseucd.py | 1799 num_digits = 0 1818 if c in "0123456789": num_digits += 1 1827 print("%d digits 0-9" % num_digits)
|
/third_party/astc-encoder/Source/ |
H A D | wuffs-v0.3.c | 13249 // digits[.. num_digits] are the number's digits in big-endian order. The 13254 // negative or be larger than num_digits, in which case the explicit digits are 13257 // For example, if num_digits is 3 and digits is "\x07\x08\x09": 13279 uint32_t num_digits; member 13287 // zeroes from the h->digits[.. h->num_digits] slice. They have no benefit, 13295 while ((h->num_digits > 0) && (h->digits[h->num_digits - 1] == 0)) { in wuffs_base__private_implementation__high_prec_dec__trim() 13296 h->num_digits--; in wuffs_base__private_implementation__high_prec_dec__trim() 13335 h->num_digits = n; in wuffs_base__private_implementation__high_prec_dec__assign() 13350 h->num_digits in wuffs_base__private_implementation__high_prec_dec__parse() [all...] |
/third_party/skia/third_party/externals/wuffs/release/c/ |
H A D | wuffs-v0.3.c | 12353 // digits[.. num_digits] are the number's digits in big-endian order. The 12358 // negative or be larger than num_digits, in which case the explicit digits are 12361 // For example, if num_digits is 3 and digits is "\x07\x08\x09": 12383 uint32_t num_digits; member 12391 // zeroes from the h->digits[.. h->num_digits] slice. They have no benefit, 12399 while ((h->num_digits > 0) && (h->digits[h->num_digits - 1] == 0)) { in wuffs_base__private_implementation__high_prec_dec__trim() 12400 h->num_digits--; in wuffs_base__private_implementation__high_prec_dec__trim() 12439 h->num_digits = n; in wuffs_base__private_implementation__high_prec_dec__assign() 12454 h->num_digits in wuffs_base__private_implementation__high_prec_dec__parse() [all...] |
/third_party/selinux/libsepol/src/ |
H A D | module_to_cil.c | 724 static unsigned int num_digits(unsigned int n) in num_digits() function 762 len = strlen(pdb->name) + strlen(infix) + num_digits(num_attrs) + 1; in get_new_attr_name()
|
/third_party/python/Modules/ |
H A D | _datetimemodule.c | 722 parse_digits(const char *ptr, int *var, size_t num_digits) in parse_digits() argument 724 for (size_t i = 0; i < num_digits; ++i) { in parse_digits()
|