| /linux/rust/proc-macro2/ |
| H A D | parse.rs | 13 pub(crate) rest: &'a str, field 20 let (_front, rest) = self.rest.split_at(bytes); in advance() 22 rest, in advance() 29 self.rest.starts_with(s) in starts_with() 33 self.rest.starts_with(ch) in starts_with_char() 40 self.rest.starts_with(f) in starts_with_fn() 44 self.rest.is_empty() in is_empty() 48 self.rest.len() in len() 52 self.rest.as_bytes() in as_bytes() 56 self.rest.bytes() in bytes() [all …]
|
| /linux/arch/m68k/lib/ |
| H A D | checksum.c | 27 * Zero out rest of buffer on exception in 50 "addql #2,%1\n\t" /* len was == 2, treat only rest */ in csum_partial() 87 "andw #0x1c,%3\n\t" /* number of rest longs */ in csum_partial() 92 /* loop for rest longs */ in csum_partial() 99 /* now check for rest bytes that do not fit into longs */ in csum_partial() 102 "clrl %4\n\t" /* clear tmp2 for rest bytes */ in csum_partial() 105 "movew %2@+,%4\n\t" /* have rest >= 2: get word */ in csum_partial() 110 "moveb %2@,%4\n\t" /* have odd rest: get byte */ in csum_partial() 113 "addl %4,%0\n\t" /* now add rest long to sum */ in csum_partial() 147 "addql #2,%1\n\t" /* len was == 2, treat only rest */ in csum_and_copy_from_user() [all …]
|
| /linux/rust/pin-init/internal/src/ |
| H A D | zeroable.rs | |
| /linux/fs/proc/ |
| H A D | bootconfig.c | 22 /* Rest size of buffer */ 23 #define rest(dst, end) ((end) > (dst) ? (end) - (dst) : 0) macro 42 ret = snprintf(dst, rest(dst, end), "%s = ", key); in copy_xbc_key_value_list() 53 ret = snprintf(dst, rest(dst, end), "%c%s%c%s", in copy_xbc_key_value_list() 60 ret = snprintf(dst, rest(dst, end), "\"\"\n"); in copy_xbc_key_value_list() 67 ret = snprintf(dst, rest(dst, end), "# Parameters from bootloader:\n# %s\n", in copy_xbc_key_value_list()
|
| /linux/tools/docs/ |
| H A D | get_feat.py | 8 Parse the Linux Feature files and produce a ReST book. 60 Generate tables in ReST format. Three types of tables are 94 parseable by other scripts. The output format is not ReST. 126 description="Output table in ReST " 135 """Implement rest argparse subparser""" 137 parser = subparsers.add_parser("rest", 139 description="Output table(s) in ReST " 141 "with features in ReST "
|
| /linux/scripts/ |
| H A D | show_delta | 49 (time_str, rest) = string.split(line[1:],']',1) 53 return (time, rest) 65 (time, rest) = get_time(line) 78 return ("[%5.6f < %5.6f >]" % (time, delta)) + rest 111 (time, rest) = get_time(line) 114 if string.find(rest, base_str)==1:
|
| /linux/rust/macros/ |
| H A D | fmt.rs | 33 while let Some((_, rest)) = first_str.split_once('{') { in fmt() 34 first_str = rest; in fmt() 35 if let Some(rest) = first_str.strip_prefix('{') { in fmt() 36 first_str = rest; in fmt() 39 if let Some((name, rest)) = first_str.split_once('}') { in fmt() 40 first_str = rest; in fmt()
|
| H A D | pin_data.rs | |
| H A D | zeroable.rs | |
| /linux/drivers/staging/media/av7110/ |
| H A D | dvb_filter.c | 86 int ret = 0, rest; in dvb_filter_pes2ts() local 106 rest = 183 - len; in dvb_filter_pes2ts() 107 if (rest) { in dvb_filter_pes2ts() 109 if (rest - 1) in dvb_filter_pes2ts() 110 memset(buf + 6, 0xff, rest - 1); in dvb_filter_pes2ts() 112 buf[4] = rest; in dvb_filter_pes2ts() 113 memcpy(buf + 5 + rest, pes, len); in dvb_filter_pes2ts()
|
| /linux/drivers/scsi/ |
| H A D | script_asm.pl | 403 $rest = $2; 404 foreach $rest (split (/\s*,\s*/, $rest)) { 405 if ($rest =~ /^($identifier)\s*=\s*($constant)\s*$/) { 456 $rest = $1; 457 if ($rest =~ /^FROM\s+($value)\s*,\s*(WITH|WHEN)\s+($phase)\s*$/i) { 466 } elsif ($rest =~ /^($value)\s*,\s*(PTR\s+|)($value)\s*,\s*(WITH|WHEN)\s+($phase)\s*$/i) { 478 } elsif ($rest =~ /^MEMORY\s+(.*)/i) { 479 $rest = $1; 481 if ($rest =~ /^($value)\s*,\s*($value)\s*,\s*($value)\s*$/) { 504 $rest = $3; [all …]
|
| /linux/drivers/media/radio/ |
| H A D | radio-terratec.c | 86 long rest; in terratec_s_frequency() local 92 rest = freq * 10 + 10700; /* I once had understood what is going on here */ in terratec_s_frequency() 96 while (rest != 0) { in terratec_s_frequency() 97 if (rest % temp == rest) in terratec_s_frequency() 101 rest = rest - temp; in terratec_s_frequency()
|
| /linux/Documentation/sphinx/ |
| H A D | kernel_abi.py | 9 Implementation of the ``kernel-abi`` reST-directive. 30 Inserts a code-block with the *raw* reST. Sometimes it is helpful to see 31 what reST is generated. 163 logger.verbose("%s ABI: %i symbols (%i ReST lines)" % (abi_type, n_sym, n)) 165 logger.verbose("%s ABI: %i files (%i ReST lines)" % (abi_type, n_sym, n)) 167 logger.verbose("%s ABI: %i data (%i ReST lines)" % (abi_type, n_sym, n))
|
| /linux/rust/quote/ |
| H A D | format.rs | 121 ($fmt:expr, $($rest:tt)*) => { 125 ] $($rest)*) 144 ([$old:expr, $($fmt:tt)*] span = $span:expr, $($rest:tt)*) => { 148 ] $($rest)*) 155 ([$span:expr, $($fmt:tt)*] $name:ident = $arg:expr, $($rest:tt)*) => { 157 … arg => $crate::format_ident_impl!([$span.or(arg.span()), $($fmt)*, $name = arg] $($rest)*), 165 ([$span:expr, $($fmt:tt)*] $arg:expr, $($rest:tt)*) => { 167 arg => $crate::format_ident_impl!([$span.or(arg.span()), $($fmt)*, arg] $($rest)*),
|
| /linux/rust/kernel/str/ |
| H A D | parse_int.rs | 33 [b'0', b'x' | b'X', rest @ ..] => (16, rest.as_ref()), in strip_radix() 34 [b'0', b'o' | b'O', rest @ ..] => (8, rest.as_ref()), in strip_radix() 35 [b'0', b'b' | b'B', rest @ ..] => (2, rest.as_ref()), in strip_radix() 83 [b'-', rest @ ..] => { in from_str() 84 let (radix, digits) = strip_radix(rest.as_ref()); in from_str()
|
| /linux/rust/syn/ |
| H A D | scan_expr.rs | 202 Some((ident, rest)) if ident == expected => Ok((true, rest)), in scan_expr() 211 Some((_, rest)) if i == expected.len() - 1 => { in scan_expr() 212 return Ok((true, rest)); in scan_expr() 214 Some((punct, rest)) if punct.spacing() == Spacing::Joint => { in scan_expr() 215 cursor = rest; in scan_expr() 227 Some((_inside, _span, rest)) => Ok((true, rest)), in scan_expr() 232 Some((_inside, _delimiter, _span, rest)) => Ok((true, rest)), in scan_expr()
|
| /linux/tools/testing/selftests/vfio/ |
| H A D | vfio_dma_mapping_test.c | 45 char *rest; in intel_iommu_mapping_get() local 57 rest = line; in intel_iommu_mapping_get() 59 parse_next_value(&rest, &line_iova); in intel_iommu_mapping_get() 68 parse_next_value(&rest, &mapping->pgd); in intel_iommu_mapping_get() 69 parse_next_value(&rest, &mapping->p4d); in intel_iommu_mapping_get() 70 parse_next_value(&rest, &mapping->pud); in intel_iommu_mapping_get() 71 parse_next_value(&rest, &mapping->pmd); in intel_iommu_mapping_get() 72 parse_next_value(&rest, &mapping->pte); in intel_iommu_mapping_get()
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | dib0070.c | 372 u32 FBDiv, Rest, FREF, VCOF_kHz; in dib0070_tune_digital() local 402 Rest = (VCOF_kHz / state->current_tune_table_index->presc) - FBDiv * FREF; in dib0070_tune_digital() 409 Rest = 2 * freq - FBDiv * FREF; in dib0070_tune_digital() 413 if (Rest < LPF) in dib0070_tune_digital() 414 Rest = 0; in dib0070_tune_digital() 415 else if (Rest < 2 * LPF) in dib0070_tune_digital() 416 Rest = 2 * LPF; in dib0070_tune_digital() 417 else if (Rest > (FREF - LPF)) { in dib0070_tune_digital() 418 Rest = 0; in dib0070_tune_digital() 420 } else if (Rest > (FREF - 2 * LPF)) in dib0070_tune_digital() [all …]
|
| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | arm,syscon-icst.yaml | 37 Integrator/AP 22 1 Bit 8 0, rest variable 40 Integrator/AP 46 3 Bit 8 0, rest variable 46 Integrator/CP 22 variable Bit 8 0, rest variable 49 Integrator/CP 22 variable Bit 8 0, rest variable
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | devices.rst | 86 B "c 1:3 rwm", "b 3:* rwm" all the rest 98 A "c 1:3 rwm", "c 1:5 r" all the rest 99 B "c 1:3 rwm", "c 1:5 r" all the rest 108 A "c *:3 rwm", "c 1:5 r" all the rest 109 B "c 1:3 rwm", "c 1:5 r" all the rest
|
| /linux/tools/perf/util/ |
| H A D | demangle-rust-v0.c | 139 …ust_demangle_v0_demangle(const char *s, size_t s_len, struct demangle_v0 *res, const char **rest) { in rust_demangle_v0_demangle() argument 186 if (rest) { in rust_demangle_v0_demangle() 187 *rest = parser.sym + parser.next; in rust_demangle_v0_demangle() 1685 …mangle_legacy_demangle(const char *s, size_t s_len, struct demangle_legacy *res, const char **rest) in rust_demangle_legacy_demangle() argument 1755 *rest = chars + 1; in rust_demangle_legacy_demangle() 1787 const char *rest; in rust_demangle_legacy_display_demangle() local 1788 … for (rest = inner; rest < res.mangled + res.mangled_len && *rest >= '0' && *rest <= '9'; rest++) { in rust_demangle_legacy_display_demangle() 1790 i += *rest - '0'; in rust_demangle_legacy_display_demangle() 1792 if ((size_t)(res.mangled + res.mangled_len - rest) < i) { in rust_demangle_legacy_display_demangle() 1794 // safety: we knwo rest <= res.mangled + res.mangled_len from the for-loop above in rust_demangle_legacy_display_demangle() [all …]
|
| /linux/tools/perf/ |
| H A D | Makefile | 85 rest := $(filter-out clean,$(MAKECMDGOALS)) macro 86 ifneq ($(rest),) 87 $(rest): clean 88 endif # rest
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | metafmt-uvc.rst | 46 * - :cspan:`1` *The rest is an exact copy of the UVC payload header:* 48 - length of the rest of the block, including this field. Please note that 54 - The rest of the header, possibly including UVC PTS and SCR fields
|
| /linux/Documentation/networking/ |
| H A D | x25-iface.rst | 22 the rest of the skbuff, if any more information does exist. 30 This indicates that the rest of the skbuff contains data to be transmitted 54 This indicates that the rest of the skbuff contains data that has been
|
| /linux/scripts/kconfig/ |
| H A D | lexer.l | 308 const char *rest, *end; 326 rest = text; 327 out = expand_one_token(&rest); 330 end = rest + strlen(rest); 331 while (end > rest)
|