Home
last modified time | relevance | path

Searched refs:Int16 (Results 1 – 13 of 13) sorted by relevance

/frameworks/libs/binary_translation/base/
Dbit_util_test.cc159 static_assert(Int16{1} + Int8{1} == Int16{2});
166 static_assert((Int16{1} << Int8{8}) == Int16{256});
167 static_assert((Int8{1} << Int16{8}) == Int8{1});
177 static_assert(MaybeTruncateTo<Int8>(Int16{32767}) == Int8{-1});
178 static_assert(TruncateTo<Int8>(Int16{32767}) == Int8{-1});
180 static_assert(MaybeTruncateTo<Int8>(Int16{-32768}) == Int8{0});
181 static_assert(TruncateTo<Int8>(Int16{-32768}) == Int8{0});
190 static_assert(std::is_same_v<Int16, Int16::SignedType>);
191 static_assert(std::is_same_v<Int16, UInt16::SignedType>);
192 static_assert(std::is_same_v<UInt16, Int16::UnsignedType>);
[all …]
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/
Dvector_intrinsics.h56 if constexpr (sizeof(ElementType) == sizeof(Int16)) { in BitMaskToSimdMask()
104 static_assert(sizeof(ElementType) == sizeof(Int16) || sizeof(ElementType) == sizeof(Int32) || in SimdMaskToBitMask()
107 sizeof(ElementType) == sizeof(Int16) ? constants_pool::kPMovmskwToPMovmskb in SimdMaskToBitMask()
/frameworks/base/core/jni/hwbinder/
DEphemeralStorage.cpp107 DEFINE_ALLOC_VECTOR_METHODS(Int16,jshort,Short) in DEFINE_ALLOC_VECTOR_METHODS()
153 DEFINE_RELEASE_ARRAY_CASE(Int16,jshort,Short)
DEphemeralStorage.h49 DECLARE_ALLOC_METHODS(Int16,jshort)
/frameworks/av/media/module/codecs/mp3dec/src/
Dpv_mp3dec_fxd_op_msc_evc.h71 #define Qfmt15(x) (Int16)(x*((int32)1<<15) + (x>=0?0.5F:-0.5F))
Dpv_mp3dec_fxd_op_c_equivalent.h49 #define Qfmt15(x) (Int16)((x)*((Int32)1<<15) + ((x)>=0?0.5F:-0.5F))
Dpv_mp3dec_fxd_op_arm_gcc.h56 #define Qfmt15(x) (Int16)(x*((int32)1<<15) + (x>=0?0.5F:-0.5F))
/frameworks/libs/binary_translation/intrinsics/riscv64/
Dvector_intrinsics_test.cc75 ASSERT_EQ(BitMaskToSimdMaskForTests<Int16>(mask), BitMaskToSimdMask<Int16>(mask)); in TEST()
76 const auto [simd_mask] = BitMaskToSimdMask<Int16>(mask); in TEST()
77 ASSERT_EQ(SimdMaskToBitMaskForTests<Int16>(simd_mask), SimdMaskToBitMask<Int16>(simd_mask)); in TEST()
104 TestVidv<Int16>(); in TEST()
/frameworks/base/core/jni/
Dandroid_os_HwBlob.cpp317 DEFINE_BLOB_GETTER(Int16,jshort) in DEFINE_BLOB_GETTER()
394 DEFINE_BLOB_ARRAY_COPIER(Int16,jshort,Short) in DEFINE_BLOB_ARRAY_COPIER()
451 DEFINE_BLOB_PUTTER(Int16,jshort) in DEFINE_BLOB_PUTTER()
545 DEFINE_BLOB_ARRAY_PUTTER(Int16,jshort,Short) in DEFINE_BLOB_ARRAY_PUTTER()
Dandroid_os_HwParcel.cpp348 DEFINE_PARCEL_WRITER(Int16,jshort) in DEFINE_PARCEL_WRITER()
355 DEFINE_PARCEL_READER(Int16,jshort) in DEFINE_PARCEL_WRITER()
494 DEFINE_PARCEL_VECTOR_WRITER(Int16,jshort) in DEFINE_PARCEL_VECTOR_WRITER()
792 DEFINE_PARCEL_VECTOR_READER(Int16,jshort,Short) in DEFINE_PARCEL_VECTOR_READER()
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/
Dsimd_register.h315 SIMD_128_SAFEINT_REGISTER_GETTER_SETTER(Int16, int16);
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter_test.cc470 } else if constexpr (sizeof(ElementType) == sizeof(Int16)) { in TestVectorStore()
842 TestVmvXr<Int16, kNFfields>(insn_bytes); in TestVmvXr()
2256 TestVmvsx<Int16>(0x4200e457); // Vmv.s.x v8, x1 in TEST_F()
2263 TestVmvxs<Int16>(0x428020d7, 0xffff'ffff'ffff'8100); // Vmv.x.s x1, v8 in TEST_F()
/frameworks/libs/binary_translation/base/include/berberis/base/
Dbit_util.h747 using Int16 = Wrapping<int16_t>; variable