| /utopia/UTPA2-700.0.x/projects/build/scripts/ |
| H A D | checkpatch.pl | 370 my ($line) = @_; 373 $line =~ s/^.//; 374 $line = expand_tabs($line); 377 my ($white) = ($line =~ /^(\s*)/); 379 return (length($line), length($white)); 394 my ($line) = @_; 404 $res = substr($line, 0, 1); 406 for ($off = 1; $off < length($line); $off++) { 407 $c = substr($line, $off, 1); 411 if ($sanitise_quote eq '' && substr($line, $off, 2) eq '/*') { [all …]
|
| H A D | get_maintainer.pl | 162 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 …]
|
| H A 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 …]
|
| H A D | docproc.c | 61 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 214 while (fgets(line, MAXLINESZ, fp)) { in find_export_symbols() 217 if (((p = strstr(line, "EXPORT_SYMBOL_GPL")) != NULL) || in find_export_symbols() 218 ((p = strstr(line, "EXPORT_SYMBOL")) != NULL)) { in find_export_symbols() 291 static void singfunc(char * filename, char * line) in singfunc() argument [all …]
|
| H A D | headers_install.pl | 32 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/^#include <linux\/compiler.h>//; 39 $line =~ s/(^|\s)(inline)\b/$1__$2__/g; 40 $line =~ s/(^|\s)(asm)\b(\s|[(]|$)/$1__$2__$3/g; 41 $line =~ s/(^|\s|[(])(volatile)\b(\s|[(]|$)/$1__$2__$3/g; [all …]
|
| H A 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 …]
|
| H A 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);
|
| H A 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),
|
| H A D | headers_check.pl | 26 my $line; 36 while ($line = <$fh>) { 50 if ($line =~ m/^\s*#\s*include\s+<((asm|linux).*)>/) { 67 if ($line =~m/^(\s*extern|unsigned|char|short|int|long|void)\b/) { 76 if ($line =~ m/[^a-zA-Z0-9_]+CONFIG_([a-zA-Z0-9_]+)[^a-zA-Z0-9_]/) { 92 if ($line =~ m/^\s*#\s*include\s+<asm\/types.h>/) { 112 if ($line =~ m/^\s*#\s*include\s+<linux\/types.h>/) { 116 if ($line =~ m/__[us](8|16|32|64)\b/) {
|
| H A D | bootgraph.pl | 53 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/) {
|
| H A D | diffconfig | 42 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"
|
| H A D | checkstack.pl | 115 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*)/;
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/genksyms/ |
| H A D | keywords.c_shipped | 2 /* Command-line: gperf -L ANSI-C -a -C -E -g -H is_reserved_hash -k '1,3,$' -N is_reserved_word -p … 31 #line 1 "scripts/genksyms/keywords.gperf" 35 #line 5 "scripts/genksyms/keywords.gperf" 102 #line 30 "scripts/genksyms/keywords.gperf" 105 #line 12 "scripts/genksyms/keywords.gperf" 108 #line 13 "scripts/genksyms/keywords.gperf" 111 #line 56 "scripts/genksyms/keywords.gperf" 114 #line 16 "scripts/genksyms/keywords.gperf" 116 #line 15 "scripts/genksyms/keywords.gperf" 118 #line 17 "scripts/genksyms/keywords.gperf" [all …]
|
| H A D | parse.c_shipped | 71 #line 24 "scripts/genksyms/parse.y" 105 #line 106 "scripts/genksyms/parse.c" 190 #line 191 "scripts/genksyms/parse.c" 521 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 1070 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", 1643 Otherwise, the following line sets YYVAL to garbage. 1657 #line 109 "scripts/genksyms/parse.y" 1664 #line 111 "scripts/genksyms/parse.y" 1671 #line 115 "scripts/genksyms/parse.y" 1678 #line 116 "scripts/genksyms/parse.y" [all …]
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/kconfig/ |
| H A D | conf.c | 44 static char line[128]; variable 91 line[0] = '\n'; in conf_askvalue() 92 line[1] = 0; in conf_askvalue() 96 line[0] = '\n'; in conf_askvalue() 97 line[1] = 0; in conf_askvalue() 111 xfgets(line, 128, stdin); in conf_askvalue() 126 printf("%s", line); in conf_askvalue() 143 switch (line[0]) { in conf_string() 148 if (line[1] == '\n') { in conf_string() 154 line[strlen(line)-1] = 0; in conf_string() [all …]
|
| H A D | streamline_config.pl | 142 my $line; 160 $_ = $line . " " . $_; 165 $line = $_; 246 my ($line, %vars) = @_; 250 while ($line =~ s/^(.*?)(\$\((.*?)\))//) { 262 $process .= $line; 270 my $line = ""; 278 $line .= $1; 282 $line .= $_; 283 $_ = $line; [all …]
|
| H A D | nconf.gui.c | 203 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() 375 const char *line = get_line(prompt, i); in dialog_inputbox() local 376 int len = get_line_length(line); in dialog_inputbox() [all …]
|
| H A D | confdata.c | 185 char line[1024]; in conf_read_simple() local 246 while (fgets(line, sizeof(line), in)) { in conf_read_simple() 249 if (line[0] == '#') { in conf_read_simple() 250 if (memcmp(line + 2, CONFIG_, strlen(CONFIG_))) in conf_read_simple() 252 p = strchr(line + 2 + strlen(CONFIG_), ' '); in conf_read_simple() 259 sym = sym_find(line + 2 + strlen(CONFIG_)); in conf_read_simple() 265 sym = sym_lookup(line + 2 + strlen(CONFIG_), 0); in conf_read_simple() 281 } else if (memcmp(line, CONFIG_, strlen(CONFIG_)) == 0) { in conf_read_simple() 282 p = strchr(line + strlen(CONFIG_), '='); in conf_read_simple() 293 sym = sym_find(line + strlen(CONFIG_)); in conf_read_simple() [all …]
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/dtc/ |
| H A D | dtc-parser.tab.c_shipped | 71 #line 21 "dtc-parser.y" 91 #line 92 "dtc-parser.tab.c" 138 #line 39 "dtc-parser.y" 158 #line 159 "dtc-parser.tab.c" 170 #line 171 "dtc-parser.tab.c" 464 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 822 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", 1395 Otherwise, the following line sets YYVAL to garbage. 1409 #line 87 "dtc-parser.y" 1419 #line 95 "dtc-parser.y" [all …]
|
| H A D | dtc-lexer.lex.c_shipped | 1 #line 2 "dtc-lexer.lex.c" 3 #line 4 "dtc-lexer.lex.c" 228 /* Whether we're considered to be at the beginning of a line. 234 int yy_bs_lineno; /**< The line count. */ 553 #line 1 "dtc-lexer.l" 578 #line 37 "dtc-lexer.l" 606 #line 607 "dtc-lexer.lex.c" 795 #line 66 "dtc-lexer.l" 797 #line 798 "dtc-lexer.lex.c" 879 #line 67 "dtc-lexer.l" [all …]
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/coccinelle/misc/ |
| H A 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 %s, second occurrence %s" % (fld,ps[0].line,pr[0].line)
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/kconfig/lxdialog/ |
| H A D | textbox.c | 324 char *line; in print_line() local 326 line = get_line(); in print_line() 327 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line() 330 waddnstr(win, line, MIN(strlen(line), width - 2)); in print_line() 353 static char line[MAX_LEN + 1]; in get_line() local 363 line[i++] = *(page++); in get_line() 367 line[i++] = '\0'; in get_line() 372 line[i] = '\0'; in get_line() 376 return line; in get_line()
|
| /utopia/UTPA2-700.0.x/projects/build/ |
| H A D | Reduced.sh | 71 while read line 73 TARGET_AIP_NAME[$itemndex]=$(echo $line | awk -F"," -v var=$AIP_NAMECell '{print $var}') 74 TARGET_AIP_use[$itemndex]=$(echo $line | awk -F"," -v var=$UtopiaVersionCell '{print $var}') 75 TARGET_AIP_File[$itemndex]=$(echo $line | awk -F"," -v var=$HEAD_FILECell '{print $var}' ) 93 while read line 95 hfile=$(echo $line | awk -F"," '{print $1}' ) 128 while read line 130 hfile=$(echo $line | awk -F"\n" '{print $1}' )
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/mod/ |
| H A D | sumversion.c | 307 char *cmd, *file, *line, *dir; in parse_source_files() local 341 while ((line = get_next_line(&pos, file, flen)) != NULL) { in parse_source_files() 342 char* p = line; in parse_source_files() 344 if (strncmp(line, "source_", sizeof("source_")-1) == 0) { in parse_source_files() 345 p = strrchr(line, ' '); in parse_source_files() 347 warn("malformed line: %s\n", line); in parse_source_files() 358 if (strncmp(line, "deps_", sizeof("deps_")-1) == 0) { in parse_source_files() 378 if ((strstr(line, dir)+strlen(dir)-1) == strrchr(line, '/')) { in parse_source_files() 379 if (!parse_file(line, md)) { in parse_source_files() 381 line, strerror(errno)); in parse_source_files()
|
| /utopia/UTPA2-700.0.x/projects/build/scripts/tracing/ |
| H A 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)
|