Home
last modified time | relevance | path

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

1234

/scripts/
Dmarkup_oops.pl48 my ($line) = @_;
49 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) {
55 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) {
60 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) {
65 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) {
70 if ($line =~ /RBP: ([0-9a-f]+) R08: ([0-9a-f]+) R09: ([0-9a-f]+)/) {
74 if ($line =~ /R10: ([0-9a-f]+) R11: ([0-9a-f]+) R12: ([0-9a-f]+)/) {
79 if ($line =~ /R13: ([0-9a-f]+) R14: ([0-9a-f]+) R15: ([0-9a-f]+)/) {
97 my ($line, $cntr) = @_;
99 if (length($line) < 40) {
[all …]
Dcheckpatch.pl226 my $line = $_;
228 $line =~ s/\s*\n?$//g;
229 $line =~ s/^\s*//g;
230 $line =~ s/\s+/ /g;
232 next if ($line =~ m/^\s*#/);
233 next if ($line =~ m/^\s*$/);
235 my @words = split(" ", $line);
255 my $line = $_;
256 $line =~ s/\s+$//;
258 if ($line =~ /^\s*\*\*(.+)\*\*$/) {
[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),)
Dleaking_addresses.pl267 while (my $line = <$fh> ) {
268 if ($line =~ /^$option/) {
269 ($str, $val) = split /=/, $line;
349 my ($line) = @_;
353 if ($line =~ '^SigBlk:' or
354 $line =~ '^SigIgn:' or
355 $line =~ '^SigCgt:') {
359 if ($line =~ '\bKEY=[[:xdigit:]]{14} [[:xdigit:]]{16} [[:xdigit:]]{16}\b' or
360 $line =~ '\b[[:xdigit:]]{14} [[:xdigit:]]{16} [[:xdigit:]]{16}\b') {
365 while ($line =~ /($address_re)/g) {
[all …]
Dcleanfile139 while ( defined($line = <FILE>) ) {
141 $in_bytes += length($line);
142 $line =~ s/[ \t\r]*$//; # Remove trailing spaces
143 $line = clean_space_tabs($line);
145 if ( $line eq "\n" ) {
146 push(@blanks, $line);
147 $blank_bytes += length($line);
151 push(@lines, $line);
152 $out_bytes += length($line);
157 $l_width = strwidth($line);
Dbpf_doc.py24 def __init__(self, line='<line not provided>', reader=None): argument
28 (reader.tell(), line))
30 BaseException.__init__(self, 'Error parsing line: %s' % line)
94 self.line = ''
117 capture = p.match(self.line)
121 end = end_re.match(self.line)
124 self.line = self.reader.readline()
136 capture = p.match(self.line)
139 self.line = self.reader.readline()
144 capture = p.match(self.line)
[all …]
Dcleanpatch140 while ( defined($line = <FILE>) ) {
142 $in_bytes += length($line);
145 if ($line =~
151 @hunk_lines = ($line);
154 push(@lines, $line);
155 $out_bytes += length($line);
160 if ($line =~ /^\+/) {
163 $text = substr($line, 1);
175 } elsif ($line =~ /^\-/) {
177 push(@hunk_lines, $line);
[all …]
Dget_maintainer.pl192 my $line = $_;
194 $line =~ s/\s*\n?$//g;
195 $line =~ s/^\s*//g;
196 $line =~ s/\s+/ /g;
198 next if ($line =~ m/^\s*#/);
199 next if ($line =~ m/^\s*$/);
201 my @words = split(" ", $line);
217 my $line = $_;
219 $line =~ s/\s*\n?$//;
220 $line =~ s/^\s*//;
[all …]
Dcheckkconfigsymbols.py248 for line in stdout:
249 if re.findall(r"[URMADC]{1}", line[:2]):
396 for line in lines:
397 if "CONFIG_" not in line:
399 symbols = REGEX_SOURCE_SYMBOL.findall(line)
408 def get_symbols_in_line(line): argument
410 return REGEX_SYMBOL.findall(line)
445 line = lines[i]
446 line = line.strip('\n')
447 line = line.split("#")[0] # ignore comments
[all …]
Dprofile2linkerlist.pl14 my $line = $_;
19 unless ($line =~ /unknown/) || ($line =~ /total/);
Dfaddr2line124 while read line; do
125 local fields=($line)
163 while read line; do
164 local fields=($line)
241 echo "$output" | while read -r line
243 echo $line
250 echo "$output" | while read -r line
253 echo $line
254 n=$(echo $line | sed 's/.*:\([0-9]\+\).*/\1/g')
257 f=$(echo $line | sed 's/.*at \(.\+\):.*/\1/g')
Dcheckstack.pl146 while (my $line = <STDIN>) {
147 if ($line =~ m/$funcre/) {
149 next if $line !~ m/^($x*)/;
163 elsif ($line =~ m/(.*):\s*file format/) {
171 elsif ($line =~ m/$re/) {
184 elsif (defined $dre && $line =~ m/$dre/) {
191 my $size = &$sub($line);
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"
Dparse-maintainers.pl149 my $line = $_;
152 if ($line =~ m/^([A-Z]):\s*(.*)/) {
153 $line = $1 . ":\t" . trim($2) . "\n";
155 $$hashref{$case} = $$hashref{$case} . $line;
160 $$hashref{$case} = $line;
167 $lastline = $line;
171 $lastline = $line;
Dbootgraph.pl69 my $line = $_;
70 if ($line =~ /([0-9\.]+)\] calling ([a-zA-Z0-9\_\.]+)\+/) {
79 if ($line =~ /\@ ([0-9]+)/) {
85 if ($line =~ /([0-9\.]+)\] async_waiting @ ([0-9]+)/) {
106 if ($line =~ /([0-9\.]+)\] initcall ([a-zA-Z0-9\_\.]+)\+.*returned/) {
113 if ($line =~ /([0-9\.]+)\] async_continuing @ ([0-9]+)/) {
119 if ($line =~ /Write protecting the/) {
122 if ($line =~ /Freeing unused kernel memory/) {
Ddecode_stacktrace.sh201 code=$(while read -r line; do echo "${line#$basepath/}"; done <<< "$code")
308 while read line; do
310 if [[ $line =~ \[\<([^]]+)\>\] ]] ||
311 [[ $line =~ [^+\ ]+\+0x[0-9a-f]+/0x[0-9a-f]+ ]]; then
313 handle_line "$line"
315 elif [[ $line == *Code:* ]]; then
316 decode_code "$line"
318 elif [[ -n $debuginfod && $line =~ PID:\ [0-9]+\ Comm: ]]; then
319 debuginfod_get_vmlinux "$line"
322 echo "$line"
/scripts/dtc/
Dof_unittest_expect249 while ($line = <ARGV>) {
251 chomp $line;
258 $timestamp = $line;
261 ($timestamp, $null) = split(/]/, $line);
269 $line =~ s/^\[\s*[0-9]+\.[0-9]*\] //;
274 if ($line =~ /^\s*$exp_begin/) {
275 $data = $line;
283 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line;
292 if ($line =~ /^\s*$exp_end/) {
293 $data = $line;
[all …]
Ddt_to_config554 my $line;
573 $line = $line . $next_line;
575 $line =~ s/\\$/ /;
578 if ($line =~ /^\s*#/) {
579 $line = "";
585 if ($line =~ /^([ ]\s*|)else\b/) {
589 $line =~ s/^([ ]\s*|)else\b//;
592 …($null, $ifeq_config, $ifeq_config_val ) = $line =~ /^([ ]\s*|)ifeq\b.*\b(CONFIG_[A-Za-z0-9_]*)(…
593 …($null, $ifneq_config, $ifneq_config_val) = $line =~ /^([ ]\s*|)ifneq\b.*\b(CONFIG_[A-Za-z0-9_]*)…
594 …($null, $ifdef_config) = $line =~ /^([ ]\s*|)ifdef\b.*\b(CONFIG_[A-Za-z0-9_]*)…
[all …]
/scripts/coccinelle/misc/
Ddoubleinit.cocci40 if int(ps[0].line) < int(pr[0].line) or (int(ps[0].line) == int(pr[0].line) and int(ps[0].column) <…
52 if int(ps[0].line) < int(pr[0].line) or (int(ps[0].line) == int(pr[0].line) and int(ps[0].column) <…
53 msg = "%s: first occurrence line %s, second occurrence line %s" % (fld,ps[0].line,pr[0].line)
Darray_size_dup.cocci43 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line)
51 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line)
72 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line)
80 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line)
108 msg = "WARNING: array3_size is used later (line %s) to compute the same size" % (p2[0].line)
116 msg = "WARNING: array3_size is used later (line %s) to compute the same size" % (p2[0].line)
138 msg = "WARNING: array3_size is already used (line %s) to compute the same size" % (p1[0].line)
146 msg = "WARNING: array3_size is already used (line %s) to compute the same size" % (p1[0].line)
172 msg = "WARNING: struct_size is used later (line %s) to compute the same size" % (p2[0].line)
180 msg = "WARNING: struct_size is used later (line %s) to compute the same size" % (p2[0].line)
[all …]
/scripts/coccinelle/free/
Dpci_free_consistent.cocci43 …free_consistent; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].l…
51 …free_consistent; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].l…
/scripts/coccinelle/api/
Dkfree_mismatch.cocci169 msg = "WARNING kmalloc is used to allocate this memory at line %s" % (a[0].line)
177 msg = "WARNING kmalloc is used to allocate this memory at line %s" % (a[0].line)
185 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line)
193 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line)
201 msg = "WARNING kvmalloc is used to allocate this memory at line %s" % (a[0].line)
209 msg = "WARNING kvmalloc is used to allocate this memory at line %s" % (a[0].line)
218 msg = "WARNING kmalloc (line %s) && vmalloc (line %s) are used to allocate this memory" % (ka[0].li…
227 msg = "WARNING kmalloc (line %s) && vmalloc (line %s) are used to allocate this memory" % (ka[0].li…
/scripts/kconfig/
Dstreamline_config.pl161 my $line;
179 $_ = $line . " " . $_;
184 $line = $_;
274 my ($line, %vars) = @_;
278 while ($line =~ s/^(.*?)(\$\((.*?)\))//) {
290 $process .= $line;
298 my $line = "";
306 $line .= $1;
310 $line .= $_;
311 $_ = $line;
[all …]
Dconf.c46 static char line[PATH_MAX]; variable
322 line[0] = '\n'; in conf_askvalue()
323 line[1] = 0; in conf_askvalue()
327 line[0] = '\n'; in conf_askvalue()
328 line[1] = 0; in conf_askvalue()
342 xfgets(line, sizeof(line), stdin); in conf_askvalue()
362 switch (line[0]) { in conf_string()
367 if (line[1] == '\n') { in conf_string()
374 line[strlen(line)-1] = 0; in conf_string()
375 def = line; in conf_string()
[all …]
/scripts/tracing/
Ddraw_functrace.py102 def parseLine(line): argument
103 line = line.strip()
104 if line.startswith("#"):
106 m = re.match("[^]]+?\\] +([a-z.]+) +([0-9.]+): (\\w+) <-(\\w+)", line)
116 for line in sys.stdin:
118 calltime, callee, caller = parseLine(line)

1234