/external/chromium_org/v8/test/webkit/ |
D | dfg-abs-backwards-propagation-expected.txt | 24 Tests that the DFG knows that a function that appears like Math.abs could potentially use value in … 29 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 30 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 31 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 32 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 33 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 34 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 35 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 36 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) 37 PASS foo(Math.abs, [1.5], 0) is Math.abs(1.5) [all …]
|
D | dfg-intrinsic-osr-exit-expected.txt | 29 PASS foo([Math.abs], {f:5}) is 5 30 PASS foo([Math.abs], {f:5.5}) is 5.5 31 PASS foo([Math.abs], {f:5.5}) is 5.5 32 PASS foo([Math.abs], {f:5.5}) is 5.5 33 PASS foo([Math.abs], {f:5.5}) is 5.5 34 PASS foo([Math.abs], {f:5.5}) is 5.5 35 PASS foo([Math.abs], {f:5.5}) is 5.5 36 PASS foo([Math.abs], {f:5.5}) is 5.5 37 PASS foo([Math.abs], {f:5.5}) is 5.5 38 PASS foo([Math.abs], {f:5.5}) is 5.5 [all …]
|
/external/chromium_org/v8/test/mjsunit/ |
D | math-abs.js | 36 assertEquals(0, Math.abs(0)); 37 assertEquals(0, Math.abs(zero())); 38 assertEquals(0, Math.abs(-0)); 39 assertEquals(Infinity, Math.abs(Infinity)); 40 assertEquals(Infinity, Math.abs(-Infinity)); 41 assertEquals(NaN, Math.abs(NaN)); 42 assertEquals(NaN, Math.abs(-NaN)); 43 assertEquals('Infinity', Math.abs(Number('+Infinity')).toString()); 44 assertEquals('Infinity', Math.abs(Number('-Infinity')).toString()); 45 assertEquals('NaN', Math.abs(NaN).toString()); [all …]
|
/external/v8/test/mjsunit/ |
D | math-abs.js | 36 assertEquals(0, Math.abs(0)); 37 assertEquals(0, Math.abs(zero())); 38 assertEquals(0, Math.abs(-0)); 39 assertEquals(Infinity, Math.abs(Infinity)); 40 assertEquals(Infinity, Math.abs(-Infinity)); 41 assertEquals(NaN, Math.abs(NaN)); 42 assertEquals(NaN, Math.abs(-NaN)); 43 assertEquals('Infinity', Math.abs(Number('+Infinity')).toString()); 44 assertEquals('Infinity', Math.abs(Number('-Infinity')).toString()); 45 assertEquals('NaN', Math.abs(NaN).toString()); [all …]
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | tkt2927.test | 52 SELECT a, abs(b) FROM t1 59 SELECT abs(a), b FROM t1 66 SELECT abs(a), abs(b) FROM t1 71 SELECT a, abs(b) FROM t1 78 SELECT a, abs(b) FROM t1 80 SELECT a, abs(b) FROM t1 85 SELECT a, abs(b) FROM t1 87 SELECT abs(a), b FROM t1 92 SELECT a, abs(b) FROM t1 94 SELECT abs(a), abs(b) FROM t1 [all …]
|
/external/valgrind/main/none/tests/mips32/ |
D | FPUarithmetic.stdout.exp-mips32 | 2 abs.s 0.000000 0.000000 3 abs.s 456.248962 456.248962 4 abs.s 3.000000 3.000000 5 abs.s 1.000000 -1.000000 6 abs.s 1384.599976 1384.599976 7 abs.s 7.294568 -7.294568 8 abs.s 1000000000.000000 1000000000.000000 9 abs.s 5786.470215 -5786.470215 10 abs.s 1752.000000 1752.000000 11 abs.s 0.002457 0.002457 [all …]
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/ |
D | riprel2.asm | 3 default abs ; default abs, except for explicit rel 15 mov rax,[abs foo] 16 mov rbx,[abs foo] 17 mov rax,[abs dword foo] 18 mov rax,[abs qword foo] 30 mov rax,[abs es:foo] 31 mov rbx,[abs es:foo] 32 mov rax,[abs dword es:foo] 33 mov rax,[abs qword es:foo] 45 mov rax,[abs fs:foo] [all …]
|
D | ripseg.asm | 4 default abs 12 mov rbx, [abs es:foo] 13 mov rbx, [abs fs:foo] 14 mov rbx, [abs gs:foo] 17 ;mov rbx, [es:abs foo] 18 ;mov rbx, [fs:abs foo] 28 mov rbx, [abs es:foo] 29 mov rbx, [abs fs:foo] 30 mov rbx, [abs gs:foo] 33 ;mov rbx, [es:abs foo] [all …]
|
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
D | NavCalculator.java | 100 distance = (float) Math.abs(dLat / Math.cos(Math.toRadians(trueCourse))); in mercatorSailing() 121 double sgnDLong = 0 - (dLong / Math.abs(dLong)); in planeSailing() 122 if (Math.abs(dLong) > 180 * 60) { in planeSailing() 123 dLong = (360 * 60 - Math.abs(dLong)) * sgnDLong; in planeSailing() 129 redist = Math.abs(dLong); in planeSailing() 131 redist = Math.abs(dLong * (float) Math.cos(p1.getLatitude() * 2 * Math.PI / 360)); in planeSailing() 156 return Math.abs(tc); in convertCourse() 161 return 180 - Math.abs(tc); in convertCourse() 166 return 180 + Math.abs(tc); in convertCourse() 171 return 360 - Math.abs(tc); in convertCourse() [all …]
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
D | value.c | 50 value->abs = e; in yasm_value_initialize() 68 value->abs = NULL; in yasm_value_init_sym() 85 value->abs = orig->abs ? yasm_expr_copy(orig->abs) : NULL; in yasm_value_init_copy() 102 if (value->abs) in yasm_value_delete() 103 yasm_expr_destroy(value->abs); in yasm_value_delete() 104 value->abs = NULL; in yasm_value_delete() 462 if (!value->abs) in yasm_value_finalize() 465 value->abs = yasm_expr__level_tree(value->abs, 1, 1, 0, 0, NULL, NULL); in yasm_value_finalize() 474 if (value->abs->op == YASM_EXPR_AND) { in yasm_value_finalize() 486 for (term=value->abs->numterms-1; term>=0; term--) { in yasm_value_finalize() [all …]
|
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/ir/ |
D | asin.ir | 13 (expression float abs (var_ref x)))) 17 (expression float abs (var_ref x)) 21 (expression float abs (var_ref x)) 25 (expression float abs (var_ref x)) 40 (expression vec2 abs (var_ref x)))) 44 (expression vec2 abs (var_ref x)) 48 (expression vec2 abs (var_ref x)) 52 (expression vec2 abs (var_ref x)) 67 (expression vec3 abs (var_ref x)))) 71 (expression vec3 abs (var_ref x)) [all …]
|
D | abs.ir | 1 ((function abs 5 ((return (expression float abs (var_ref arg0))))) 10 ((return (expression vec2 abs (var_ref arg0))))) 15 ((return (expression vec3 abs (var_ref arg0))))) 20 ((return (expression vec4 abs (var_ref arg0))))) 25 ((return (expression int abs (var_ref arg0))))) 30 ((return (expression ivec2 abs (var_ref arg0))))) 35 ((return (expression ivec3 abs (var_ref arg0))))) 40 ((return (expression ivec4 abs (var_ref arg0)))))
|
D | fwidth.ir | 6 (expression float abs (expression float dFdx (var_ref p))) 7 (expression float abs (expression float dFdy (var_ref p))))))) 13 (expression vec2 abs (expression vec2 dFdx (var_ref p))) 14 (expression vec2 abs (expression vec2 dFdy (var_ref p))))))) 20 (expression vec3 abs (expression vec3 dFdx (var_ref p))) 21 (expression vec3 abs (expression vec3 dFdy (var_ref p))))))) 27 (expression vec4 abs (expression vec4 dFdx (var_ref p))) 28 (expression vec4 abs (expression vec4 dFdy (var_ref p)))))))
|
/external/mesa3d/src/glsl/builtins/ir/ |
D | asin.ir | 13 (expression float abs (var_ref x)))) 17 (expression float abs (var_ref x)) 21 (expression float abs (var_ref x)) 25 (expression float abs (var_ref x)) 40 (expression vec2 abs (var_ref x)))) 44 (expression vec2 abs (var_ref x)) 48 (expression vec2 abs (var_ref x)) 52 (expression vec2 abs (var_ref x)) 67 (expression vec3 abs (var_ref x)))) 71 (expression vec3 abs (var_ref x)) [all …]
|
D | abs.ir | 1 ((function abs 5 ((return (expression float abs (var_ref arg0))))) 10 ((return (expression vec2 abs (var_ref arg0))))) 15 ((return (expression vec3 abs (var_ref arg0))))) 20 ((return (expression vec4 abs (var_ref arg0))))) 25 ((return (expression int abs (var_ref arg0))))) 30 ((return (expression ivec2 abs (var_ref arg0))))) 35 ((return (expression ivec3 abs (var_ref arg0))))) 40 ((return (expression ivec4 abs (var_ref arg0)))))
|
D | fwidth.ir | 6 (expression float abs (expression float dFdx (var_ref p))) 7 (expression float abs (expression float dFdy (var_ref p))))))) 13 (expression vec2 abs (expression vec2 dFdx (var_ref p))) 14 (expression vec2 abs (expression vec2 dFdy (var_ref p))))))) 20 (expression vec3 abs (expression vec3 dFdx (var_ref p))) 21 (expression vec3 abs (expression vec3 dFdy (var_ref p))))))) 27 (expression vec4 abs (expression vec4 dFdx (var_ref p))) 28 (expression vec4 abs (expression vec4 dFdy (var_ref p)))))))
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Eigen3f.java | 148 float max = FastMath.abs(mat.m00); in scaleMatrix() 149 float abs = FastMath.abs(mat.m01); in scaleMatrix() local 151 if (abs > max) { in scaleMatrix() 152 max = abs; in scaleMatrix() 154 abs = FastMath.abs(mat.m02); in scaleMatrix() 155 if (abs > max) { in scaleMatrix() 156 max = abs; in scaleMatrix() 158 abs = FastMath.abs(mat.m11); in scaleMatrix() 159 if (abs > max) { in scaleMatrix() 160 max = abs; in scaleMatrix() [all …]
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
D | mathutil.h | 115 unsigned int abs = fp32i & 0x7FFFFFFF; in float32ToFloat16() local 117 if(abs > 0x47FFEFFF) // Infinity in float32ToFloat16() 121 else if(abs < 0x38800000) // Denormal in float32ToFloat16() 123 unsigned int mantissa = (abs & 0x007FFFFF) | 0x00800000; in float32ToFloat16() 124 int e = 113 - (abs >> 23); in float32ToFloat16() 128 abs = mantissa >> e; in float32ToFloat16() 132 abs = 0; in float32ToFloat16() 135 return sign | (abs + 0x00000FFF + ((abs >> 13) & 1)) >> 13; in float32ToFloat16() 139 return sign | (abs + 0xC8000000 + 0x00000FFF + ((abs >> 13) & 1)) >> 13; in float32ToFloat16()
|
/external/llvm/test/CodeGen/ARM/ |
D | neon_vabs.ll | 8 %abs = select <4 x i1> %b, <4 x i32> %a, <4 x i32> %tmp1neg 9 ret <4 x i32> %abs 17 %abs = select <4 x i1> %b, <4 x i32> %a, <4 x i32> %tmp1neg 18 ret <4 x i32> %abs 26 %abs = select <8 x i1> %b, <8 x i16> %a, <8 x i16> %tmp1neg 27 ret <8 x i16> %abs 35 %abs = select <16 x i1> %b, <16 x i8> %tmp1neg, <16 x i8> %a 36 ret <16 x i8> %abs 44 %abs = select <4 x i1> %b, <4 x i32> %tmp1neg, <4 x i32> %a 45 ret <4 x i32> %abs [all …]
|
/external/chromium_org/ui/events/ozone/evdev/ |
D | touch_event_converter.cc | 54 input_absinfo abs = {}; in Init() local 55 if (ioctl(fd_, EVIOCGABS(ABS_MT_SLOT), &abs) != -1) { in Init() 56 CHECK_GE(abs.maximum, abs.minimum); in Init() 57 CHECK_GE(abs.minimum, 0); in Init() 61 if (ioctl(fd_, EVIOCGABS(ABS_MT_PRESSURE), &abs) != -1) { in Init() 62 pressure_min_ = abs.minimum; in Init() 63 pressure_max_ = abs.maximum; in Init() 68 if (ioctl(fd_, EVIOCGABS(ABS_MT_POSITION_X), &abs) != -1) { in Init() 69 x_min = abs.minimum; in Init() 70 x_max = abs.maximum; in Init() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | viabs.ll | 22 %abs = select <4 x i1> %b, <4 x i32> %a, <4 x i32> %tmp1neg 23 ret <4 x i32> %abs 43 %abs = select <4 x i1> %b, <4 x i32> %a, <4 x i32> %tmp1neg 44 ret <4 x i32> %abs 64 %abs = select <8 x i1> %b, <8 x i16> %a, <8 x i16> %tmp1neg 65 ret <8 x i16> %abs 85 %abs = select <16 x i1> %b, <16 x i8> %tmp1neg, <16 x i8> %a 86 ret <16 x i8> %abs 106 %abs = select <4 x i1> %b, <4 x i32> %tmp1neg, <4 x i32> %a 107 ret <4 x i32> %abs [all …]
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
D | Scaling.h | 44 using std::abs; 95 if ( Dr(it.row()) < abs(it.value()) ) in compute() 96 Dr(it.row()) = abs(it.value()); in compute() 98 if ( Dc(it.col()) < abs(it.value()) ) in compute() 99 Dc(it.col()) = abs(it.value()); in compute() 121 if ( DrRes(it.row()) < abs(it.value()) ) in compute() 122 DrRes(it.row()) = abs(it.value()); in compute() 124 if ( DcRes(it.col()) < abs(it.value()) ) in compute() 125 DcRes(it.col()) = abs(it.value()); in compute() 128 DrRes.array() = (1-DrRes.array()).abs(); in compute() [all …]
|
/external/marisa-trie/lib/marisa/ |
D | bitvector.cc | 176 ranks[rank_id].set_rel1(num_1s - ranks[rank_id].abs()); in build() 180 ranks[rank_id].set_rel2(num_1s - ranks[rank_id].abs()); in build() 184 ranks[rank_id].set_rel3(num_1s - ranks[rank_id].abs()); in build() 188 ranks[rank_id].set_rel4(num_1s - ranks[rank_id].abs()); in build() 192 ranks[rank_id].set_rel5(num_1s - ranks[rank_id].abs()); in build() 196 ranks[rank_id].set_rel6(num_1s - ranks[rank_id].abs()); in build() 200 ranks[rank_id].set_rel7(num_1s - ranks[rank_id].abs()); in build() 221 ranks[rank_id].set_rel1(num_1s - ranks[rank_id].abs()); in build() 224 ranks[rank_id].set_rel2(num_1s - ranks[rank_id].abs()); in build() 227 ranks[rank_id].set_rel3(num_1s - ranks[rank_id].abs()); in build() [all …]
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
D | bitvector.cc | 176 ranks[rank_id].set_rel1(num_1s - ranks[rank_id].abs()); in build() 180 ranks[rank_id].set_rel2(num_1s - ranks[rank_id].abs()); in build() 184 ranks[rank_id].set_rel3(num_1s - ranks[rank_id].abs()); in build() 188 ranks[rank_id].set_rel4(num_1s - ranks[rank_id].abs()); in build() 192 ranks[rank_id].set_rel5(num_1s - ranks[rank_id].abs()); in build() 196 ranks[rank_id].set_rel6(num_1s - ranks[rank_id].abs()); in build() 200 ranks[rank_id].set_rel7(num_1s - ranks[rank_id].abs()); in build() 221 ranks[rank_id].set_rel1(num_1s - ranks[rank_id].abs()); in build() 224 ranks[rank_id].set_rel2(num_1s - ranks[rank_id].abs()); in build() 227 ranks[rank_id].set_rel3(num_1s - ranks[rank_id].abs()); in build() [all …]
|
/external/eigen/test/ |
D | stable_norm.cpp | 76 VERIFY(!isFinite(internal::sqrt(-internal::abs(big)))); in stable_norm() 79 VERIFY(isFinite(internal::sqrt(size)*internal::abs(big))); in stable_norm() 80 …VERIFY_IS_NOT_APPROX(internal::sqrt(copy(vbig.squaredNorm())), internal::abs(internal::sqrt(size… in stable_norm() 81 VERIFY_IS_APPROX(vbig.stableNorm(), internal::sqrt(size)*internal::abs(big)); in stable_norm() 82 VERIFY_IS_APPROX(vbig.blueNorm(), internal::sqrt(size)*internal::abs(big)); in stable_norm() 83 VERIFY_IS_APPROX(vbig.hypotNorm(), internal::sqrt(size)*internal::abs(big)); in stable_norm() 86 VERIFY(isFinite(internal::sqrt(size)*internal::abs(small))); in stable_norm() 87 …VERIFY_IS_NOT_APPROX(internal::sqrt(copy(vsmall.squaredNorm())), internal::abs(internal::sqrt(si… in stable_norm() 88 VERIFY_IS_APPROX(vsmall.stableNorm(), internal::sqrt(size)*internal::abs(small)); in stable_norm() 89 VERIFY_IS_APPROX(vsmall.blueNorm(), internal::sqrt(size)*internal::abs(small)); in stable_norm() [all …]
|