Home
last modified time | relevance | path

Searched refs:kSize (Results 1 – 19 of 19) sorted by relevance

/frameworks/libs/binary_translation/guest_abi/arm64/include/berberis/guest_abi/
Dguest_abi_arch.h41 constexpr static unsigned kSize = sizeof(IntegerType);
59 constexpr static unsigned kSize = 8;
68 constexpr static unsigned kSize = 8;
77 constexpr static unsigned kSize = 4;
88 constexpr static unsigned kSize = 8;
103 constexpr static unsigned kSize = 8;
Dguest_arguments_arch.h110 const unsigned kSize; in ArgumentsInfoHelper() member
113 .kSize = GuestArgumentInfo<ArgumentType>::kSize, in ArgumentsInfoHelper()
122 conv.GetNextIntArgLoc(kArgInfo.kSize, kArgInfo.kAlignment); in ArgumentsInfoHelper()
125 conv.GetNextFpArgLoc(kArgInfo.kSize, kArgInfo.kAlignment); in ArgumentsInfoHelper()
140 return conv.GetIntResLoc(ResultInfo::kSize); in ResultInfoHelper()
142 return conv.GetFpResLoc(ResultInfo::kSize); in ResultInfoHelper()
Dguest_params_arch.h102 const unsigned kSize; in ParamsInfoHelper() member
105 .kSize = GuestArgumentInfo<ParamType>::kSize, in ParamsInfoHelper()
114 conv.GetNextIntArgLoc(kArgInfo.kSize, kArgInfo.kAlignment); in ParamsInfoHelper()
117 conv.GetNextFpArgLoc(kArgInfo.kSize, kArgInfo.kAlignment); in ParamsInfoHelper()
132 return conv.GetIntResLoc(ReturnInfo::kSize); in ResultInfoHelper()
134 return conv.GetFpResLoc(ReturnInfo::kSize); in ResultInfoHelper()
136 static_assert(GuestArgumentInfo<ReturnType>::kSize == 8); in ResultInfoHelper()
230 calling_conventions_.GetNextIntArgLoc(GuestArgumentInfo<T>::kSize, in GetParam()
237 calling_conventions_.GetNextFpArgLoc(GuestArgumentInfo<T>::kSize, in GetParam()
/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/
Dmachine_ir_builder.h55 template <size_t kSize>
57 if constexpr (kSize == 8) { in GenGetSimd()
59 } else if constexpr (kSize == 16) { in GenGetSimd()
62 static_assert(kDependentValueFalse<kSize>); in GenGetSimd()
66 template <size_t kSize>
68 if constexpr (kSize == 8) { in GenSetSimd()
70 } else if constexpr (kSize == 16) { in GenSetSimd()
73 static_assert(kDependentValueFalse<kSize>); in GenSetSimd()
/frameworks/libs/binary_translation/guest_abi/arm/include/berberis/guest_abi/
Dguest_arguments_arch.h114 const unsigned kSize; in ArgumentsInfoHelper() member
119 .kSize = GuestArgumentInfo<ArgumentType, kCallingConventionsVariant>::kSize, in ArgumentsInfoHelper()
131 GuestArgumentInfo<ResultType*, kCallingConventionsVariant>::kSize, in ArgumentsInfoHelper()
140 conv.GetNextIntArgLoc(kArgInfo.kSize, kArgInfo.kAlignment); in ArgumentsInfoHelper()
143 conv.GetNextFpArgLoc(kArgInfo.kSize, kArgInfo.kAlignment); in ArgumentsInfoHelper()
158 return conv.GetIntResLoc(ResultInfo::kSize); in ResultInfoHelper()
160 return conv.GetFpResLoc(ResultInfo::kSize); in ResultInfoHelper()
164 return conv.GetIntResLoc(ResultInfo::kSize); in ResultInfoHelper()
Dguest_abi_arch.h43 constexpr static unsigned kSize = sizeof(IntegerType);
58 constexpr static unsigned kSize = sizeof(IntegerType);
72 constexpr static unsigned kSize = sizeof(IntegerType);
92 constexpr static unsigned kSize = 4;
103 constexpr static unsigned kSize = 4;
112 constexpr static unsigned kSize = 4;
129 constexpr static unsigned kSize = 8;
Dguest_params_arch.h125 const unsigned kSize; in ParamsInfoHelper() member
129 .kSize = GuestArgumentInfo<ParamType, kCallingConventionsVariant>::kSize, in ParamsInfoHelper()
139 GuestArgumentInfo<ReturnType*, kCallingConventionsVariant>::kSize, in ParamsInfoHelper()
148 conv.GetNextIntArgLoc(kArgInfo.kSize, kArgInfo.kAlignment); in ParamsInfoHelper()
151 conv.GetNextFpArgLoc(kArgInfo.kSize, kArgInfo.kAlignment); in ParamsInfoHelper()
166 return conv.GetIntResLoc(ReturnInfo::kSize); in ReturnInfoHelper()
168 return conv.GetFpResLoc(ReturnInfo::kSize); in ReturnInfoHelper()
172 return conv.GetIntResLoc(GuestArgumentInfo<ReturnType*, kCallingConventionsVariant>::kSize); in ReturnInfoHelper()
269 GuestArgumentInfo<T, GuestAbi::kDefaultAbi>::kSize, in GetParam()
/frameworks/libs/binary_translation/guest_abi/riscv64/include/berberis/guest_abi/
Dguest_arguments_arch.h107 const unsigned kSize; in ArgumentsInfoHelper() member
112 .kSize = GuestArgumentInfo<ArgumentType, kCallingConventionsVariant>::kSize, in ArgumentsInfoHelper()
124 conv.GetNextIntArgLoc(kArgInfo.kSize, kArgInfo.kAlignment); in ArgumentsInfoHelper()
127 conv.GetNextFpArgLoc(kArgInfo.kSize, kArgInfo.kAlignment); in ArgumentsInfoHelper()
141 return conv.GetIntResLoc(ResultInfo::kSize); in ResultInfoHelper()
143 return conv.GetFpResLoc(ResultInfo::kSize); in ResultInfoHelper()
148 return conv.GetNextIntArgLoc(ResultInfo::kSize, ResultInfo::kAlignment); in ResultInfoHelper()
Dguest_params_arch.h108 const unsigned kSize; in ParamsInfoHelper() member
112 .kSize = GuestArgumentInfo<ParamType, kCallingConventionsVariant>::kSize, in ParamsInfoHelper()
124 conv.GetNextIntArgLoc(kArgInfo.kSize, kArgInfo.kAlignment); in ParamsInfoHelper()
127 conv.GetNextFpArgLoc(kArgInfo.kSize, kArgInfo.kAlignment); in ParamsInfoHelper()
146 return conv.GetIntResLoc(ReturnInfo::kSize); in ReturnInfoHelper()
148 return conv.GetFpResLoc(ReturnInfo::kSize); in ReturnInfoHelper()
153 return conv.GetNextIntArgLoc(ReturnInfo::kSize, ReturnInfo::kAlignment); in ReturnInfoHelper()
258 calling_conventions_.GetNextIntArgLoc(ArgumentInfo::kSize, ArgumentInfo::kAlignment)); in GetParam()
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_shared_buffers.h60 kSize = 8, enumerator
61 kIndexMask = kSize - 1,
76 DvrPoseAsync vsync_poses[kSize];
/frameworks/native/include/ftl/
Denum.h194 static constexpr auto kSize = enum_size_v<E>;
197 const R values[kSize] = {F<static_cast<E>(Vs + kBegin)>::value...};
200 constexpr const auto* end() const { return values + kSize; }
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c179 const size_t kSize = sizeof(struct FwdLockFile_DeriveKeys_Data); in FwdLockFile_DeriveKeys() local
180 struct FwdLockFile_DeriveKeys_Data *pData = malloc(kSize); in FwdLockFile_DeriveKeys()
208 memset(pData, 0, kSize); // Zero out key data. in FwdLockFile_DeriveKeys()
/frameworks/native/libs/binder/tests/
DbinderParcelUnitTest.cpp405 constexpr size_t kSize = 1024; in TEST() local
411 int fd = ashmem_create_region("test-getOpenAshmemSize", kSize); in TEST()
415 ASSERT_EQ((kSize * (i + 1)), p.getOpenAshmemSize()); in TEST()
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/
Dsimd_register.h61 #define SIMD_ARRAY_CONSTRUCTOR(Type, member, kSize) \ argument
62 constexpr SIMD128Register(const Type(&elem)[kSize]) : member{} { \
63 for (size_t index = 0; index < kSize; ++index) { \
/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java452 final int kSize = keys.size(); in addKeySetLPw() local
453 for (int i = 0; i < kSize; i++) { in addKeySetLPw()
463 for (int i = 0; i < kSize; i++) { in addKeySetLPw()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c250 const size_t kSize = sizeof(struct FwdLockConv_DeriveKeys_Data); in FwdLockConv_DeriveKeys() local
251 struct FwdLockConv_DeriveKeys_Data *pData = malloc(kSize); in FwdLockConv_DeriveKeys()
274 memset(pData, 0, kSize); // Zero out key data. in FwdLockConv_DeriveKeys()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce.java1377 final int kSize = kPwrOf2 + kDelta; in runCorrectness3D() local
1378 if ((long) iSize * (long) jSize * (long) kSize <= maxSize) in runCorrectness3D()
1379 testSizesList.add(new int[]{iSize, jSize, kSize}); in runCorrectness3D()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce.java1379 final int kSize = kPwrOf2 + kDelta; in runCorrectness3D() local
1380 if ((long) iSize * (long) jSize * (long) kSize <= maxSize) in runCorrectness3D()
1381 testSizesList.add(new int[]{iSize, jSize, kSize}); in runCorrectness3D()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputTest.cpp272 const auto kSize = ui::Size(1, 1); in TEST_F() local
273 EXPECT_CALL(*mRenderSurface, getSize()).WillRepeatedly(ReturnRef(kSize)); in TEST_F()
281 const auto kSize = ui::Size(1, 1); in TEST_F() local
282 EXPECT_CALL(*mRenderSurface, getSize()).WillRepeatedly(ReturnRef(kSize)); in TEST_F()
291 const auto kSize = ui::Size(1, 1); in TEST_F() local
292 EXPECT_CALL(*mRenderSurface, getSize()).WillRepeatedly(ReturnRef(kSize)); in TEST_F()