/external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.1.js | 24 ECMA Section: 15.8.2.1 abs( x ) 37 var TITLE = "Math.abs()"; 49 array[item++] = new TestCase( SECTION, "Math.abs.length", 1, Math.abs.length ); 51 array[item++] = new TestCase( SECTION, "Math.abs()", Number.NaN, Math.abs() ); 52 array[item++] = new TestCase( SECTION, "Math.abs( void 0 )", Number.NaN, Math.abs(void 0) ); 53 array[item++] = new TestCase( SECTION, "Math.abs( null )", 0, Math.abs(null) ) [all...] |
/cts/tools/dx-tests/src/dxc/junit/opcodes/invokestatic/jm/ |
T_invokestatic_1.java | 22 return Math.abs(-1234567);
|
T_invokestatic_10.java | 22 return Math.abs(-1234567);
|
T_invokestatic_11.java | 22 return Math.abs(-1234567);
|
T_invokestatic_19.java | 22 return Math.abs(-1234567);
|
T_invokestatic_20.java | 22 return Math.abs(-1234567);
|
T_invokestatic_3.java | 22 return Math.abs(-1234567);
|
T_invokestatic_9.java | 22 return Math.abs(-1234567);
|
/cts/tools/vm-tests/src/dot/junit/opcodes/invoke_static/d/ |
T_invoke_static_1.java | 22 return Math.abs(-1234567);
|
T_invoke_static_19.java | 22 return Math.abs(-1234567);
|
/cts/tools/vm-tests/src/dot/junit/opcodes/invoke_static_range/d/ |
T_invoke_static_range_1.java | 22 return Math.abs(-1234567);
|
T_invoke_static_range_19.java | 22 return Math.abs(-1234567);
|
/external/stlport/stlport/stl/ |
_cstdlib.h | 113 inline int abs(int __x) { return _STLP_VENDOR_CSTD::abs(__x); } function 121 # pragma function (abs) 124 //HP-UX native lib has abs() and div() functions in global namespace 131 inline long abs(long __x) { return _STLP_VENDOR_CSTD::labs(__x); } function 143 # pragma intrinsic (abs) 151 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return _STLP_VENDOR_CSTD::llabs(__x); } function 154 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return ::llabs(__x); } function 158 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return __x < 0 ? -__x : __x; } function 164 * problem we provide all abs overload before the 'using' call [all...] |
/system/core/libpixelflinger/codeflinger/ |
ARMAssemblerInterface.cpp | 107 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, 111 ((W&1)<<21) | (abs(immed12)&0x7FF); 116 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, 120 return (((uint32_t(immed12)>>31)^1)<<23) | (abs(immed12)&0x7FF); 128 reg_imm(abs(Rm), type, shift); 133 return (1<<25) | (((uint32_t(Rm)>>31)^1)<<23) | reg_imm(abs(Rm), type, shift); 139 uint32_t offset = abs(immed8); 141 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100, 151 uint32_t offset = abs(immed8); 153 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100 [all...] |
/dalvik/tests/032-concrete-sub/src/ |
ConcreteSub.java | 23 private static void callBase(AbstractBase abs) { 24 System.out.println("calling abs.doStuff()"); 25 abs.doStuff(); 34 System.out.println("Got expected exception from abs.doStuff().");
|
/external/dropbear/libtommath/ |
bn_mp_rand.c | 32 d = ((mp_digit) abs (rand ())) & MP_MASK; 44 if ((res = mp_add_d (a, ((mp_digit) abs (rand ())), a)) != MP_OKAY) {
|
/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/webkit/JavaScriptCore/wtf/ |
AVLTree.h | 143 Abstractor& abstractor() { return abs; } 155 void purge() { abs.root = null(); } 157 bool is_empty() { return abs.root == null(); } 159 AVLTree() { abs.root = null(); } 178 handle h = tree_->abs.root; 224 handle h = tree_->abs.root; 242 handle h = tree_->abs.root; 261 return depth == 0 ? tree_->abs.root : path_h[depth - 1]; 336 int cmp_k_n(key k, handle h) { return tree_->abs.compare_key_node(k, h); } 337 int cmp_n_n(handle h1, handle h2) { return tree_->abs.compare_node_node(h1, h2); [all...] |
/external/opencore/oscl/oscl/osclproc/src/ |
oscl_semaphore.cpp | 133 static void getAbsTime(struct timespec &abs, uint32 timeout_msec) 153 abs.tv_sec = targ_sec; 154 abs.tv_nsec = targ_usec * 1000; 182 struct timespec abs; local 183 getAbsTime(abs, timeout_msec); 188 res = pthread_cond_timedwait(&ObjCondition, &ObjMutex, &abs);
|
/dalvik/tests/002-sleep/src/ |
Main.java | 14 long offBy = Math.abs(elapsed - millis);
|
/external/webkit/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...] |