Searched defs:half (Results 1 - 25 of 76) sorted by relevance

1234

/external/fdlibm/
H A De_cosh.c38 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 Dk_sin.c49 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable
73 else return x-((z*(half*y-v*r)-y)-v*S1);
H A De_rem_pio2.c73 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable
125 n = (int) (t*invpio2+half);
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dtcmalloc_large_unittest.cc125 // Test sizes at half of size_t.
129 const size_t half = (zero - 2) / 2 + 1; local
131 TryAllocMightFail(half - i);
132 TryAllocMightFail(half + i);
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dtcmalloc_large_unittest.cc125 // Test sizes at half of size_t.
129 const size_t half = (zero - 2) / 2 + 1; local
131 TryAllocMightFail(half - i);
132 TryAllocMightFail(half + i);
/external/speex/libspeex/
H A Dvq_sse.h41 __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/eigen/test/
H A DsparseLM.cpp38 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 DdenseLM.cpp39 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/chromium_org/third_party/freetype/src/base/
H A Dfttrigon.c381 FT_Int32 half = (FT_Int32)1L << ( shift - 1 ); local
384 vec->x = ( v.x + half + FT_SIGN_LONG( v.x ) ) >> shift;
385 vec->y = ( v.y + half + FT_SIGN_LONG( v.y ) ) >> shift;
/external/chromium_org/third_party/skia/src/opts/
H A DSkBlurImage_opts_SSE2.cpp45 const __m128i half = _mm_set1_epi32(1 << 23); local
66 result = _mm_add_epi32(result, half);
H A DSkBlurImage_opts_SSE4.cpp52 const __m128i half = _mm_set1_epi32(1 << 23); local
68 result = _mm_add_epi32(result, half);
H A DSkBlurImage_opts_neon.cpp124 const uint32x4_t half = vdupq_n_u32(1 << 23); local
143 // ( half+sumA*scale half+sumR*scale half+sumG*scale half+sumB*scale )
144 uint32x4_t result = vmlaq_u32(half, sum, scale);
/external/deqp/framework/common/
H A DtcuBilinearImageCompare.cpp78 const deUint32 half = 1u<<(NUM_SUBPIXEL_BITS*2 - 1); local
80 const deUint32 rounded = (sum + half) >> (NUM_SUBPIXEL_BITS*2);
H A DtcuFloat.hpp285 deUint64 half = (1ull << (bitDiff - 1)) - 1; local
288 return Float(StorageType(s | (m + half + bias) >> bitDiff));
302 deUint64 half = (1ull << (bitDiff - 1)) - 1; local
305 m = (m + half + bias) >> bitDiff;
/external/eigen/Eigen/src/Core/arch/SSE/
H A DMathFunctions.h27 _EIGEN_DECLARE_CONST_Packet4f(half, 0.5f);
111 _EIGEN_DECLARE_CONST_Packet4f(half, 0.5f);
178 _EIGEN_DECLARE_CONST_Packet2d(half, 0.5);
262 _EIGEN_DECLARE_CONST_Packet4f(half, 0.5f);
363 _EIGEN_DECLARE_CONST_Packet4f(half, 0.5f);
453 Packet4f half = pmul(_x, pset1<Packet4f>(.5f)); local
459 x = pmul(x, psub(pset1<Packet4f>(1.5f), pmul(half, pmul(x,x))));
/external/freetype/src/base/
H A Dfttrigon.c381 FT_Int32 half = (FT_Int32)1L << ( shift - 1 ); local
384 vec->x = ( v.x + half + FT_SIGN_LONG( v.x ) ) >> shift;
385 vec->y = ( v.y + half + FT_SIGN_LONG( v.y ) ) >> shift;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dfttrigon.c381 FT_Int32 half = (FT_Int32)1L << ( shift - 1 ); local
384 vec->x = ( v.x + half + FT_SIGN_LONG( v.x ) ) >> shift;
385 vec->y = ( v.y + half + FT_SIGN_LONG( v.y ) ) >> shift;
/external/skia/src/opts/
H A DSkBlurImage_opts_SSE2.cpp45 const __m128i half = _mm_set1_epi32(1 << 23); local
70 result = _mm_add_epi32(result, half);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_sf_emit.c47 * Determine the vert_result corresponding to the given half of the given
48 * register. half=0 means the first half of a register, half=1 means the
49 * second half.
52 int half)
54 int vue_slot = (reg + c->urb_entry_read_offset) * 2 + half;
51 vert_reg_to_vert_result(struct brw_sf_compile *c, GLuint reg, int half) argument
/external/chromium_org/third_party/openmax_dl/dl/sp/src/arm/arm64/
H A DComplexToRealFixup.S96 #define half v0.2s define
157 fmov half, #0.5
188 fmul dT0,dT0,half[0]
189 fmul dT1,dT1,half[0]
211 fmul dX1r,qT0,half[0]
212 fmul dX1i,qT1,half[0]
222 fmul dX0r,qT2,half[0]
223 fmul dX0i,qT3,half[0]
H A DarmSP_FFTInv_CCSToR_F32_preTwiddleRadix2_s.S114 #define half v13.2s define
118 fmov half, 0.5
143 fmul dY0, dY0, half[0]
144 fmul dY1, dY1, half[0]
204 fmul dT2, dT2, half[0]
205 fmul dT3, dT3, half[0]
207 fmul dT0, dT0, half[0]
208 fmul dT1, dT1, half[0]
/external/chromium_org/third_party/openmax_dl/dl/sp/src/arm/armv7/
H A DarmSP_FFTInv_CCSToR_F32_preTwiddleRadix2_unsafe_s.S97 //@ half = 0.5
98 #define half s15 define
106 @// Initialize half now.
109 vmov.f32 half, N @// half = 0.5
158 vmul.f32 x0r, half
159 vmul.f32 x0i, half
207 vmul.f32 y1r, half
208 vmul.f32 y1i, half
209 vmul.f32 st4, half
[all...]
H A DomxSP_FFTFwd_RToCCS_F32_Sfs_s.S107 #define half s15 define
127 @// Setup half value
130 vmov.f32 half, N
285 vmul.f32 y1r, half
286 vmul.f32 y1i, half
287 vmul.f32 st4, half
288 vmul.f32 st5, half
/external/chromium_org/third_party/openmax_dl/dl/sp/src/arm/neon/
H A DarmSP_FFTInv_CCSToR_F32_preTwiddleRadix2_unsafe_s.S121 #define half D13.F32 define
138 VMOV half, 0.5
164 VMUL dY0, dY0, half[0]
165 VMUL dY1, dY1, half[0]
222 VMUL dT2, dT2, half[0]
223 VMUL dT3, dT3, half[0]
225 VMUL dT0, dT0, half[0]
226 VMUL dT1, dT1, half[0]
/external/chromium_org/third_party/skia/src/utils/
H A DSkCullPoints.cpp207 const SkScalar half = SK_ScalarHalf; local
209 SkRect r = SkRect::MakeXYWH(x - half, y - half, one, one);

Completed in 1202 milliseconds

1234