Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 192) sorted by relevance

12345678

/qemu/block/
H A Dcrypto.h55 #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, \
69 #define BLOCK_CRYPTO_OPT_DEF_LUKS_IVGEN_ALG(prefix) \ argument
71 .name = prefix BLOCK_CRYPTO_OPT_LUKS_IVGEN_ALG, \
83 #define BLOCK_CRYPTO_OPT_DEF_LUKS_HASH_ALG(prefix) \ argument
85 .name = prefix BLOCK_CRYPTO_OPT_LUKS_HASH_ALG, \
90 #define BLOCK_CRYPTO_OPT_DEF_LUKS_ITER_TIME(prefix) \ argument
92 .name = prefix BLOCK_CRYPTO_OPT_LUKS_ITER_TIME, \
[all …]
/qemu/scripts/qapi/
H A Dmain.py24 def invalid_prefix_char(prefix: str) -> Optional[str]:
26 if match.end() != len(prefix):
27 return prefix[match.end()]
33 prefix: str,
48 assert invalid_prefix_char(prefix) is None
51 gen_types(schema, output_dir, prefix, builtins)
52 gen_visit(schema, output_dir, prefix, builtins)
54 gen_events(schema, output_dir, prefix)
55 gen_introspect(schema, output_dir, prefix, unmask)
87 funny_char = invalid_prefix_char(args.prefix)
[all …]
H A Devents.py178 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')
201 prefix=self._prefix))
214 prefix=self._prefix))
248 prefix: str) -> None:
249 vis = QAPISchemaGenEventVisitor(prefix)
H A Dtypes.py46 prefix: Optional[str] = None) -> str:
47 max_index = c_enum_const(name, '_MAX', prefix)
57 index = c_enum_const(name, memb.name, prefix)
90 prefix: Optional[str] = None) -> str:
105 c_enum=c_enum_const(name, memb.name, prefix))
287 def __init__(self, prefix: str):
289 prefix, 'qapi-types', ' * Schema-defined QAPI types',
331 prefix: Optional[str]) -> None:
334 self._genc.add(gen_enum_lookup(name, members, prefix))
385 prefix: str,
[all …]
/qemu/qobject/
H A Dblock-qdict.c68 assert(prefix); in qdict_flatten_qlist()
110 if (prefix) { in qdict_flatten_qdict()
307 *prefix = g_strdup(key); in qdict_split_flat_key()
317 (*prefix)[j] = (*prefix)[i]; in qdict_split_flat_key()
319 (*prefix)[j] = '\0'; in qdict_split_flat_key()
431 char *prefix = NULL; in qdict_crumple() local
473 g_free(prefix); in qdict_crumple()
474 prefix = NULL; in qdict_crumple()
528 g_free(prefix); in qdict_crumple()
616 prefix[strlen(prefix) - 1] = 0; in qdict_array_entries()
[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
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.S7 \prefix\()_ver \dst, \v, \imm
10 .macro test_shift_sd prefix, 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
19 test_shift_sd \prefix, \v, 8
20 test_shift_sd \prefix, \v, 15
25 .macro tests_shift prefix, v
26 test_shift_sd \prefix, \v, 0
[all …]
/qemu/util/
H A Dpath.c17 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()
142 prefix); in main()
182 fprintf(outf, "static const unsigned %s_relocs[] = {\n", 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/scripts/
H A Dnsis.py56 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")
95 for exe in glob.glob(os.path.join(destdir + prefix, "*.exe")):
115 "-DBINDIR=" + destdir + prefix,
H A Dqemu-trace-stap59 prefix = probe_prefix(args.binary)
67 probes.append("probe %s.%s {}" % (prefix, probe))
93 prefix = probe_prefix(args.binary)
94 offset = len(prefix) + 1
95 script = prefix + "." + name
108 if line.startswith(prefix):
/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()
203 register_write(reg, value, we, reg_array->prefix, in register_write_memory()
232 read_val = register_read(reg, re, reg_array->prefix, in register_read_memory()
[all …]
/qemu/include/hw/xen/interface/io/
H A Dnetif.h308 uint64_t prefix = 0; in xen_netif_toeplitz_hash() local
313 prefix <<= 8; in xen_netif_toeplitz_hash()
314 prefix |= (keyi < keylen) ? key[keyi] : 0; in xen_netif_toeplitz_hash()
323 hash ^= prefix; in xen_netif_toeplitz_hash()
324 prefix <<= 1; in xen_netif_toeplitz_hash()
332 prefix |= (keyi < keylen) ? key[keyi] : 0; in xen_netif_toeplitz_hash()
/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/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)"
/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/arm/
H A Dsyscallhdr.sh7 prefix="$4"
23 echo "#define TARGET_NR_${prefix}${name} $nr"
25 echo "#define TARGET_NR_${prefix}${name} ($offset + $nr)"
/qemu/linux-user/alpha/
H A Dsyscallhdr.sh7 prefix="$4"
22 "${prefix}" "${name}" "${nr}"
25 "${prefix}" "${name}" "${offset}" "${nr}"
/qemu/linux-user/s390x/
H A Dsyscallhdr.sh7 prefix="$4"
22 "${prefix}" "${name}" "${nr}"
25 "${prefix}" "${name}" "${offset}" "${nr}"
/qemu/linux-user/xtensa/
H A Dsyscallhdr.sh7 prefix="$4"
22 "${prefix}" "${name}" "${nr}"
25 "${prefix}" "${name}" "${offset}" "${nr}"
/qemu/linux-user/m68k/
H A Dsyscallhdr.sh7 prefix="$4"
22 "${prefix}" "${name}" "${nr}"
25 "${prefix}" "${name}" "${offset}" "${nr}"
/qemu/linux-user/ppc/
H A Dsyscallhdr.sh7 prefix="$4"
24 "${prefix}" "${name}" "${nr}"
27 "${prefix}" "${name}" "${offset}" "${nr}"
/qemu/linux-user/sh4/
H A Dsyscallhdr.sh7 prefix="$4"
22 "${prefix}" "${name}" "${nr}"
25 "${prefix}" "${name}" "${offset}" "${nr}"
/qemu/linux-user/microblaze/
H A Dsyscallhdr.sh7 prefix="$4"
22 "${prefix}" "${name}" "${nr}"
25 "${prefix}" "${name}" "${offset}" "${nr}"
/qemu/linux-user/sparc/
H A Dsyscallhdr.sh7 prefix="$4"
22 "${prefix}" "${name}" "${nr}"
25 "${prefix}" "${name}" "${offset}" "${nr}"

12345678