Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 10 of 10) sorted by relevance

/scripts/
Dparse-maintainers.pl126 foreach my $pattern (sort by_pattern split('\n', %$hashref{$key})) {
127 print $file ($pattern . "\n");
130 foreach my $pattern (split('\n', %$hashref{$key})) {
131 print $file ($pattern . "\n");
Dspdxcheck.py259 class pattern(object): class
261 self.pattern = line
266 self.pattern = line[:-1]
269 self.pattern = line[1:]
276 return os.path.basename(fpath) == self.pattern
279 return fnmatch.fnmatchcase(fpath, self.pattern)
284 return fpath.startswith(self.pattern)
319 rules.append(pattern(line))
Dget_maintainer.pl1017 my ($file, $pattern) = @_;
1018 if (substr($pattern, -1) eq "/") {
1019 if ($file =~ m@^$pattern@) {
1023 if ($file =~ m@^$pattern@) {
1025 my $s2 = ($pattern =~ tr@/@@);
1594 my $pattern = $VCS_cmds{"commit_pattern"};
1600 $commits = grep(/$pattern/, @lines); # of commits
Dkernel-doc2330 my $pattern = $highlights[$k][0];
2333 $dohighlight .= "\$contents =~ s:$pattern:$result:gs;\n";
/scripts/kconfig/
Dnconf.c1010 char pattern[256]; member
1027 bzero(state->pattern, sizeof(state->pattern)); in do_match()
1034 state->pattern[strlen(state->pattern)] = c; in do_match()
1035 state->pattern[strlen(state->pattern)] = '\0'; in do_match()
1037 *ans = get_mext_match(state->pattern, in do_match()
1041 *ans = get_mext_match(state->pattern, in do_match()
1045 *ans = get_mext_match(state->pattern, in do_match()
1048 state->pattern[strlen(state->pattern)-1] = '\0'; in do_match()
1055 bzero(state->pattern, sizeof(state->pattern)); in do_match()
1074 .pattern = "", in conf()
[all …]
Dlkc_proto.h22 struct symbol ** sym_re_search(const char *pattern);
Dsymbol.c907 struct symbol **sym_re_search(const char *pattern) in sym_re_search() argument
917 if (strlen(pattern) == 0) in sym_re_search()
919 if (regcomp(&re, pattern, REG_EXTENDED|REG_ICASE)) in sym_re_search()
/scripts/coccinelle/misc/
Dcond_no_effect.cocci10 // might consider a legitimate coding pattern. From discussion
12 // accepted pattern and if at all it would need to be commented
/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci26 pattern = '__'
27 m = re.compile(pattern)
/scripts/mod/
Dmodpost.c743 const char *pattern; in match() local
745 while ((pattern = *patterns++)) { in match()
746 if (!fnmatch(pattern, string, 0)) in match()