Home
last modified time | relevance | path

Searched full:rest (Results 1 – 25 of 1410) sorted by relevance

12345678910>>...57

/linux/rust/proc-macro2/
H A Dparse.rs13 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 Dchecksum.c27 * 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 Dzeroable.rs
/linux/fs/proc/
H A Dbootconfig.c22 /* 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 Dget_feat.py8 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/drivers/scsi/
H A Dscript_asm.pl403 $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/staging/media/av7110/
H A Ddvb_filter.c86 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/scripts/
H A Dshow_delta49 (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 Dfmt.rs33 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 Dpin_data.rs
H A Dzeroable.rs
/linux/Documentation/sphinx/
H A Dkernel_abi.py9 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 Dformat.rs121 ($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 Dparse_int.rs33 [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 Dscan_expr.rs202 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()
H A Dlit.rs871 if let Some((lit, rest)) = cursor.literal() { in parse()
872 return Ok((Lit::new(lit), rest)); in parse()
875 if let Some((ident, rest)) = cursor.ident() { in parse()
882 return Ok((Lit::Bool(lit_bool), rest)); in parse()
886 if let Some((punct, rest)) = cursor.punct() { in parse()
888 if let Some((lit, rest)) = parse_negative_lit(punct, rest) { in parse()
889 return Ok((lit, rest)); in parse()
900 let (lit, rest) = cursor.literal()?; in parse_negative_lit()
919 rest, in parse_negative_lit()
934 rest, in parse_negative_lit()
[all …]
/linux/drivers/media/dvb-frontends/
H A Ddib0070.c372 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/tools/testing/selftests/vfio/
H A Dvfio_dma_mapping_test.c45 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/tools/perf/util/
H A Ddemangle-rust-v0.c139 …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/Documentation/admin-guide/cgroup-v1/
H A Ddevices.rst86 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/Documentation/devicetree/bindings/clock/
H A Darm,syscon-icst.yaml37 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/tools/perf/
H A DMakefile85 rest := $(filter-out clean,$(MAKECMDGOALS)) macro
86 ifneq ($(rest),)
87 $(rest): clean
88 endif # rest
/linux/drivers/s390/block/
H A Ddasd_eer.c68 * keep track of the rest of the record. residual stores the number of bytes
69 * that are still to deliver. If the rest of the record is invalidated between
128 unsigned long rest, len; in dasd_eer_write_buffer() local
132 rest = count; in dasd_eer_write_buffer()
133 while (rest > 0) { in dasd_eer_write_buffer()
136 len = min(rest, PAGE_SIZE - localhead); in dasd_eer_write_buffer()
139 rest -= len; in dasd_eer_write_buffer()
154 unsigned long rest, len, finalcount; in dasd_eer_read_buffer() local
159 rest = finalcount; in dasd_eer_read_buffer()
160 while (rest > 0) { in dasd_eer_read_buffer()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-uvc.rst46 * - :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 Dx25-iface.rst22 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

12345678910>>...57