Searched refs:fabsf (Results 1 - 25 of 58) sorted by relevance

123

/external/clang/test/SemaCXX/
H A Dwarn-absolute-value-header.cpp6 float fabsf(float);
22 (void)fabsf(d);
23 // expected-warning@-1{{absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value}}
34 (void)fabsf(ll);
35 // expected-warning@-1{{using floating point absolute value function 'fabsf' when argument is of integer type}}
42 (void)fabsf(f);
45 (void)fabsf(i);
46 // expected-warning@-1{{using floating point absolute value function 'fabsf' when argument is of integer type}}
H A Dwarn-absolute-value.cpp9 float fabsf(float);
42 (void)fabsf(x);
43 // expected-warning@-1 {{using floating point absolute value function 'fabsf' when argument is of integer type}}
106 (void)fabsf(x);
107 // expected-warning@-1 {{using floating point absolute value function 'fabsf' when argument is of integer type}}
177 (void)fabsf(x);
178 // expected-warning@-1 {{using floating point absolute value function 'fabsf' when argument is of integer type}}
256 (void)fabsf(x);
320 (void)fabsf(x);
321 // expected-warning@-1{{absolute value function 'fabsf' give
[all...]
/external/clang/test/Sema/
H A Dwarn-absolute-value-header.c7 int fabsf(int);
8 // expected-warning@-1{{incompatible redeclaration of library function 'fabsf'}}
9 // expected-note@-2{{'fabsf' is a builtin with type 'float (float)'}}
H A Dwarn-absolute-value.c8 float fabsf(float);
21 (void)fabsf(x);
22 // expected-warning@-1 {{using floating point absolute value function 'fabsf' when argument is of integer type}}
83 (void)fabsf(x);
84 // expected-warning@-1 {{using floating point absolute value function 'fabsf' when argument is of integer type}}
152 (void)fabsf(x);
153 // expected-warning@-1 {{using floating point absolute value function 'fabsf' when argument is of integer type}}
218 // expected-note@-2 {{use function 'fabsf' instead}}
219 // CHECK: fix-it:"{{.*}}":{[[@LINE-3]]:9-[[@LINE-3]]:12}:"fabsf"
222 // expected-note@-2 {{use function 'fabsf' instea
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c340 if (fabsf(dx) >= fabsf(dy)) {
355 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) {
374 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) {
453 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) {
471 if (fabsf(x2diff) + fabsf(y2dif
[all...]
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_offset.c89 float dzdx = fabsf(a * inv_det);
90 float dzdy = fabsf(b * inv_det);
H A Ddraw_pipe_wide_line.c77 const float dx = fabsf(pos0[0] - pos2[0]);
78 const float dy = fabsf(pos0[1] - pos2[1]);
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_state_validate.c163 minx = MAX2(minx, (int)(vp->translate[0] - fabsf(vp->scale[0])));
164 maxx = MIN2(maxx, (int)(vp->translate[0] + fabsf(vp->scale[0])));
165 miny = MAX2(miny, (int)(vp->translate[1] - fabsf(vp->scale[1])));
166 maxy = MIN2(maxy, (int)(vp->translate[1] + fabsf(vp->scale[1])));
193 zmin = nv50->viewport.translate[2] - fabsf(nv50->viewport.scale[2]);
194 zmax = nv50->viewport.translate[2] + fabsf(nv50->viewport.scale[2]);
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_tex_sample.c210 const float u = fabsf(s);
227 const float u = fabsf(s);
244 const float u = fabsf(s);
340 float u = fabsf(s);
356 float u = fabsf(s);
378 float u = fabsf(s);
494 float dsdx = fabsf(s[QUAD_BOTTOM_RIGHT] - s[QUAD_BOTTOM_LEFT]);
495 float dsdy = fabsf(s[QUAD_TOP_LEFT] - s[QUAD_BOTTOM_LEFT]);
509 float dsdx = fabsf(s[QUAD_BOTTOM_RIGHT] - s[QUAD_BOTTOM_LEFT]);
510 float dsdy = fabsf(
[all...]
/external/compiler-rt/lib/builtins/
H A Dint_math.h76 #define crt_fabsf(x) fabsf((x))
/external/mesa3d/src/mesa/program/
H A Dprog_opt_constant_fold.c101 data[0] = fabsf(data[0]);
102 data[1] = fabsf(data[1]);
103 data[2] = fabsf(data[2]);
104 data[3] = fabsf(data[3]);
/external/skia/src/core/
H A DSkBitmapFilter.h91 x = fabsf(x);
160 return SkTMax(0.f, fWidth - fabsf(x));
/external/skia/src/pathops/
H A DSkPathOpsTypes.cpp13 return fabsf(a) <= denormalizedCheck && fabsf(b) <= denormalizedCheck;
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/
H A D__clang_cuda_cmath.h49 __DEVICE__ float abs(float __x) { return ::fabsf(__x); }
59 __DEVICE__ float fabs(float __x) { return ::fabsf(__x); }
/external/skia/include/private/
H A DSkFloatingPoint.h73 #define sk_float_abs(x) fabsf(x)
/external/skia/tests/
H A DFloat16Test.cpp23 return fabsf(a2 - b2) <= kTolerance;
/external/valgrind/none/tests/amd64/
H A Dgen_insn_test.pl166 /* return f1 == f2 || fabsf(f1 - f2) < fabsf(f1) * 1.5 * powf(2,-12); */
167 return f1 == f2 || fabsf(f1 - f2) < fabsf(f1) * 1.5 / 4096.0;
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_state_validate.c236 x = util_iround(MAX2(0.0f, vp->translate[0] - fabsf(vp->scale[0])));
237 y = util_iround(MAX2(0.0f, vp->translate[1] - fabsf(vp->scale[1])));
238 w = util_iround(vp->translate[0] + fabsf(vp->scale[0])) - x;
239 h = util_iround(vp->translate[1] + fabsf(vp->scale[1])) - y;
241 zmin = vp->translate[2] - fabsf(vp->scale[2]);
242 zmax = vp->translate[2] + fabsf(vp->scale[2]);
/external/clang/test/CodeGen/
H A Dlibcall-declarations.c20 float fabsf(float);
266 F(fabsf), F(fabsl), F(fmod), F(fmodf), F(fmodl),
325 // CHECK-NOERRNO: declare float @fabsf(float) [[NUW]]
540 // CHECK-ERRNO: declare float @fabsf(float) [[NUW]]
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
H A Dintelligibility_utils.cc30 float delta = fabsf(target - current);
303 float factor = sqrtf(fabsf(current_[i]));
/external/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.h231 case LibFunc::fabs: case LibFunc::fabsf: case LibFunc::fabsl:
/external/bison/darwin-lib/
H A Dmath.h1000 # undef fabsf
1001 _GL_FUNCDECL_SYS (fabsf, float, (float x));
1003 _GL_CXXALIAS_SYS (fabsf, float, (float x));
1004 _GL_CXXALIASWARN (fabsf);
1006 # undef fabsf macro
1008 _GL_WARN_ON_USE (fabsf, "fabsf is unportable - "
1009 "use gnulib module fabsf for portability");
/external/bison/lib/
H A Dmath.in.h688 # undef fabsf macro
689 _GL_FUNCDECL_SYS (fabsf, float, (float x));
691 _GL_CXXALIAS_SYS (fabsf, float, (float x));
692 _GL_CXXALIASWARN (fabsf); variable
694 # undef fabsf macro
696 _GL_WARN_ON_USE (fabsf, "fabsf is unportable - "
697 "use gnulib module fabsf for portability");
/external/bison/linux-lib/
H A Dmath.h1000 # undef fabsf
1001 _GL_FUNCDECL_SYS (fabsf, float, (float x));
1003 _GL_CXXALIAS_SYS (fabsf, float, (float x));
1004 _GL_CXXALIASWARN (fabsf);
1006 # undef fabsf macro
1008 _GL_WARN_ON_USE (fabsf, "fabsf is unportable - "
1009 "use gnulib module fabsf for portability");
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_state_validate.c263 PUSH_DATAf(push, vp->translate[2] - fabsf(vp->scale[2]));
264 PUSH_DATAf(push, vp->translate[2] + fabsf(vp->scale[2]));

Completed in 1009 milliseconds

123