Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 33) sorted by relevance

12

/scripts/
A Dgit-resolve.sh74 local match
75 match=$(git log --format="%H %s" --grep="$grep_pattern" --perl-regexp -10 | \
82 if [ -n "$match" ]; then
83 echo "$match"
88 for match in "${matches[@]}"; do
89 if git log -1 --format="%s" "$match" | grep -qP "$grep_pattern"; then
90 echo "$match"
195 echo "Error: '$1' does not match any git commit"
A Dmacro_checker.py27 match = re.match(macro_pattern, macro_line)
28 if match:
30 identifier = match.group(1)
31 content = match.group(2)
42 if (re.match(fp_pattern, macro_def)):
91 macro = re.match(macro_pattern, line)
A Dleaking_addresses.pl306 my ($match) = @_;
309 return is_false_positive_32bit($match);
315 if ($match =~ '\b(0x)?(f|F){15}[0-9a-f]\b' or
316 $match =~ '\b(0x)?0{16}\b') {
320 if (is_x86_64() and is_in_vsyscall_memory_region($match)) {
329 my ($match) = @_;
332 if ($match =~ '\b(0x)?(f|F){7}[0-9a-f]\b') {
336 if (hex($match) < $page_offset) {
363 my ($match) = @_;
365 my $hex = hex($match);
A Dmisc-check50 …xargs -r git -C "${srctree:-.}" grep --files-without-match '#include[[:space:]]*<linux/export\.h>'…
61 …xargs -r git -C "${srctree:-.}" grep --files-without-match -E 'EXPORT_SYMBOL((_NS)?(_GPL)?|_GPL_FO…
A Dcheck-sysctl-docs114 match($0, /static( const)? struct ctl_table ([^][]+)/, tables)
126 match($0, /.procname[\t ]*=[\t ]*"([^"]+)"/, names)
142 match($0, /register_sysctl(|_init|_sz)\("([^"]+)" *, *([^,)]+)/, tables)
A Dchecktransupdate.py88 match = pat_update_to.search(line)
89 if match:
90 origin_commit_hash = match.group(1)
93 match = pat_update_translation.search(line)
94 if match:
95 origin_commit_hash = match.group(1)
A Dbpf_doc.py75 capture = proto_re.match(self.proto)
83 capture = arg_re.match(a)
139 capture = p.match(self.line)
143 end = end_re.match(self.line)
158 capture = p.match(self.line)
166 capture = p.match(self.line)
179 capture = p.match(self.line)
192 capture = p.match(self.line)
218 capture = p.match(self.line)
224 capture = p.match(self.line)
[all …]
A Dcheckkconfigsymbols.py90 if args.diff and not re.match(r"^[\w\-\.\^]+\.\.[\w\-\.\^]+$", args.diff):
111 re.match(args.ignore, "this/is/just/a/test.c")
279 if REGEX_FILE_KCONFIG.match(gitfile):
331 if REGEX_FILE_KCONFIG.match(gitfile):
334 if ignore and re.match(ignore, gitfile):
425 if ignore and re.match(ignore, kfile):
449 if REGEX_KCONFIG_DEF.match(line):
452 elif REGEX_KCONFIG_STMT.match(line):
462 if REGEX_NUMERIC.match(symbol):
A Dverify_builtin_ranges.awk19 if (match(fn, /\/[^/]+$/) == 0)
26 if (match(s, /DKBUILD_MODFILE=['"]+[^'"]+/) > 0) {
29 } else if (match(s, /RUST_MODFILE=[^ ]+/) > 0)
A Dgenerate_builtin_ranges.awk19 if (match(fn, /\/[^/]+$/) == 0)
26 if (match(s, /DKBUILD_MODFILE=['"]+[^'"]+/) > 0) {
29 } else if (match(s, /RUST_MODFILE=[^ ]+/) > 0)
A Dver_linux62 if (match($0, vernum)) {
A Dspdxcheck.py268 self.match = self.match_file
270 self.match = self.match_dot
273 self.match = self.match_dir
276 self.match = self.match_fn
294 if rule.match(fpath):
/scripts/lib/abi/
A Dabi_parser.py101 match = self.re_tag.match(line)
102 if match:
108 if match:
208 match = self.re_start_spc.match(c)
231 match = self.re_start_spc.match(content)
232 if match:
273 match = self.re_tag.match(line)
274 if match:
278 if match:
489 match = self.re_what.match(cur_part)
[all …]
A Dabi_regex.py127 if self.re_symbol_name.match(search_group):
/scripts/gendwarfksyms/
A Dsymbols.c24 struct symbol *match = NULL; in __for_each_addr() local
27 hash_for_each_possible_safe(symbol_addrs, match, tmp, addr_hash, in __for_each_addr()
29 if (match == sym) in __for_each_addr()
32 if (match->addr.section == sym->addr.section && in __for_each_addr()
33 match->addr.address == sym->addr.address) { in __for_each_addr()
34 func(match, data); in __for_each_addr()
60 struct symbol *match; in for_each() local
69 if (strcmp(match->name, name)) in for_each()
74 func(match, data); in for_each()
76 if (match->addr.section != SHN_UNDEF) in for_each()
[all …]
/scripts/lib/kdoc/
A Dkdoc_re.py62 def match(self, string): member in KernRe
67 self.last_match = self.regex.match(string)
195 for match in self.RE_DELIM.finditer(line[offset:]):
196 pos = match.start() + offset
A Dkdoc_parser.py186 if type_param.match(name):
417 if r.match(arg):
432 if r.match(arg):
824 if r.match(proto):
1001 if r.match(prototype):
1056 if not r.match(proto):
1084 if r.match(proto):
1135 if not doc_start.match(line):
1266 if r.match(line):
1336 if r.match(cont):
[all …]
A Dkdoc_files.py172 match = re.search(r"(\s|^)-Werror(\s|$)/", kcflags)
173 if match:
A Dkdoc_output.py301 if r.match(line):
307 elif not KernRe(litprefix).match(line):
317 if self.sphinx_literal.match(line) or self.sphinx_cblock.match(line):
650 if function_pointer.match(dtype):
/scripts/coccinelle/misc/
A Dirqf_oneshot.cocci93 @match depends on report || org@
104 p << match.p;
110 p << match.p;
/scripts/mod/
A Dmodpost.c769 !match(sec, section_white_list)) { in check_section()
884 if (match(fromsec, check->fromsec)) { in section_mismatch()
943 match(fromsec, PATTERNS(DATA_SECTIONS)) && in secref_whitelist()
949 match(fromsec, PATTERNS(DATA_SECTIONS)) && in secref_whitelist()
954 if (match(fromsec, PATTERNS(DATA_SECTIONS)) && in secref_whitelist()
961 match(tosec, PATTERNS(ALL_INIT_SECTIONS))) in secref_whitelist()
970 match(tosec, PATTERNS(ALL_INIT_SECTIONS)) && in secref_whitelist()
971 match(fromsym, PATTERNS("*.constprop.*"))) in secref_whitelist()
1044 if (match(tosec, mismatch->bad_tosec)) in default_mismatch_handler()
1128 if (match(secname, PATTERNS(ALL_INIT_SECTIONS))) in check_export_symbol()
[all …]
/scripts/gdb/linux/
A Dutils.py248 match = re.search(r"KERNELOFFSET=([0-9a-f]+)", s)
249 if match is None:
252 kerneloffset = int(match.group(1), 16)
/scripts/clang-tools/
A Dgen_compile_commands.py95 if filename_matcher.match(filename):
213 result = line_matcher.match(f.readline())
/scripts/coccinelle/locks/
A Dmini_lock.cocci2 /// Find missing unlocks. This semantic match considers the specific case
/scripts/kconfig/
A Dgconf.c96 GtkTreeIter *parent, struct menu *match) in _select_menu() argument
107 if (menu == match) { in _select_menu()
127 _select_menu(view, model, &iter, match); in _select_menu()
133 static void select_menu(GtkTreeView *view, struct menu *match) in select_menu() argument
135 _select_menu(view, gtk_tree_view_get_model(view), NULL, match); in select_menu()

Completed in 29 milliseconds

12