Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/guest_abi/arm64/
Dguest_arguments_test.cc69 EXPECT_EQ(1, f1_args.GuestArgument<0>()); in TEST()
70 EXPECT_EQ(1.0, f1_args.GuestArgument<1>()); in TEST()
71 EXPECT_EQ(2, f1_args.GuestArgument<2>()); in TEST()
72 EXPECT_EQ(1.0 / 2.0, f1_args.GuestArgument<3>()); in TEST()
73 EXPECT_EQ(3, f1_args.GuestArgument<4>()); in TEST()
74 EXPECT_EQ(1.0 / 3.0, f1_args.GuestArgument<5>()); in TEST()
75 EXPECT_EQ(4, f1_args.GuestArgument<6>()); in TEST()
76 EXPECT_EQ(1.0 / 4.0, f1_args.GuestArgument<7>()); in TEST()
77 EXPECT_EQ(5, f1_args.GuestArgument<8>()); in TEST()
78 EXPECT_EQ(1.0 / 5.0, f1_args.GuestArgument<9>()); in TEST()
[all …]
/frameworks/libs/binary_translation/guest_abi/riscv64/
Dguest_arguments_test.cc52 EXPECT_EQ(0x00000000, f1_args.GuestArgument<0>()); in TEST()
53 EXPECT_EQ(1.0, f1_args.GuestArgument<1>()); in TEST()
54 EXPECT_EQ(0x00000000, f1_args.GuestArgument<2>()); in TEST()
55 EXPECT_EQ(1.0 / 3.0, f1_args.GuestArgument<3>()); in TEST()
56 EXPECT_EQ(0x00000000, f1_args.GuestArgument<4>()); in TEST()
57 EXPECT_EQ(1.0 / 5.0, f1_args.GuestArgument<5>()); in TEST()
58 EXPECT_EQ(0x55555555, f1_args.GuestArgument<6>()); in TEST()
59 EXPECT_EQ(1.0 / 12.0, f1_args.GuestArgument<7>()); in TEST()
60 EXPECT_EQ(0x00000000, f1_args.GuestArgument<8>()); in TEST()
61 EXPECT_EQ(1.0 / 9.0, f1_args.GuestArgument<9>()); in TEST()
[all …]
Dguest_abi_test.cc29 auto& param = *reinterpret_cast<GuestAbi::GuestArgument<int8_t>*>(&value); in TEST()
46 auto& param = *reinterpret_cast<GuestAbi::GuestArgument<uint8_t>*>(&value); in TEST()
63 auto& param = *reinterpret_cast<GuestAbi::GuestArgument<uint32_t>*>(&value); in TEST()
86 auto& param = *reinterpret_cast<GuestAbi::GuestArgument<Enum>*>(&value); in TEST()
100 auto& param = *reinterpret_cast<GuestAbi::GuestArgument<float, GuestAbi::kLp64>*>(&value); in TEST()
111 auto& param = *reinterpret_cast<GuestAbi::GuestArgument<double, GuestAbi::kLp64>*>(&value); in TEST()
122 auto& param = *reinterpret_cast<GuestAbi::GuestArgument<float, GuestAbi::kLp64d>*>(&value); in TEST()
133 auto& param = *reinterpret_cast<GuestAbi::GuestArgument<double, GuestAbi::kLp64d>*>(&value); in TEST()
/frameworks/libs/binary_translation/guest_abi/riscv64/include/berberis/guest_abi/
Dguest_abi_arch.h38 class GuestArgument; variable
41 class alignas(sizeof(uint64_t)) GuestArgument<IntegerType,
46 GuestArgument(const IntegerType& value) : value_(Box(value)) {} in GuestArgument() function
47 GuestArgument(IntegerType&& value) : value_(Box(value)) {} in GuestArgument() function
48 GuestArgument() = default;
49 GuestArgument(const GuestArgument&) = default;
50 GuestArgument(GuestArgument&&) = default;
51 GuestArgument& operator=(const GuestArgument&) = default;
52 GuestArgument& operator=(GuestArgument&&) = default;
53 ~GuestArgument() = default;
[all …]
Dguest_arguments_arch.h61 auto& GuestArgument() const { in GuestArgument() function
/frameworks/libs/binary_translation/guest_abi/arm/
Dguest_arguments_test.cc44 EXPECT_EQ(0x55555555, f1_args.GuestArgument<0>()); in TEST()
45 EXPECT_EQ(1.0 / 5.0, f1_args.GuestArgument<1>()); in TEST()
46 EXPECT_EQ(-0x6db6db6e, f1_args.GuestArgument<2>()); in TEST()
47 EXPECT_EQ(1 / 11.0, f1_args.GuestArgument<3>()); in TEST()
51 EXPECT_EQ(1.0 / 3.0, f2_args.GuestArgument<0>()); in TEST()
52 EXPECT_EQ(-0x66666666, f2_args.GuestArgument<1>()); in TEST()
53 EXPECT_EQ(1.0 / 7.0, f2_args.GuestArgument<2>()); in TEST()
54 EXPECT_EQ(0x745d1746, f2_args.GuestArgument<3>()); in TEST()
75 EXPECT_EQ(0x55555555, f1_args.GuestArgument<0>()); in TEST()
76 EXPECT_DEATH(f1_args.GuestArgument<1>(), in TEST()
[all …]
/frameworks/libs/binary_translation/guest_abi/arm64/include/berberis/guest_abi/
Dguest_arguments_arch.h58 auto& GuestArgument() const { in GuestArgument() function
/frameworks/libs/binary_translation/guest_abi/arm/include/berberis/guest_abi/
Dguest_arguments_arch.h64 auto& GuestArgument() const { in GuestArgument() function
/frameworks/libs/binary_translation/guest_abi/include/berberis/guest_abi/
Dguest_arguments.h67 return this->template GuestArgument<index>(); in get()