Searched refs:re (Results 1 - 25 of 151) sorted by relevance

1234567

/linux-master/scripts/
H A Dcheckstack.pl29 # $re is used for two matches:
30 # $& (whole re) matches the complete objdump line with the stack growth
34 # $& (whole re) matches the complete objdump line with the stack growth
40 my (@stack, $re, $dre, $sub, $x, $xs, $funcre, $min_stack);
59 $re = qr/^.*stp.*sp, ?\#-([0-9]{1,8})\]\!/o;
63 $re = qr/.*sub.*sp, sp, #([0-9]{1,4})/o;
69 $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%(e|r)sp$/o;
74 $re = qr/.*(?:linkw %fp,|addaw )#-([0-9]{1,4})(?:,%sp)?$/o;
77 $re = qr/.*daddiu.*sp,sp,-([0-9]{1,8})/o;
80 $re
[all...]
H A Dcheckkconfigsymbols.py14 import re namespace
31 REGEX_FILE_KCONFIG = re.compile(r".*Kconfig[\.\w+\-]*$")
32 REGEX_SYMBOL = re.compile(r'(?!\B)' + SYMBOL + r'(?!\B)')
33 REGEX_SOURCE_SYMBOL = re.compile(SOURCE_SYMBOL)
34 REGEX_KCONFIG_DEF = re.compile(DEF)
35 REGEX_KCONFIG_EXPR = re.compile(EXPR)
36 REGEX_KCONFIG_STMT = re.compile(STMT)
37 REGEX_FILTER_SYMBOLS = re.compile(r"[A-Za-z0-9]$")
38 REGEX_NUMERIC = re.compile(r"0[xX][0-9a-fA-F]+|[0-9]+")
39 REGEX_QUOTES = re
[all...]
H A Dbpf_doc.py11 import re namespace
62 arg_re = re.compile(r'((\w+ )*?(\w+|...))( (\**)(\w+))?$')
64 proto_re = re.compile(r'(.+) (\**)(\w+)\(((([^,]+)(, )?){1,5})\)$')
117 p = re.compile(r' \* ?(BPF\w+)$')
121 end_re = re.compile(r' \* ?NOTES$')
136 p = re.compile(r' \* ?((.+) \**\w+\((((const )?(struct )?(\w+|\.\.\.)( \**\w+)?)(, )?){1,5}\))$')
144 p = re.compile(r' \* ?(?:\t| {5,8})Description$')
157 p = re.compile(r' \* ?(?:\t| {5,8})(?:\t| {8})(.*)')
170 p = re.compile(r' \* ?(?:\t| {5,8})Return$')
183 p = re
[all...]
/linux-master/Documentation/trace/postprocess/
H A Ddecode_msr.py5 import re namespace
11 m = re.match(r'#define (MSR_\w+)\s+(0x[0-9a-fA-F]+)', j)
22 m = re.search(r'(read|write)_msr:\s+([0-9a-f]+)', j)
/linux-master/Documentation/sphinx/
H A Dautomarkup.py11 import re namespace
15 # Python 2 lacks re.ASCII...
18 ascii_p3 = re.ASCII
29 RE_function = re.compile(r'\b(([a-zA-Z_]\w+)\(\))', flags=ascii_p3)
34 RE_generic_type = re.compile(r'\b(struct|union|enum|typedef)\s+([a-zA-Z_]\w+)',
41 RE_struct = re.compile(r'\b(struct)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
42 RE_union = re.compile(r'\b(union)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
43 RE_enum = re.compile(r'\b(enum)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
44 RE_typedef = re.compile(r'\b(typedef)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
50 RE_doc = re
[all...]
H A Dmaintainers_include.py21 import re namespace
73 if re.search('^[A-Z0-9]', line):
81 m = re.search(pat, line)
84 line = re.sub(pat, ':doc:`%s <../%s>`' % (m.group(2), m.group(2)), line)
93 m = re.search(r"\s(\S):\s", line)
97 m = re.search(r"\*([^\*]+)\*", line)
115 heading = re.sub(r"\s+", " ", line)
H A Dcdomain.py44 import re namespace
58 RE_namespace = re.compile(r'^\s*..\s*c:namespace::\s*(\S+)\s*$')
70 RE_macro = re.compile(r'^\s*..\s*c:macro::\s*(\S+)\s+(\S.*)\s*$')
78 RE_ctype = re.compile(r'^\s*..\s*c:(struct|union|enum|enumerator|alias)::\s*(.*)$')
87 RE_ctype_refs = re.compile(r':c:(var|struct|union|enum|enumerator)::`([^\`]+)`')
94 RE_expr = re.compile(r':c:(expr|texpr):`([^\`]+)`')
116 n = n[:m.start()] + markup_func[m.re](m) + n[m.end():]
/linux-master/tools/testing/selftests/bpf/
H A Dtest_bpftool_synctypes.py7 import re namespace
37 array_start = re.search(start_marker, self.reader.read())
52 if not line or re.match(end_marker, line):
65 end_marker = re.compile('^};')
69 self.start_marker = re.compile(f'(static )?const bool {self.array_name}\[.*\] = {{\n')
83 pattern = re.compile('\[(BPF_\w*)\]\s*= (true|false),?$')
87 if line == '' or re.match(self.end_marker, line):
111 if re.search(end_marker, line):
180 start_marker = re.compile(f'enum {enum_name} {{\n')
181 pattern = re
[all...]
/linux-master/arch/arm64/crypto/
H A Dsm3-neon-core.S45 #define re w7 define
358 ldp re, rf, [RSTATE, #16]
401 R1(ra, rb, rc, rd, re, rf, rg, rh, k_even, KL, 0, 0, IW, _, 0)
402 R1(rd, ra, rb, rc, rh, re, rf, rg, k_odd, _, 1, 1, IW, _, 0)
403 R1(rc, rd, ra, rb, rg, rh, re, rf, k_even, KL, 2, 2, IW, _, 0)
404 R1(rb, rc, rd, ra, rf, rg, rh, re, k_odd, _, 3, 3, IW, _, 0)
407 R1(ra, rb, rc, rd, re, rf, rg, rh, k_even, KL, 4, 0, IW, _, 0)
408 R1(rd, ra, rb, rc, rh, re, rf, rg, k_odd, _, 5, 1, IW, _, 0)
409 R1(rc, rd, ra, rb, rg, rh, re, rf, k_even, KL, 6, 2, IW, SCHED_W_W0W1W2W3W4W5_1, 12)
410 R1(rb, rc, rd, ra, rf, rg, rh, re, k_od
[all...]
/linux-master/tools/testing/selftests/tc-testing/plugin-lib/
H A DvalgrindPlugin.py8 import re namespace
114 self.definitely_lost_re = re.compile(
115 r'definitely lost:\s+([,0-9]+)\s+bytes in\s+([,0-9]+)\sblocks', re.MULTILINE | re.DOTALL)
116 self.indirectly_lost_re = re.compile(
117 r'indirectly lost:\s+([,0-9]+)\s+bytes in\s+([,0-9]+)\s+blocks', re.MULTILINE | re.DOTALL)
118 self.possibly_lost_re = re.compile(
119 r'possibly lost:\s+([,0-9]+)bytes in\s+([,0-9]+)\s+blocks', re.MULTILINE | re
[all...]
/linux-master/fs/btrfs/
H A Dref-verify.c63 * free it until we unmount the file system in order to make sure re-allocations
120 struct root_entry *re)
129 if (entry->root_objectid > re->root_objectid)
131 else if (entry->root_objectid < re->root_objectid)
137 rb_link_node(&re->node, parent_node, p);
138 rb_insert_color(&re->node, root);
237 struct root_entry *re; local
243 re = rb_entry(n, struct root_entry, node);
244 rb_erase(&re->node, &be->roots);
245 kfree(re);
119 insert_root_entry(struct rb_root *root, struct root_entry *re) argument
268 struct root_entry *re = NULL; local
316 struct root_entry *re; local
393 struct root_entry *re; local
630 struct root_entry *re; local
671 struct root_entry *re = NULL; local
[all...]
/linux-master/arch/sh/include/uapi/asm/
H A Dptrace_32.h73 unsigned long re; member in struct:pt_dspregs
/linux-master/scripts/dtc/
H A Ddt-extract-compatibles6 import re
18 for m in re.finditer(re_macros, data):
20 compat = re.search(r'"(.*?)"', m[0])[1]
32 for m in re.finditer(r'of_device_id(\s+\S+)?\s+(\S+)\[\](\s+\S+)?\s*=\s*({.*?);', data):
35 compat_list += re.findall(r'\.compatible\s+=\s+"(\S+)"', m[4])
43 for m in re.finditer(r'\.of_match_table\s+=\s+(of_match_ptr\()?([a-zA-Z0-9_-]+)', data):
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dspin_lock.c58 regex_t re; local
60 err = regcomp(&re, pattern, REG_NOSUB);
64 regerror(err, &re, errbuf, sizeof(errbuf));
68 rc = regexec(&re, string, 0, NULL, 0);
69 regfree(&re);
/linux-master/arch/mips/math-emu/
H A Dsp_maddf.c18 int re; local
146 * rm = xm * ym, re = xe + ye basically
151 /* rm = xm * ym, re = xe+ye basically */
155 re = xe + ye;
166 re++;
178 return ieee754sp_format(rs, re, rm);
186 if (ze > re) {
190 s = ze - re;
192 re += s;
193 } else if (re > z
[all...]
H A Ddp_maddf.c43 int re; local
177 * rm = xm * ym, re = xe + ye basically
184 re = xe + ye;
222 re++;
234 return ieee754dp_format(rs, re, lrm);
243 if (ze > re) {
247 s = ze - re;
249 re += s;
250 } else if (re > ze) {
254 s = re
[all...]
H A Dsp_div.c15 int re; local
116 re = xe - ye;
138 re--;
141 return ieee754sp_format(xs == ys ? 0 : 1, re, rm);
H A Ddp_div.c15 int re; local
116 re = xe - ye;
139 re--;
142 return ieee754dp_format(xs == ys ? 0 : 1, re, rm);
H A Dsp_mul.c14 int re; local
104 /* rm = xm * ym, re = xe+ye basically */
108 re = xe + ye;
146 re++;
153 return ieee754sp_format(rs, re, rm);
/linux-master/tools/perf/scripts/python/
H A Dmem-phys-addr.py12 import re namespace
34 m = re.split('-|:',j,2)
87 m = re.split('-|:',j,2)
/linux-master/tools/perf/arch/x86/util/
H A Dheader.c97 regex_t re; local
113 if (regcomp(&re, mapcpuid, REG_EXTENDED) != 0) {
119 match = !regexec(&re, id, 1, pmatch, 0);
120 regfree(&re);
/linux-master/sound/soc/codecs/aw88395/
H A Daw88395_device.h29 #define AW88395_DSP_RE_TO_SHOW_RE(re, shift) (((re) * (1000)) >> (shift))
30 #define AW88395_SHOW_RE_TO_DSP_RE(re, shift) (((re) << shift) / (1000))
/linux-master/drivers/gpu/drm/xe/
H A Dxe_guc_db_mgr.c226 unsigned int rs, re; local
234 for_each_clear_bitrange(rs, re, dbm->bitmap, dbm->count) {
236 rs, re - 1, re - rs);
237 total += re - rs;
242 for_each_set_bitrange(rs, re, dbm->bitmap, dbm->count) {
244 rs, re - 1, re - rs);
245 total += re - rs;
/linux-master/tools/testing/selftests/hid/tests/
H A Dconftest.py10 import re namespace
61 modalias_re = re.compile(r"alias:\s+hid:b0003g.*v([0-9a-fA-F]+)p([0-9a-fA-F]+)")
/linux-master/tools/testing/kunit/
H A Dkunit_config.py10 import re namespace
88 is_not_set_matcher = re.compile(CONFIG_IS_NOT_SET_PATTERN)
89 config_matcher = re.compile(CONFIG_PATTERN)

Completed in 728 milliseconds

1234567