/external/replicaisland/src/com/replica/replicaisland/ |
H A D | PhysicsComponent.java | 86 if (touchingFloor && currentVelocity.y <= 0.0f && Math.abs(newVelocity.x) > 0.0f 92 float frictionCoeffecient = Math.abs(currentVelocity.x) > 0.0f ? 98 final float maxFriction = Math.abs(gravityVector.y) * getMass() 101 if (maxFriction > Math.abs(newVelocity.x)) { 109 if (Math.abs(newVelocity.x) < 0.01f) { 113 if (Math.abs(newVelocity.y) < 0.01f) {
|
/external/valgrind/main/none/tests/mips32/ |
H A D | FPUarithmetic.stdout.exp | 3 abs.s 0.000000 0.000000 4 abs.s 456.250000 456.250000 5 abs.s 3.000000 3.000000 6 abs.s 1.000000 -1.000000 7 abs.s 1384.500000 1384.500000 8 abs.s 7.250000 -7.250000 9 abs.s 1000000000.000000 1000000000.000000 10 abs.s 5786.500000 -5786.500000 11 abs.s 1752.000000 1752.000000 12 abs [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/ |
H A D | bitmap.py | 50 total += abs(remainder) 53 % abs(remainder)) 54 return abs(float(total) / n1 / n2) 100 r_diff = abs(self.r - expected_color.r) 101 g_diff = abs(self.g - expected_color.g) 102 b_diff = abs(self.b - expected_color.b) 103 a_diff = abs(self.a - expected_color.a) 306 diff[y][offset] = abs(c0.r - c1.r) 307 diff[y][offset+1] = abs(c0.g - c1.g) 308 diff[y][offset+2] = abs(c [all...] |
/external/eigen/test/ |
H A D | cwiseop.cpp | 39 m3 = m1.cwise().abs().cwise().sqrt(); 40 VERIFY_IS_APPROX(m3.cwise().square(), m1.cwise().abs()); 41 VERIFY_IS_APPROX(m1.cwise().square().cwise().sqrt(), m1.cwise().abs()); 42 VERIFY_IS_APPROX(m1.cwise().abs().cwise().log().cwise().exp() , m1.cwise().abs()); 45 m3 = (m1.cwise().abs().cwise()<=RealScalar(0.01)).select(mones,m1); 47 m3 = m1.cwise().abs();
|
/external/eigen/test/eigen2/ |
H A D | eigen2_cwiseop.cpp | 100 m3 = m1.cwise().abs().cwise().sqrt(); 101 VERIFY_IS_APPROX(m3.cwise().square(), m1.cwise().abs()); 102 VERIFY_IS_APPROX(m1.cwise().square().cwise().sqrt(), m1.cwise().abs()); 103 VERIFY_IS_APPROX(m1.cwise().abs().cwise().log().cwise().exp() , m1.cwise().abs()); 106 m3 = (m1.cwise().abs().cwise()<=RealScalar(0.01)).select(mones,m1); 108 m3 = m1.cwise().abs();
|
/external/eigen/Eigen/src/Jacobi/ |
H A D | Jacobi.h | 86 using std::abs; 96 RealScalar tau = (x-z)/(RealScalar(2)*abs(y)); 109 m_s = - sign_t * (numext::conj(y) / abs(y)) * abs(t) * n; 159 using std::abs; 171 m_s = -q/abs(q); 172 if(r) *r = abs(q); 204 p1 = abs(p); 218 using std::abs; 223 if(r) *r = abs( [all...] |
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/ |
H A D | eval.pass.cpp | 74 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001); 128 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001); 147 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001); 168 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001); 189 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001); 210 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001); 231 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001); 252 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001); 273 assert(std::abs((double)u[i]/N - prob[i]) / prob[i] < 0.001);
|
/external/chromium_org/third_party/libwebp/dec/ |
H A D | buffer.c | 45 const int y_stride = abs(buf->y_stride); 46 const int u_stride = abs(buf->u_stride); 47 const int v_stride = abs(buf->v_stride); 48 const int a_stride = abs(buf->a_stride); 69 const int stride = abs(buf->stride);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | brw_vec4_copy_propagation.cpp | 77 if (inst->src[arg].abs) { 179 value.abs != values[i]->abs) { 200 if (inst->src[arg].abs) { 202 value.abs = true;
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/lc3b/ |
H A D | lc3bbc.c | 85 if (!insn->imm.abs) 214 if (!insn->imm.abs) 215 insn->imm.abs = yasm_expr_create_ident(yasm_expr_int(delta), 218 insn->imm.abs = 220 yasm_expr_expr(insn->imm.abs),
|
/external/chromium_org/v8/test/mjsunit/ |
H A D | constant-folding-2.js | 166 assertEquals(1.5, Math.abs(1.5)); 167 assertEquals(1.5, Math.abs(-1.5)); 168 assertEquals("Infinity", String(Math.abs(Infinity))); 169 assertEquals("Infinity", String(Math.abs(-Infinity))); 170 assertEquals("NaN", String(Math.abs(NaN)));
|
/external/eigen/Eigen/src/Geometry/ |
H A D | Hyperplane.h | 138 inline Scalar absDistance(const VectorType& p) const { using std::abs; return abs(signedDistance(p)); } 181 using std::abs; 188 if(abs(coeffs().coeff(1))>abs(coeffs().coeff(0)))
|
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
H A D | LMonestep.h | 23 using std::abs; 78 m_gnorm = (std::max)(m_gnorm, abs( m_rfactor.col(j).head(j+1).dot(m_qtf.head(j+1)/m_fnorm) / m_wa2[m_permutation.indices()[j]])); 156 if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1. && m_delta <= m_xtol * xnorm) 161 if (abs(actred) <= m_ftol && prered <= m_ftol && Scalar(.5) * ratio <= 1.) 178 if (abs(actred) <= NumTraits<Scalar>::epsilon() && prered <= NumTraits<Scalar>::epsilon() && Scalar(.5) * ratio <= 1.)
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_vec4_copy_propagation.cpp | 77 if (inst->src[arg].abs) { 179 value.abs != values[i]->abs) { 200 if (inst->src[arg].abs) { 202 value.abs = true;
|
/external/webp/src/dec/ |
H A D | buffer.c | 45 const int y_stride = abs(buf->y_stride); 46 const int u_stride = abs(buf->u_stride); 47 const int v_stride = abs(buf->v_stride); 48 const int a_stride = abs(buf->a_stride); 69 const int stride = abs(buf->stride);
|
/external/chromium_org/content/browser/devtools/ |
H A D | renderer_overrides_handler_browsertest.cc | 128 EXPECT_TRUE(std::abs(0x12-(int)SkColorGetR(color)) <= 1); 129 EXPECT_TRUE(std::abs(0x34-(int)SkColorGetG(color)) <= 1); 130 EXPECT_TRUE(std::abs(0x56-(int)SkColorGetB(color)) <= 1);
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
H A D | ContentViewReadbackTest.java | 46 int deltaR = Math.abs(Color.red(actual) - Color.red(expected)); 47 int deltaG = Math.abs(Color.green(actual) - Color.green(expected)); 48 int deltaB = Math.abs(Color.blue(actual) - Color.blue(expected));
|
/external/chromium_org/third_party/skia/tools/skpdiff/ |
H A D | SkDifferentPixelsMetric_cpu.cpp | 76 int redDiff = abs(static_cast<int>(SkColorGetR(baselinePixel) - 79 int greenDiff = abs(static_cast<int>(SkColorGetG(baselinePixel) - 82 int blueDiff = abs(static_cast<int>(SkColorGetB(baselinePixel) -
|
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
H A D | min_max_operations.c | 44 absolute = abs((int)vector[i]); 51 // Guard the case for abs(-32768). 62 // of abs(0x80000000), which is 0x80000000. 72 absolute = abs((int)vector[i]); 149 // Use type int for local variables, to accomodate the value of abs(-32768). 158 absolute = abs((int)vector[i]);
|
/external/deqp/framework/common/ |
H A D | tcuTexVerifierUtil.cpp | 66 const float ax = de::abs(x); 67 const float ay = de::abs(y); 68 const float az = de::abs(z);
|
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/ |
H A D | eval_param.pass.cpp | 67 assert(std::abs(f(u[i], p.m(), p.n()) - double(i)/N) < .01); 86 assert(std::abs(f(u[i], p.m(), p.n()) - double(i)/N) < .01); 105 assert(std::abs(f(u[i], p.m(), p.n()) - double(i)/N) < .01);
|
/external/chromium_org/cc/quads/ |
H A D | draw_polygon.cc | 105 if (std::abs(dot) >= 1.0f - coplanar_dot_epsilon) { 171 if (std::abs(start_distance) < distance_threshold && 172 std::abs(end_distance) > distance_threshold) { 183 float total_distance = std::abs(start_distance) + std::abs(end_distance); 184 float lerp_factor = std::abs(start_distance) / total_distance;
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/arm/armv6/ |
H A D | loopfilter_v6.asm | 95 orr r6, r6, r7 ; abs (p3-p2) 96 orr r8, r8, r10 ; abs (p2-p1) 104 orr r6, r6, r7 ; abs (p1-p0) 113 orr r6, r6, r7 ; abs (p1-q1) 115 orr r12, r11, r12 ; abs (p0-q0) 117 uqadd8 r12, r12, r12 ; abs (p0-q0) * 2 118 and r6, r7, r6, lsr #1 ; abs (p1-q1) / 2 120 uqadd8 r12, r12, r6 ; abs (p0-q0)*2 + abs (p1-q1)/2 129 orr r6, r7, r6 ; abs (q [all...] |
H A D | simpleloopfilter_v6.asm | 79 orr r8, r8, r7 ; abs(p1 - q1) 80 orr r10, r10, r11 ; abs(p0 - q0) 81 uqadd8 r10, r10, r10 ; abs(p0 - q0) * 2 82 uhadd8 r8, r8, lr ; abs(p1 - q2) >> 1 83 uqadd8 r10, r10, r8 ; abs(p0 - q0)*2 + abs(p1 - q1)/2 183 orr r7, r7, r8 ; abs(p1 - q1) 184 orr r9, r9, r10 ; abs(p0 - q0) 186 uqadd8 r9, r9, r9 ; abs(p0 - q0) * 2 187 uhadd8 r7, r7, r8 ; abs(p [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
H A D | encodemv.c | 73 if (abs(mv->row >> 1) > max_mv_r) 76 max_mv_r = abs(mv->row >> 1); 79 if ((abs(mv->row) / 2) != max_mv_r) 80 fprintf(f, "MV Row conversion error %6d\n", abs(mv->row) / 2); 85 if (abs(mv->col >> 1) > max_mv_c) 89 max_mv_c = abs(mv->col >> 1);
|