Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 87) 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.pl228 my $line = $_;
230 $line =~ s/\s*\n?$//g;
231 $line =~ s/^\s*//g;
232 $line =~ s/\s+/ /g;
234 next if ($line =~ m/^\s*#/);
235 next if ($line =~ m/^\s*$/);
237 my @words = split(" ", $line);
257 my $line = $_;
258 $line =~ s/\s+$//;
260 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),)
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);
Dleaking_addresses.pl292 while (my $line = <$fh> ) {
293 if ($line =~ /^$option/) {
294 ($str, $val) = split /=/, $line;
375 my ($path, $line) = @_;
379 if ($line =~ '^SigBlk:' or
380 $line =~ '^SigIgn:' or
381 $line =~ '^SigCgt:') {
389 if ($line =~ '\bKEY=[[:xdigit:]]{9,14} [[:xdigit:]]{16} [[:xdigit:]]{16}\b' or
391 $line =~ '\b[[:xdigit:]]{9,14} [[:xdigit:]]{16} [[:xdigit:]]{16}\b')) {
396 while ($line =~ /($address_re)/g) {
[all …]
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 = ''
118 capture = p.match(self.line)
122 end = end_re.match(self.line)
125 self.line = self.reader.readline()
137 capture = p.match(self.line)
140 self.line = self.reader.readline()
145 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 …]
Dfaddr2line159 while read -r line <& "${ADDR2LINE_PROC[0]}"; do
160 …if [[ "$line" == "?? ??:0" ]] || [[ "$line" == "," ]] || [[ $(echo "$line" | ${GREP} "^0x00*: ") ]…
163 ADDR2LINE_OUT+=$'\n'$(echo "$line" | sed 's/^0x[0-9a-fA-F]*: //')
194 while read line; do
195 local fields=($line)
231 while read line; do
232 local fields=($line)
313 echo "$output" | while read -r line
315 echo $line
322 echo "$output" | while read -r line
[all …]
Dget_maintainer.pl195 my $line = $_;
197 $line =~ s/\s*\n?$//g;
198 $line =~ s/^\s*//g;
199 $line =~ s/\s+/ /g;
201 next if ($line =~ m/^\s*#/);
202 next if ($line =~ m/^\s*$/);
204 my @words = split(" ", $line);
220 my $line = $_;
222 $line =~ s/\s*\n?$//;
223 $line =~ s/^\s*//;
[all …]
Dprofile2linkerlist.pl14 my $line = $_;
19 unless ($line =~ /unknown/) || ($line =~ /total/);
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 …]
Ddecode_stacktrace.sh207 code=$(while read -r line; do echo "${line#$basepath/}"; done <<< "$code")
317 while read line; do
319 line=${line%$'\r'}
322 if [[ $line =~ \[\<([^]]+)\>\] ]] ||
323 [[ $line =~ [^+\ ]+\+0x[0-9a-f]+/0x[0-9a-f]+ ]]; then
325 handle_line "$line"
327 elif [[ $line == *Code:* ]]; then
328 decode_code "$line"
330 elif [[ -n $debuginfod && $line =~ PID:\ [0-9]+\ Comm: ]]; then
331 debuginfod_get_vmlinux "$line"
[all …]
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;
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"
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/) {
Dcheckstack.pl138 while (my $line = <STDIN>) {
139 if ($line =~ m/$funcre/) {
141 next if $line !~ m/^($x*)/;
155 elsif ($line =~ m/(.*):\s*file format/) {
163 elsif ($line =~ m/$re/) {
176 elsif (defined $dre && $line =~ m/$dre/) {
183 my $size = &$sub($line);
/scripts/dtc/
Dof_unittest_expect254 while ($line = <ARGV>) {
256 chomp $line;
265 $timestamp = $line;
268 ($timestamp, $null) = split(/]/, $line);
276 $line =~ s/^\[\s*[0-9]+\.[0-9]*\] //;
281 if ($line =~ /^\s*$exp_begin/) {
282 $data = $line;
290 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line;
299 if ($line =~ /^\s*$exp_end/) {
300 $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/kconfig/
Dconf.c47 static char line[PATH_MAX]; variable
296 line[0] = '\n'; in conf_askvalue()
297 line[1] = 0; in conf_askvalue()
301 line[0] = '\n'; in conf_askvalue()
302 line[1] = 0; in conf_askvalue()
316 xfgets(line, sizeof(line), stdin); in conf_askvalue()
336 switch (line[0]) { in conf_string()
341 if (line[1] == '\n') { in conf_string()
348 line[strlen(line)-1] = 0; in conf_string()
349 def = line; in conf_string()
[all …]
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 …]
/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/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