Home
last modified time | relevance | path

Searched full:lines (Results 1 – 25 of 274) sorted by relevance

1234567891011

/qemu/include/hw/
H A Dqdev-core.h595 * GPIO lines use either positive (active-high) logic,
609 * qdev_get_gpio_in: Get one of a device's anonymous input GPIO lines
620 * device models to wire up the GPIO lines; usually the return value
624 * For named input GPIO lines, use qdev_get_gpio_in_named().
631 * qdev_get_gpio_in_named: Get one of a device's named input GPIO lines
637 * in a named array of input GPIO lines on a device (which the device
644 * For anonymous input GPIO lines, use qdev_get_gpio_in().
651 * qdev_connect_gpio_out: Connect one of a device's anonymous output GPIO lines
663 * Outbound GPIO lines can be connected to any qemu_irq, but the common
677 * For named output GPIO lines, use qdev_connect_gpio_out_named().
[all …]
/qemu/crypto/
H A Dtlscredspsk.c41 char **lines = NULL; in lookup_key() local
52 lines = g_strsplit(content, "\n", -1); in lookup_key()
53 for (i = 0; lines[i] != NULL; ++i) { in lookup_key()
54 if (strncmp(lines[i], username, ulen) == 0 && lines[i][ulen] == ':') { in lookup_key()
55 key->data = (unsigned char *) g_strdup(&lines[i][ulen + 1]); in lookup_key()
56 key->size = strlen(lines[i]) - ulen - 1; in lookup_key()
66 g_strfreev(lines); in lookup_key()
/qemu/python/scripts/
H A Dmkvenv.py401 lines = []
403 lines.append("========== stdout ==========")
404 lines.append(_stringify(exc.stdout))
405 lines.append("============================")
407 lines.append("========== stderr ==========")
408 lines.append(_stringify(exc.stderr))
409 lines.append("============================")
410 if lines:
411 logger.error(os.linesep.join(lines))
539 lines = []
[all …]
/qemu/scripts/modules/
H A Dmodule_block.py26 lines = []
27 lines.append('.library_name = "' + library + '",')
29 lines.append('.format_name = "' + format_name + '",')
31 lines.append('.protocol_name = "' + protocol_name + '",')
33 text = '\n '.join(lines)
/qemu/include/hw/core/
H A Dsplit-irq.h27 * GPIO output lines. Any change on the input line is forwarded to all
32 * + N unnamed GPIO outputs: the output lines
33 * + QOM property "num-lines": sets the number of output lines
/qemu/util/
H A Dselfmap.c16 gchar *maps, **lines; in read_self_maps() local
24 lines = g_strsplit(maps, "\n", 0); in read_self_maps()
25 nlines = g_strv_length(lines); in read_self_maps()
28 gchar **fields = g_strsplit(lines[i], " ", 6); in read_self_maps()
79 g_strfreev(lines); in read_self_maps()
/qemu/scripts/
H A Dget_maintainer.pl313 next if (/^\s*$/); #skip empty lines
772 contain a thousand lines, 5 trivial commits may modify a single line.
783 Multiple lines and # comments are allowed.
1220 my @lines = ();
1224 @lines = split("\n", $output);
1226 return @lines;
1231 my @lines = ();
1234 @lines = split("\n", $output);
1236 return @lines;
1261 my @lines = ();
[all …]
H A Dmodinfo-generate.py35 def generate(name, lines, enabled): argument
40 for line in lines:
101 lines = f.readlines()
104 moddeps = generate(basename, lines, enabled)
H A Danalyze-inclusions63 NR>1 { bytes[file]+=length()+1; lines[file]++ }
64 END { for(i in lines) print i,lines[i],bytes[i] }'
72 printf "%s\t %s\t %s\t %s\n", "lines", "bytes", "files", "source"
H A Dcheckpatch.pl444 my @lines = ();
497 @lines = ();
527 @lines = ();
725 last if (!defined $lines[$line]);
726 next if ($lines[$line] =~ /^-/);
729 $blk .= $lines[$line] . "\n";
825 # Strip the diff line prefixes and rip blank lines at start and end.
912 if ($lines[$line] =~ /^.\s*#\s*(?:ifndef|ifdef|if)\s/) {
914 } elsif ($lines[$line] =~ /^.\s*#\s*(?:else|elif)\b/) {
916 } elsif ($lines[$line] =~ /^.\s*#\s*endif\b/) {
[all …]
H A Ddisas-objdump.pl29 # Pre-construct the command-lines for executing the dump.
56 # Collect the data from the relevant OBJD-* lines ...
81 # ... copying all but the first 7 lines of boilerplate to our stdout.
/qemu/tests/functional/qemu_test/
H A Dtesseract.py19 lines = []
24 lines += [sline]
25 return lines
/qemu/scripts/tracetool/
H A D__init__.py25 def error_write(*lines): argument
26 """Write a set of error lines."""
27 sys.stderr.writelines("\n".join(lines) + "\n")
29 def error(*lines): argument
30 """Write a set of error lines and exit."""
31 error_write(*lines)
44 def out(*lines, **kwargs): argument
45 """Write a set of output lines.
48 the strings in lines.
57 for l in lines:
/qemu/scripts/codeconverter/codeconverter/
H A Dutils.py53 Character position starts in 0, but lines and columns start in 1.
56 lines = before.split('\n')
57 line = len(lines)
58 col = len(lines[-1]) + 1
/qemu/docs/sphinx/
H A Dhxtool.py13 # The rST fragments are delimited by SRST/ERST lines.
53 # blank lines in the plain-text content of the --help output.
100 # We build up lines of rST in this ViewList, which we will
107 lines = (l.rstrip() for l in f)
108 for lnum, line in enumerate(lines, 1):
158 # Sphinx counts its lines from 0
/qemu/include/hw/sd/
H A Dsd.h105 * Write a byte on the data lines of a SD card.
112 * Read a byte from the data lines of a SD card.
162 * Write a byte on the data lines of a SD bus.
169 * Read a byte from the data lines of a SD bus.
180 * Write multiple bytes of data on the data lines of a SD bus.
189 * Read multiple bytes of data on the data lines of a SD bus.
/qemu/scripts/coverage/
H A Dcompare_gcov_json.py56 lines = filecov["lines"]
60 for linecov in filecov["lines"]
67 print(f"file {file_path} {len(executed_lines)}/{len(lines)}")
/qemu/scripts/kvm/
H A Dkvm_flightrecorder65 lines = True
66 while lines:
67 lines = tracefile.readlines(64 * 1024)
68 sys.stdout.writelines(lines)
/qemu/tests/unit/
H A Dtest-seccomp.c198 g_auto(GStrv) lines = NULL; in can_play_with_seccomp()
205 lines = g_strsplit(status, "\n", 0); in can_play_with_seccomp()
207 for (i = 0; lines[i] != NULL; i++) { in can_play_with_seccomp()
208 if (g_str_has_prefix(lines[i], "Seccomp:")) { in can_play_with_seccomp()
215 if (!strchr(lines[i], '0')) { in can_play_with_seccomp()
/qemu/hw/intc/
H A Drealview_gic.c30 * number of interrupt lines, so we don't need to expose this as in realview_gic_realize()
41 /* Pass through outbound IRQ lines from the GIC */ in realview_gic_realize()
44 /* Pass through inbound GPIO lines to the GIC */ in realview_gic_realize()
/qemu/hw/cpu/
H A Darm11mpcore.c95 /* Pass through outbound IRQ lines from the GIC */ in mpcore_priv_realize()
98 /* Pass through inbound GPIO lines to the GIC */ in mpcore_priv_realize()
137 * anything from 0 to 224 external interrupt IRQ lines (with another
142 * has more IRQ lines than the kernel expects.
H A Da15mpcore.c89 /* Pass through outbound IRQ lines from the GIC */ in a15mp_priv_realize()
92 /* Pass through inbound GPIO lines to the GIC */ in a15mp_priv_realize()
102 /* Mapping from the output timer irq lines from the CPU to the in a15mp_priv_realize()
156 * lines, plus always 32 internal IRQs. This property sets the total
H A Drealview_mpcore.c22 /* Dummy PIC to route IRQ lines. The baseboard has 4 independent IRQ
23 controllers. The output of these, plus some of the raw input lines
36 /* Map baseboard IRQs onto CPU IRQ lines. */
/qemu/include/hw/arm/
H A Darmv7m.h40 * + Unnamed GPIO input lines: external IRQ lines for the NVIC
45 * + Property "num-irq": number of external IRQ lines
/qemu/docs/devel/
H A Dtrivial-patches.rst9 Trivial patches that change just a few lines of code sometimes languish
19 - Only touch a few lines of code.

1234567891011