/external/chromium_org/ui/gfx/ |
H A D | transform.cc | 36 return std::abs(x) <= tolerance; 40 return std::abs(x - SkDoubleToMScalar(1.0)) <= tolerance; 275 if (std::abs(determinant) <= kEpsilon) 349 if (std::abs(matrix_.get(0, 0)) > kEpsilon) { 354 if (std::abs(matrix_.get(0, 1)) > kEpsilon) { 359 if (std::abs(matrix_.get(1, 0)) > kEpsilon) { 364 if (std::abs(matrix_.get(1, 1)) > kEpsilon) {
|
/external/eigen/Eigen/src/LU/ |
H A D | FullPivLU.h | 297 using std::abs; 299 RealScalar premultiplied_threshold = abs(m_maxpivot) * threshold(); 302 result += (abs(m_lu.coeff(i,i)) > premultiplied_threshold); 555 using std::abs; 586 if(abs(dec().matrixLU().coeff(i,i)) > premultiplied_threshold) 641 using std::abs; 655 if(abs(dec().matrixLU().coeff(i,i)) > premultiplied_threshold)
|
/external/eigen/unsupported/Eigen/src/MatrixFunctions/ |
H A D | MatrixPower.h | 110 using std::abs; 120 else if (2*abs(m_A.coeff(i-1,i-1)) < abs(m_A.coeff(i,i)) || 2*abs(m_A.coeff(i,i)) < abs(m_A.coeff(i-1,i-1))) 385 const RealArray absTdiag = m_T.diagonal().array().abs(); 400 RealScalar pp = std::abs(p);
|
/external/llvm/test/MC/AArch64/ |
H A D | neon-simd-misc.s | 195 abs v0.16b, v31.16b 196 abs v2.8h, v4.8h 197 abs v6.4s, v8.4s 198 abs v6.2d, v8.2d 199 abs v1.8b, v9.8b 200 abs v13.4h, v21.4h 201 abs v4.2s, v0.2s 203 // CHECK: abs v0.16b, v31.16b // encoding: [0xe0,0xbb,0x20,0x4e] 204 // CHECK: abs v2.8h, v4.8h // encoding: [0x82,0xb8,0x60,0x4e] 205 // CHECK: abs v [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | DecimalTest.cpp | 126 EXPECT_EQ(encode(0, 0, Positive), encode(0, 0, Positive).abs()); 127 EXPECT_EQ(encode(0, 0, Positive), encode(0, 0, Negative).abs()); 129 EXPECT_EQ(encode(0, 10, Positive), encode(0, 10, Positive).abs()); 130 EXPECT_EQ(encode(0, 10, Positive), encode(0, 10, Negative).abs()); 132 EXPECT_EQ(encode(0, -10, Positive), encode(0, -10, Positive).abs()); 133 EXPECT_EQ(encode(0, -10, Positive), encode(0, -10, Negative).abs()); 135 EXPECT_EQ(encode(1, 0, Positive), encode(1, 0, Positive).abs()); 136 EXPECT_EQ(encode(1, 0, Positive), encode(1, 0, Negative).abs()); 138 EXPECT_EQ(encode(1, 10, Positive), encode(1, 10, Positive).abs()); 139 EXPECT_EQ(encode(1, 10, Positive), encode(1, 10, Negative).abs()); [all...] |
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
H A D | LevenbergMarquardt.h | 209 using std::abs; 255 gnorm = (std::max)(gnorm, abs( fjac.col(j).head(j+1).dot(qtf.head(j+1)/fnorm) / wa2[permutation.indices()[j]])); 332 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1. && delta <= parameters.xtol * xnorm) 334 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1.) 342 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <= 1.) 429 using std::abs; 505 gnorm = (std::max)(gnorm, abs( fjac.col(j).head(j+1).dot(qtf.head(j+1)/fnorm) / wa2[permutation.indices()[j]])); 582 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1. && delta <= parameters.xtol * xnorm) 584 if (abs(actred) <= parameters.ftol && prered <= parameters.ftol && Scalar(.5) * ratio <= 1.) 592 if (abs(actre [all...] |
/external/eigen/unsupported/Eigen/src/SVD/ |
H A D | JacobiSVD.h | 380 z = abs(work_matrix.coeff(p,q)) / work_matrix.coeff(p,q); 383 z = abs(work_matrix.coeff(q,q)) / work_matrix.coeff(q,q); 395 Scalar z = abs(work_matrix.coeff(p,q)) / work_matrix.coeff(p,q); 401 z = abs(work_matrix.coeff(q,q)) / work_matrix.coeff(q,q); 642 using std::abs; 680 RealScalar threshold = (max)(considerAsZero, precision * (max)(abs(m_workMatrix.coeff(p,p)), 681 abs(m_workMatrix.coeff(q,q)))); 682 if((max)(abs(m_workMatrix.coeff(p,q)),abs(m_workMatrix.coeff(q,p))) > threshold) 706 RealScalar a = abs(m_workMatri [all...] |
/external/chromium_org/third_party/libyuv/unit_test/ |
H A D | convert_test.cc | 114 abs(static_cast<int>(dst_y_c[i * kWidth + j]) - \ 125 abs(static_cast<int>(dst_u_c[i * \ 138 abs(static_cast<int>(dst_v_c[i * \ 246 abs(static_cast<int>(dst_y_c[i * kWidth + j]) - \ 257 abs(static_cast<int>(dst_uv_c[i * \ 358 abs(static_cast<int>(dst_y_c[i * kWidth + j]) - \ 369 abs(static_cast<int>(dst_u_c[i * \ 382 abs(static_cast<int>(dst_v_c[i * \ 473 abs(static_cast<int>(dst_argb32_c[i]) - \ 577 abs(static_cas [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
H A D | panel_drag_controller.cc | 74 return abs(bottom_bounds.y() - top_bounds.bottom()); 81 return abs(right_bounds.x() - left_bounds.right()); 616 if (abs(target_position->x() - work_area.x()) < 621 if (abs(work_area.right() - target_position->x() - width) < 627 if (abs(target_position->y() - work_area.y()) < 641 if (abs(work_area.bottom() - target_position->y() - height) <
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
H A D | 3d-raytrace.js | 129 if (Math.abs(normal[0]) > Math.abs(normal[1])) 130 if (Math.abs(normal[0]) > Math.abs(normal[2])) 135 if (Math.abs(normal[1]) > Math.abs(normal[2]))
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
H A D | 3d-raytrace.js | 129 if (Math.abs(normal[0]) > Math.abs(normal[1])) 130 if (Math.abs(normal[0]) > Math.abs(normal[2])) 135 if (Math.abs(normal[1]) > Math.abs(normal[2]))
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
H A D | 3d-raytrace.js | 129 if (Math.abs(normal[0]) > Math.abs(normal[1])) 130 if (Math.abs(normal[0]) > Math.abs(normal[2])) 135 if (Math.abs(normal[1]) > Math.abs(normal[2]))
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
H A D | radeon_program_print.c | 405 const char* abs = inst->RGB.Arg[arg].Abs ? "|" : ""; local 407 fprintf(f, ", %s%ssrc", neg, abs); 416 abs); 440 const char* abs = inst->Alpha.Arg[arg].Abs ? "|" : ""; local 442 fprintf(f, ", %s%ssrc", neg, abs); 448 rc_swizzle_char(GET_SWZ(inst->Alpha.Arg[arg].Swizzle, 0)), abs);
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
H A D | message_test.py | 350 message.repeated_int32.sort(lambda x,y: cmp(abs(x), abs(y))) 410 abs_cmp = lambda a, b: cmp(abs(a), abs(b)) 414 message.repeated_int32.sort(key=abs) 416 message.repeated_int32.sort(key=abs, reverse=True)
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
H A D | bc-data.c | 125 intn = yasm_expr_get_intnum(&dv->data.val.abs, 0); 150 dv->multiple = val.abs; 186 intn = yasm_expr_get_intnum(&dv->data.val.abs, 0); 241 intn = yasm_expr_get_intnum(&dv->data.val.abs, 234); 292 intn = yasm_expr_get_intnum(&dv->data.val.abs, 0); 357 intn = yasm_expr_get_intnum(&dv->data.val.abs, 0);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/ |
H A D | x86expr.c | 631 if (!x86_ea->ea.disp.abs || 632 !yasm_expr__traverse_leaves_in(x86_ea->ea.disp.abs, 696 if (x86_ea->ea.disp.abs) { 699 (&x86_ea->ea.disp.abs, &indexreg, &pcrel, bits, 970 if (x86_ea->ea.disp.abs) { 973 (&x86_ea->ea.disp.abs, (int *)NULL, &pcrel, bits,
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
H A D | touch_handler.js | 578 this.totalMoveX_ += Math.abs(moveX); 579 this.totalMoveY_ += Math.abs(moveY); 764 var absVelocity = Math.abs(velocity);
|
/external/doclava/src/com/google/doclava/apicheck/ |
H A D | ApiFile.java | 120 boolean abs = false; 146 abs = true; 167 pkgpriv, false/*isPrivate*/, stat, iface, abs, true/*isOrdinaryClass*/, 280 boolean abs = false; 306 abs = true; 324 stat, false/*isSynthetic*/, abs/*isAbstract*/, syn, false/*isNative*/,
|
/external/eigen/Eigen/src/Eigenvalues/ |
H A D | SelfAdjointEigenSolver.h | 387 using std::abs; 426 if (internal::isMuchSmallerThan(abs(m_subdiag[i]),(abs(diag[i])+abs(diag[i+1])))) 742 using std::abs; 752 mu -= abs(e);
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ |
H A D | eval.pass.cpp | 88 assert(std::abs(f(u[i], a, m, bk, c) - double(i)/N) < .001); 138 assert(std::abs(f(u[i], a, m, bk, c) - double(i)/N) < .001); 188 assert(std::abs(f(u[i], a, m, bk, c) - double(i)/N) < .001); 238 assert(std::abs(f(u[i], a, m, bk, c) - double(i)/N) < .001); 288 assert(std::abs(f(u[i], a, m, bk, c) - double(i)/N) < .001); 338 assert(std::abs(f(u[i], a, m, bk, c) - double(i)/N) < .001);
|
/external/libhevc/decoder/ |
H A D | ihevcd_mv_pred.c | 117 tx = (16384 + (abs(td) >> 1)) / td; 126 * ((abs(dist_scale_factor * mvx) + 127) >> 8); 128 * ((abs(dist_scale_factor * mvy) + 127) >> 8); 177 tx = (16384 + (abs(td) >> 1)) / td; 186 * ((abs(dist_scale_factor * mvx) + 127) >> 8); 188 * ((abs(dist_scale_factor * mvy) + 127) >> 8);
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_program_print.c | 405 const char* abs = inst->RGB.Arg[arg].Abs ? "|" : ""; local 407 fprintf(f, ", %s%ssrc", neg, abs); 416 abs); 440 const char* abs = inst->Alpha.Arg[arg].Abs ? "|" : ""; local 442 fprintf(f, ", %s%ssrc", neg, abs); 448 rc_swizzle_char(GET_SWZ(inst->Alpha.Arg[arg].Swizzle, 0)), abs);
|
/external/stlport/stlport/stl/ |
H A D | _cmath.h | 20 * declaration. cmath have abs overloads and cstdlib a using directive 340 //We have to tell the compilers that abs, acos ... math functions are not intrinsic 345 # pragma function (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 424 inline double abs(double __x) function 427 _STLP_DEF_MATH_INLINE(abs, fabs) 428 # else // __MVS__ has native long double abs? 429 inline float abs(float __x) { return ::fabsf(__x); } 515 # pragma intrinsic (abs, acos, asin, atan, atan2, cos, cosh, exp, fabs, fmod, log, log10, sin, sinh, sqrt, tan, tanh) 525 * problem we provide all abs overload before the 'using' call. 526 * Beware: This header inclusion has to be after all abs overloa [all...] |
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/ |
H A D | quat.js | 245 out[3] = -Math.sqrt(Math.abs(1.0 - x * x - y * y - z * z)); 290 if (Math.abs(cosHalfTheta) >= 1.0) { 303 if (Math.abs(sinHalfTheta) < 0.001) {
|
/external/chromium_org/content/browser/android/ |
H A D | edge_effect.cc | 169 float abs_delta_distance = std::abs(delta_distance); 171 float distance = std::abs(pull_distance_); 222 velocity = Clamp(std::abs(velocity), kMinVelocity, kMaxVelocity);
|