/kernel/linux/linux-6.6/tools/include/nolibc/ |
H A D | stdlib.h | 205 int digits = 0; in utoh_r() local 212 if (dig || digits || pos < 0) { in utoh_r() 215 buffer[digits++] = '0' + dig; in utoh_r() 219 buffer[digits] = 0; in utoh_r() 220 return digits; in utoh_r() 245 int digits = 0; in utoa_r() local 253 if (digits || in >= lim || !pos) { in utoa_r() 256 buffer[digits++] = '0' + dig; in utoa_r() 260 buffer[digits] = 0; in utoa_r() 261 return digits; in utoa_r() 337 int digits = 0; u64toh_r() local 381 int digits = 0; u64toa_r() local [all...] |
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
H A D | dsp_dtmf.c | 130 dsp->dtmf.digits[0] = '\0'; in dsp_dtmf_goertzel_decode() 155 return dsp->dtmf.digits; in dsp_dtmf_goertzel_decode() 179 return dsp->dtmf.digits; in dsp_dtmf_goertzel_decode() 298 if ((strlen(dsp->dtmf.digits) + 1) in dsp_dtmf_goertzel_decode() 299 < sizeof(dsp->dtmf.digits)) { in dsp_dtmf_goertzel_decode() 300 dsp->dtmf.digits[strlen( in dsp_dtmf_goertzel_decode() 301 dsp->dtmf.digits) + 1] = '\0'; in dsp_dtmf_goertzel_decode() 302 dsp->dtmf.digits[strlen( in dsp_dtmf_goertzel_decode() 303 dsp->dtmf.digits)] = what; in dsp_dtmf_goertzel_decode()
|
H A D | dsp_core.c | 669 u8 *digits = NULL; in dsp_function() local 726 digits = dsp_dtmf_goertzel_decode(dsp, skb->data, in dsp_function() 738 if (digits) { in dsp_function() 739 while (*digits) { in dsp_function() 745 __func__, *digits, dsp->name); in dsp_function() 746 k = *digits | DTMF_TONE_VAL; in dsp_function() 758 digits++; in dsp_function() 783 digits = dsp_dtmf_goertzel_decode(dsp, skb->data, in dsp_function() 785 while (*digits) { in dsp_function() 791 __func__, *digits, ds in dsp_function() [all...] |
/kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
H A D | dsp_dtmf.c | 130 dsp->dtmf.digits[0] = '\0'; in dsp_dtmf_goertzel_decode() 155 return dsp->dtmf.digits; in dsp_dtmf_goertzel_decode() 179 return dsp->dtmf.digits; in dsp_dtmf_goertzel_decode() 298 if ((strlen(dsp->dtmf.digits) + 1) in dsp_dtmf_goertzel_decode() 299 < sizeof(dsp->dtmf.digits)) { in dsp_dtmf_goertzel_decode() 300 dsp->dtmf.digits[strlen( in dsp_dtmf_goertzel_decode() 301 dsp->dtmf.digits) + 1] = '\0'; in dsp_dtmf_goertzel_decode() 302 dsp->dtmf.digits[strlen( in dsp_dtmf_goertzel_decode() 303 dsp->dtmf.digits)] = what; in dsp_dtmf_goertzel_decode()
|
H A D | dsp_core.c | 669 u8 *digits = NULL; in dsp_function() local 726 digits = dsp_dtmf_goertzel_decode(dsp, skb->data, in dsp_function() 738 if (digits) { in dsp_function() 739 while (*digits) { in dsp_function() 745 __func__, *digits, dsp->name); in dsp_function() 746 k = *digits | DTMF_TONE_VAL; in dsp_function() 758 digits++; in dsp_function() 783 digits = dsp_dtmf_goertzel_decode(dsp, skb->data, in dsp_function() 785 while (*digits) { in dsp_function() 791 __func__, *digits, ds in dsp_function() [all...] |
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | bindec.S | 44 | LEN is the number of digits to be displayed. The 45 | k-factor can dictate either the total number of digits, 46 | if it is a positive number, or the number of digits 54 | of decimal places needed to insure LEN integer digits 69 | significant digits. The excess digits are collected 85 | A13. Check for LEN digits. 86 | If the int operation results in more than LEN digits, 87 | or less than LEN -1 digits, adjust ILOG and repeat from 97 | The bcd digits ar [all...] |
H A D | decbin.S | 27 | digits, rather than 1 integer and 16 fraction digits. 32 | The mantissa digits will be converted with the decimal point 127 | 4. Subtract 16 to compensate for interpreting the mant as all integer digits. 128 | (i.e., all digits assumed left of the decimal point.) 144 movel #EDIGITS,%d2 |# of nibbles (digits) in fraction part 145 moveql #ESTRT,%d3 |counter to pick up digits 157 dbf %d2,e_gd |if we have used all 3 digits, exit loop 174 | (i.e., all digits assumed left of the decimal point.) 207 moveql #FSTRT,%d3 |counter to pick up digits [all...] |
H A D | binstr.S | 12 | Output: LEN bcd digits representing the 64-bit integer. 19 | LEN digits are formed. 121 clrw %d7 |set d7a to signal no digits done
|
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | bindec.S | 44 | LEN is the number of digits to be displayed. The 45 | k-factor can dictate either the total number of digits, 46 | if it is a positive number, or the number of digits 54 | of decimal places needed to insure LEN integer digits 69 | significant digits. The excess digits are collected 85 | A13. Check for LEN digits. 86 | If the int operation results in more than LEN digits, 87 | or less than LEN -1 digits, adjust ILOG and repeat from 97 | The bcd digits ar [all...] |
H A D | decbin.S | 27 | digits, rather than 1 integer and 16 fraction digits. 32 | The mantissa digits will be converted with the decimal point 127 | 4. Subtract 16 to compensate for interpreting the mant as all integer digits. 128 | (i.e., all digits assumed left of the decimal point.) 144 movel #EDIGITS,%d2 |# of nibbles (digits) in fraction part 145 moveql #ESTRT,%d3 |counter to pick up digits 157 dbf %d2,e_gd |if we have used all 3 digits, exit loop 174 | (i.e., all digits assumed left of the decimal point.) 207 moveql #FSTRT,%d3 |counter to pick up digits [all...] |
H A D | binstr.S | 12 | Output: LEN bcd digits representing the 64-bit integer. 19 | LEN digits are formed. 121 clrw %d7 |set d7a to signal no digits done
|
/kernel/linux/linux-5.10/arch/alpha/boot/ |
H A D | stdio.c | 46 const char *digits="0123456789abcdefghijklmnopqrstuvwxyz"; in number() local 50 digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; in number() 80 tmp[i++] = digits[do_div(num, base)]; in number() 95 *str++ = digits[33]; in number() 121 int precision; /* min. # of digits for integers; max in vsprintf()
|
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
H A D | stdio.c | 82 const char *digits="0123456789abcdefghijklmnopqrstuvwxyz"; in number() local 86 digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; in number() 116 tmp[i++] = digits[do_div(num, base)]; in number() 131 *str++ = digits[33]; in number() 157 int precision; /* min. # of digits for integers; max in vsprintf()
|
/kernel/linux/linux-6.6/arch/powerpc/boot/ |
H A D | stdio.c | 82 const char *digits="0123456789abcdefghijklmnopqrstuvwxyz"; in number() local 86 digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; in number() 116 tmp[i++] = digits[do_div(num, base)]; in number() 131 *str++ = digits[33]; in number() 157 int precision; /* min. # of digits for integers; max in vsprintf()
|
/kernel/linux/linux-6.6/arch/alpha/boot/ |
H A D | stdio.c | 46 const char *digits = "0123456789abcdefghijklmnopqrstuvwxyz"; in number() local 50 digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; in number() 80 tmp[i++] = digits[do_div(num, base)]; in number() 95 *str++ = digits[33]; in number() 121 int precision; /* min. # of digits for integers; max in vsprintf()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | utprint.c | 95 * upper - Whether or not using upper cased digits 106 const char *digits; in acpi_ut_put_number() local 111 digits = upper ? acpi_gbl_upper_hex_digits : acpi_gbl_lower_hex_digits; in acpi_ut_put_number() 119 *(pos++) = digits[digit_index]; in acpi_ut_put_number()
|
/kernel/linux/linux-5.10/crypto/ |
H A D | ecdsa.c | 226 const u64 *digits = (const u64 *)&d[1]; in ecdsa_set_pub_key() local 245 ecc_swap_digits(digits, ctx->pub_key.x, ndigits); in ecdsa_set_pub_key() 246 ecc_swap_digits(&digits[ndigits], ctx->pub_key.y, ndigits); in ecdsa_set_pub_key()
|
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | utprint.c | 95 * upper - Whether or not using upper cased digits 106 const char *digits; in acpi_ut_put_number() local 111 digits = upper ? acpi_gbl_upper_hex_digits : acpi_gbl_lower_hex_digits; in acpi_ut_put_number() 119 *(pos++) = digits[digit_index]; in acpi_ut_put_number()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | ecdsa.c | 226 const u64 *digits = (const u64 *)&d[1]; in ecdsa_set_pub_key() local 245 ecc_swap_digits(digits, ctx->pub_key.x, ndigits); in ecdsa_set_pub_key() 246 ecc_swap_digits(&digits[ndigits], ctx->pub_key.y, ndigits); in ecdsa_set_pub_key()
|
/kernel/linux/linux-5.10/arch/x86/boot/ |
H A D | printf.c | 45 static const char digits[16] = "0123456789ABCDEF"; /* "GHIJKLMNOPQRSTUVWXYZ"; */ in number() local 51 /* locase = 0 or 0x20. ORing digits or letters with 'locase' in number() 52 * produces same digits or (maybe lowercased) letters */ in number() 84 tmp[i++] = (digits[__do_div(num, base)] | locase); in number() 124 int precision; /* min. # of digits for integers; max in vsprintf()
|
/kernel/linux/linux-6.6/arch/x86/boot/ |
H A D | printf.c | 45 static const char digits[16] = "0123456789ABCDEF"; /* "GHIJKLMNOPQRSTUVWXYZ"; */ in number() local 51 /* locase = 0 or 0x20. ORing digits or letters with 'locase' in number() 52 * produces same digits or (maybe lowercased) letters */ in number() 84 tmp[i++] = (digits[__do_div(num, base)] | locase); in number() 124 int precision; /* min. # of digits for integers; max in vsprintf()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/ |
H A D | guest_sprintf.c | 47 static const char digits[16] = "0123456789ABCDEF"; /* "GHIJKLMNOPQRSTUVWXYZ"; */ in number() local 54 * locase = 0 or 0x20. ORing digits or letters with 'locase' in number() 55 * produces same digits or (maybe lowercased) letters in number() 88 tmp[i++] = (digits[__do_div(num, base)] | locase); in number() 130 * min. # of digits for integers; max in guest_vsnprintf()
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | octeon-wdt-main.c | 171 * @digits: Number of digits to print (1 to 16) 173 static void octeon_wdt_write_hex(u64 value, int digits) in octeon_wdt_write_hex() argument 178 for (d = 0; d < digits; d++) { in octeon_wdt_write_hex() 179 v = (value >> ((digits - d - 1) * 4)) & 0xf; in octeon_wdt_write_hex()
|
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | octeon-wdt-main.c | 172 * @digits: Number of digits to print (1 to 16) 174 static void octeon_wdt_write_hex(u64 value, int digits) in octeon_wdt_write_hex() argument 179 for (d = 0; d < digits; d++) { in octeon_wdt_write_hex() 180 v = (value >> ((digits - d - 1) * 4)) & 0xf; in octeon_wdt_write_hex()
|
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
H A D | vsprintf.c | 116 * locase = 0 or 0x20. ORing digits or letters with 'locase' in number() 117 * produces same digits or (maybe lowercased) letters in number() 121 static const char digits[16] = "0123456789ABCDEF"; /* "GHIJKLMNOPQRSTUVWXYZ"; */ in number() local 134 *--end = digits[num & 0xf] | locase; in number() 315 int precision; /* min. # of digits for integers; max in vsnprintf() 458 /* precision is minimum number of digits to print */ in vsnprintf()
|