/scripts/ |
D | checkpatch.pl | 163 my $line = $_; 165 $line =~ s/\s*\n?$//g; 166 $line =~ s/^\s*//g; 167 $line =~ s/\s+/ /g; 169 next if ($line =~ m/^\s*#/); 170 next if ($line =~ m/^\s*$/); 172 my @words = split(" ", $line); 589 my $line = $_; 591 $line =~ s/\s*\n?$//g; 592 $line =~ s/^\s*//g; [all …]
|
D | markup_oops.pl | 51 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 …]
|
D | headers_check.pl | 27 my $line; 37 while ($line = <$fh>) { 51 if ($line =~ m/^\s*#\s*include\s+<((asm|linux).*)>/) { 69 if ($line =~ m/^void seqbuf_dump\(void\);/) { 73 if ($line =~ m/^extern "C"/) { 76 if ($line =~ m/^(\s*extern|unsigned|char|short|int|long|void)\b/) { 85 if ($line =~ m/[^a-zA-Z0-9_]+CONFIG_([a-zA-Z0-9_]+)[^a-zA-Z0-9_]/) { 101 if ($line =~ m/^\s*#\s*include\s+<asm\/types.h>/) { 130 my $line; 131 while ($line = <$fh>) { [all …]
|
D | show_delta | 44 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),)
|
D | docproc.c | 63 typedef void FILELINE(char * file, char * line); 196 static void adddep2(char * file, char * line) { line = line; adddep(file); } in adddep2() argument 197 static void noaction(char * line) { line = line; } in noaction() argument 198 static void noaction2(char * file, char * line) { file = file; line = line; } in noaction2() argument 201 static void printline(char * line) { printf("%s", line); } in printline() argument 212 char line[MAXLINESZ]; in find_export_symbols() local 227 while (fgets(line, MAXLINESZ, fp)) { in find_export_symbols() 230 if (((p = strstr(line, "EXPORT_SYMBOL_GPL")) != NULL) || in find_export_symbols() 231 ((p = strstr(line, "EXPORT_SYMBOL")) != NULL)) { in find_export_symbols() 307 static void singfunc(char * filename, char * line) in singfunc() argument [all …]
|
D | cleanfile | 137 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);
|
D | get_maintainer.pl | 175 my $line = $_; 177 $line =~ s/\s*\n?$//g; 178 $line =~ s/^\s*//g; 179 $line =~ s/\s+/ /g; 181 next if ($line =~ m/^\s*#/); 182 next if ($line =~ m/^\s*$/); 184 my @words = split(" ", $line); 200 my $line = $_; 202 $line =~ s/\s*\n?$//; 203 $line =~ s/^\s*//; [all …]
|
D | cleanpatch | 138 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 …]
|
D | checkkconfigsymbols.py | 246 for line in stdout: 247 if re.findall(r"[URMADC]{1}", line[:2]): 394 for line in lines: 395 if "CONFIG_" not in line: 397 symbols = REGEX_SOURCE_SYMBOL.findall(line) 406 def get_symbols_in_line(line): argument 408 return REGEX_SYMBOL.findall(line) 444 line = lines[i] 445 line = line.strip('\n') 446 line = line.split("#")[0] # ignore comments [all …]
|
D | diffconfig | 41 for line in config_file: 42 line = line[:-1] 43 if line[:7] == "CONFIG_": 44 name, val = line[7:].split("=", 1) 46 if line[-11:] == " is not set": 47 d[line[9:-11]] = "n"
|
D | checkstack.pl | 120 while (my $line = <STDIN>) { 121 if ($line =~ m/$funcre/) { 124 elsif ($line =~ m/(.*):\s*file format/) { 132 elsif ($line =~ m/$re/) { 143 next if $line !~ m/^($xs*)/; 157 elsif (defined $dre && $line =~ m/$dre/) { 160 next if $line !~ m/^($xs*)/;
|
D | bootgraph.pl | 83 my $line = $_; 84 if ($line =~ /([0-9\.]+)\] calling ([a-zA-Z0-9\_\.]+)\+/) { 93 if ($line =~ /\@ ([0-9]+)/) { 99 if ($line =~ /([0-9\.]+)\] async_waiting @ ([0-9]+)/) { 120 if ($line =~ /([0-9\.]+)\] initcall ([a-zA-Z0-9\_\.]+)\+.*returned/) { 127 if ($line =~ /([0-9\.]+)\] async_continuing @ ([0-9]+)/) { 133 if ($line =~ /Write protecting the/) { 136 if ($line =~ /Freeing unused kernel memory/) {
|
D | decode_stacktrace.sh | 140 while read line; do 142 if [[ $line =~ \[\<([^]]+)\>\] ]]; then 144 handle_line "$line" 146 elif [[ $line == *Code:* ]]; then 147 decode_code "$line" 150 echo "$line"
|
D | profile2linkerlist.pl | 13 my $line = $_; 18 unless ($line =~ /unknown/) || ($line =~ /total/);
|
D | extract-sys-certs.pl | 30 foreach my $line (@lines) { 31 chomp($line); 32 …if ($line =~ /\s*([0-9]+)\s+(\S+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+2[*][*… 63 foreach my $line (@_) { 64 chomp($line); 65 if ($line =~ /([0-9a-f]+)\s([a-zA-Z])\s(\S+)/
|
/scripts/genksyms/ |
D | keywords.hash.c_shipped | 2 /* 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 35 "scripts/genksyms/keywords.gperf" 105 #line 15 "scripts/genksyms/keywords.gperf" 108 #line 16 "scripts/genksyms/keywords.gperf" 111 #line 27 "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/dtc/ |
D | dt_to_config | 555 my $line; 574 $line = $line . $next_line; 576 $line =~ s/\\$/ /; 579 if ($line =~ /^\s*#/) { 580 $line = ""; 586 if ($line =~ /^([ ]\s*|)else\b/) { 590 $line =~ s/^([ ]\s*|)else\b//; 593 …($null, $ifeq_config, $ifeq_config_val ) = $line =~ /^([ ]\s*|)ifeq\b.*\b(CONFIG_[A-Za-z0-9_]*)(… 594 …($null, $ifneq_config, $ifneq_config_val) = $line =~ /^([ ]\s*|)ifneq\b.*\b(CONFIG_[A-Za-z0-9_]*)… 595 …($null, $ifdef_config) = $line =~ /^([ ]\s*|)ifdef\b.*\b(CONFIG_[A-Za-z0-9_]*)… [all …]
|
D | dtc-parser.tab.c_shipped | 65 #line 20 "dtc-parser.y" /* yacc.c:339 */ 83 #line 84 "dtc-parser.tab.c" /* yacc.c:339 */ 147 #line 38 "dtc-parser.y" /* yacc.c:355 */ 166 #line 167 "dtc-parser.tab.c" /* yacc.c:355 */ 195 #line 196 "dtc-parser.tab.c" /* yacc.c:358 */ 493 /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */ 902 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", 1453 Otherwise, the following line sets YYVAL to garbage. 1466 #line 105 "dtc-parser.y" /* yacc.c:1646 */ 1471 #line 1472 "dtc-parser.tab.c" /* yacc.c:1646 */ [all …]
|
/scripts/kconfig/ |
D | zconf.hash.c_shipped | 2 /* 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" 187 #line 26 "scripts/kconfig/zconf.gperf" 189 #line 37 "scripts/kconfig/zconf.gperf" 192 #line 27 "scripts/kconfig/zconf.gperf" 195 #line 30 "scripts/kconfig/zconf.gperf" 197 #line 32 "scripts/kconfig/zconf.gperf" 199 #line 20 "scripts/kconfig/zconf.gperf" 201 #line 25 "scripts/kconfig/zconf.gperf" 204 #line 33 "scripts/kconfig/zconf.gperf" [all …]
|
D | conf.c | 45 static char line[PATH_MAX]; variable 92 line[0] = '\n'; in conf_askvalue() 93 line[1] = 0; in conf_askvalue() 97 line[0] = '\n'; in conf_askvalue() 98 line[1] = 0; in conf_askvalue() 113 xfgets(line, sizeof(line), stdin); in conf_askvalue() 130 printf("%s", line); in conf_askvalue() 147 switch (line[0]) { in conf_string() 152 if (line[1] == '\n') { in conf_string() 159 line[strlen(line)-1] = 0; in conf_string() [all …]
|
D | streamline_config.pl | 161 my $line; 179 $_ = $line . " " . $_; 184 $line = $_; 273 my ($line, %vars) = @_; 277 while ($line =~ s/^(.*?)(\$\((.*?)\))//) { 289 $process .= $line; 297 my $line = ""; 305 $line .= $1; 309 $line .= $_; 310 $_ = $line; [all …]
|
/scripts/coccinelle/misc/ |
D | doubleinit.cocci | 39 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/coccinelle/free/ |
D | pci_free_consistent.cocci | 42 …free_consistent; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].l… 50 …free_consistent; pci_alloc_consistent on line %s and return without freeing on line %s" % (p1[0].l…
|
/scripts/tracing/ |
D | draw_functrace.py | 102 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/kconfig/lxdialog/ |
D | textbox.c | 343 char *line; in print_line() local 345 line = get_line(); in print_line() 346 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line() 349 waddnstr(win, line, MIN(strlen(line), width - 2)); in print_line() 372 static char line[MAX_LEN + 1]; in get_line() local 380 line[i++] = *(page++); in get_line() 384 line[i++] = '\0'; in get_line() 389 line[i] = '\0'; in get_line() 393 return line; in get_line()
|