Searched refs:num_digits (Results 1 – 10 of 10) sorted by relevance
24 int num_digits = 0; in VerifyLuhnChecksum() local38 ++num_digits; in VerifyLuhnChecksum()47 return (num_digits > 1 && sum % 10 == 0); in VerifyLuhnChecksum()
114 unsigned long num_digits = 0, digit, val = 0; in scan_hex() local132 ++num_digits; in scan_hex()135 if (!num_digits) in scan_hex()144 unsigned long num_digits = 0, digit, val = 0; in scan_dec() local160 ++num_digits; in scan_dec()162 if (!num_digits) in scan_dec()
142 size_t n, num_digits; in uint64_to_base10() local144 for (num_digits = 0; num_digits < AVB_MAX_DIGITS_UINT64 - 1;) { in uint64_to_base10()145 rev_digits[num_digits++] = avb_div_by_10(&value) + '0'; in uint64_to_base10()151 for (n = 0; n < num_digits; n++) { in uint64_to_base10()152 digits[n] = rev_digits[num_digits - 1 - n]; in uint64_to_base10()
169 size_t n, num_digits; in uint64_to_base10() local171 for (num_digits = 0; num_digits < AVB_MAX_DIGITS_UINT64 - 1;) { in uint64_to_base10()172 rev_digits[num_digits++] = avb_div_by_10(&value) + '0'; in uint64_to_base10()178 for (n = 0; n < num_digits; n++) { in uint64_to_base10()179 digits[n] = rev_digits[num_digits - 1 - n]; in uint64_to_base10()
69 int num_digits = static_cast<int>(strlen(decimal_point + 1)); in ParseDuration() local70 if (num_digits > 9) { // We don't accept greater precision than nanos. in ParseDuration()73 for (int i = 0; i < (9 - num_digits); ++i) { in ParseDuration()
91 size_t num_digits = kSizeNeeded - 1 - idx; in AppendPaddedInt() local92 for (size_t i = num_digits; i < padding; i++) { in AppendPaddedInt()
333 size_t num_digits = (index / 10) + 1; in GetFilePath() local334 RTC_DCHECK_LE(num_digits, max_digits); in GetFilePath()335 size_t padding = max_digits - num_digits; in GetFilePath()
317 Integer num_digits = new Integer(i - j - 1); in POSIXGrouping() local318 result = result.concat(num_digits.toString()); in POSIXGrouping()
719 static int num_digits(int n) in num_digits() function760 len = strlen(pdb->name) + strlen(infix) + num_digits(num_attrs) + 1; in get_new_attr_name()
671 parse_digits(const char *ptr, int *var, size_t num_digits) in parse_digits() argument673 for (size_t i = 0; i < num_digits; ++i) { in parse_digits()