Lines Matching refs:bytes
29 uint8_t bytes[8]; member
39 g_assert(n <= ARRAY_SIZE(ctx->bytes)); in decode_load_bytes()
42 ctx->dis->read_memory_func(addr++, &ctx->bytes[i - 1], 1, ctx->dis); in decode_load_bytes()
43 insn |= ctx->bytes[i - 1] << (32 - i * 8); in decode_load_bytes()
58 g_assert(len + 1 <= ARRAY_SIZE(ctx->bytes)); in li()
61 ctx->dis->read_memory_func(addr, ctx->bytes + len, 1, ctx->dis); in li()
62 return (int8_t)ctx->bytes[len]; in li()
64 g_assert(len + 2 <= ARRAY_SIZE(ctx->bytes)); in li()
67 ctx->dis->read_memory_func(addr, ctx->bytes + len, 2, ctx->dis); in li()
68 return ldsw_le_p(ctx->bytes + len); in li()
70 g_assert(len + 3 <= ARRAY_SIZE(ctx->bytes)); in li()
73 ctx->dis->read_memory_func(addr, ctx->bytes + len, 3, ctx->dis); in li()
74 return (int8_t)ctx->bytes[len + 2] << 16 | lduw_le_p(ctx->bytes + len); in li()
76 g_assert(len + 4 <= ARRAY_SIZE(ctx->bytes)); in li()
79 ctx->dis->read_memory_func(addr, ctx->bytes + len, 4, ctx->dis); in li()
80 return ldl_le_p(ctx->bytes + len); in li()
110 ctx->dis->fprintf_func(ctx->dis->stream, "%02x ", ctx->bytes[i]); in dump_bytes()
152 g_assert(len + 1 <= ARRAY_SIZE(ctx->bytes)); in rx_index_addr()
155 ctx->dis->read_memory_func(addr, ctx->bytes + len, 1, ctx->dis); in rx_index_addr()
156 dsp = ctx->bytes[len]; in rx_index_addr()
159 g_assert(len + 2 <= ARRAY_SIZE(ctx->bytes)); in rx_index_addr()
162 ctx->dis->read_memory_func(addr, ctx->bytes + len, 2, ctx->dis); in rx_index_addr()
163 dsp = lduw_le_p(ctx->bytes + len); in rx_index_addr()