/frameworks/libs/binary_translation/guest_abi/riscv64/ |
D | guest_arguments_test.cc | 31 AlignUp(offsetof(GuestArgumentBuffer, stack_argv), sizeof(uint64_t)) / sizeof(uint64_t) + 4; in TEST() 33 GuestArgumentBuffer buffer; in TEST() 87 AlignUp(offsetof(GuestArgumentBuffer, stack_argv), sizeof(uint64_t)) / sizeof(uint64_t) + 4; in TEST() 89 GuestArgumentBuffer buffer; in TEST() 198 GuestArgumentBuffer buffer{.argv = {ToGuestAddr(&result), 0xdead0000beef}}; in TEST() 219 GuestArgumentBuffer buffer{.argv = {100}, .fp_argv = {0x3fe0000000000000}}; in TEST() 237 GuestArgumentBuffer buffer{.argv = {100}, .fp_argv = {0x3fe0000000000000}}; in TEST() 245 GuestArgumentBuffer buffer{.argv = {100}, .fp_argv = {0x3fe0000000000000}}; in TEST() 252 GuestArgumentBuffer buffer{.argv = {100}, .fp_argv = {0x3fe0000000000000}}; in TEST()
|
/frameworks/libs/binary_translation/code_gen_lib/ |
D | gen_wrapper_riscv64_to_x86_64.cc | 72 static_assert(alignof(GuestArgumentBuffer) <= 16, "unexpected GuestArgumentBuffer alignment"); in GenWrapGuestFunction() 82 size_t guest_argument_buffer_size = sizeof(GuestArgumentBuffer) - 8 + max_stack_argv_size; in GenWrapGuestFunction() 91 constexpr int kArgcOffset = offsetof(GuestArgumentBuffer, argc); in GenWrapGuestFunction() 92 constexpr int kRescOffset = offsetof(GuestArgumentBuffer, resc); in GenWrapGuestFunction() 93 constexpr int kArgvOffset = offsetof(GuestArgumentBuffer, argv); in GenWrapGuestFunction() 94 constexpr int kFpArgcOffset = offsetof(GuestArgumentBuffer, fp_argc); in GenWrapGuestFunction() 95 constexpr int kFpRescOffset = offsetof(GuestArgumentBuffer, fp_resc); in GenWrapGuestFunction() 96 constexpr int kFpArgvOffset = offsetof(GuestArgumentBuffer, fp_argv); in GenWrapGuestFunction() 97 constexpr int kStackArgcOffset = offsetof(GuestArgumentBuffer, stack_argc); in GenWrapGuestFunction() 98 constexpr int kStackArgvOffset = offsetof(GuestArgumentBuffer, stack_argv); in GenWrapGuestFunction()
|
D | code_gen_lib_riscv64_test.cc | 127 void DummyRunner2(GuestAddr pc, GuestArgumentBuffer* buf) { in DummyRunner2() 150 void Run10UInt8(GuestAddr pc, GuestArgumentBuffer* buf) { in Run10UInt8() 183 void Run10Int8(GuestAddr pc, GuestArgumentBuffer* buf) { in Run10Int8() 216 void Run10UInt16(GuestAddr pc, GuestArgumentBuffer* buf) { in Run10UInt16() 257 void Run10Int16(GuestAddr pc, GuestArgumentBuffer* buf) { in Run10Int16() 290 void Run10Int(GuestAddr pc, GuestArgumentBuffer* buf) { in Run10Int() 322 void Run18Fp(GuestAddr pc, GuestArgumentBuffer* buf) { in Run18Fp()
|
/frameworks/libs/binary_translation/guest_abi/arm/ |
D | guest_arguments_test.cc | 30 GuestArgumentBuffer buffer; in TEST() 32 padding[AlignUp(offsetof(GuestArgumentBuffer, argv), sizeof(uint32_t)) / sizeof(uint32_t) + in TEST() 60 GuestArgumentBuffer buffer; in TEST() 62 padding[AlignUp(offsetof(GuestArgumentBuffer, argv), sizeof(uint32_t)) / sizeof(uint32_t) + in TEST()
|
/frameworks/libs/native_bridge_support/android_api/libEGL/proxy/ |
D | egl_trampolines.cc | 57 void RunGuest_glDebugMessageCallback(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuest_glDebugMessageCallback() 72 void RunGuest_glGetPointerv(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuest_glGetPointerv() 109 void RunGuest_eglGetProcAddress(GuestAddr pc, GuestArgumentBuffer* buf); 175 void RunGuest_eglGetProcAddress(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuest_eglGetProcAddress() 233 void RunGuestAndroidGLESLayer_Initialize(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestAndroidGLESLayer_Initialize() 243 void RunGuestAndroidGLESLayer_GetProcAddress(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestAndroidGLESLayer_GetProcAddress()
|
/frameworks/libs/binary_translation/runtime_primitives/include/berberis/runtime_primitives/ |
D | guest_function_wrapper_impl.h | 27 struct GuestArgumentBuffer; 40 using GuestRunnerFunc = void (*)(GuestAddr pc, GuestArgumentBuffer* buf);
|
D | runtime_library.h | 62 struct GuestArgumentBuffer; 64 void RunGuestCall(GuestAddr pc, GuestArgumentBuffer* buf);
|
/frameworks/libs/binary_translation/guest_abi/arm/include/berberis/guest_abi/ |
D | guest_call_arch.h | 51 GuestArgumentBuffer buffer; 62 GuestArgumentBuffer& buffer() { return buffer_memory_.buffer; } in buffer()
|
D | guest_arguments_arch.h | 38 struct GuestArgumentBuffer { struct 61 GuestArgumentsAndResult(GuestArgumentBuffer* buffer) : buffer_(buffer) {} in GuestArgumentsAndResult() 188 GuestArgumentBuffer* const buffer_; 202 GuestArgumentsAndResult(GuestArgumentBuffer* buffer) in GuestArgumentsAndResult()
|
/frameworks/libs/binary_translation/guest_abi/arm64/include/berberis/guest_abi/ |
D | guest_arguments_arch.h | 28 struct GuestArgumentBuffer { struct 55 GuestArgumentsAndResult(GuestArgumentBuffer* buffer) : buffer_(buffer) {} in GuestArgumentsAndResult() 165 GuestArgumentBuffer* const buffer_; 176 GuestArgumentsAndResult(GuestArgumentBuffer* buffer) in GuestArgumentsAndResult()
|
D | guest_call_arch.h | 52 GuestArgumentBuffer buf_;
|
/frameworks/libs/binary_translation/guest_abi/riscv64/include/berberis/guest_abi/ |
D | guest_arguments_arch.h | 29 struct GuestArgumentBuffer { struct 58 GuestArgumentsAndResult(GuestArgumentBuffer* buffer) : buffer_(buffer) {} in GuestArgumentsAndResult() 171 GuestArgumentBuffer* const buffer_; 185 GuestArgumentsAndResult(GuestArgumentBuffer* buffer) in GuestArgumentsAndResult()
|
D | guest_call_arch.h | 47 GuestArgumentBuffer buf_;
|
/frameworks/libs/binary_translation/guest_abi/include/berberis/guest_abi/ |
D | guest_arguments.h | 60 GuestArgumentsReferences(GuestArgumentBuffer* buffer) in GuestArgumentsReferences() 85 HostArgumentsValues(GuestArgumentBuffer* buffer) in HostArgumentsValues() 109 GuestResultValue(GuestArgumentBuffer* buffer) in GuestResultValue() 132 HostResultReference(GuestArgumentBuffer* buffer) in HostResultReference()
|
/frameworks/libs/binary_translation/guest_abi/arm64/ |
D | guest_arguments_test.cc | 30 GuestArgumentBuffer buffer; in TEST() 31 uint64_t padding[AlignUp(offsetof(GuestArgumentBuffer, stack_argv), sizeof(uint64_t)) / in TEST()
|
/frameworks/libs/binary_translation/guest_os_primitives/include/berberis/guest_os_primitives/ |
D | guest_thread.h | 49 struct GuestArgumentBuffer; 50 void RunGuestPthreadKeyDtor(GuestAddr pc, GuestArgumentBuffer* buf);
|
/frameworks/libs/binary_translation/guest_os_primitives/ |
D | guest_thread_key.cc | 28 void RunGuestPthreadKeyDtor(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestPthreadKeyDtor()
|
/frameworks/libs/native_bridge_support/android_api/libvulkan/proxy/ |
D | vulkan_trampolines.cc | 259 void RunGuest_vkEnumerateDeviceExtensionProperties(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuest_vkEnumerateDeviceExtensionProperties() 297 void RunGuest_vkEnumerateInstanceExtensionProperties(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuest_vkEnumerateInstanceExtensionProperties() 333 void RunGuest_vkCreateInstance(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuest_vkCreateInstance() 363 void RunGuest_vkGetDeviceProcAddr(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuest_vkGetDeviceProcAddr() 380 void RunGuest_vkGetInstanceProcAddr(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuest_vkGetInstanceProcAddr()
|
D | gen_vulkan.go | 229 void RunGuest_vkEnumerateDeviceExtensionProperties(GuestAddr pc, GuestArgumentBuffer* buf); 230 void RunGuest_vkEnumerateInstanceExtensionProperties(GuestAddr pc, GuestArgumentBuffer* buf); 231 void RunGuest_vkCreateInstance(GuestAddr pc, GuestArgumentBuffer* buf); 232 void RunGuest_vkGetDeviceProcAddr(GuestAddr pc, GuestArgumentBuffer* buf); 233 void RunGuest_vkGetInstanceProcAddr(GuestAddr pc, GuestArgumentBuffer* buf); 3549 _, err = fmt.Fprintf(w, `void RunGuest_%[1]s(GuestAddr pc, GuestArgumentBuffer* buf) {
|
/frameworks/libs/binary_translation/runtime/ |
D | run_guest_call_riscv64.cc | 66 void RunGuestCall(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestCall()
|
/frameworks/libs/binary_translation/jni/ |
D | jni_trampolines.cc | 90 void RunGuestJNIFunction(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestJNIFunction() 99 void RunGuestJNIOnLoad(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestJNIOnLoad()
|
/frameworks/libs/binary_translation/native_activity/ |
D | native_activity_wrapper.cc | 297 void RunGuestNativeActivityOnCreate(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestNativeActivityOnCreate()
|