Home
last modified time | relevance | path

Searched refs:GuestArgumentInfo (Results 1 – 9 of 9) sorted by relevance

/frameworks/libs/binary_translation/guest_abi/arm/include/berberis/guest_abi/
Dguest_abi_arch.h34 struct GuestArgumentInfo;
37 struct GuestArgumentInfo<
52 struct GuestArgumentInfo<
67 struct GuestArgumentInfo<
81 struct GuestArgumentInfo<EnumType,
84 : GuestArgumentInfo<std::underlying_type_t<EnumType>, kCallingConventionsVarіant> {
90 struct GuestArgumentInfo<PointeeType*, kCallingConventionsVarіant> {
101 struct GuestArgumentInfo<ResultType (*)(ArgumentType...), kCallingConventionsVarіant> {
110 struct GuestArgumentInfo<float, CallingConventionsVariant::kAapcs> {
121 struct GuestArgumentInfo<float, CallingConventionsVariant::kAapcsVfp>
[all …]
Dguest_arguments_arch.h67 typename GuestArgumentInfo<std::tuple_element_t<index, std::tuple<ArgumentType...>>, in GuestArgument()
76 typename GuestArgumentInfo<std::tuple_element_t<index, std::tuple<ArgumentType...>>, in HostArgument()
83 if constexpr (GuestArgumentInfo<ResultType, kCallingConventionsVariant>::kArgumentClass == in GuestResult()
86 typename GuestArgumentInfo<ResultType, kCallingConventionsVariant>::GuestType**>( in GuestResult()
90 typename GuestArgumentInfo<ResultType, kCallingConventionsVariant>::GuestType*>( in GuestResult()
97 if constexpr (GuestArgumentInfo<ResultType, kCallingConventionsVariant>::kArgumentClass == in HostResult()
100 typename GuestArgumentInfo<ResultType, kCallingConventionsVariant>::HostType**>( in HostResult()
104 typename GuestArgumentInfo<ResultType, kCallingConventionsVariant>::HostType*>( in HostResult()
118 GuestArgumentInfo<ArgumentType, kCallingConventionsVariant>::kArgumentClass, in ArgumentsInfoHelper()
119 .kSize = GuestArgumentInfo<ArgumentType, kCallingConventionsVariant>::kSize, in ArgumentsInfoHelper()
[all …]
Dguest_params_arch.h69 if constexpr (GuestArgumentInfo<Type, kCallingConventionsVariant>::kArgumentClass == in ParamLocationAddress()
72 typename GuestArgumentInfo<Type, kCallingConventionsVariant>::GuestType**>(address); in ParamLocationAddress()
75 typename GuestArgumentInfo<Type, kCallingConventionsVariant>::GuestType*>(address); in ParamLocationAddress()
128 {.kArgumentClass = GuestArgumentInfo<ParamType, kCallingConventionsVariant>::kArgumentClass, in ParamsInfoHelper()
129 .kSize = GuestArgumentInfo<ParamType, kCallingConventionsVariant>::kSize, in ParamsInfoHelper()
130 .kAlignment = GuestArgumentInfo<ParamType, kCallingConventionsVariant>::kAlignment}...}; in ParamsInfoHelper()
136 if constexpr (GuestArgumentInfo<ReturnType, kCallingConventionsVariant>::kArgumentClass == in ParamsInfoHelper()
139 GuestArgumentInfo<ReturnType*, kCallingConventionsVariant>::kSize, in ParamsInfoHelper()
140 GuestArgumentInfo<ReturnType*, kCallingConventionsVariant>::kAlignment); in ParamsInfoHelper()
162 using ReturnInfo = GuestArgumentInfo<ReturnType, kCallingConventionsVariant>; in ReturnInfoHelper()
[all …]
/frameworks/libs/binary_translation/guest_abi/arm64/include/berberis/guest_abi/
Dguest_arguments_arch.h61 using GuestType = typename GuestArgumentInfo<Type>::GuestType; in GuestArgument()
62 if constexpr (GuestArgumentInfo<Type>::kArgumentClass == ArgumentClass::kLargeStructType) { in GuestArgument()
73 using HostType = typename GuestArgumentInfo<Type>::HostType; in HostArgument()
74 if constexpr (GuestArgumentInfo<Type>::kArgumentClass == ArgumentClass::kLargeStructType) { in HostArgument()
83 if constexpr (GuestArgumentInfo<ResultType>::kArgumentClass == in GuestResult()
85 return **reinterpret_cast<typename GuestArgumentInfo<ResultType>::GuestType**>( in GuestResult()
88 return *reinterpret_cast<typename GuestArgumentInfo<ResultType>::GuestType*>( in GuestResult()
95 if constexpr (GuestArgumentInfo<ResultType>::kArgumentClass == in HostResult()
97 return **reinterpret_cast<typename GuestArgumentInfo<ResultType>::HostType**>( in HostResult()
100 return *reinterpret_cast<typename GuestArgumentInfo<ResultType>::HostType*>( in HostResult()
[all …]
Dguest_abi_arch.h36 struct GuestArgumentInfo;
39 struct GuestArgumentInfo<IntegerType, std::enable_if_t<std::is_integral_v<IntegerType>>> {
50 struct GuestArgumentInfo<EnumType, std::enable_if_t<std::is_enum_v<EnumType>>>
51 : GuestArgumentInfo<std::underlying_type_t<EnumType>> {
57 struct GuestArgumentInfo<PointeeType*> {
66 struct GuestArgumentInfo<ResultType (*)(ArgumentType...)> {
75 struct GuestArgumentInfo<float> {
86 struct GuestArgumentInfo<double> {
97 struct GuestArgumentInfo<
Dguest_params_arch.h56 if constexpr (GuestArgumentInfo<Type>::kArgumentClass == ArgumentClass::kLargeStructType) { in ParamLocationAddress()
57 return *reinterpret_cast<typename GuestArgumentInfo<Type>::GuestType**>(address); in ParamLocationAddress()
59 return reinterpret_cast<typename GuestArgumentInfo<Type>::GuestType*>(address); in ParamLocationAddress()
104 } const kArgumentsInfo[] = {{.kArgumentClass = GuestArgumentInfo<ParamType>::kArgumentClass, in ParamsInfoHelper()
105 .kSize = GuestArgumentInfo<ParamType>::kSize, in ParamsInfoHelper()
106 .kAlignment = GuestArgumentInfo<ParamType>::kAlignment}...}; in ParamsInfoHelper()
128 using ReturnInfo = GuestArgumentInfo<ReturnType>; in ResultInfoHelper()
136 static_assert(GuestArgumentInfo<ReturnType>::kSize == 8); in ResultInfoHelper()
137 static_assert(GuestArgumentInfo<ReturnType>::kAlignment == 8); in ResultInfoHelper()
223 typename GuestArgumentInfo<T>::GuestType& GetParam() { in GetParam()
[all …]
/frameworks/libs/binary_translation/guest_abi/riscv64/include/berberis/guest_abi/
Dguest_arguments_arch.h64 using ArgumentInfo = GuestArgumentInfo<Type, kCallingConventionsVariant>; in GuestArgument()
73 using ArgumentInfo = GuestArgumentInfo<Type, kCallingConventionsVariant>; in HostArgument()
80 using ArgumentInfo = GuestArgumentInfo<ResultType, kCallingConventionsVariant>; in GuestResult()
87 using ArgumentInfo = GuestArgumentInfo<ResultType, kCallingConventionsVariant>; in HostResult()
111 GuestArgumentInfo<ArgumentType, kCallingConventionsVariant>::kArgumentClass, in ArgumentsInfoHelper()
112 .kSize = GuestArgumentInfo<ArgumentType, kCallingConventionsVariant>::kSize, in ArgumentsInfoHelper()
113 .kAlignment = GuestArgumentInfo<ArgumentType, kCallingConventionsVariant>::kAlignment}...}; in ArgumentsInfoHelper()
137 using ResultInfo = GuestArgumentInfo<ResultType, kCallingConventionsVariant>; in ResultInfoHelper()
Dguest_params_arch.h43 using ArgumentInfo = GuestArgumentInfo<T, kCallingConventionsVariant>; in ParamLocationAddress()
111 {.kArgumentClass = GuestArgumentInfo<ParamType, kCallingConventionsVariant>::kArgumentClass, in ParamsInfoHelper()
112 .kSize = GuestArgumentInfo<ParamType, kCallingConventionsVariant>::kSize, in ParamsInfoHelper()
113 .kAlignment = GuestArgumentInfo<ParamType, kCallingConventionsVariant>::kAlignment}...}; in ParamsInfoHelper()
142 using ReturnInfo = GuestArgumentInfo<ReturnType, kCallingConventionsVariant>; in ReturnInfoHelper()
247 typename GuestArgumentInfo<T, kCallingConventionsVariant>::GuestType& GetParam() { in GetParam()
248 using ArgumentInfo = GuestArgumentInfo<T, kCallingConventionsVariant>; in GetParam()
/frameworks/libs/native_bridge_support/android_api/libandroid/proxy/
Dlibandroid_trampolines.cc46 struct GuestAbi::GuestArgumentInfo<ANativeActivity*> : GuestAbi::GuestArgumentInfo<void*> { struct in berberis::GuestAbi