Home
last modified time | relevance | path

Searched full:prefix (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/qemu/scripts/
H A Dmtest2make.py68 def emit_prolog(suites, prefix): argument
69 all_targets = ' '.join((f'{prefix}-{k}' for k in suites.keys()))
70 all_xml = ' '.join((f'{prefix}-report-{k}.junit.xml' for k in suites.keys()))
72 print(f'all-{prefix}-targets = {all_targets}')
73 print(f'all-{prefix}-xml = {all_xml}')
74 …print(f'.PHONY: {prefix} do-meson-{prefix} {prefix}-report.junit.xml $(all-{prefix}-targets) $(all…
75 print(f'ifeq ($(filter {prefix}, $(MAKECMDGOALS)),)')
76 print(f'.{prefix}.mtestargs += $(call .speed.$(SPEED), $(.{prefix}.mtest-suites))')
78 print(f'{prefix}-build: run-ninja')
79 print(f'{prefix} $(all-{prefix}-targets): do-meson-{prefix}')
[all …]
H A Dnsis.py48 parser.add_argument("prefix")
55 # canonicalize the Windows native prefix path
56 prefix = os.path.splitdrive(args.prefix)[1]
61 os.path.join(destdir + prefix, "system-emulations.nsh"), "w"
63 os.path.join(destdir + prefix, "system-mui-text.nsh"), "w"
66 os.path.join(destdir + prefix, "qemu-system-*.exe")
92 dlldir = os.path.join(destdir + prefix, "dll")
96 for exe in glob.glob(os.path.join(destdir + prefix, "*.exe")):
115 "-DBINDIR=" + destdir + prefix,
H A Dtracetool.py49 --probe-prefix <prefix> Prefix for dtrace probe names (required for 'stap' backend).
67 long_opts += ["binary=", "probe-prefix="]
100 elif opt == '--probe-prefix':
122 error_opt("--probe-prefix is required for SystemTAP tapset generator")
H A Dqemu-trace-stap60 prefix = probe_prefix(args.binary)
68 probes.append("probe %s.%s {}" % (prefix, probe))
95 prefix = probe_prefix(args.binary)
96 offset = len(prefix) + 1
97 script = prefix + "." + name
110 if line.startswith(prefix):
/qemu/block/
H A Dcrypto.h24 #define BLOCK_CRYPTO_OPT_DEF_KEY_SECRET(prefix, helpstr) \ argument
26 .name = prefix BLOCK_CRYPTO_OPT_QCOW_KEY_SECRET, \
33 #define BLOCK_CRYPTO_OPT_DEF_QCOW_KEY_SECRET(prefix) \ argument
34 BLOCK_CRYPTO_OPT_DEF_KEY_SECRET(prefix, \
51 #define BLOCK_CRYPTO_OPT_DEF_LUKS_KEY_SECRET(prefix) \ argument
52 BLOCK_CRYPTO_OPT_DEF_KEY_SECRET(prefix, \
55 #define BLOCK_CRYPTO_OPT_DEF_LUKS_CIPHER_ALG(prefix) \ argument
57 .name = prefix BLOCK_CRYPTO_OPT_LUKS_CIPHER_ALG, \
62 #define BLOCK_CRYPTO_OPT_DEF_LUKS_CIPHER_MODE(prefix) \ argument
64 .name = prefix BLOCK_CRYPTO_OPT_LUKS_CIPHER_MODE, \
[all …]
/qemu/tests/tcg/xtensa/
H A Dtest_sar.S5 .macro test_sar prefix, imm
6 \prefix\()_set \imm
7 \prefix\()_ver \imm
10 .macro tests_sar prefix argument
11 test_sar \prefix, 0
12 test_sar \prefix, 1
13 test_sar \prefix, 2
14 test_sar \prefix, 3
15 test_sar \prefix, 0x1f
16 test_sar \prefix, 0x20
[all …]
H A Dtest_shift.S5 .macro test_shift prefix, dst, src, v, imm
6 \prefix\()_set \dst, \src, \v, \imm
7 \prefix\()_ver \dst, \v, \imm
10 .macro test_shift_sd prefix, v, imm
11 test_shift \prefix, a3, a2, \v, \imm
12 test_shift \prefix, a2, a2, \v, \imm
15 .macro tests_imm_shift prefix, v
16 test_shift_sd \prefix, \v, 1
17 test_shift_sd \prefix, \v, 2
18 test_shift_sd \prefix, \v, 7
[all …]
/qemu/scripts/qapi/
H A Dbackend.py22 prefix: str,
31 :param prefix: Optional C-code prefix for symbol names.
45 prefix: str,
54 :param prefix: Optional C-code prefix for symbol names.
60 gen_types(schema, output_dir, prefix, builtins)
61 gen_features(schema, output_dir, prefix)
62 gen_visit(schema, output_dir, prefix, builtins)
63 gen_commands(schema, output_dir, prefix, gen_tracing)
64 gen_events(schema, output_dir, prefix)
65 gen_introspect(schema, output_dir, prefix, unmask)
H A Dmain.py21 def invalid_prefix_char(prefix: str) -> Optional[str]:
22 match = must_match(r'([A-Za-z_.-][A-Za-z0-9_.-]*)?', prefix)
23 if match.end() != len(prefix):
24 return prefix[match.end()]
74 parser.add_argument('-p', '--prefix', action='store',
76 help="prefix for symbols")
91 funny_char = invalid_prefix_char(args.prefix)
93 msg = f"funny character '{funny_char}' in argument of --prefix"
102 prefix=args.prefix,
H A Dtypes.py42 prefix: Optional[str] = None) -> str:
43 max_index = c_enum_const(name, '_MAX', prefix)
53 index = c_enum_const(name, memb.name, prefix)
86 prefix: Optional[str] = None) -> str:
101 c_enum=c_enum_const(name, memb.name, prefix))
283 def __init__(self, prefix: str):
285 prefix, 'qapi-types', ' * Schema-defined QAPI types',
307 #include "%(prefix)sqapi-features.h"
310 prefix=self._prefix))
314 prefix=self._prefix))
[all …]
H A Devents.py90 # practice, we can rename our local variables with a leading _ prefix,
178 def __init__(self, prefix: str):
180 prefix, 'qapi-events',
182 self._event_enum_name = c_name(prefix + 'QAPIEvent', protect=False)
184 self._event_emit_name = c_name(prefix + 'qapi_event_emit')
192 #include "%(prefix)sqapi-emit-events.h"
201 prefix=self._prefix))
212 #include "%(prefix)sqapi-emit-events.h"
214 prefix=self._prefix))
248 prefix: str) -> None:
[all …]
H A Dfeatures.py19 def __init__(self, prefix: str):
21 prefix, 'qapi-features',
45 prefix: str) -> None:
46 vis = QAPISchemaGenFeatureVisitor(prefix)
/qemu/qobject/
H A Dblock-qdict.c53 const char *prefix);
55 static void qdict_flatten_qlist(QList *qlist, QDict *target, const char *prefix) in qdict_flatten_qlist() argument
64 /* This function is never called with prefix == NULL, i.e., it is always in qdict_flatten_qlist()
68 assert(prefix); in qdict_flatten_qlist()
76 new_key = g_strdup_printf("%s.%i", prefix, i); in qdict_flatten_qlist()
94 static void qdict_flatten_qdict(QDict *qdict, QDict *target, const char *prefix) in qdict_flatten_qdict() argument
110 if (prefix) { in qdict_flatten_qdict()
111 key = new_key = g_strdup_printf("%s.%s", prefix, entry->key); in qdict_flatten_qdict()
208 * output QList with the key prefix removed, if that prefix is "%u.". If the
211 * QDict with a prefix directly (incrementally) following the last one; it also
[all …]
/qemu/include/hw/
H A Dboards.h528 * MACHINE_VER_STR(sym, prefix, major, minor)
529 * MACHINE_VER_STR(sym, prefix, major, minor, micro)
530 * MACHINE_VER_STR(sym, prefix, major, minor, _, tag)
531 * MACHINE_VER_STR(sym, prefix, major, minor, micro, _, tag)
566 * MACHINE_VER_TYPE_NAME(prefix, major, minor)
567 * MACHINE_VER_TYPE_NAME(prefix, major, minor, micro)
568 * MACHINE_VER_TYPE_NAME(prefix, major, minor, _, tag)
569 * MACHINE_VER_TYPE_NAME(prefix, major, minor, micro, _, tag)
573 * "{prefix}-{major}.{minor}"
574 * "{prefix}-{major}.{minor}.{micro}"
[all …]
H A Dregister.h72 * @prefix: String prefix for log and debug messages
112 const char *prefix; member
120 * @prefix: The device prefix that should be printed before the register name
125 const char *prefix, bool debug);
131 * @prefix: The device prefix that should be printed before the register name
136 uint64_t register_read(RegisterInfo *reg, uint64_t re, const char* prefix,
/qemu/tests/qemu-iotests/
H A Dtestenv.py134 self.sock_dir = tempfile.mkdtemp(prefix="qemu-iotests-")
297 def print_env(self, prefix: str = '') -> None:
299 {prefix}QEMU -- "{QEMU_PROG}" {QEMU_OPTIONS}
300 {prefix}QEMU_IMG -- "{QEMU_IMG_PROG}" {QEMU_IMG_OPTIONS}
301 {prefix}QEMU_IO -- "{QEMU_IO_PROG}" {QEMU_IO_OPTIONS}
302 {prefix}QEMU_NBD -- "{QEMU_NBD_PROG}" {QEMU_NBD_OPTIONS}
303 {prefix}IMGFMT -- {IMGFMT}{imgopts}
304 {prefix}IMGPROTO -- {IMGPROTO}
305 {prefix}PLATFORM -- {platform}
306 {prefix}TEST_DIR -- {TEST_DIR}
[all …]
/qemu/util/
H A Dpath.c1 /* Code to mangle pathnames into those matching a given prefix.
17 void init_paths(const char *prefix) in init_paths() argument
19 if (prefix[0] == '\0' || !strcmp(prefix, "/")) { in init_paths()
23 if (prefix[0] == '/') { in init_paths()
24 base = g_strdup(prefix); in init_paths()
27 base = g_build_filename(cwd, prefix, NULL); in init_paths()
/qemu/linux-user/
H A Dgen-vdso.c61 const char *prefix = "vdso"; in main() local
77 prefix = optarg; in main()
87 fprintf(stderr, "usage: [-p prefix] [-r rt-sigreturn-name] " in main()
168 "static const unsigned %s_relocs[] = {\n", prefix); in main()
190 prefix); in main()
199 fprintf(outf, "static const VdsoImageInfo %s_image_info = {\n", prefix); in main()
200 fprintf(outf, " .image = %s_image,\n", prefix); in main()
201 fprintf(outf, " .relocs = %s_relocs,\n", prefix); in main()
202 fprintf(outf, " .image_size = sizeof(%s_image),\n", prefix); in main()
203 fprintf(outf, " .reloc_count = ARRAY_SIZE(%s_relocs),\n", prefix); in main()
/qemu/hw/core/
H A Dregister.c72 const char *prefix, bool debug) in register_write() argument
83 "(written value: 0x%" PRIx64 ")\n", prefix, val); in register_write()
92 "fields: 0x%" PRIx64 ")\n", prefix, test); in register_write()
100 prefix, reg->access->name, val, ac->unimp); in register_write()
115 qemu_log("%s:%s: write of value 0x%" PRIx64 "\n", prefix, ac->name, in register_write()
126 uint64_t register_read(RegisterInfo *reg, uint64_t re, const char* prefix, in register_read() argument
137 prefix); in register_read()
153 qemu_log("%s:%s: read of value 0x%" PRIx64 "\n", prefix, in register_read()
196 "at address: 0x%" PRIx64 "\n", reg_array->prefix, addr); in register_write_memory()
203 register_write(reg, value, we, reg_array->prefix, in register_write_memory()
[all …]
/qemu/include/qemu/
H A Dcutils.h8 * Return a SI prefix (n, u, m, K, M, etc.) corresponding
17 * Return an IEC binary prefix (Ki, Mi, etc.) corresponding
74 * @val: prefix string to look for
78 * Test whether @str starts with the prefix @val.
81 * pointer to the first character following the prefix is written
82 * to it. If @val is not a prefix of @str then return false (and
85 * Returns: true if @str starts with prefix @val, false otherwise.
91 * @val: prefix string to look for
95 * Test whether @str starts with the case-insensitive prefix @val.
100 * Returns: true if @str starts with case-insensitive prefix @val,
[all …]
/qemu/tests/data/acpi/
H A Ddisassemle-aml.sh47 # iasl strips an extension from prefix if there.
51 prefix="-p ${outdir}/${aml}.dsl"
53 prefix=""
55 iasl ${extra} ${prefix} -d ${aml}
/qemu/tests/qapi-schema/
H A Denum-bad-prefix.err1 enum-bad-prefix.json: In enum 'MyEnum':
2 enum-bad-prefix.json:2: 'prefix' must be a string
/qemu/roms/
H A DMakefile34 # finally strip off path + toolname so we get the prefix
35 find-cross-prefix = $(subst gcc,,$(notdir $(call find-cross-gcc,$(1))))
37 aarch64_cross_prefix := $(call find-cross-prefix,aarch64)
38 arm_cross_prefix := $(call find-cross-prefix,arm)
39 powerpc64_cross_prefix := $(call find-cross-prefix,powerpc64)
40 powerpc_cross_prefix := $(call find-cross-prefix,powerpc)
41 x86_64_cross_prefix := $(call find-cross-prefix,x86_64)
42 riscv32_cross_prefix := $(call find-cross-prefix,riscv32)
43 riscv64_cross_prefix := $(call find-cross-prefix,riscv64)
/qemu/linux-user/i386/
H A Dsyscallhdr.sh7 prefix="$4"
20 echo "#define TARGET_NR_${prefix}${name} $nr"
22 echo "#define TARGET_NR_${prefix}${name} ($offset + $nr)"
/qemu/linux-user/x86_64/
H A Dsyscallhdr.sh7 prefix="$4"
20 echo "#define TARGET_NR_${prefix}${name} $nr"
22 echo "#define TARGET_NR_${prefix}${name} ($offset + $nr)"

12345678910>>...12