/scripts/ |
A D | git-resolve.sh | 74 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 D | macro_checker.py | 27 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 D | leaking_addresses.pl | 306 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 D | misc-check | 50 …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 D | check-sysctl-docs | 114 match($0, /static( const)? struct ctl_table ([^][]+)/, tables) 126 match($0, /.procname[\t ]*=[\t ]*"([^"]+)"/, names) 142 match($0, /register_sysctl(|_init|_sz)\("([^"]+)" *, *([^,)]+)/, tables)
|
A D | checktransupdate.py | 88 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 D | bpf_doc.py | 75 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 D | checkkconfigsymbols.py | 90 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 D | verify_builtin_ranges.awk | 19 if (match(fn, /\/[^/]+$/) == 0) 26 if (match(s, /DKBUILD_MODFILE=['"]+[^'"]+/) > 0) { 29 } else if (match(s, /RUST_MODFILE=[^ ]+/) > 0)
|
A D | generate_builtin_ranges.awk | 19 if (match(fn, /\/[^/]+$/) == 0) 26 if (match(s, /DKBUILD_MODFILE=['"]+[^'"]+/) > 0) { 29 } else if (match(s, /RUST_MODFILE=[^ ]+/) > 0)
|
A D | ver_linux | 62 if (match($0, vernum)) {
|
A D | spdxcheck.py | 268 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 D | abi_parser.py | 101 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 D | abi_regex.py | 127 if self.re_symbol_name.match(search_group):
|
/scripts/gendwarfksyms/ |
A D | symbols.c | 24 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 D | kdoc_re.py | 62 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 D | kdoc_parser.py | 186 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 D | kdoc_files.py | 172 match = re.search(r"(\s|^)-Werror(\s|$)/", kcflags) 173 if match:
|
A D | kdoc_output.py | 301 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 D | irqf_oneshot.cocci | 93 @match depends on report || org@ 104 p << match.p; 110 p << match.p;
|
/scripts/mod/ |
A D | modpost.c | 769 !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 D | utils.py | 248 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 D | gen_compile_commands.py | 95 if filename_matcher.match(filename): 213 result = line_matcher.match(f.readline())
|
/scripts/coccinelle/locks/ |
A D | mini_lock.cocci | 2 /// Find missing unlocks. This semantic match considers the specific case
|
/scripts/kconfig/ |
A D | gconf.c | 96 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()
|