Searched refs:digit_count (Results 1 - 5 of 5) sorted by relevance
/third_party/python/Python/ |
H A D | pystrtod.c | 602 int digit_count, insert_count = 0, convert_to_exp = 0; in ensure_decimal_point() local 615 digit_count = Py_SAFE_DOWNCAST(p - digits_start, Py_ssize_t, int); in ensure_decimal_point() 634 if (digit_count == precision) { in ensure_decimal_point() 646 assert(precision == -1 || digit_count < precision); in ensure_decimal_point() 669 assert(digit_count >= 1); in ensure_decimal_point() 670 memmove(p+2, p+1, digit_count); /* safe, but overwrites nul */ in ensure_decimal_point() 672 p += digit_count+1; in ensure_decimal_point() 680 written = PyOS_snprintf(p, buf_avail, "e%+.02d", digit_count-1); in ensure_decimal_point()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-number-prototype.c | 303 lit_utf8_size_t digit_count = ecma_number_to_decimal (this_arg_number, digits, &exponent); in ecma_builtin_number_prototype_object_to_string() local 312 exponent = exponent - (int32_t) digit_count; in ecma_builtin_number_prototype_object_to_string()
|
/third_party/node/deps/ada/ |
H A D | ada.cpp | 11242 size_t digit_count{0}; 11248 for (; (digit_count < 4) && !(input.empty()); digit_count++) { 11278 // At this stage, ipv4 contains digit_count*8 bits. 11279 // So we have 32-digit_count*8 bits left. 11280 if (segment_result >= (uint64_t(1) << (32 - digit_count * 8))) { 11283 ipv4 <<= (32 - digit_count * 8); 11297 if ((digit_count != 4) || (!input.empty())) { 14030 size_t digit_count{0}; 14034 for (; (digit_count < [all...] |
/third_party/astc-encoder/Source/ |
H A D | wuffs-v0.3.c | 14606 // - for an input of "314159", digit_count is 6. in wuffs_base__parse_number_f64() 14607 // - for an input of "3.14159", digit_count is 7. in wuffs_base__parse_number_f64() 14612 uint32_t digit_count = (uint32_t)(p - start_of_digits_ptr); in wuffs_base__parse_number_f64() local 14657 // digit_count. in wuffs_base__parse_number_f64() 14666 if (digit_count > 19) { in wuffs_base__parse_number_f64() 14668 // overflow. Recall that digit_count might be off-by-one (too large) if in wuffs_base__parse_number_f64() 14678 digit_count -= (uint32_t)(q - start_of_digits_ptr); in wuffs_base__parse_number_f64() 14679 if (digit_count > 19) { in wuffs_base__parse_number_f64() [all...] |
/third_party/skia/third_party/externals/wuffs/release/c/ |
H A D | wuffs-v0.3.c | 13710 // - for an input of "314159", digit_count is 6. in wuffs_base__parse_number_f64() 13711 // - for an input of "3.14159", digit_count is 7. in wuffs_base__parse_number_f64() 13716 uint32_t digit_count = (uint32_t)(p - start_of_digits_ptr); in wuffs_base__parse_number_f64() local 13761 // digit_count. in wuffs_base__parse_number_f64() 13770 if (digit_count > 19) { in wuffs_base__parse_number_f64() 13772 // overflow. Recall that digit_count might be off-by-one (too large) if in wuffs_base__parse_number_f64() 13782 digit_count -= (uint32_t)(q - start_of_digits_ptr); in wuffs_base__parse_number_f64() 13783 if (digit_count > 19) { in wuffs_base__parse_number_f64() [all...] |
Completed in 125 milliseconds