/external/swiftshader/src/Common/ |
H A D | Half.hpp | 20 class half class in namespace:sw 23 explicit half(float f); 27 half &operator=(half h); 28 half &operator=(float f);
|
H A D | Half.cpp | 19 half::half(float fp32) function in class:sw::half 51 half::operator float() const 88 half &half::operator=(half h) 96 half &half::operator=(float f) 98 *this = half(f);
|
/external/eigen/test/ |
H A D | half_float.cpp | 14 // Make sure it's possible to forward declare Eigen::half 16 struct half; 19 using Eigen::half; 26 VERIFY_IS_EQUAL(half(1.0f).x, 0x3c00); 27 VERIFY_IS_EQUAL(half(0.5f).x, 0x3800); 28 VERIFY_IS_EQUAL(half(0.33333f).x, 0x3555); 29 VERIFY_IS_EQUAL(half(0.0f).x, 0x0000); 30 VERIFY_IS_EQUAL(half(-0.0f).x, 0x8000); 31 VERIFY_IS_EQUAL(half(65504.0f).x, 0x7bff); 32 VERIFY_IS_EQUAL(half(65536. [all...] |
H A D | sparseLM.cpp | 38 int half = n/2; local 39 VectorBlock<const VectorType> u(uv, 0, half); 40 VectorBlock<const VectorType> v(uv, half, half); 44 for (int i = 0; i < half; i++) 65 int half = n/2; local 66 VectorBlock<const VectorType> u(uv, 0, half); 67 VectorBlock<const VectorType> v(uv, half, half); 72 for (int i = 0; i < half; 90 int half = n/2; local [all...] |
H A D | denseLM.cpp | 39 int half = n/2; local 40 VectorBlock<const VectorType> u(uv, 0, half); 41 VectorBlock<const VectorType> v(uv, half, half); 44 for (int i = 0; i < half; i++) 64 int half = n/2; local 65 VectorBlock<const VectorType> u(uv, 0, half); 66 VectorBlock<const VectorType> v(uv, half, half); 70 for (int i = 0; i < half; 85 int half = n/2; local [all...] |
/external/eigen/Eigen/src/Core/arch/CUDA/ |
H A D | Half.h | 29 // type Eigen::half (inheriting from CUDA's __half struct) with 48 struct half; 76 struct half : public half_impl::half_base { struct in namespace:Eigen 81 EIGEN_DEVICE_FUNC half() {} function in struct:Eigen::half 83 EIGEN_DEVICE_FUNC half(const __half& h) : half_impl::half_base(h) {} function in struct:Eigen::half 84 EIGEN_DEVICE_FUNC half(const half& h) : half_impl::half_base(h) {} function in struct:Eigen::half 86 explicit EIGEN_DEVICE_FUNC half(bool b) function in struct:Eigen::half 89 explicit EIGEN_DEVICE_FUNC half(const T& val) function in struct:Eigen::half 91 explicit EIGEN_DEVICE_FUNC half(floa function in struct:Eigen::half [all...] |
H A D | TypeCasting.h | 18 struct scalar_cast_op<float, Eigen::half> { 20 typedef Eigen::half result_type; 21 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::half operator() (const float& a) const { 25 return Eigen::half(a); 31 struct functor_traits<scalar_cast_op<float, Eigen::half> > 36 struct scalar_cast_op<int, Eigen::half> { 38 typedef Eigen::half result_type; 39 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::half operator() (const int& a) const { 43 return Eigen::half(static_cast<float>(a)); 49 struct functor_traits<scalar_cast_op<int, Eigen::half> > [all...] |
H A D | PacketMathHalf.h | 22 template<> struct packet_traits<Eigen::half> : default_packet_traits 25 typedef half2 half; typedef in struct:Eigen::internal::packet_traits 42 template<> struct unpacket_traits<half2> { typedef Eigen::half type; enum {size=2, alignment=Aligned16}; typedef half2 half; }; typedef in struct:Eigen::internal::unpacket_traits 44 template<> __device__ EIGEN_STRONG_INLINE half2 pset1<half2>(const Eigen::half& from) { 48 template<> __device__ EIGEN_STRONG_INLINE half2 pload<half2>(const Eigen::half* from) { 52 template<> __device__ EIGEN_STRONG_INLINE half2 ploadu<half2>(const Eigen::half* from) { 56 template<> EIGEN_STRONG_INLINE half2 ploaddup<half2>(const Eigen::half* from) { 60 template<> __device__ EIGEN_STRONG_INLINE void pstore<Eigen::half>(Eigen::half* t [all...] |
/external/eigen/unsupported/Eigen/src/SpecialFunctions/ |
H A D | SpecialFunctionsHalf.h | 15 template<> EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Eigen::half lgamma(const Eigen::half& a) { 16 return Eigen::half(Eigen::numext::lgamma(static_cast<float>(a))); 18 template<> EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Eigen::half digamma(const Eigen::half& a) { 19 return Eigen::half(Eigen::numext::digamma(static_cast<float>(a))); 21 template<> EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Eigen::half zeta(const Eigen::half& x, const Eigen::half& q) { 22 return Eigen::half(Eige [all...] |
/external/parameter-framework/asio/include/asio/detail/ |
H A D | null_fenced_block.hpp | 24 enum half_or_full_t { half, full }; enumerator in enum:asio::detail::null_fenced_block::half_or_full_t
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
H A D | null_fenced_block.hpp | 24 enum half_or_full_t { half, full }; enumerator in enum:asio::detail::null_fenced_block::half_or_full_t
|
/external/libdivsufsort/lib/ |
H A D | utils.c | 36 saidx_t half, i; local 37 for(i = 0, half = size >> 1; 39 size = half, half >>= 1) { 40 if(A[i + half] < value) { 41 i += half + 1; 42 half -= (size & 1) ^ 1; 263 saidx_t size, lsize, rsize, half; local 275 for(i = j = k = 0, lmatch = rmatch = 0, size = SAsize, half = size >> 1; 277 size = half, hal 332 saidx_t size, lsize, rsize, half; local [all...] |
/external/fdlibm/ |
H A D | e_cosh.c | 38 static const double one = 1.0, half=0.5, huge = 1.0e300; variable 40 static double one = 1.0, half=0.5, huge = 1.0e300; variable 72 return half*t+half/t; 75 /* |x| in [22, ieee_log(maxdouble)] return half*ieee_exp(|x|) */ 76 if (ix < 0x40862E42) return half*__ieee754_exp(ieee_fabs(x)); 82 w = __ieee754_exp(half*ieee_fabs(x)); 83 t = half*w;
|
H A D | k_sin.c | 49 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable 73 else return x-((z*(half*y-v*r)-y)-v*S1);
|
/external/clang/test/CodeGen/ |
H A D | target-builtin-error-3.c | 11 typedef uint16_t half; typedef 12 typedef __attribute__ ((ext_vector_type( 8),__aligned__( 16))) half half8; 13 typedef __attribute__ ((ext_vector_type(16),__aligned__( 32))) half half16; 14 typedef __attribute__ ((ext_vector_type(16),__aligned__( 2))) half half16U;
|
/external/eigen/Eigen/src/Core/ |
H A D | Reverse.h | 143 Index half = cols()/2; local 144 leftCols(half).swap(rightCols(half).reverse()); 148 col(half).head(half2).swap(col(half).tail(half2).reverse()); 153 Index half = rows()/2; local 154 topRows(half).swap(bottomRows(half).reverse()); 158 row(half).head(half2).swap(row(half) 174 Index half = xpr.rows()/2; local 185 Index half = xpr.cols()/2; local [all...] |
/external/webrtc/webrtc/common_audio/ |
H A D | window_generator.cc | 54 const size_t half = (length + 1) / 2; local 57 for (size_t i = 0; i <= half; ++i) { 62 for (size_t i = length - 1; i >= half; --i) { 67 window[half - 1] = sqrtf(window[half - 1] / sum);
|
/external/llvm/test/MC/Sparc/ |
H A D | sparc-directives.s | 12 ! SPARC32: .half 1024 13 ! SPARC64: .half 1024 14 .half 1024
|
/external/llvm/test/MC/ARM/ |
H A D | neon-vcvt-fp16.s | 7 @ CHECK-NOFP16: instruction requires: half-float conversions 10 @ CHECK-NOFP16: instruction requires: half-float conversions 14 @ CHECK-NOFP16: instruction requires: half-float conversions 17 @ CHECK-NOFP16: instruction requires: half-float conversions
|
/external/llvm/test/MC/Hexagon/ |
H A D | relocations.s | 21 .half undefined 22 .half 0 97 .half undefined@got 98 .half 0 106 .half undefined@dtprel 107 .half 0 115 .half undefined@gdgot 116 .half 0 128 .half undefined@iegot 129 .half [all...] |
/external/skia/gm/ |
H A D | SkAnimTimer.h | 120 double half = period / 2.0; local 121 double diff = ::fabs(value - half); 122 return SkDoubleToScalar(ends + (1.0 - diff / half) * (mid - ends));
|
/external/clang/test/SemaCXX/ |
H A D | warn-float-conversion.cpp | 71 const float half = .5; local 72 int a1 = half; // expected-warning{{implicit conversion from 'const float' to 'int' changes non-zero value from 0.5 to 0}}
|
/external/syslinux/gpxe/src/include/gpxe/ |
H A D | filter.h | 26 /** Other half of the data transfer filter */ 31 * Get data transfer interface for the other half of a data transfer filter 34 * @ret other Other half's data transfer interface 38 struct xfer_filter_half *half = local 40 return &half->other->xfer; 58 * @v left "Left" half of the filter 59 * @v left_op Data transfer interface operations for "left" half 60 * @v right "Right" half of the filter 61 * @v right_op Data transfer interface operations for "right" half
|
/external/speex/libspeex/ |
H A D | vq_sse.h | 41 __m128 half; local 44 half = _mm_set_ps1(.5f); 50 __m128 d = _mm_mul_ps(E[i], half); 80 __m128 half; local 83 half = _mm_set_ps1(.5f);
|
/external/skia/src/core/ |
H A D | SkColor.cpp | 124 void SkPM4f::toF16(uint16_t half[4]) const { 126 half[i] = SkFloatToHalf(fVec[i]); 136 SkPM4f SkPM4f::FromF16(const uint16_t half[4]) { argument 138 SkHalfToFloat(half[0]), 139 SkHalfToFloat(half[1]), 140 SkHalfToFloat(half[2]), 141 SkHalfToFloat(half[3])
|