Home
last modified time | relevance | path

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

123456789

/rk3399_rockchip-uboot/scripts/
H A Dcheckpatch.pl167 my $line = $_;
169 $line =~ s/\s*\n?$//g;
170 $line =~ s/^\s*//g;
171 $line =~ s/\s+/ /g;
173 next if ($line =~ m/^\s*#/);
174 next if ($line =~ m/^\s*$/);
176 my @words = split(" ", $line);
616 my $line = $_;
618 $line =~ s/\s*\n?$//g;
619 $line =~ s/^\s*//g;
[all …]
H A Ddocproc.c61 typedef void FILELINE(char * file, char * line);
183 static void adddep2(char * file, char * line) { line = line; adddep(file); } in adddep2() argument
184 static void noaction(char * line) { line = line; } in noaction() argument
185 static void noaction2(char * file, char * line) { file = file; line = line; } in noaction2() argument
188 static void printline(char * line) { printf("%s", line); } in printline() argument
199 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 Dfill_scrapyard.py138 for line in open(DOC):
139 tmp = line.split(None, 5)
151 line = tmp[0].ljust(17)
152 line += tmp[1].ljust(12)
153 line += tmp[2].ljust(15)
154 line += tmp[3].ljust(12)
155 line += tmp[4].ljust(12)
157 line += tmp[5]
158 line = line.rstrip() + '\n'
160 tmpfile.file.write(line)
H A Dmailmapper77 for line in shortlog.splitlines():
79 commits, name = line.split(None, 1)
91 for line in shortlog.splitlines():
94 tmp, mail = line.split('<')
144 for line in infile:
145 if line[0] == '#' or line[0] == '\n':
146 comment_block.append(line)
148 output_lines.append(line)
150 for line in infile:
151 output_lines.append(line)
H A Dstacktrace.sh54 grep '\[< ' ${INPUT_FILE} | grep '>\]' | grep [PC,LR] | while read line
56 echo -n " ${line} "
58 frame_pc_str=`echo ${line} | awk '{ print "0x"$3 }'`
59 frame_pc_dec=`echo ${line} | awk '{ print strtonum("0x"$3); }'`
86 grep '\[< ' ${INPUT_FILE} | grep '>\]' | grep -v [PC,LR] | while read line
88 echo -n " ${line} "
90 frame_pc_str=`echo ${line} | awk '{ print "0x"$2 }'`
91 frame_pc_dec=`echo ${line} | awk '{ print strtonum("0x"$2); }'`
114 line=`grep '\[< ' ${INPUT_FILE} | grep '>\]' | grep [PC]`
115 frame_pc_str=`echo ${line} | awk '{ print "0x"$3 }'`
[all …]
H A Dcleanpatch138 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 Dget_maintainer.pl177 my $line = $_;
179 $line =~ s/\s*\n?$//g;
180 $line =~ s/^\s*//g;
181 $line =~ s/\s+/ /g;
183 next if ($line =~ m/^\s*#/);
184 next if ($line =~ m/^\s*$/);
186 my @words = split(" ", $line);
202 my $line = $_;
204 $line =~ s/\s*\n?$//;
205 $line =~ s/^\s*//;
[all …]
/rk3399_rockchip-uboot/tools/patman/
H A Dpatchstream.py79 def AddToSeries(self, line, name, value): argument
94 self.series.AddTag(self.commit, line, name, value)
96 def AddToCommit(self, line, name, value): argument
124 def ProcessLine(self, line): argument
150 line = line.rstrip('\n')
152 commit_match = re_commit.match(line) if self.is_log else None
155 if line[:4] == ' ':
156 line = line[4:]
159 series_tag_match = re_series_tag.match(line)
160 commit_tag_match = re_commit_tag.match(line)
[all …]
H A Dfunc_test.py170 line = 8
172 self.assertEqual(' %s' % args[i], lines[line + 0])
173 line += 1
174 while 'Cc:' in lines[line]:
175 line += 1
176 self.assertEqual('To: u-boot@lists.denx.de', lines[line])
177 self.assertEqual('Cc: %s' % stefan.encode('utf-8'), lines[line + 1])
178 self.assertEqual('Version: 3', lines[line + 2])
179 self.assertEqual('Prefix:\t RFC', lines[line + 3])
180 self.assertEqual('Cover: 4 lines', lines[line + 4])
[all …]
H A Dsettings.py172 for line in fd.readlines():
173 line = line.strip()
174 if not line or line[0] == '#':
177 m = re_line.match(line)
179 print("Warning: Alias file line '%s' not understood" % line)
262 for line in fd:
264 line = line.strip()
265 if not line or line.startswith('#'):
267 words = line.split(' ', 2)
271 line)
[all …]
H A Dcheckpatch.py84 for line in result.stdout.splitlines():
86 print(line)
89 if not line and item:
92 match = re_stats_full.match(line)
94 match = re_stats.match(line)
103 elif re_ok.match(line):
105 elif re_bad.match(line):
107 err_match = re_error.match(line)
108 warn_match = re_warning.match(line)
109 file_match = re_file.match(line)
[all …]
/rk3399_rockchip-uboot/tools/
H A Drkmux.py105 for line in lines:
106 m = self.re_sel.match(line)
127 def is_field_start(line): argument
128 if '=' in line or '+' in line:
130 if (line.startswith('gpio') or line.startswith('peri_') or
131 line.endswith('_sel') or line.endswith('_con')):
133 if not ' ' in line: # and '_' in line:
137 for line in fd:
138 line = line.rstrip()
139 if line[:4] in ['GRF_', 'PMU_', 'CRU_']:
[all …]
H A Dmicrocode-tool.py59 for line in fd:
60 line = line.rstrip()
61 m_date = re_date.match(line)
62 m_license = re_license.match(line)
63 m_name = re_name.match(line)
74 data.append(line)
100 for line in fd:
101 line = line.rstrip()
103 if len(line) >= 2:
104 if line[0] == '/' and line[1] == '*':
[all …]
H A Dmicrocode-tool59 for line in fd:
60 line = line.rstrip()
61 m_date = re_date.match(line)
62 m_license = re_license.match(line)
63 m_name = re_name.match(line)
74 data.append(line)
100 for line in fd:
101 line = line.rstrip()
103 if len(line) >= 2:
104 if line[0] == '/' and line[1] == '*':
[all …]
H A Dgenboardscfg.py96 for line in f:
97 if line[0] == '#' or line == '\n':
99 defconfig = line.split()[6] + '_defconfig'
162 for line in open(defconfig):
163 colon = line.find(':CONFIG_')
165 f.write(line)
167 f.write(line[colon + 1:])
334 for line in open(file):
336 if line[:3] == '#M:':
337 line = line[1:]
[all …]
/rk3399_rockchip-uboot/examples/standalone/
H A Dsmc911x_eeprom.c141 static void write_stuff(struct eth_device *dev, char *line) in write_stuff() argument
149 line = skip_space(line + 1); in write_stuff()
152 switch (line[0]) { in write_stuff()
155 dest = line[0]; in write_stuff()
165 line = skip_space(line + 1); in write_stuff()
166 reg = simple_strtoul(line, &endp, 16); in write_stuff()
167 if (line == endp) in write_stuff()
171 line = skip_space(endp); in write_stuff()
172 value = simple_strtoul(line, &endp, 16); in write_stuff()
173 if (line == endp) in write_stuff()
[all …]
H A Datmel_df_pow2.c133 char *line, *p; in atmel_df_pow2() local
137 line = getline(); in atmel_df_pow2()
140 if (!line) in atmel_df_pow2()
142 if (line[0] == '\0') in atmel_df_pow2()
145 bus = cs = simple_strtoul(line, &p, 10); in atmel_df_pow2()
192 line = getline(); in atmel_df_pow2()
193 if (!line || strcmp(line, "YES")) in atmel_df_pow2()
/rk3399_rockchip-uboot/tools/kermit/
H A Ddot.kermrc1 set line /dev/ttyS0
13 define sz !sz \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line)
14 define rz !rz \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line)
15 define sx !sx \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line)
16 define rx !rx \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line)
/rk3399_rockchip-uboot/common/
H A Dcli_simple.c24 int cli_simple_parse_line(char *line, char *argv[]) in cli_simple_parse_line() argument
28 debug_parser("%s: \"%s\"\n", __func__, line); in cli_simple_parse_line()
31 while (isblank(*line)) in cli_simple_parse_line()
32 ++line; in cli_simple_parse_line()
34 if (*line == '\0') { /* end of line, no more args */ in cli_simple_parse_line()
40 argv[nargs++] = line; /* begin of argument string */ in cli_simple_parse_line()
43 while (*line && !isblank(*line)) in cli_simple_parse_line()
44 ++line; in cli_simple_parse_line()
46 if (*line == '\0') { /* end of line, no more args */ in cli_simple_parse_line()
52 *line++ = '\0'; /* terminate current arg */ in cli_simple_parse_line()
[all …]
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dzconf.hash.c_shipped2 /* 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"
189 #line 26 "scripts/kconfig/zconf.gperf"
191 #line 37 "scripts/kconfig/zconf.gperf"
194 #line 27 "scripts/kconfig/zconf.gperf"
197 #line 30 "scripts/kconfig/zconf.gperf"
199 #line 32 "scripts/kconfig/zconf.gperf"
201 #line 20 "scripts/kconfig/zconf.gperf"
203 #line 25 "scripts/kconfig/zconf.gperf"
206 #line 33 "scripts/kconfig/zconf.gperf"
[all …]
H A Dconf.c45 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 …]
H A Dstreamline_config.pl161 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 …]
/rk3399_rockchip-uboot/drivers/gpio/
H A Dmpc83xx_gpio.c56 unsigned int line; in gpio_direction_input() local
61 line = gpio & (0x1F); in gpio_direction_input()
64 line_mask = 1 << (31 - line); in gpio_direction_input()
76 unsigned int line; in gpio_direction_output() local
88 line = gpio & (0x1F); in gpio_direction_output()
91 line_mask = 1 << (31 - line); in gpio_direction_output()
104 unsigned int line; in gpio_get_value() local
109 line = gpio & (0x1F); in gpio_get_value()
112 line_mask = 1 << (31 - line); in gpio_get_value()
123 unsigned int line; in gpio_set_value() local
[all …]
/rk3399_rockchip-uboot/drivers/video/
H A Dconsole_rotate.c19 void *line; in console_set_row_1() local
22 line = vid_priv->fb + vid_priv->line_length - in console_set_row_1()
28 uint8_t *dst = line; in console_set_row_1()
37 uint16_t *dst = line; in console_set_row_1()
46 uint32_t *dst = line; in console_set_row_1()
56 line += vid_priv->line_length; in console_set_row_1()
93 void *line; in console_putc_xy_1() local
96 line = vid_priv->fb + (VID_TO_PIXEL(x_frac) + 1) * in console_putc_xy_1()
105 uint8_t *dst = line; in console_putc_xy_1()
116 uint16_t *dst = line; in console_putc_xy_1()
[all …]
H A Dconsole_normal.c20 void *line; in console_normal_set_row() local
24 line = vid_priv->fb + row * VIDEO_FONT_HEIGHT * vid_priv->line_length; in console_normal_set_row()
28 uint8_t *dst = line; in console_normal_set_row()
37 uint16_t *dst = line; in console_normal_set_row()
46 uint32_t *dst = line; in console_normal_set_row()
81 void *line = vid_priv->fb + y * vid_priv->line_length + in console_normal_putc_xy() local
93 uint8_t *dst = line; in console_normal_putc_xy()
105 uint16_t *dst = line; in console_normal_putc_xy()
117 uint32_t *dst = line; in console_normal_putc_xy()
130 line += vid_priv->line_length; in console_normal_putc_xy()

123456789