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

123

/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);
H A Ds_erf.c117 half= 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable
273 r += (x-half);
274 return half - r ;
H A De_lgamma_r.c90 half= 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable
282 r = half*y+p/q;
298 r = (x-half)*(t-one)+w;
/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/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.cpp50 const __m128i half = _mm_set1_epi32(1 << 23); local
75 result = _mm_add_epi32(result, half);
H A DSkBlurImage_opts_neon.cpp44 const uint32x4_t half = vdupq_n_u32(1 << 23); local
56 // ( half+sumA*scale half+sumR*scale half+sumG*scale half+sumB*scale )
57 uint32x4_t result = vmlaq_u32(half, sum, scale);
/external/eigen/Eigen/src/Core/arch/SSE/
H A DMathFunctions.h27 _EIGEN_DECLARE_CONST_Packet4f(half, 0.5f);
107 _EIGEN_DECLARE_CONST_Packet4f(half, 0.5f);
182 _EIGEN_DECLARE_CONST_Packet4f(half, 0.5f);
283 _EIGEN_DECLARE_CONST_Packet4f(half, 0.5f);
370 Packet4f half = pmul(_x, pset1<Packet4f>(.5f)); local
376 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/skia/src/opts/
H A DSkBlurImage_opts_SSE2.cpp50 const __m128i half = _mm_set1_epi32(1 << 23); local
75 result = _mm_add_epi32(result, half);
H A DSkBlurImage_opts_neon.cpp44 const uint32x4_t half = vdupq_n_u32(1 << 23); local
56 // ( half+sumA*scale half+sumR*scale half+sumG*scale half+sumB*scale )
57 uint32x4_t result = vmlaq_u32(half, sum, scale);
/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/skia/src/utils/
H A DSkCullPoints.cpp215 const SkScalar half = SK_ScalarHalf; local
217 SkRect r = SkRect::MakeXYWH(x - half, y - half, one, one);
/external/eigen/Eigen/src/Core/products/
H A DSelfadjointMatrixMatrix.h169 Index half = (std::min)(end_k,j2); local
170 for(Index k=k2; k<half; k++)
176 if(half==j2 && half<k2+rows)
182 half--;
185 for(Index k=half+1; k<k2+rows; k++)
/external/mesa3d/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/qemu/
H A Dcharpipe.c29 * each half of the channel has its own object and buffer, and
70 /* this models each half of the charpipe */
453 CharPipeHalf* half; local
455 half = cp->a;
456 if (half->peer != NULL)
457 charpipehalf_poll(half);
459 half = cp->b;
460 if (half->peer != NULL)
461 charpipehalf_poll(half);
/external/skia/src/utils/
H A DSkCullPoints.cpp215 const SkScalar half = SK_ScalarHalf; local
217 SkRect r = SkRect::MakeXYWH(x - half, y - half, one, one);
/external/chromium_org/third_party/skia/src/effects/
H A DSkBlurImageFilter.cpp76 uint32_t half = 1 << 23; local
91 *dptr = SkPackARGB32((sumA * scale + half) >> 24,
92 (sumR * scale + half) >> 24,
93 (sumG * scale + half) >> 24,
94 (sumB * scale + half) >> 24);
/external/skia/src/effects/
H A DSkBlurImageFilter.cpp76 uint32_t half = 1 << 23; local
91 *dptr = SkPackARGB32((sumA * scale + half) >> 24,
92 (sumR * scale + half) >> 24,
93 (sumG * scale + half) >> 24,
94 (sumB * scale + half) >> 24);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderThemeChromiumWin.cpp593 IntRect half = rect; local
597 half.setHeight(rect.height() / 2);
599 ThemePainter upPainter(info.context, half);
605 half.setY(rect.y() + rect.height() / 2);
607 ThemePainter downPainter(info.context, half);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample_soa.c239 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5); local
247 coord_f = lp_build_sub(coord_bld, coord_f, half);
280 LLVMValueRef half = lp_build_const_vec(bld->gallivm, coord_bld->type, 0.5); local
289 coord = lp_build_sub(coord_bld, coord, half);
319 coord = lp_build_sub(coord_bld, coord, half);
338 coord = lp_build_sub(coord_bld, coord, half);
357 coord = lp_build_sub(coord_bld, coord, half);
372 coord = lp_build_sub(coord_bld, coord, half);
395 coord = lp_build_sub(coord_bld, coord, half);
415 min = half;
[all...]

Completed in 863 milliseconds

123