/external/jsilver/src/com/google/clearsilver/jsilver/functions/numeric/ |
AbsFunction.java | 23 import static java.lang.Math.abs; 36 return literalConstant(abs(arg.asNumber()), arg);
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
ScaleAnimationTest.java | 140 assertTrue(Math.abs(trans1X) < Math.abs(trans2X)); 141 assertTrue(Math.abs(trans2X) < Math.abs(trans3X)); 142 assertTrue(Math.abs(trans1Y) < Math.abs(trans2Y)); 143 assertTrue(Math.abs(trans2Y) < Math.abs(trans3Y)); 186 assertTrue(Math.abs(trans1X) < Math.abs(trans2X)) [all...] |
/external/llvm/unittests/Support/ |
TimeValue.cpp | 20 EXPECT_TRUE(abs(static_cast<long>(now_t - now.toEpochTime())) < 2);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/tr1/ |
stdlib.h | 42 using std::tr1::abs;
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/tr1/ |
stdlib.h | 42 using std::tr1::abs;
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/tr1/ |
stdlib.h | 42 using std::tr1::abs;
|
/external/webkit/Source/JavaScriptCore/wtf/ |
AVLTree.h | 144 Abstractor& abstractor() { return abs; } 156 void purge() { abs.root = null(); } 158 bool is_empty() { return abs.root == null(); } 160 AVLTree() { abs.root = null(); } 179 handle h = tree_->abs.root; 225 handle h = tree_->abs.root; 243 handle h = tree_->abs.root; 262 return depth == 0 ? tree_->abs.root : path_h[depth - 1]; 337 int cmp_k_n(key k, handle h) { return tree_->abs.compare_key_node(k, h); } 338 int cmp_n_n(handle h1, handle h2) { return tree_->abs.compare_node_node(h1, h2); [all...] |
/build/core/ |
dumpvar.mk | 22 # make -f config/envsetup.make dumpvar-abs-HOST_OUT_EXECUTABLES 24 # The plain (non-abs) version just dumps the value of the named variable. 25 # The "abs" version will treat the variable as a path, and dumps an 36 # If the goal is of the form "dumpvar-abs-VARNAME", then 38 absolute_dumpvar := $(strip $(filter abs-%,$(dumpvar_goals))) 40 dumpvar_goals := $(patsubst abs-%,%,$(dumpvar_goals)) 42 dumpvar_target := dumpvar-abs-$(dumpvar_goals)
|
/external/llvm/test/FrontendFortran/ |
cpow.f90 | 17 if (abs(c - (-5.0, 12.0)) .gt. del) call abort
|
/external/webkit/Source/WebCore/platform/win/ |
BitmapInfo.h | 53 unsigned width() const { return abs(bmiHeader.biWidth); } 54 unsigned height() const { return abs(bmiHeader.biHeight); }
|
/dalvik/tests/002-sleep/src/ |
Main.java | 14 long offBy = Math.abs(elapsed - millis);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.10-1.js | 95 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 98 return ( sign * Math.floor(Math.abs(n)) ); 104 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 108 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 117 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 120 n = sign * Math.floor( Math.abs(n) ) 133 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) [all...] |
11.10-2.js | 94 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 97 return ( sign * Math.floor(Math.abs(n)) ); 103 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 107 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 116 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 119 n = sign * Math.floor( Math.abs(n) ) 132 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) [all...] |
11.10-3.js | 94 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 97 return ( sign * Math.floor(Math.abs(n)) ); 103 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 107 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 116 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 119 n = sign * Math.floor( Math.abs(n) ) 132 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) [all...] |
11.4.8.js | 86 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 89 return ( sign * Math.floor(Math.abs(n)) ); 95 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 99 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 108 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 111 n = sign * Math.floor( Math.abs(n) ) 124 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) [all...] |
11.7.1.js | 93 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 96 return ( sign * Math.floor(Math.abs(n)) ); 102 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 106 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 115 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 118 n = sign * Math.floor( Math.abs(n) ) 131 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) [all...] |
11.7.2.js | 107 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 110 return ( sign * Math.floor(Math.abs(n)) ); 116 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 120 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 129 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 132 n = sign * Math.floor( Math.abs(n) ) 145 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) [all...] |
11.7.3.js | 98 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) { 101 return ( sign * Math.floor(Math.abs(n)) ); 107 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 111 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32); 120 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) { 123 n = sign * Math.floor( Math.abs(n) ) 136 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) [all...] |
/libcore/luni/src/main/java/java/lang/ |
StrictMath.java | 60 * <li>{@code abs(-0.0) = +0.0}</li> 61 * <li>{@code abs(+infinity) = +infinity}</li> 62 * <li>{@code abs(-infinity) = +infinity}</li> 63 * <li>{@code abs(NaN) = NaN}</li> 70 public static double abs(double d) { method in class:StrictMath 71 return Math.abs(d); 79 * <li>{@code abs(-0.0) = +0.0}</li> 80 * <li>{@code abs(+infinity) = +infinity}</li> 81 * <li>{@code abs(-infinity) = +infinity}</li> 82 * <li>{@code abs(NaN) = NaN}</li 90 public static float abs(float f) { method in class:StrictMath 105 public static int abs(int i) { method in class:StrictMath 120 public static long abs(long l) { method in class:StrictMath [all...] |
/external/dropbear/libtomcrypt/testprof/ |
pkcs_1_test.c | 31 lparamlen = abs(rand()) % 17; 34 saltlen = abs(rand()) % 17; 37 modlen = 800 + (abs(rand()) % 224); 66 buf[0][i1 = abs(rand()) % l3] ^= 1; 70 buf[1][i2 = abs(rand()) % (l1 - 1)] ^= 1;
|
/external/libvpx/vp8/common/ |
loopfilter_filters.c | 31 mask |= (abs(p3 - p2) > limit) * -1; 32 mask |= (abs(p2 - p1) > limit) * -1; 33 mask |= (abs(p1 - p0) > limit) * -1; 34 mask |= (abs(q1 - q0) > limit) * -1; 35 mask |= (abs(q2 - q1) > limit) * -1; 36 mask |= (abs(q3 - q2) > limit) * -1; 37 mask |= (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 > flimit * 2 + limit) * -1; 46 hev |= (abs(p1 - p0) > thresh) * -1; 47 hev |= (abs(q1 - q0) > thresh) * -1 [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.7-3.js | 159 if ( Math.abs(n) == 0 || Math.abs(n) == Infinity ) { 165 return ( sign * Math.floor(Math.abs(n)) );
|
/external/chromium/android/ |
prefix.h | 50 inline size_t abs(size_t x) { return x; } function
|
/external/emma/core/java14/com/vladium/util/ |
IJREVersion.java | 65 StrictMath.abs (1.0);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
IntrinsicTest.java | 53 Math.abs(1); 54 Math.class.getMethod("abs", int.class).invoke(null, 1); 55 Math.abs(1L); 56 Math.class.getMethod("abs", long.class).invoke(null, 1L); 57 Math.abs(1.0f); 58 Math.class.getMethod("abs", float.class).invoke(null, 1.0f); 59 Math.abs(1.0); 60 Math.class.getMethod("abs", double.class).invoke(null, 1.0);
|