Home
last modified time | relevance | path

Searched refs:ElementType (Results 1 – 25 of 237) sorted by relevance

12345678910

/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/
Dvector_intrinsics.h44 template <typename ElementType>
47 if constexpr (sizeof(ElementType) == sizeof(Int8)) { in BitMaskToSimdMask()
56 if constexpr (sizeof(ElementType) == sizeof(Int16)) { in BitMaskToSimdMask()
61 } else if constexpr (sizeof(ElementType) == sizeof(Int32)) { in BitMaskToSimdMask()
66 } else if constexpr (sizeof(ElementType) == sizeof(Int64)) { in BitMaskToSimdMask()
72 static_assert(kDependentTypeFalse<ElementType>, "Unsupported vector element type"); in BitMaskToSimdMask()
83 using ElementType = decltype(kElement); in VectorMaskedElementTo() local
84 if constexpr (kElement == ElementType{0}) { in VectorMaskedElementTo()
86 } else if constexpr (kElement == static_cast<ElementType>(~ElementType{0})) { in VectorMaskedElementTo()
97 template <typename ElementType>
[all …]
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/
Dintrinsics_fixed_point_impl.h63 template <typename ElementType, enum PreferredIntrinsicsImplementation>
64 std::tuple<ElementType> Aadd(int8_t vxrm, ElementType unwrapped_x, ElementType unwrapped_y) { in Aadd()
65 using WrappingType = Wrapping<ElementType>; in Aadd()
85 return static_cast<ElementType>(result); in Aadd()
88 template <typename ElementType, enum PreferredIntrinsicsImplementation>
89 std::tuple<ElementType> Asub(int8_t vxrm, ElementType unwrapped_x, ElementType unwrapped_y) { in Asub()
90 using WrappingType = Wrapping<ElementType>; in Asub()
110 return static_cast<ElementType>(result); in Asub()
123 template <typename ElementType, enum PreferredIntrinsicsImplementation>
124 std::tuple<ElementType> Roundoff(int8_t vxrm, ElementType unwrapped_v, ElementType premasked_d) { in Roundoff()
[all …]
/frameworks/libs/binary_translation/intrinsics/riscv64/include/berberis/intrinsics/riscv64/
Dvector_intrinsics.h50 template <typename ElementType>
55 template <typename ElementType>
57 std::conditional_t<sizeof(ElementType) == sizeof(Int8), RawInt16, RawInt8>>
59 if constexpr (sizeof(ElementType) == sizeof(uint8_t)) { in FullMaskForRegister()
61 } else if constexpr (sizeof(ElementType) == sizeof(uint16_t)) { in FullMaskForRegister()
63 } else if constexpr (sizeof(ElementType) == sizeof(uint32_t)) { in FullMaskForRegister()
65 } else if constexpr (sizeof(ElementType) == sizeof(uint64_t)) { in FullMaskForRegister()
68 static_assert(kDependentTypeFalse<ElementType>, "Unsupported vector element type"); in FullMaskForRegister()
72 template <typename ElementType>
79 template <typename ElementType>
[all …]
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter.h470 template <typename ElementType, VectorRegisterGroupMultiplier vlmul>
472 constexpr size_t kElementsCount = sizeof(SIMD128Register) / sizeof(ElementType); in GetVlmax()
610 template <typename ElementType, typename VOpArgs, typename... ExtraArgs>
625 return OpVector<ElementType>( in OpVector()
629 template <typename ElementType, typename VOpArgs, typename... ExtraArgs>
636 return OpVector<ElementType, VectorRegisterGroupMultiplier::k1register>( in OpVector()
639 return OpVector<ElementType, VectorRegisterGroupMultiplier::k2registers>( in OpVector()
642 return OpVector<ElementType, VectorRegisterGroupMultiplier::k4registers>( in OpVector()
645 return OpVector<ElementType, VectorRegisterGroupMultiplier::k8registers>( in OpVector()
648 return OpVector<ElementType, VectorRegisterGroupMultiplier::kEigthOfRegister>( in OpVector()
[all …]
/frameworks/libs/binary_translation/intrinsics/riscv64/
Dvector_intrinsics_test.cc96 template <typename ElementType>
99 ASSERT_EQ(VidvForTests<ElementType>(index), Vidv<ElementType>(index)); in TestVidv()
149 auto Verify = []<typename ElementType>( in TEST()
152 [[gnu::vector_size(16), gnu::may_alias]] ElementType result_to_check) { in TEST()
153 ASSERT_EQ((VectorMasking<Wrapping<ElementType>, TailProcessing::kAgnostic>( in TEST()
157 (VectorMasking<Wrapping<ElementType>, in TEST()
189 auto Verify = []<typename ElementType>( in TEST()
192 [[gnu::vector_size(16), gnu::may_alias]] ElementType result_to_check) { in TEST()
193 ASSERT_EQ((VectorMasking<Wrapping<ElementType>, TailProcessing::kAgnostic>( in TEST()
197 (VectorMasking<Wrapping<ElementType>, in TEST()
[all …]
/frameworks/libs/modules-utils/java/com/android/modules/utils/testing/
DExtendedMockitoRule.java21 import java.lang.annotation.ElementType;
82 @Target({ElementType.METHOD, ElementType.TYPE})
89 @Target({ElementType.METHOD, ElementType.TYPE})
95 @Target({ElementType.METHOD, ElementType.TYPE})
102 @Target({ElementType.METHOD, ElementType.TYPE})
/frameworks/base/tools/processors/immutability/src/android/processor/immutability/
DImmutable.java19 import java.lang.annotation.ElementType;
47 @Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD})
56 @Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD})
/frameworks/libs/modules-utils/java/android/annotation/
DCondemned.java19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PACKAGE;
24 import static java.lang.annotation.ElementType.PARAMETER;
25 import static java.lang.annotation.ElementType.TYPE;
DDeprecatedForSdk.java18 import static java.lang.annotation.ElementType.CONSTRUCTOR;
19 import static java.lang.annotation.ElementType.FIELD;
20 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PACKAGE;
23 import static java.lang.annotation.ElementType.PARAMETER;
24 import static java.lang.annotation.ElementType.TYPE;
DHide.java19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
20 import static java.lang.annotation.ElementType.CONSTRUCTOR;
21 import static java.lang.annotation.ElementType.FIELD;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PACKAGE;
24 import static java.lang.annotation.ElementType.TYPE;
DSuppressAutoDoc.java19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PARAMETER;
24 import static java.lang.annotation.ElementType.TYPE;
DTestApi.java19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
20 import static java.lang.annotation.ElementType.CONSTRUCTOR;
21 import static java.lang.annotation.ElementType.FIELD;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PACKAGE;
24 import static java.lang.annotation.ElementType.TYPE;
DSystemApi.java19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
20 import static java.lang.annotation.ElementType.CONSTRUCTOR;
21 import static java.lang.annotation.ElementType.FIELD;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PACKAGE;
24 import static java.lang.annotation.ElementType.TYPE;
DRequiresNoPermission.java18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PARAMETER;
DDiscouraged.java19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PARAMETER;
23 import static java.lang.annotation.ElementType.TYPE;
DFlaggedApi.java18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.TYPE;
DIntRange.java21 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
22 import static java.lang.annotation.ElementType.FIELD;
23 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
24 import static java.lang.annotation.ElementType.METHOD;
25 import static java.lang.annotation.ElementType.PARAMETER;
DRequiresApi.java18 import static java.lang.annotation.ElementType.CONSTRUCTOR;
19 import static java.lang.annotation.ElementType.FIELD;
20 import static java.lang.annotation.ElementType.METHOD;
21 import static java.lang.annotation.ElementType.PACKAGE;
22 import static java.lang.annotation.ElementType.TYPE;
DDimension.java23 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
24 import static java.lang.annotation.ElementType.FIELD;
25 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
26 import static java.lang.annotation.ElementType.METHOD;
27 import static java.lang.annotation.ElementType.PARAMETER;
/frameworks/base/errorprone/tests/res/android/annotation/
DSuppressLint.java19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PARAMETER;
24 import static java.lang.annotation.ElementType.TYPE;
DRequiresPermission.java19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
20 import static java.lang.annotation.ElementType.CONSTRUCTOR;
21 import static java.lang.annotation.ElementType.FIELD;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PARAMETER;
/frameworks/base/core/java/android/annotation/
DSuppressLint.java18 import static java.lang.annotation.ElementType.CONSTRUCTOR;
19 import static java.lang.annotation.ElementType.FIELD;
20 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PARAMETER;
23 import static java.lang.annotation.ElementType.TYPE;
/frameworks/base/core/java/com/android/internal/util/
DDataClass.java18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PARAMETER;
24 import static java.lang.annotation.ElementType.TYPE;
31 import java.lang.annotation.ElementType;
38 @Target(ElementType.TYPE)
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiAnnotations.java19 import java.lang.annotation.ElementType;
34 @Target({ElementType.METHOD, ElementType.FIELD})
44 @Target({ElementType.METHOD, ElementType.FIELD})
/frameworks/libs/modules-utils/java/com/android/internal/annotations/
DKeep.java19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
20 import static java.lang.annotation.ElementType.CONSTRUCTOR;
21 import static java.lang.annotation.ElementType.FIELD;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.TYPE;

12345678910