/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
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() argument 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() argument 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 [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | numbers_benchmark.cc | 46 int64_t RepeatedSevens(int num_digits, int base) { in RepeatedSevens() argument 49 while (--num_digits) num = base * num + 7; in RepeatedSevens() 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 = state.range(1); in BM_SimpleAtof() local 210 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtof() 238 const int num_digits = state.range(1); in BM_SimpleAtod() local 240 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtod()
|
/third_party/abseil-cpp/absl/strings/ |
D | numbers_benchmark.cc | 46 int64_t RepeatedSevens(int num_digits, int base) { in RepeatedSevens() argument 49 while (--num_digits) num = base * num + 7; in RepeatedSevens() 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 = state.range(1); in BM_SimpleAtof() local 210 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtof() 238 const int num_digits = state.range(1); in BM_SimpleAtod() local 240 MakeFloatStrings(num_strings, num_digits); in BM_SimpleAtod()
|
/third_party/grpc/src/core/lib/json/ |
D | json_util.cc | 43 int num_digits = static_cast<int>(strlen(decimal_point + 1)); in ParseDurationFromJson() local 44 if (num_digits > 9) { // We don't accept greater precision than nanos. in ParseDurationFromJson() 47 for (int i = 0; i < (9 - num_digits); ++i) { in ParseDurationFromJson()
|
/third_party/libunwind/src/ |
D | os-linux.h | 135 unsigned long num_digits = 0, digit, val = 0; in scan_hex() local 153 ++num_digits; in scan_hex() 156 if (!num_digits) in scan_hex() 165 unsigned long num_digits = 0, digit, val = 0; in scan_dec() local 181 ++num_digits; in scan_dec() 183 if (!num_digits) in scan_dec()
|
/third_party/node/tools/gyp/ |
D | test_gyp.py | 179 num_digits = len(str(self.num_tests)) 180 self.fmt_str = "[%%%dd/%%%dd] (%%s) %%s" % (num_digits, num_digits)
|
/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | parser.cc | 97 int num_digits = std::numeric_limits<int>::digits10; in ConsumeConversion() local 102 --num_digits; in ConsumeConversion() 103 if (ABSL_PREDICT_FALSE(!num_digits)) break; in ConsumeConversion()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
D | parser.cc | 118 int num_digits = std::numeric_limits<int>::digits10; in ConsumeConversion() local 123 --num_digits; in ConsumeConversion() 124 if (ABSL_PREDICT_FALSE(!num_digits)) break; in ConsumeConversion()
|
/third_party/boost/libs/dynamic_bitset/test/ |
D | bitset_test.hpp | 1370 size_type num_digits = after_digits - after_spaces; in stream_extractor() local 1373 if((after_digits == len && max_digits > num_digits )) in stream_extractor() 1381 if(num_digits == 0) { in stream_extractor() 1402 if(num_digits == 0 && after_digits == len) { in stream_extractor() 1426 String sub = str.substr(after_spaces, num_digits); in stream_extractor() 1432 || (after_digits == len && num_digits == 0 && did_throw)); in stream_extractor()
|
/third_party/skia/third_party/externals/wuffs/release/c/ |
D | wuffs-v0.3.c | 12383 uint32_t num_digits; member 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 = 0; in wuffs_base__private_implementation__high_prec_dec__parse() 12649 h->num_digits = nd; in wuffs_base__private_implementation__high_prec_dec__parse() 12696 if (i >= h->num_digits) { in wuffs_base__private_implementation__high_prec_dec__lshift_num_new_digits() 12728 if ((h->num_digits == 0) || (h->decimal_point < 0)) { in wuffs_base__private_implementation__high_prec_dec__rounded_integer() 12738 n = (10 * n) + ((i < h->num_digits) ? h->digits[i] : 0); in wuffs_base__private_implementation__high_prec_dec__rounded_integer() 12742 if (dp < h->num_digits) { in wuffs_base__private_implementation__high_prec_dec__rounded_integer() [all …]
|
/third_party/icu/tools/unicode/py/ |
D | preparseucd.py | 1766 num_digits = 0 1785 if c in "0123456789": num_digits += 1 1794 print("%d digits 0-9" % num_digits)
|
/third_party/selinux/libsepol/src/ |
D | module_to_cil.c | 722 static unsigned int num_digits(unsigned int n) in num_digits() function 760 len = strlen(pdb->name) + strlen(infix) + num_digits(num_attrs) + 1; in get_new_attr_name()
|
/third_party/mindspore/mindspore/dataset/engine/ |
D | datasets.py | 175 num_digits = len(str(num_files - 1)) 179 paths = ["{}{}".format(file_name, str(x).rjust(num_digits, '0')) for x in range(num_files)]
|
/third_party/python/Modules/ |
D | _datetimemodule.c | 679 parse_digits(const char *ptr, int *var, size_t num_digits) in parse_digits() argument 681 for (size_t i = 0; i < num_digits; ++i) { in parse_digits()
|