/external/webkit/Source/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);
|
/cts/tools/vm-tests-tf/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-tf/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/v8/test/mjsunit/ |
math-abs.js | 36 assertEquals(0, Math.abs(0)); 37 assertEquals(0, Math.abs(zero())); 38 assertEquals(1/0, 1/Math.abs(-0)); // 0 == -0, so we use reciprocals. 39 assertEquals(Infinity, Math.abs(Infinity)); 40 assertEquals(Infinity, Math.abs(-Infinity)); 41 assertNaN(Math.abs(NaN)); 42 assertNaN(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/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...] |
/ndk/sources/cxx-stl/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...] |
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/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...] |
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/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...] |
/libcore/luni/src/test/java/libcore/java/math/ |
OldBigDecimalCompareTest.java | 36 assertEquals("incorrect value", "1.238096483923847545735673567457357E+53", aNumber.abs(mc).toString()); 39 assertEquals("incorrect value", "1.238096483923847545735673567457356E+53", aNumber.abs(mc).toString()); 42 assertEquals("incorrect value", "1.238096483923847545735673567457356E+53", aNumber.abs(mc).toString()); 45 assertEquals("incorrect value", "1.238096483923847545735673567457357E+53", aNumber.abs(mc).toString()); 49 aNumber.abs(mc);
|
/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) {
|