| /scripts/ |
| A D | checkpatch.pl | 1516 $line = expand_tabs($line); 1668 $line++; 1754 $line++; 1844 my $line; 1853 for ($line = $start; $remain > 0; $line++) { 1977 my $line; 1980 next if (defined($line) && $line =~ /^-/); 2787 my $line; 5452 if ($line =~ /\[\s/ && $line !~ /\[\s*$/) { 5470 if ($line =~ /\(\s/ && $line !~ /\(\s*(?:\\)?$/ && [all …]
|
| A D | mailmapper | 75 for line in shortlog.splitlines(): 77 commits, name = line.split(None, 1) 89 for line in shortlog.splitlines(): 93 line = line.decode("utf-8") 94 tmp, mail = line.split('<') 146 for line in infile: 147 if line[0] == '#' or line[0] == '\n': 148 comment_block.append(line) 150 output_lines.append(line) 152 for line in infile: [all …]
|
| A D | get_maintainer.pl | 190 my $line = $_; 193 $line =~ s/^\s*//g; 194 $line =~ s/\s+/ /g; 215 my $line = $_; 217 $line =~ s/\s*\n?$//; 218 $line =~ s/^\s*//; 219 $line =~ s/\s+$//; 220 $line =~ s/#.*$//; 353 my $line = $_; 354 chomp $line; [all …]
|
| A D | cleanpatch | 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); 176 } elsif ($line =~ /^ /) { [all …]
|
| 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*)/;
|
| A D | spdxcheck.py | 171 for line in fd: 172 line = line.decode(locale.getpreferredencoding(False), errors='ignore') 177 if line.find("SPDX-License-Identifier:") < 0: 179 expr = line.split(':')[1].strip() 181 if line.strip().endswith('*/'): 184 if line.strip().endswith('-->'): 187 if line.startswith('LIST \"'): 199 col = line.find(expr) + pe.tok.lexpos
|
| A D | kernel-doc | 630 my $line; 645 $line =~ s/^\s*//; 647 if ($line eq ""){ 653 print "\\&$line"; 655 print $lineprefix, $line; 864 my $line; 881 $line =~ /^(\s*)/; 883 $output .= $line . "\n"; 890 $output .= $line . "\n"; 897 $block .= $line . "\n"; [all …]
|
| A D | decodecode | 179 while read line 181 get_substr_opcode_bytes_num "$all_code" "$line"
|
| A D | gen_compile_commands.py | 142 for line in f: 143 obj = line.rstrip()
|
| A D | Makefile.autoconf | 64 while read line; do \ 67 echo "$$line"; \
|
| A D | config | 15 Manipulate options in a .config file from the command line.
|
| A D | Kbuild.include | 235 # target, or command line has changed 289 # (4) - due to command line change 295 # (4) The command line stored in the file named dir/.target.cmd 296 # differed from actual command line. This happens when compiler 298 # (5) No dir/.target.cmd file (used to store command line) 307 $(if $(cmd_$@),- due to command line change, \
|
| /scripts/kconfig/ |
| A D | conf.c | 90 line[0] = '\n'; in conf_askvalue() 91 line[1] = 0; in conf_askvalue() 96 line[1] = 0; in conf_askvalue() 110 xfgets(line, sizeof(line), stdin); in conf_askvalue() 154 line[strlen(line)-1] = 0; in conf_string() 155 def = line; in conf_string() 193 strip(line); in conf_sym() 199 if (!line[1] || !strcmp(&line[1], "o")) in conf_sym() 211 if (!line[1] || !strcmp(&line[1], "es")) in conf_sym() 304 xfgets(line, sizeof(line), stdin); in conf_choice() [all …]
|
| A D | streamline_config.pl | 162 my $line; 180 $_ = $line . " " . $_; 185 $line = $_; 290 $process .= $line; 298 my $line = ""; 306 $line .= $1; 310 $line .= $_; 311 $_ = $line; 312 $line = ""; 427 $_ = $line; [all …]
|
| A D | confdata.c | 251 char *line = *lineptr; in compat_getline() local 259 if (add_byte(c, &line, slen, n) < 0) in compat_getline() 266 *lineptr = line; in compat_getline() 271 if (add_byte(c, &line, slen, n) < 0) in compat_getline() 278 line[slen-1] = '\0'; in compat_getline() 279 *lineptr = line; in compat_getline() 286 char *line = NULL; in conf_read_simple() local 349 if (line[0] == '#') { in conf_read_simple() 409 if (line[0] != '\r' && line[0] != '\n') in conf_read_simple() 411 (int)strcspn(line, "\r\n"), line); in conf_read_simple() [all …]
|
| A D | nconf.gui.c | 202 int get_line_length(const char *line) in get_line_length() argument 205 while (*line != '\0' && *line != '\n') { in get_line_length() 206 line++; in get_line_length() 224 const char *line = get_line(text, i); in fill_window() local 225 int len = get_line_length(line); in fill_window() 226 strncpy(tmp, line, min(len, x)); in fill_window() 269 const char *line = get_line(msg, i); in btn_dialog() local 270 int len = get_line_length(line); in btn_dialog() 380 int len = get_line_length(line); in dialog_inputbox() 567 const char *line = get_line(text, i); in show_scroll_win() local [all …]
|
| A D | nconf.h | 82 int get_line_length(const char *line);
|
| /scripts/dtc/pylibfdt/ |
| A D | setup.py | 70 for line in fd.read().splitlines(): 71 if line and line[-1] == '\\': # Deal with line continuation 72 prev_text += line[:-1] 75 line = prev_text + line 77 m = RE_KEY_VALUE.match(line)
|
| /scripts/kconfig/lxdialog/ |
| A D | textbox.c | 329 char *line; in print_line() local 331 line = get_line(); in print_line() 332 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line() 335 waddnstr(win, line, MIN(strlen(line), width - 2)); in print_line() 358 static char line[MAX_LEN + 1]; in get_line() local 366 line[i++] = *(page++); in get_line() 370 line[i++] = '\0'; in get_line() 375 line[i] = '\0'; in get_line() 379 return line; in get_line()
|
| /scripts/coccinelle/iterators/ |
| A D | list_entry_update.cocci | 61 msg = "iterator with update on line %s" % (p2[0].line)
|
| A D | itnull.cocci | 93 msg = "ERROR: iterator variable bound on line %s cannot be NULL" % (p1[0].line)
|
| A D | use_after_iter.cocci | 146 msg = "ERROR: invalid reference to the index variable of the iterator on line %s" % (p1[0].line)
|
| /scripts/coccinelle/null/ |
| A D | kmerr.cocci | 74 msg = "alloc with no test, possible model on line %s" % (p2[0].line)
|
| /scripts/kconfig/tests/auto_submenu/ |
| A D | Kconfig | 24 This should line up with A0.
|
| /scripts/dtc/ |
| A D | dtc-lexer.l | 100 srcpos_set_line(xstrdup(fn.val), atoi(line) - 1);
|