Home
last modified time | relevance | path

Searched refs:stack_argv (Results 1 – 7 of 7) sorted by relevance

/frameworks/libs/binary_translation/guest_abi/riscv64/
Dguest_arguments_test.cc31 AlignUp(offsetof(GuestArgumentBuffer, stack_argv), sizeof(uint64_t)) / sizeof(uint64_t) + 4; in TEST()
43 .stack_argv = {0x3fc0000000000000}}}; in TEST()
44 arguments.buffer.stack_argv[1] = 0x3fbc71c71c71c71c; in TEST()
45 arguments.buffer.stack_argv[2] = 0x3fb999999999999a; in TEST()
46 arguments.buffer.stack_argv[3] = 0x3fb745d1745d1746; in TEST()
87 AlignUp(offsetof(GuestArgumentBuffer, stack_argv), sizeof(uint64_t)) / sizeof(uint64_t) + 4; in TEST()
100 .stack_argv = {0x3fbc71c71c71c71c}}}; in TEST()
101 arguments.buffer.stack_argv[1] = 0x3fb999999999999a; in TEST()
102 arguments.buffer.stack_argv[2] = 0x3fb745d1745d1746; in TEST()
103 arguments.buffer.stack_argv[3] = 0x3fb5555555555555; in TEST()
/frameworks/libs/binary_translation/guest_abi/arm64/
Dguest_arguments_test.cc31 uint64_t padding[AlignUp(offsetof(GuestArgumentBuffer, stack_argv), sizeof(uint64_t)) / in TEST()
43 .stack_argv = {0x3fbc71c71c71c71c}}}; in TEST()
44 arguments.buffer.stack_argv[1] = 0x3fb999999999999a; in TEST()
45 arguments.buffer.stack_argv[2] = 0x3fb745d1745d1746; in TEST()
46 arguments.buffer.stack_argv[3] = 0x3fb5555555555555; in TEST()
/frameworks/libs/binary_translation/code_gen_lib/
Dcode_gen_lib_riscv64_test.cc164 ASSERT_EQ(buf->stack_argv[0], 0xf8U); in Run10UInt8()
165 ASSERT_EQ(buf->stack_argv[1], 9U); in Run10UInt8()
197 ASSERT_EQ(buf->stack_argv[0], 0xffff'ffff'ffff'fff8ULL); in Run10Int8()
198 ASSERT_EQ(buf->stack_argv[1], 9U); in Run10Int8()
230 ASSERT_EQ(buf->stack_argv[0], 0xfff8U); in Run10UInt16()
231 ASSERT_EQ(buf->stack_argv[1], 9U); in Run10UInt16()
271 ASSERT_EQ(buf->stack_argv[0], 0xffff'ffff'ffff'fff8ULL); in Run10Int16()
272 ASSERT_EQ(buf->stack_argv[1], 9U); in Run10Int16()
304 ASSERT_EQ(buf->stack_argv[0], 0xffff'ffff'ffff'fff8ULL); in Run10Int()
305 ASSERT_EQ(buf->stack_argv[1], 9U); in Run10Int()
[all …]
Dgen_wrapper_riscv64_to_x86_64.cc98 constexpr int kStackArgvOffset = offsetof(GuestArgumentBuffer, stack_argv); in GenWrapGuestFunction()
/frameworks/libs/binary_translation/guest_abi/arm64/include/berberis/guest_abi/
Dguest_arguments_arch.h38 uint64_t stack_argv[1]; // VLA member
150 return reinterpret_cast<char*>(buffer_->stack_argv) + loc.offset; in ArgLocationAddress()
/frameworks/libs/binary_translation/runtime/
Drun_guest_call_riscv64.cc85 memcpy(ToHostAddr<void>(GetXReg<SP>(state->cpu)), buf->stack_argv, buf->stack_argc); in RunGuestCall()
/frameworks/libs/binary_translation/guest_abi/riscv64/include/berberis/guest_abi/
Dguest_arguments_arch.h38 uint64_t stack_argv[1]; // VLA. member
156 return reinterpret_cast<char*>(buffer_->stack_argv) + loc.offset; in ArgLocationAddress()