| /linux/rust/syn/ |
| H A D | bigint.rs | 7 digits: Vec<u8>, field 12 BigInt { digits: Vec::new() } in new() 16 let mut repr = String::with_capacity(self.digits.len()); in to_string() 19 for digit in self.digits.iter().rev() { in to_string() 34 let len = self.digits.len(); in reserve_two_digits() 36 len + !self.digits.ends_with(&[0, 0]) as usize + !self.digits.ends_with(&[0]) as usize; in reserve_two_digits() 37 self.digits.resize(desired, 0); in reserve_two_digits() 48 let sum = self.digits[i] + increment; in add_assign() 49 self.digits[i] = sum % 10; in add_assign() 62 for digit in &mut self.digits { in mul_assign()
|
| H A D | lit.rs | 107 digits: Box<str>, field 122 digits: Box<str>, field 417 let (digits, suffix) = match value::parse_lit_int(repr) { in new() 427 digits, in new() 434 &self.repr.digits in base10_digits() 489 if let Some((digits, suffix)) = value::parse_lit_int(&repr) { in from() 493 digits, in from() 511 let (digits, suffix) = match value::parse_lit_float(repr) { in new() 521 digits, in new() 528 &self.repr.digits in base10_digits() [all …]
|
| /linux/tools/include/nolibc/ |
| H A D | stdlib.h | 203 int digits = 0; in utoh_r() local 210 if (dig || digits || pos < 0) { in utoh_r() 213 buffer[digits++] = '0' + dig; in utoh_r() 217 buffer[digits] = 0; in utoh_r() 218 return digits; in utoh_r() 243 int digits = 0; in utoa_r() local 251 if (digits || in >= lim || !pos) { in utoa_r() 254 buffer[digits++] = '0' + dig; in utoa_r() 258 buffer[digits] = 0; in utoa_r() 259 return digits; in utoa_r() [all …]
|
| /linux/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 | 670 u8 *digits = NULL; in dsp_function() local 727 digits = dsp_dtmf_goertzel_decode(dsp, skb->data, in dsp_function() 739 if (digits) { in dsp_function() 740 while (*digits) { in dsp_function() 746 __func__, *digits, dsp->name); in dsp_function() 747 k = *digits | DTMF_TONE_VAL; in dsp_function() 759 digits++; in dsp_function() 784 digits = dsp_dtmf_goertzel_decode(dsp, skb->data, in dsp_function() 786 while (*digits) { in dsp_function() 792 __func__, *digits, dsp->name); in dsp_function() [all …]
|
| H A D | dsp.h | 130 u8 digits[16]; /* dtmf result */ member
|
| /linux/rust/kernel/str/ |
| H A D | parse_int.rs | 84 let (radix, digits) = strip_radix(rest.as_ref()); in from_str() 93 u64::from_str_radix(core::str::from_utf8(digits).map_err(|_| EINVAL)?, radix) in from_str() 98 let (radix, digits) = strip_radix(src); in from_str() 99 Self::from_str_radix(digits, radix).map_err(|_| EINVAL) in from_str()
|
| /linux/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 are stored in the correct position in 102 | digits are stored in the final string. [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
|
| 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
|
| /linux/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()
|
| /linux/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()
|
| /linux/Documentation/admin-guide/ |
| H A D | lcd-panel-cgram.rst | 8 number, and up to 8 couples of hex digits terminated by a semi-colon 9 (';'). Each couple of digits represents a line, with 1-bits for each
|
| /linux/drivers/watchdog/ |
| H A D | octeon-wdt-main.c | 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()
|
| /linux/drivers/acpi/acpica/ |
| H A D | utprint.c | 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()
|
| /linux/tools/testing/selftests/kvm/lib/ |
| H A D | guest_sprintf.c | 47 static const char digits[16] = "0123456789ABCDEF"; /* "GHIJKLMNOPQRSTUVWXYZ"; */ in number() local 88 tmp[i++] = (digits[__do_div(num, base)] | locase); in number()
|
| /linux/Documentation/arch/s390/ |
| H A D | pci.rst | 53 PCI function. The format depicted as XXXXXXXX above is 8 hexadecimal digits 54 with 0 padding and lower case hexadecimal digits.
|
| /linux/drivers/firmware/efi/libstub/ |
| H A D | vsprintf.c | 121 static const char digits[16] = "0123456789ABCDEF"; /* "GHIJKLMNOPQRSTUVWXYZ"; */ in number() local 134 *--end = digits[num & 0xf] | locase; in number()
|
| /linux/Documentation/admin-guide/laptops/ |
| H A D | asus-laptop.rst | 203 where T control the 3 letters display, and DDD the 3 digits display, 206 DDD (digits) 207 000 to 999 = display digits
|
| /linux/Documentation/input/devices/ |
| H A D | yealink.rst | 68 From a userspace perspective the world is separated into "digits" and "icons". 123 - If less characters are written than allowed, the remaining digits are
|
| /linux/Documentation/admin-guide/perf/ |
| H A D | qcom_l2_pmu.rst | 22 Events are specified as 0xCCG, where CC is 2 hex digits specifying
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-platform-asus-laptop | 38 where T control the 3 letters display, and DDD the 3 digits display.
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | rpc-cache.rst | 215 hex digits, and pairs of these digits provide the bytes in the 217 - otherwise a \ in the field must be followed by 3 octal digits
|
| /linux/tools/power/pm-graph/config/ |
| H A D | freeze.cfg | 88 # Number of significant digits in timestamps (0:S, [3:ms], 6:us)
|
| H A D | standby.cfg | 88 # Number of significant digits in timestamps (0:S, [3:ms], 6:us)
|