Home
last modified time | relevance | path

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

12345678910>>...127

/openbmc/openbmc/meta-openembedded/contrib/
H A Doe-stylize.py227 return line.lstrip() == line
346 line = rules[i][1](line)
383 line = line.rstrip() variable
384 line = follow_rule(2, line) variable
385 line = follow_rule(1, line) variable
386 line = follow_rule(6, line) variable
389 if line.isspace() or line == '':
404 line = follow_rule(3, line) variable
420 line = follow_rule(0, line) variable
422 line = follow_rule(0, line) variable
[all …]
/openbmc/linux/arch/um/drivers/
H A Dline.c22 struct line *line = chan->line; in line_interrupt() local
43 n = line->head - line->tail; in write_room()
97 line->head = line->buffer; in buffer_data()
98 line->tail = line->buffer; in buffer_data()
134 if ((line->buffer == NULL) || (line->head == line->tail)) in flush_buffer()
150 line->head = line->buffer; in flush_buffer()
233 struct line *line = chan->line; in line_write_interrupt() local
247 line->head = line->buffer; in line_write_interrupt()
331 struct line *line) in line_install() argument
485 struct line *line; in line_get_config() local
[all …]
H A Dchan.h18 struct line *line; member
30 extern void chan_interrupt(struct line *line, int irq);
31 extern int parse_chan_pair(char *str, struct line *line, int device,
37 extern int console_open_chan(struct line *line, struct console *co);
40 extern int enable_chan(struct line *line);
41 extern void close_chan(struct line *line);
42 extern int chan_window_size(struct line *line,
45 extern int chan_config_string(struct line *line, char *str, int size,
H A Dchan_kern.c133 struct line *line = container_of(work, struct line, task.work); in line_timer_cb() local
136 chan_interrupt(line, line->read_irq); in line_timer_cb()
139 int enable_chan(struct line *line) in enable_chan() argument
230 void close_chan(struct line *line) in close_chan() argument
278 int console_open_chan(struct line *line, struct console *co) in console_open_chan() argument
387 struct chan *in = line->chan_in, *out = line->chan_out; in chan_config_string()
476 .line = line, in parse_chan()
488 int parse_chan_pair(char *str, struct line *line, int device, in parse_chan_pair() argument
496 line->chan_in = line->chan_out = NULL; in parse_chan_pair()
533 line->chan_in = line->chan_out = new; in parse_chan_pair()
[all …]
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/
H A DFileContent.pm66 push @lines,$line;
125 push (@lines,$line);
199 push (@lines,$line);
457 chomp($line);
724 my $line;
726 unless ( ($line =~ $pattern) and ($line !~ /^\s*\#/) ) {
782 my $line;
784 unless ( ($line =~ $pattern) and ($line =~ /^\s*\#/) ) {
976 $line =~ /$inputRegex/;
1034 while (my $line = <TODO>) {
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
H A Dnv10.c32 if (line < 2) { in nv10_gpio_sense()
33 line = line * 16; in nv10_gpio_sense()
34 line = nvkm_rd32(device, 0x600818) >> line; in nv10_gpio_sense()
38 line = (line - 2) * 4; in nv10_gpio_sense()
39 line = nvkm_rd32(device, 0x60081c) >> line; in nv10_gpio_sense()
43 line = (line - 10) * 4; in nv10_gpio_sense()
44 line = nvkm_rd32(device, 0x600850) >> line; in nv10_gpio_sense()
58 line = line * 16; in nv10_gpio_drive()
64 line = (line - 2) * 4; in nv10_gpio_drive()
70 line = (line - 10) * 4; in nv10_gpio_drive()
[all …]
/openbmc/openbmc/poky/scripts/contrib/
H A Dconvert-srcuri.py22 def matchline(line): argument
23 if "MIRROR" in line or ".*" in line or "GNOME_GIT" in line:
34 for line in old_file:
35 … if ("git://" in line or "gitsm://" in line) and "branch=" not in line and matchline(line):
37 line = line.replace('"\n', ';branch=master"\n')
39 line = re.sub('\s*\\\\$', ';branch=master \\\\', line)
41 …if ("git://" in line or "gitsm://" in line) and "github.com" in line and "protocol=https" not in l…
43 line = line.replace('protocol=git', 'protocol=https')
45 line = line.replace('"\n', ';protocol=https"\n')
47 line = re.sub('\s*\\\\$', ';protocol=https \\\\', line)
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Doverlayfs.py12 def getline_qemu(out, line): argument
14 if line in l:
17 def getline(res, line): argument
69 self.assertTrue(line and line.startswith("WARNING:"), msg=res.output)
71 self.assertTrue(line and line.startswith("ERROR:"), msg=res.output)
107 self.assertTrue(line and line.startswith("Parsing recipes...ERROR:"), msg=res.output)
202 self.assertTrue(line and line.startswith("tmpfs"), msg=output)
205 self.assertTrue(line and line.startswith("overlay"), msg=output)
208 self.assertTrue(line and line.startswith("overlay"), msg=output)
420 self.assertTrue(line and line.startswith(testFile), msg=output)
[all …]
/openbmc/qemu/scripts/
H A Dcheckpatch.pl510 $line = expand_tabs($line);
649 $line++;
724 $line++;
814 my $line;
823 for ($line = $start; $remain > 0; $line++) {
939 my $line;
942 next if (defined($line) && $line =~ /^-/);
1338 my $line;
2331 if ($line =~ /\[\s/ && $line !~ /\[\s*$/) {
2339 if ($line =~ /\(\s/ && $line !~ /\(\s*(?:\\)?$/ &&
[all …]
/openbmc/openbmc/poky/scripts/
H A Dopkg-query-helper.py36 for line in fileinput.input(args):
37 line = line.rstrip() variable
38 if ': ' in line:
39 if line.startswith("Package:"):
40 pkg = line.split(": ")[1]
45 arch = line.split(": ")[1]
48 if line.startswith("Version:"):
49 ver = line.split(": ")[1]
51 arch = line.split(": ")[1]
55 ver = line.split(": ")[1]
[all …]
/openbmc/u-boot/scripts/
H A Dcheckpatch.pl1186 $line = expand_tabs($line);
1338 $line++;
1424 $line++;
1514 my $line;
1523 for ($line = $start; $remain > 0; $line++) {
1639 my $line;
1642 next if (defined($line) && $line =~ /^-/);
2287 my $line;
4504 if ($line =~ /\[\s/ && $line !~ /\[\s*$/) {
4522 if ($line =~ /\(\s/ && $line !~ /\(\s*(?:\\)?$/ &&
[all …]
/openbmc/linux/scripts/
H A Dmarkup_oops.pl48 my ($line) = @_;
97 my ($line, $cntr) = @_;
99 if (length($line) < 40) {
157 my $line = $_;
180 parse_x86_regs($line);
238 my $line = $_;
239 chomp($line);
336 my $line;
338 $line = "*$lines[$i] ";
340 $line = " $lines[$i] ";
[all …]
H A Dcheckpatch.pl1549 $line = expand_tabs($line);
1701 $line++;
1787 $line++;
1877 my $line;
1886 for ($line = $start; $remain > 0; $line++) {
2010 my $line;
2013 next if (defined($line) && $line =~ /^-/);
2697 my $line;
5448 if ($line =~ /\[\s/ && $line !~ /\[\s*$/) {
5466 if ($line =~ /\(\s/ && $line !~ /\(\s*(?:\\)?$/ &&
[all …]
/openbmc/linux/Documentation/arch/arm/samsung/
H A Dclksrc-change-registers.awk70 if (line ~ /\#define.*_MASK/ &&
71 !(line ~ /USB_SIG_MASK/)) {
72 splitdefine(line, fields)
98 if ((getline line) <= 0) {
103 if (line ~ /\.shift/) {
105 } else if (line ~ /\.mask/) {
113 } else if (line ~ /{/) {
115 print line
116 } else if (line ~ /}/) {
156 print line
[all …]
/openbmc/linux/scripts/dtc/
H A Dof_unittest_expect254 while ($line = <ARGV>) {
256 chomp $line;
265 $timestamp = $line;
281 if ($line =~ /^\s*$exp_begin/) {
282 $data = $line;
299 if ($line =~ /^\s*$exp_end/) {
300 $data = $line;
356 $data = $line;
374 $data = $line;
449 if (compare($begin, $line)) {
[all …]
/openbmc/u-boot/tools/patman/
H A Dpatchstream.py149 line = line.rstrip('\n')
155 line = line[4:]
208 if line == 'END':
300 out = [line]
306 out = [line]
317 out = [line]
363 if not line:
368 for line in out:
410 ps.ProcessLine(line)
508 for line in lines:
[all …]
/openbmc/openbmc/meta-google/recipes-google/networking/files/
H A Dgbmc-ip-monitor.sh40 local line
41 while read -r line; do
43 [[ "$line" =~ ^[[:space:]]*inet ]] && echo "[ADDR]$intf $line"
62 local line="$1"
63 if [[ "$line" == '[INIT]'* ]]; then
66 elif [[ "$line" == '[ADDR]'* ]]; then
89 elif [[ "$line" == '[ROUTE]'* ]]; then
90 line="${line#[ROUTE]}"
101 elif [[ "$line" == '[LINK]'* ]]; then
116 elif [[ "$line" == '[DEFER]'* ]]; then
[all …]
/openbmc/phosphor-mboxd/vpnor/test/
H A Dtoc_flags.cpp19 std::string line; in main() local
25 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
30 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
35 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
41 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
46 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
51 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
56 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
61 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
67 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
[all …]
/openbmc/hiomapd/vpnor/test/
H A Dtoc_flags.cpp21 std::string line; in main() local
27 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
32 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
37 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
43 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
48 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
53 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
58 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
63 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
69 vpnor::parseTocLine(line, BLOCK_SIZE, part); in main()
[all …]
/openbmc/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-transform.sh86 line = "";
88 if (line == "") {
89 line = $i;
91 line = line " " $i;
95 line = line " file:" consolelog;
98 line = line " " image;
124 if (line == "")
127 line = line " " lq arg;
130 line = line " " bootarg[j];
131 line = line rq;
[all …]
/openbmc/qemu/util/
H A Dhexdump.c19 void qemu_hexdump_line(char *line, unsigned int b, const void *bufptr, in qemu_hexdump_line() argument
29 line += snprintf(line, 6, "%04x:", b); in qemu_hexdump_line()
32 *line++ = ' '; in qemu_hexdump_line()
35 line += sprintf(line, " %02x", (unsigned char)buf[b + i]); in qemu_hexdump_line()
37 line += sprintf(line, " "); in qemu_hexdump_line()
41 *line++ = ' '; in qemu_hexdump_line()
47 *line++ = c; in qemu_hexdump_line()
50 *line = '\0'; in qemu_hexdump_line()
57 char line[QEMU_HEXDUMP_LINE_LEN]; in qemu_hexdump() local
61 qemu_hexdump_line(line, b, bufptr, len, true); in qemu_hexdump()
[all …]
/openbmc/linux/drivers/zorro/
H A Dgen-devlist.c32 char line[1024], *c, *bra, manuf[8]; in main() local
45 while (fgets(line, sizeof(line)-1, stdin)) { in main()
47 if ((c = strchr(line, '\n'))) in main()
49 if (!line[0] || line[0] == '#') in main()
51 if (line[0] == '\t') { in main()
54 if (strlen(line) > 5 && line[5] == ' ') { in main()
55 c = line + 5; in main()
68 fprintf(devf, "\tPRODUCT(%s,%s,\"", manuf, line+1); in main()
76 } else if (strlen(line) > 4 && line[4] == ' ') { in main()
77 c = line + 4; in main()
[all …]
/openbmc/u-boot/tools/
H A Drkmux.py105 for line in lines:
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')):
137 for line in fd:
138 line = line.rstrip()
141 reg = line
143 elif not line or not line.startswith(' '):
145 line = line.replace('\xe2\x80\x99', "'")
146 leading = len(line) - len(line.lstrip())
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-thunderx.c48 unsigned int line; member
70 return 8 * line + GPIO_INTR; in intr_reg()
74 unsigned int line) in thunderx_gpio_is_gpio_nowarn() argument
86 unsigned int line) in thunderx_gpio_is_gpio() argument
122 int bank = line / 64; in thunderx_gpio_set()
123 int bank_bit = line % 64; in thunderx_gpio_set()
178 unsigned int line, in thunderx_gpio_set_config() argument
184 int bank = line / 64; in thunderx_gpio_set_config()
185 int bank_bit = line % 64; in thunderx_gpio_set_config()
260 int bank = line / 64; in thunderx_gpio_get()
[all …]
/openbmc/u-boot/examples/standalone/
H A Dsmc911x_eeprom.c149 line = skip_space(line + 1); in write_stuff()
155 dest = line[0]; in write_stuff()
165 line = skip_space(line + 1); in write_stuff()
167 if (line == endp) in write_stuff()
173 if (line == endp) in write_stuff()
178 if (line[0]) in write_stuff()
344 char *line; in smc911x_eeprom() local
351 if (!line) in smc911x_eeprom()
355 line = skip_space(line); in smc911x_eeprom()
358 if (!line[0]) in smc911x_eeprom()
[all …]

12345678910>>...127