Home
last modified time | relevance | path

Searched refs:decode (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/openbmc/qemu/tests/decode/
H A Dmeson.build2 'err_argset1.decode',
3 'err_argset2.decode',
4 'err_field1.decode',
5 'err_field2.decode',
6 'err_field3.decode',
7 'err_field4.decode',
8 'err_field5.decode',
9 'err_field6.decode',
10 'err_field7.decode',
11 'err_field8.decode',
[all …]
/openbmc/qemu/target/i386/emulate/
H A Dx86_emu.c45 #define EXEC_2OP_FLAGS_CMD(env, decode, cmd, FLAGS_FUNC, save_res) \ argument
47 fetch_operands(env, decode, 2, true, true, false); \
48 switch (decode->operand_size) { \
51 uint8_t v1 = (uint8_t)decode->op[0].val; \
52 uint8_t v2 = (uint8_t)decode->op[1].val; \
55 write_val_ext(env, &decode->op[0], diff, 1); \
62 uint16_t v1 = (uint16_t)decode->op[0].val; \
63 uint16_t v2 = (uint16_t)decode->op[1].val; \
66 write_val_ext(env, &decode->op[0], diff, 2); \
73 uint32_t v1 = (uint32_t)decode->op[0].val; \
[all …]
H A Dx86_decode.c27 static void decode_invalid(CPUX86State *env, struct x86_decode *decode) in decode_invalid() argument
30 for (int i = 0; i < decode->opcode_len; i++) { in decode_invalid()
31 printf("%x ", decode->opcode[i]); in decode_invalid()
59 static inline uint64_t decode_bytes(CPUX86State *env, struct x86_decode *decode, in decode_bytes() argument
74 target_ulong va = linear_rip(env_cpu(env), env->eip) + decode->len; in decode_bytes()
76 decode->len += size; in decode_bytes()
81 static inline uint8_t decode_byte(CPUX86State *env, struct x86_decode *decode) in decode_byte() argument
83 return (uint8_t)decode_bytes(env, decode, 1); in decode_byte()
86 static inline uint16_t decode_word(CPUX86State *env, struct x86_decode *decode) in decode_word() argument
88 return (uint16_t)decode_bytes(env, decode, 2); in decode_word()
[all …]
H A Dx86_emu.h47 void write_val_ext(CPUX86State *env, struct x86_decode_op *decode, target_ulong val, int size);
49 target_ulong read_val_ext(CPUX86State *env, struct x86_decode_op *decode, int size);
51 void exec_movzx(CPUX86State *env, struct x86_decode *decode);
52 void exec_shl(CPUX86State *env, struct x86_decode *decode);
53 void exec_movsx(CPUX86State *env, struct x86_decode *decode);
54 void exec_ror(CPUX86State *env, struct x86_decode *decode);
55 void exec_rol(CPUX86State *env, struct x86_decode *decode);
56 void exec_rcl(CPUX86State *env, struct x86_decode *decode);
57 void exec_rcr(CPUX86State *env, struct x86_decode *decode);
H A Dx86_decode.h305 uint32_t decode_instruction(CPUX86State *env, struct x86_decode *decode);
311 void calc_modrm_operand(CPUX86State *env, struct x86_decode *decode,
313 target_ulong decode_linear_addr(CPUX86State *env, struct x86_decode *decode,
317 void calc_modrm_operand16(CPUX86State *env, struct x86_decode *decode,
319 void calc_modrm_operand32(CPUX86State *env, struct x86_decode *decode,
321 void calc_modrm_operand64(CPUX86State *env, struct x86_decode *decode,
323 void set_addressing_size(CPUX86State *env, struct x86_decode *decode);
324 void set_operand_size(CPUX86State *env, struct x86_decode *decode);
/openbmc/qemu/target/arm/tcg/
H A Dmeson.build2 decodetree.process('a64.decode', extra_args: ['--static-decode=disas_a64']),
3 decodetree.process('sve.decode', extra_args: '--decode=disas_sve'),
4 decodetree.process('sme.decode', extra_args: '--decode=disas_sme'),
5 decodetree.process('sme-fa64.decode', extra_args: '--static-decode=disas_sme_fa64'),
9 decodetree.process('neon-shared.decode', extra_args: '--decode=disas_neon_shared'),
10 decodetree.process('neon-dp.decode', extra_args: '--decode=disas_neon_dp'),
11 decodetree.process('neon-ls.decode', extra_args: '--decode=disas_neon_ls'),
12 decodetree.process('vfp.decode', extra_args: '--decode=disas_vfp'),
13 decodetree.process('vfp-uncond.decode', extra_args: '--decode=disas_vfp_uncond'),
14 decodetree.process('m-nocp.decode', extra_args: '--decode=disas_m_nocp'),
[all …]
/openbmc/qemu/target/i386/tcg/
H A Demit.c.inc54 static void gen_JMP_m(DisasContext *s, X86DecodedInsn *decode);
55 static void gen_JMP(DisasContext *s, X86DecodedInsn *decode);
67 static void gen_lea_modrm(DisasContext *s, X86DecodedInsn *decode)
69 AddressParts *mem = &decode->mem;
72 ea = gen_lea_modrm_1(s, *mem, decode->e.vex_class == 12);
73 if (decode->e.special == X86_SPECIAL_BitTest) {
74 MemOp ot = decode->op[1].ot;
76 int opn = decode->op[2].n;
80 assert(decode->op[2].unit == X86_OP_INT && decode->op[2].ot != MO_8);
223 static bool sse_needs_alignment(DisasContext *s, X86DecodedInsn *decode, MemOp ot)
[all …]
H A Ddecode-new.c.inc138 * a switch statement to decode modrm bits 3-5 and prefixes after decoding
168 .decode = glue(decode_, op), \
1130 * pre-decode tweak here for all MOVs from/to CR and DR.
1897 X86DecodedInsn *decode, X86DecodedOp *op)
1908 decode->mem = gen_lea_modrm_0(env, s, modrm,
1909 decode->e.vex_class == 12);
2007 static bool decode_op(DisasContext *s, CPUX86State *env, X86DecodedInsn *decode,
2036 if (decode->e.intercept) {
2037 decode->e.intercept += op->n;
2051 if (decode->e.intercept) {
[all …]
/openbmc/qemu/target/mips/tcg/
H A Dmeson.build2 decodetree.process('rel6.decode', extra_args: ['--decode=decode_isa_rel6']),
3 decodetree.process('msa.decode', extra_args: '--decode=decode_ase_msa'),
4 decodetree.process('tx79.decode', extra_args: '--static-decode=decode_tx79'),
5 decodetree.process('vr54xx.decode', extra_args: '--decode=decode_ext_vr54xx'),
6 decodetree.process('octeon.decode', extra_args: '--decode=decode_ext_octeon'),
7 decodetree.process('lcsr.decode', extra_args: '--decode=decode_ase_lcsr'),
8 decodetree.process('godson2.decode', extra_args: ['--static-decode=decode_godson2']),
9 decodetree.process('loong-ext.decode', extra_args: ['--static-decode=decode_loong_ext']),
/openbmc/qemu/tests/tcg/aarch64/
H A Dpauth-2.c24 uint64_t encode, decode; in do_test() local
40 asm volatile("autda %0, %2" : "=r"(decode) : "0"(encode), "r"(salt1)); in do_test()
41 assert(decode == value); in do_test()
52 : "=r"(decode) : "0"(encode), "r"(salt2)); in do_test()
53 if (decode != value) { in do_test()
61 assert(((decode ^ value) & 0xff80ffffffffffffull) == 0); in do_test()
71 assert(((decode >> 48) & 0xff) == 0b10111111); in do_test()
73 assert(((decode >> 48) & 0xff) == 0b00100000); in do_test()
/openbmc/qemu/target/riscv/
H A Dmeson.build3 …decodetree.process('insn16.decode', extra_args: ['--static-decode=decode_insn16', '--insnwidth=16'…
4 decodetree.process('insn32.decode', extra_args: '--static-decode=decode_insn32'),
5 decodetree.process('xthead.decode', extra_args: '--static-decode=decode_xthead'),
6 …decodetree.process('XVentanaCondOps.decode', extra_args: '--static-decode=decode_XVentanaCodeOps'),
/openbmc/openbmc/poky/meta/recipes-core/util-linux/util-linux/
H A D0001-tests-ts-kill-decode-avoid-using-shell-built-in-kill.patch4 Subject: [PATCH] tests/ts/kill/decode: avoid using shell built-in kill command
15 tests/ts/kill/decode | 5 +++++
18 diff --git a/tests/ts/kill/decode b/tests/ts/kill/decode
20 --- a/tests/ts/kill/decode
21 +++ b/tests/ts/kill/decode
22 @@ -18,6 +18,11 @@ TS_DESC="decode functions"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libtar/files/
H A D0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch4 Subject: [PATCH] Added stdlib.h for malloc() in lib/decode.c
12 lib/decode.c | 1 +
15 diff --git a/lib/decode.c b/lib/decode.c
17 --- a/lib/decode.c
18 +++ b/lib/decode.c
H A D0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch4 Subject: [PATCH] decode: avoid using a static buffer in th_get_pathname()
17 lib/decode.c | 24 +++++++++++++++++-------
22 diff --git a/lib/decode.c b/lib/decode.c
24 --- a/lib/decode.c
25 +++ b/lib/decode.c
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/edid-decode/
H A Dedid-decode_git.bb2 DESCRIPTION = "edid-decode decodes EDID monitor description data in human-readable format."
3 HOMEPAGE = "https://hverkuil.home.xs4all.nl/edid-decode/edid-decode.html"
9 SRC_URI = "git://git.linuxtv.org/edid-decode.git;protocol=https;branch=master"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libb64/libb64/
H A D0002-use-BUFSIZ-as-buffer-size.patch12 include/b64/decode.h | 3 ++-
16 diff --git a/include/b64/decode.h b/include/b64/decode.h
18 --- a/include/b64/decode.h
19 +++ b/include/b64/decode.h
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/views/
H A Dtest_views.py80 data = json.loads(response.content.decode('utf-8'))
109 data = json.loads(response.content.decode('utf-8'))
165 data = json.loads(response.content.decode('utf-8'))
179 data = json.loads(response.content.decode('utf-8'))
189 data = json.loads(response.content.decode('utf-8'))
205 data = json.loads(response.content.decode('utf-8'))
214 data = json.loads(response.content.decode('utf-8'))
223 data = json.loads(response.content.decode('utf-8'))
236 self.assertEqual(json.loads(response.content.decode('utf-8')),
253 self.assertEqual(json.loads(response.content.decode('utf-8')),
[all …]
/openbmc/qemu/target/ppc/
H A Dmeson.build26 decodetree.process('insn32.decode',
27 extra_args: '--static-decode=decode_insn32'),
28 decodetree.process('insn64.decode',
29 extra_args: ['--static-decode=decode_insn64',
/openbmc/phosphor-modbus/rtu/modbus/
H A Dmodbus_commands.cpp34 auto Response::decode() -> void in decode() function in phosphor::modbus::rtu::Response
49 auto ReadHoldingRegistersResponse::decode() -> void in decode() function in phosphor::modbus::rtu::ReadHoldingRegistersResponse
51 Response::decode(); in decode()
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dmetadata.py68 …rocess.check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"], cwd=path).decode('utf-8').strip()
72 …info['commit'] = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=path).decode('utf-8').s…
76 …(subprocess.check_output(["git", "rev-list", "--count", "HEAD"], cwd=path).decode('utf-8').strip())
80 …ck_output(["git", "show", "--no-patch", "--format=%ct", "HEAD"], cwd=path).decode('utf-8').strip())
109 xml_doc = parseString(tostring(xml).decode('UTF-8'))
/openbmc/libbej/test/
H A Dbej_decoder_test.cpp77 EXPECT_THAT(decoder.decode(dictionaries, inputsOrErr->encodedStream), 0); in TEST_P()
165 EXPECT_THAT(decoder.decode(dictionaries, std::span(outputBuffer)), in TEST()
229 EXPECT_THAT(decoder.decode(dictionaries, std::span(outputBuffer)), in TEST()
262 EXPECT_THAT(decoder.decode(dictionaries, std::span(outputBuffer)), in TEST()
296 EXPECT_THAT(decoder.decode(dictionaries, std::span(outputBuffer)), in TEST()
315 EXPECT_THAT(decoder.decode(dictionaries, inputsOrErr->encodedStream), in TEST()
334 EXPECT_THAT(decoder.decode(dictionaries, inputsOrErr->encodedStream), in TEST()
353 EXPECT_THAT(decoder.decode(dictionaries, inputsOrErr->encodedStream), in TEST()
/openbmc/qemu/target/avr/
H A Dmeson.build2 decodetree.process('insn.decode', extra_args: [ '--decode', 'decode_insn',
/openbmc/qemu/tests/qemu-iotests/
H A D207124 shell=True).rstrip().decode('ascii').split('\n')
134 shell=True).rstrip().decode('ascii')
138 shell=True).rstrip().decode('ascii')
142 shell=True).rstrip().decode('ascii')
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/sigrok/
H A Dsigrok-cli_0.7.2.bb9 PACKAGECONFIG[decode] = "--with-libsigrokdecode,--without-libsigrokdecode,libsigrokdecode"
11 PACKAGECONFIG ??= "decode"
/openbmc/openbmc-tools/dbusView/
H A DdbusView.py37 names.append(name.decode())
46 path = line.split(b"/", 1)[-1].decode()
56 return out.decode().split("\n")

12345678910>>...14