Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 54) sorted by relevance

123

/scripts/
Dcheckpatch.pl79 my $line = $_;
81 $line =~ s/\s*\n?$//g;
82 $line =~ s/^\s*//g;
83 $line =~ s/\s+/ /g;
85 next if ($line =~ m/^\s*#/);
86 next if ($line =~ m/^\s*$/);
88 my @words = split(" ", $line);
534 my ($line) = @_;
537 $line =~ s/^.//;
538 $line = expand_tabs($line);
[all …]
Dmarkup_oops.pl51 my ($line) = @_;
52 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) {
58 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) {
63 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) {
68 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) {
73 if ($line =~ /RBP: ([0-9a-f]+) R08: ([0-9a-f]+) R09: ([0-9a-f]+)/) {
77 if ($line =~ /R10: ([0-9a-f]+) R11: ([0-9a-f]+) R12: ([0-9a-f]+)/) {
82 if ($line =~ /R13: ([0-9a-f]+) R14: ([0-9a-f]+) R15: ([0-9a-f]+)/) {
100 my ($line, $cntr) = @_;
102 if (length($line) < 40) {
[all …]
Dheaders_install.pl32 while (my $line = <$in>) {
33 $line =~ s/([\s(])__user\s/$1/g;
34 $line =~ s/([\s(])__force\s/$1/g;
35 $line =~ s/([\s(])__iomem\s/$1/g;
36 $line =~ s/\s__attribute_const__\s/ /g;
37 $line =~ s/\s__attribute_const__$//g;
38 $line =~ s/\b__packed\b/__attribute__((packed))/g;
39 $line =~ s/^#include <linux\/compiler.h>//;
40 $line =~ s/(^|\s)(inline)\b/$1__$2__/g;
41 $line =~ s/(^|\s)(asm)\b(\s|[(]|$)/$1__$2__$3/g;
[all …]
Dheaders_check.pl27 my $line;
37 while ($line = <$fh>) {
51 if ($line =~ m/^\s*#\s*include\s+<((asm|linux).*)>/) {
68 if ($line =~m/^(\s*extern|unsigned|char|short|int|long|void)\b/) {
77 if ($line =~ m/[^a-zA-Z0-9_]+CONFIG_([a-zA-Z0-9_]+)[^a-zA-Z0-9_]/) {
93 if ($line =~ m/^\s*#\s*include\s+<asm\/types.h>/) {
122 my $line;
123 while ($line = <$fh>) {
124 if ($line =~ m/^\s*#\s*include\s+<linux\/types.h>/) {
128 if (my $included = ($line =~ /^\s*#\s*include\s+[<"](\S+)[>"]/)[0]) {
[all …]
Ddocproc.c61 typedef void FILELINE(char * file, char * line);
182 static void adddep2(char * file, char * line) { line = line; adddep(file); } in adddep2() argument
183 static void noaction(char * line) { line = line; } in noaction() argument
184 static void noaction2(char * file, char * line) { file = file; line = line; } in noaction2() argument
187 static void printline(char * line) { printf("%s", line); } in printline() argument
198 char line[MAXLINESZ]; in find_export_symbols() local
213 while (fgets(line, MAXLINESZ, fp)) { in find_export_symbols()
216 if (((p = strstr(line, "EXPORT_SYMBOL_GPL")) != NULL) || in find_export_symbols()
217 ((p = strstr(line, "EXPORT_SYMBOL")) != NULL)) { in find_export_symbols()
290 static void singfunc(char * filename, char * line) in singfunc() argument
[all …]
Dshow_delta44 def get_time(line): argument
45 if line[0]!="[":
49 (time_str, rest) = string.split(line[1:],']',1)
61 def convert_line(line, base_time): argument
65 (time, rest) = get_time(line)
68 return line
109 for line in lines:
111 (time, rest) = get_time(line)
125 for line in lines:
126 print convert_line(line, base_time),
Dcleanfile137 while ( defined($line = <FILE>) ) {
139 $in_bytes += length($line);
140 $line =~ s/[ \t\r]*$//; # Remove trailing spaces
141 $line = clean_space_tabs($line);
143 if ( $line eq "\n" ) {
144 push(@blanks, $line);
145 $blank_bytes += length($line);
149 push(@lines, $line);
150 $out_bytes += length($line);
155 $l_width = strwidth($line);
Dget_maintainer.pl162 my $line = $_;
164 $line =~ s/\s*\n?$//g;
165 $line =~ s/^\s*//g;
166 $line =~ s/\s+/ /g;
168 next if ($line =~ m/^\s*#/);
169 next if ($line =~ m/^\s*$/);
171 my @words = split(" ", $line);
274 my $line = $_;
276 if ($line =~ m/^(\C):\s*(.*)/) {
294 $line =~ s/\n$//g;
[all …]
Dcleanpatch138 while ( defined($line = <FILE>) ) {
140 $in_bytes += length($line);
143 if ($line =~
149 @hunk_lines = ($line);
152 push(@lines, $line);
153 $out_bytes += length($line);
158 if ($line =~ /^\+/) {
161 $text = substr($line, 1);
173 } elsif ($line =~ /^\-/) {
175 push(@hunk_lines, $line);
[all …]
Dbootgraph.pl53 my $line = $_;
54 if ($line =~ /([0-9\.]+)\] calling ([a-zA-Z0-9\_\.]+)\+/) {
63 if ($line =~ /\@ ([0-9]+)/) {
69 if ($line =~ /([0-9\.]+)\] async_waiting @ ([0-9]+)/) {
90 if ($line =~ /([0-9\.]+)\] initcall ([a-zA-Z0-9\_\.]+)\+.*returned/) {
97 if ($line =~ /([0-9\.]+)\] async_continuing @ ([0-9]+)/) {
103 if ($line =~ /Write protecting the/) {
106 if ($line =~ /Freeing unused kernel memory/) {
Ddiffconfig42 for line in config_file:
43 line = line[:-1]
44 if line[:7] == "CONFIG_":
45 name, val = line[7:].split("=", 1)
47 if line[-11:] == " is not set":
48 d[line[9:-11]] = "n"
Dcheckstack.pl115 while (my $line = <STDIN>) {
116 if ($line =~ m/$funcre/) {
119 elsif ($line =~ m/(.*):\s*file format/) {
127 elsif ($line =~ m/$re/) {
138 next if $line !~ m/^($xs*)/;
152 elsif (defined $dre && $line =~ m/$dre/) {
155 next if $line !~ m/^($xs*)/;
Dprofile2linkerlist.pl13 my $line = $_;
18 unless ($line =~ /unknown/) || ($line =~ /total/);
/scripts/genksyms/
Dkeywords.hash.c_shipped2 /* Command-line: gperf -t --output-file scripts/genksyms/keywords.hash.c_shipped -a -C -E -g -k '1,…
31 #line 4 "scripts/genksyms/keywords.gperf"
35 #line 8 "scripts/genksyms/keywords.gperf"
102 #line 33 "scripts/genksyms/keywords.gperf"
105 #line 15 "scripts/genksyms/keywords.gperf"
108 #line 16 "scripts/genksyms/keywords.gperf"
111 #line 59 "scripts/genksyms/keywords.gperf"
114 #line 19 "scripts/genksyms/keywords.gperf"
116 #line 18 "scripts/genksyms/keywords.gperf"
118 #line 20 "scripts/genksyms/keywords.gperf"
[all …]
/scripts/kconfig/
Dzconf.hash.c_shipped2 /* Command-line: gperf -t --output-file scripts/kconfig/zconf.hash.c_shipped -a -C -E -g -k '1,3,$'…
31 #line 10 "scripts/kconfig/zconf.gperf"
183 #line 25 "scripts/kconfig/zconf.gperf"
185 #line 36 "scripts/kconfig/zconf.gperf"
188 #line 26 "scripts/kconfig/zconf.gperf"
191 #line 29 "scripts/kconfig/zconf.gperf"
193 #line 31 "scripts/kconfig/zconf.gperf"
195 #line 20 "scripts/kconfig/zconf.gperf"
198 #line 32 "scripts/kconfig/zconf.gperf"
200 #line 35 "scripts/kconfig/zconf.gperf"
[all …]
Dconf.c42 static char line[128]; variable
89 line[0] = '\n'; in conf_askvalue()
90 line[1] = 0; in conf_askvalue()
94 line[0] = '\n'; in conf_askvalue()
95 line[1] = 0; in conf_askvalue()
110 xfgets(line, 128, stdin); in conf_askvalue()
125 printf("%s", line); in conf_askvalue()
142 switch (line[0]) { in conf_string()
147 if (line[1] == '\n') { in conf_string()
154 line[strlen(line)-1] = 0; in conf_string()
[all …]
Dstreamline_config.pl150 my $line;
168 $_ = $line . " " . $_;
173 $line = $_;
254 my ($line, %vars) = @_;
258 while ($line =~ s/^(.*?)(\$\((.*?)\))//) {
270 $process .= $line;
278 my $line = "";
286 $line .= $1;
290 $line .= $_;
291 $_ = $line;
[all …]
Dnconf.gui.c203 int get_line_length(const char *line) in get_line_length() argument
206 while (*line != '\0' && *line != '\n') { in get_line_length()
207 line++; in get_line_length()
225 const char *line = get_line(text, i); in fill_window() local
226 int len = get_line_length(line); in fill_window()
227 strncpy(tmp, line, min(len, x)); in fill_window()
271 const char *line = get_line(msg, i); in btn_dialog() local
272 int len = get_line_length(line); in btn_dialog()
381 const char *line = get_line(prompt, i); in dialog_inputbox() local
382 int len = get_line_length(line); in dialog_inputbox()
[all …]
/scripts/coccinelle/misc/
Ddoubleinit.cocci39 if int(ps[0].line) < int(pr[0].line) or (int(ps[0].line) == int(pr[0].line) and int(ps[0].column) <…
51 if int(ps[0].line) < int(pr[0].line) or (int(ps[0].line) == int(pr[0].line) and int(ps[0].column) <…
52 msg = "%s: first occurrence line %s, second occurrence line %s" % (fld,ps[0].line,pr[0].line)
/scripts/tracing/
Ddraw_functrace.py102 def parseLine(line): argument
103 line = line.strip()
104 if line.startswith("#"):
106 m = re.match("[^]]+?\\] +([0-9.]+): (\\w+) <-(\\w+)", line)
116 for line in sys.stdin:
118 calltime, callee, caller = parseLine(line)
/scripts/rt-tester/
Drt-tester.py136 line = fd.readline() variable
137 if not len(line):
140 line = line.strip() variable
141 parts = line.split(":")
151 progress(line)
157 progress(line)
/scripts/kconfig/lxdialog/
Dtextbox.c323 char *line; in print_line() local
325 line = get_line(); in print_line()
326 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line()
329 waddnstr(win, line, MIN(strlen(line), width - 2)); in print_line()
352 static char line[MAX_LEN + 1]; in get_line() local
362 line[i++] = *(page++); in get_line()
366 line[i++] = '\0'; in get_line()
371 line[i] = '\0'; in get_line()
375 return line; in get_line()
/scripts/coccinelle/free/
Diounmap.cocci66 … = "ERROR: missing iounmap; ioremap on line %s and execution via conditional on line %s" % (p1[0].
Dclk_put.cocci66 … = "ERROR: missing clk_put; clk_get on line %s and execution via conditional on line %s" % (p1[0].
/scripts/coccinelle/locks/
Dcall_kern.cocci104 msg = "ERROR: function %s called on line %s inside lock on line %s but uses GFP_KERNEL" % (fn,p2[0]…

123