Home
last modified time | relevance | path

Searched refs:GuestArgumentBuffer (Results 1 – 22 of 22) 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()
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/
Dgen_wrapper_riscv64_to_x86_64.cc72 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()
Dcode_gen_lib_riscv64_test.cc127 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/
Dguest_arguments_test.cc30 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/
Degl_trampolines.cc57 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/
Dguest_function_wrapper_impl.h27 struct GuestArgumentBuffer;
40 using GuestRunnerFunc = void (*)(GuestAddr pc, GuestArgumentBuffer* buf);
Druntime_library.h62 struct GuestArgumentBuffer;
64 void RunGuestCall(GuestAddr pc, GuestArgumentBuffer* buf);
/frameworks/libs/binary_translation/guest_abi/arm/include/berberis/guest_abi/
Dguest_call_arch.h51 GuestArgumentBuffer buffer;
62 GuestArgumentBuffer& buffer() { return buffer_memory_.buffer; } in buffer()
Dguest_arguments_arch.h38 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/
Dguest_arguments_arch.h28 struct GuestArgumentBuffer { struct
55 GuestArgumentsAndResult(GuestArgumentBuffer* buffer) : buffer_(buffer) {} in GuestArgumentsAndResult()
165 GuestArgumentBuffer* const buffer_;
176 GuestArgumentsAndResult(GuestArgumentBuffer* buffer) in GuestArgumentsAndResult()
Dguest_call_arch.h52 GuestArgumentBuffer buf_;
/frameworks/libs/binary_translation/guest_abi/riscv64/include/berberis/guest_abi/
Dguest_arguments_arch.h29 struct GuestArgumentBuffer { struct
58 GuestArgumentsAndResult(GuestArgumentBuffer* buffer) : buffer_(buffer) {} in GuestArgumentsAndResult()
171 GuestArgumentBuffer* const buffer_;
185 GuestArgumentsAndResult(GuestArgumentBuffer* buffer) in GuestArgumentsAndResult()
Dguest_call_arch.h47 GuestArgumentBuffer buf_;
/frameworks/libs/binary_translation/guest_abi/include/berberis/guest_abi/
Dguest_arguments.h60 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/
Dguest_arguments_test.cc30 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/
Dguest_thread.h49 struct GuestArgumentBuffer;
50 void RunGuestPthreadKeyDtor(GuestAddr pc, GuestArgumentBuffer* buf);
/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_thread_key.cc28 void RunGuestPthreadKeyDtor(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestPthreadKeyDtor()
/frameworks/libs/native_bridge_support/android_api/libvulkan/proxy/
Dvulkan_trampolines.cc259 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()
Dgen_vulkan.go229 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/
Drun_guest_call_riscv64.cc66 void RunGuestCall(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestCall()
/frameworks/libs/binary_translation/jni/
Djni_trampolines.cc90 void RunGuestJNIFunction(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestJNIFunction()
99 void RunGuestJNIOnLoad(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestJNIOnLoad()
/frameworks/libs/binary_translation/native_activity/
Dnative_activity_wrapper.cc297 void RunGuestNativeActivityOnCreate(GuestAddr pc, GuestArgumentBuffer* buf) { in RunGuestNativeActivityOnCreate()