Home
last modified time | relevance | path

Searched refs:digit (Results 1 – 25 of 67) sorted by relevance

123

/linux/arch/m68k/fpsp040/
H A Dbinstr.S18 | msb form a decimal digit. This process is iterated until
21 | A1. Init d7 to 1. D7 is the byte digit counter, and if 1, the
22 | digit formed will be assumed the least significant. This is
36 | into d2:d3. D1 will contain the bcd digit formed.
38 | A6. Test d7. If zero, the digit formed is the ms digit. If non-
39 | zero, it is the ls digit. Put the digit in its place in the
40 | upper word of d0. If it is the ls digit, write the word
50 | d1: temp used to form the digit
56 | d7: byte digit formation word;digit count {0,1}
78 moveql #1,%d7 |init d7 for second digit
[all …]
H A Ddecbin.S33 | assumed following the least-significant digit.
43 | SM = 0 a non-zero digit in the integer position
44 | SM = 1 a non-zero digit in Mant0, lsd of the fraction
133 | (*) d0: temp digit storage
135 | (*) d2: digit count
153 mulul #TEN,%d1 |mul partial product by one digit place
154 bfextu %d4{%d3:#4},%d0 |get the digit and zero extend into d0
156 addqb #4,%d3 |advance d3 to the next digit
/linux/rust/syn/
H A Dbigint.rs19 for digit in self.digits.iter().rev() { in to_string()
20 has_nonzero |= *digit != 0; in to_string()
22 repr.push((*digit + b'0') as char); in to_string()
62 for digit in &mut self.digits { in mul_assign()
63 let prod = *digit * base + carry; in mul_assign()
64 *digit = prod % 10; in mul_assign()
/linux/arch/powerpc/boot/
H A Dstdlib.c21 int digit; in strtoull() local
24 digit = *ptr - '0'; in strtoull()
26 digit = *ptr - 'A' + 10; in strtoull()
28 digit = *ptr - 'a' + 10; in strtoull()
33 ret += digit; in strtoull()
/linux/drivers/soc/vt8500/
H A Dwmt-socinfo.c52 char letter, digit; in wmt_socinfo_probe() local
77 digit = sccid & 0xff; in wmt_socinfo_probe()
78 digit = (digit - 1) + '0'; in wmt_socinfo_probe()
80 "%c%c", letter, digit); in wmt_socinfo_probe()
/linux/arch/arm/boot/compressed/
H A Datags_to_fdt.c106 uint32_t digit; in hex_str() local
110 digit = value >> 28; in hex_str()
112 digit &= 0xf; in hex_str()
113 if (digit < 10) in hex_str()
114 digit += '0'; in hex_str()
116 digit += 'A'-10; in hex_str()
117 *out++ = digit; in hex_str()
/linux/drivers/acpi/acpica/
H A Dexoparg1.c236 u64 digit; in acpi_ex_opcode_1A_1T_1R() local
310 digit = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
315 (i < acpi_gbl_integer_nybble_width) && (digit > 0); in acpi_ex_opcode_1A_1T_1R()
320 temp32 = ((u32) digit) & 0xF; in acpi_ex_opcode_1A_1T_1R()
340 digit >>= 4; in acpi_ex_opcode_1A_1T_1R()
365 digit = operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
370 (i < acpi_gbl_integer_nybble_width) && (digit > 0); in acpi_ex_opcode_1A_1T_1R()
372 (void)acpi_ut_short_divide(digit, 10, &digit, in acpi_ex_opcode_1A_1T_1R()
385 if (digit > 0) { in acpi_ex_opcode_1A_1T_1R()
H A Dutstrsuppt.c21 static acpi_status acpi_ut_strtoul_add64(u64 addend1, u32 digit, u64 *out_sum);
423 static acpi_status acpi_ut_strtoul_add64(u64 addend1, u32 digit, u64 *out_sum) in acpi_ut_strtoul_add64() argument
429 if ((addend1 > 0) && (digit > (ACPI_UINT64_MAX - addend1))) { in acpi_ut_strtoul_add64()
433 sum = addend1 + digit; in acpi_ut_strtoul_add64()
H A Dexconvrt.c265 u64 digit; in acpi_ex_convert_to_ascii() local
306 digit = integer; in acpi_ex_convert_to_ascii()
308 (void)acpi_ut_short_divide(digit, 10, &digit, in acpi_ex_convert_to_ascii()
/linux/Documentation/userspace-api/media/rc/
H A Drc-tables.rst52 - Keyboard digit 0
60 - Keyboard digit 1
68 - Keyboard digit 2
76 - Keyboard digit 3
84 - Keyboard digit 4
92 - Keyboard digit 5
100 - Keyboard digit 6
108 - Keyboard digit 7
116 - Keyboard digit 8
124 - Keyboard digit 9
[all …]
/linux/samples/pktgen/
H A Dfunctions.sh239 for digit in "${addr[@]}"; do
240 [[ $IP6 ]] && digit=$[ 16#$digit ]
241 if ! (in_between $digit 0 $max); then
289 digit=$[ IP6 ? 16#${ip[$i]} : ${ip[$i]} ]
290 ip_bit=${D2B[$digit]}
/linux/tools/testing/selftests/size/
H A Dget_size.c47 unsigned int digit; in num_to_str() local
53 digit = num % 10; in num_to_str()
54 *(--buf) = digit + '0'; in num_to_str()
/linux/Documentation/input/devices/
H A Dyealink.rst69 A digit can have a character set, an icon can only be ON or OFF.
73 '8' : Generic 7 segment digit with individual addressable segments
75 Reduced capability 7 segment digit, when segments are hard wired together.
76 '1' : 2 segments digit only able to produce a 1.
77 'e' : Most significant day of the month digit,
79 'M' : Most significant minute digit,
/linux/arch/x86/boot/compressed/
H A Dmisc.c177 unsigned char digit = value % base; in __putnum() local
178 digit += (digit >= 10) ? ('a'-10) : '0'; in __putnum()
179 *--p = digit; in __putnum()
/linux/lib/
H A Dstring_helpers.c238 int digit; in unescape_hex() local
244 num = digit = hex_to_bin(*q++); in unescape_hex()
245 if (digit < 0) in unescape_hex()
248 digit = hex_to_bin(*q); in unescape_hex()
249 if (digit >= 0) { in unescape_hex()
251 num = (num << 4) | digit; in unescape_hex()
/linux/Documentation/ABI/stable/
H A Dsysfs-driver-ib_srp10 * id_ext, a 16-digit hexadecimal number specifying the eight
14 * ioc_guid, a 16-digit hexadecimal number specifying the eight
17 * dgid, a 32-digit hexadecimal number specifying the
19 * pkey, a four-digit hexadecimal number specifying the
21 * service_id, a 16-digit hexadecimal number specifying the
33 * initiator_ext, a 16-digit hexadecimal number specifying the
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-lpss_ltr28 represented as an 8-digit hexadecimal number.
40 as an 8-digit hexadecimal number.
H A Dsysfs-class-net-peak_usb15 value read from this attribute is always an 8 digit 32 bit
/linux/arch/m68k/ifpsp060/src/
H A Dilsp.S320 # In this algorithm, the divisor is treated as a 2 digit (word) number
321 # which is divided into a 3 digit (word) dividend to get one quotient
322 # digit (word). After subtraction, the dividend is shifted and the
324 # 'normalized' so that the process of estimating the quotient digit
341 # The comments use subscripts for the first quotient digit determination.
388 # the 3 digit (word) result with the current dividend words
400 bcc ldd2nd # no carry, do next quotient digit
418 # first quotient digit now correct. store digit and shift the
426 st DDSECOND(%a6) # second digit
431 # shift down one word/digit to renormalize remainder.
/linux/rust/proc-macro2/
H A Dparse.rs676 let digit = match ch { in backslash_u() localVariable
688 value += u32::from(digit); in backslash_u()
837 let digit = (b - b'0') as u64; in digits() localVariable
838 if digit >= base { in digits()
843 let digit = 10 + (b - b'a') as u64; in digits() localVariable
844 if digit >= base { in digits()
849 let digit = 10 + (b - b'A') as u64; in digits() localVariable
850 if digit >= base { in digits()
/linux/Documentation/networking/devlink/
H A Dmlxsw.rst59 - Three digit firmware version
83 - Three digit firmware version of line card device
/linux/tools/perf/util/
H A Dparse-events.l231 digit [0-9]
337 "/"/{digit} { return PE_BP_SLASH; }
/linux/Documentation/admin-guide/
H A Dlcd-panel-cgram.rst7 '\e[LG' followed by one digit from 0 to 7, representing the character
/linux/scripts/mod/
H A Dfile2alias.c1050 unsigned int digit; in do_amba_entry() local
1059 for (digit = 0; digit < 8; digit++) in do_amba_entry()
1061 (id >> (4 * (7 - digit))) & 0xf, in do_amba_entry()
1062 (mask >> (4 * (7 - digit))) & 0xf); in do_amba_entry()
/linux/tools/testing/selftests/net/forwarding/
H A Dmirror_lib.sh47 if [[ -z ${expect//[[:digit:]]/} ]]; then

123