/external/clang/test/Sema/ |
H A D | warn-absolute-value-header.c | 4 int abs(int); 12 (void)abs(i); 14 // Remove abs call 15 (void)abs(u); 17 // expected-note@-2{{remove the call to 'abs' since unsigned values cannot be negative}} 23 (void)abs(ll); 24 // expected-warning@-1{{absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value}} 27 (void)abs(f); 28 // expected-warning@-1{{using integer absolute value function 'abs' when argument is of floating point type}} 31 (void)abs( [all...] |
/external/clang/test/SemaCXX/ |
H A D | warn-absolute-value-header.cpp | 5 int abs(int); 10 int abs(int); 11 float abs(float); 16 (void)abs(d); 17 // expected-warning@-1{{using integer absolute value function 'abs' when argument is of floating point type}} 18 // expected-note@-2{{use function 'std::abs' instead}} 19 // expected-note@-3{{include the header <cmath> or explicitly provide a declaration for 'std::abs'}} 20 // CHECK: fix-it:"{{.*}}":{[[@LINE-4]]:9-[[@LINE-4]]:12}:"std::abs" 24 // expected-note@-2{{use function 'std::abs' instead}} 25 // expected-note@-3{{include the header <cmath> or explicitly provide a declaration for 'std::abs'}} [all...] |
H A D | warn-absolute-value.cpp | 5 int abs(int); 21 int abs(int); 22 long int abs(long int); 23 long long int abs(long long int); 26 float abs(float); 27 double abs(double); 28 long double abs(long double); 31 double abs(T); 36 (void)std::abs(x); 38 (void)abs( [all...] |
/external/eigen/doc/snippets/ |
H A D | Cwise_abs.cpp | 2 cout << v.abs() << endl;
|
H A D | MatrixBase_array_const.cpp | 2 cout << "the absolute values:" << endl << v.array().abs() << endl; 3 cout << "the absolute values plus one:" << endl << v.array().abs()+1 << endl;
|
/external/python/cpython3/Doc/includes/ |
H A D | turtle-star.py | 7 if abs(pos()) < 1:
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.alg/ |
H A D | abs.fail.cpp | 16 // constexpr duration<Rep, Period> abs(duration<Rep, Period> d) 26 std::chrono::abs(unsigned_secs(0));
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | cwise_op_gpu_abs.cu.cc | 22 DEFINE_UNARY6(abs, Eigen::half, float, double, int64, complex64, complex128);
|
H A D | cwise_op_abs.cc | 19 REGISTER5(UnaryOp, CPU, "Abs", functor::abs, float, Eigen::half, double, int32, 22 REGISTER2(UnaryOp, CPU, "ComplexAbs", functor::abs, complex64, complex128); 26 REGISTER4(UnaryOp, GPU, "Abs", functor::abs, float, Eigen::half, double, int64); 27 REGISTER2(UnaryOp, GPU, "ComplexAbs", functor::abs, complex64, complex128); 37 UnaryOp<CPUDevice, functor::abs<int32>>); 41 REGISTER3(UnaryOp, SYCL, "Abs", functor::abs, float, double, int64); 47 UnaryOp<CPUDevice, functor::abs<int32>>);
|
/external/swiftshader/src/Common/ |
H A D | Half.cpp | 23 unsigned int abs = fp32i & 0x7FFFFFFF; local 25 if(abs > 0x47FFEFFF) // Infinity 29 else if(abs < 0x38800000) // Denormal 31 unsigned int mantissa = (abs & 0x007FFFFF) | 0x00800000; 32 int e = 113 - (abs >> 23); 36 abs = mantissa >> e; 40 abs = 0; 43 fp16i = sign | (abs + 0x00000FFF + ((abs >> 13) & 1)) >> 13; 47 fp16i = sign | (abs [all...] |
/external/eigen/doc/examples/ |
H A D | Tutorial_ArrayClass_cwise_other.cpp | 13 cout << "a.abs() =" << endl 14 << a.abs() << endl; 15 cout << "a.abs().sqrt() =" << endl 16 << a.abs().sqrt() << endl; 17 cout << "a.min(a.abs().sqrt()) =" << endl 18 << a.min(a.abs().sqrt()) << endl;
|
/external/eigen/test/ |
H A D | numext.cpp | 17 VERIFY_IS_EQUAL(numext::abs(-T(1)), T(1)); 18 VERIFY_IS_EQUAL(numext::abs(T(0)), T(0)); 19 VERIFY_IS_EQUAL(numext::abs(T(1)), T(1)); 28 VERIFY_IS_EQUAL(numext::abs(x), numext::abs(-x)); 29 VERIFY( numext::abs(-x) >= Real(0)); 31 VERIFY( numext::abs(x) >= Real(0)); 32 VERIFY_IS_APPROX( numext::abs2(x), numext::abs2(numext::abs(x)) );
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
H A D | sad_neon.c | 23 uint16x8_t abs = vabdl_u8(vget_low_u8(src_u8), vget_low_u8(ref_u8)); local 24 abs = vabal_u8(abs, vget_high_u8(src_u8), vget_high_u8(ref_u8)); 25 return vget_lane_u32(horizontal_add_uint16x8(abs), 0); 35 uint16x8_t abs = vabdl_u8(vget_low_u8(src_u8), vget_low_u8(avg)); local 36 abs = vabal_u8(abs, vget_high_u8(src_u8), vget_high_u8(avg)); 37 return vget_lane_u32(horizontal_add_uint16x8(abs), 0); 43 uint16x8_t abs = vdupq_n_u16(0); local 49 abs 60 uint16x8_t abs = vdupq_n_u16(0); local 79 uint16x8_t abs = vdupq_n_u16(0); local 95 uint16x8_t abs = vdupq_n_u16(0); local 133 uint16x8_t abs = vdupq_n_u16(0); local 150 uint16x8_t abs = vdupq_n_u16(0); local 189 uint16x8_t abs = vdupq_n_u16(0); local 210 uint16x8_t abs = vdupq_n_u16(0); local [all...] |
/external/vixl/examples/aarch64/ |
H A D | abs.cc | 32 // int64_t abs(int64_t x) 52 Label abs; local 53 masm.Bind(&abs); 60 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&abs)); 61 printf("abs(%" PRId64 ") = %" PRId64 "\n",
|
/external/ltp/testcases/misc/math/ |
H A D | Makefile | 26 FILTER_OUT_DIRS := abs float
|
/external/fec/ |
H A D | peakval_mmx.c | 14 a = abs(*b); 27 a = abs(*b);
|
H A D | peakval_sse.c | 15 a = abs(*b); 28 a = abs(*b);
|
H A D | peakval_sse2.c | 14 a = abs(*b); 27 a = abs(*b);
|
/external/pdfium/xfa/fxfa/parser/ |
H A D | cxfa_timezoneprovider.cpp | 20 m_tz.tzMinute = static_cast<int8_t>((abs(_timezone) % 3600) / 60); 28 static_cast<int8_t>((abs(static_cast<int>(timezone)) % 3600) / 60);
|
/external/toybox/toys/lsb/ |
H A D | umount.c | 138 char *abs = xabspath(*optargs, 0); local 140 for (ml = abs ? mlrev : 0; ml; ml = ml->prev) { 141 if (!strcmp(ml->dir, abs)) break; 142 if (!strcmp(ml->device, abs)) { 143 free(abs); 144 abs = ml->dir; 149 do_umount(abs ? abs : *optargs, ml ? ml->device : 0, flags); 150 if (ml && abs != ml->dir) free(abs); [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/ |
H A D | SimpleRealPointChecker.java | 78 final double difference = FastMath.abs(p[i] - c[i]); 79 final double size = FastMath.max(FastMath.abs(p[i]), FastMath.abs(c[i]));
|
H A D | SimpleScalarValueChecker.java | 77 final double difference = FastMath.abs(p - c); 78 final double size = FastMath.max(FastMath.abs(p), FastMath.abs(c));
|
H A D | SimpleVectorialPointChecker.java | 80 final double difference = FastMath.abs(pi - ci); 81 final double size = FastMath.max(FastMath.abs(pi), FastMath.abs(ci));
|
H A D | SimpleVectorialValueChecker.java | 80 final double difference = FastMath.abs(pi - ci); 81 final double size = FastMath.max(FastMath.abs(pi), FastMath.abs(ci));
|
/external/libcxx/include/ |
H A D | stdlib.h | 67 int abs( int j); 68 long abs( long j); 69 long long abs(long long j); // C++0X 100 #undef abs macro 111 inline _LIBCPP_INLINE_VISIBILITY long abs( long __x) _NOEXCEPT {return labs(__x);} 113 inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT {return llabs(__x);}
|