/external/valgrind/main/memcheck/tests/ |
badjump2.c | 14 void SIGSEGV_handler(int signum)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerCompareTest.java | 28 * Methods: abs, compareTo, equals, max, min, negate, signum 45 assertEquals("incorrect sign", 1, result.signum()); 62 assertEquals("incorrect sign", 1, result.signum()); 311 assertTrue("incorrect sign", result.signum() == 1); 332 assertTrue("incorrect sign", result.signum() == 1); 353 assertEquals("incorrect sign", 1, result.signum()); 372 assertTrue("incorrect sign", result.signum() == 0); 393 assertEquals("incorrect sign", 1, result.signum()); 414 assertEquals("incorrect sign", 1, result.signum()); 435 assertTrue("incorrect sign", result.signum() == 1) [all...] |
BigIntegerNotTest.java | 48 assertEquals("incorrect sign", 1, result.signum()); 68 assertEquals("incorrect sign", 1, result.signum()); 88 assertEquals("incorrect sign", 1, result.signum()); 108 assertEquals("incorrect sign", -1, result.signum()); 123 assertEquals("incorrect sign", -1, result.signum()); 138 assertEquals("incorrect sign", -1, result.signum()); 155 assertEquals("incorrect sign", -1, result.signum()); 172 assertEquals("incorrect sign", 1, result.signum()); 190 assertEquals("incorrect sign", -1, result.signum());
|
BigIntegerConvertTest.java | 669 assertEquals("incorrect sign", 1, aNumber.signum()); 684 assertEquals("incorrect sign", -1, aNumber.signum()); 699 assertEquals("incorrect sign", 1, aNumber.signum()); 714 assertEquals("incorrect sign", -1, aNumber.signum()); 729 assertEquals("incorrect sign", 1, aNumber.signum()); 745 assertEquals("incorrect sign", 1, aNumber.signum()); 760 assertEquals("incorrect sign", -1, aNumber.signum()); 776 assertEquals("incorrect sign", -1, aNumber.signum()); 790 assertEquals("incorrect sign", 0, aNumber.signum());
|
/external/chromium/third_party/libjingle/source/talk/base/ |
physicalsocketserver.cc | 597 bool IsSignalSet(int signum) const { 598 ASSERT(signum < ARRAY_SIZE(received_signal_)); 599 if (signum < ARRAY_SIZE(received_signal_)) { 600 return received_signal_[signum]; 607 void ClearSignal(int signum) { 608 ASSERT(signum < ARRAY_SIZE(received_signal_)); 609 if (signum < ARRAY_SIZE(received_signal_)) { 610 received_signal_[signum] = false; 623 void OnPosixSignalReceived(int signum) { 624 if (signum >= ARRAY_SIZE(received_signal_)) [all...] |
physicalsocketserver.h | 107 bool SetPosixSignalHandler(int signum, void (*handler)(int)); 115 static bool InstallSignal(int signum, void (*handler)(int));
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
physicalsocketserver.h | 110 virtual bool SetPosixSignalHandler(int signum, void (*handler)(int)); 121 static bool InstallSignal(int signum, void (*handler)(int));
|
physicalsocketserver.cc | 634 bool IsSignalSet(int signum) const { 635 ASSERT(signum < ARRAY_SIZE(received_signal_)); 636 if (signum < ARRAY_SIZE(received_signal_)) { 637 return received_signal_[signum]; 644 void ClearSignal(int signum) { 645 ASSERT(signum < ARRAY_SIZE(received_signal_)); 646 if (signum < ARRAY_SIZE(received_signal_)) { 647 received_signal_[signum] = false; 660 void OnPosixSignalReceived(int signum) { 661 if (signum >= ARRAY_SIZE(received_signal_)) [all...] |
physicalsocketserver_unittest.cc | 179 static void RecordSignal(int signum) { 180 signals_received_.push_back(signum); 195 bool ExpectSignal(int signum) { 200 if (signals_received_[0] != signum) { 202 signals_received_[0] << ", expected " << signum; local
|
/external/guava/guava/src/com/google/common/math/ |
MathPreconditions.java | 47 if (x.signum() <= 0) { 68 if (checkNotNull(x).signum() < 0) {
|
/frameworks/webview/chromium/tools/ |
run_webview_cts.py | 64 def handler(signum, frame): 66 proc.send_signal(signum)
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidMathTest.java | 441 assertTrue(Double.isNaN(Math.signum(Double.NaN))); 442 assertTrue(Double.isNaN(Math.signum(Double.NaN))); 444 .signum(0.0))); 446 .doubleToLongBits(Math.signum(+0.0))); 448 .doubleToLongBits(Math.signum(-0.0))); 450 assertEquals(1.0, Math.signum(253681.2187962), 0D); 451 assertEquals(-1.0, Math.signum(-125874693.56), 0D); 452 assertEquals(1.0, Math.signum(1.2587E-308), 0D); 453 assertEquals(-1.0, Math.signum(-1.2587E-308), 0D); 455 assertEquals(1.0, Math.signum(Double.MAX_VALUE), 0D) [all...] |
OldAndroidStrictMathTest.java | 458 assertTrue(Double.isNaN(StrictMath.signum(Double.NaN))); 460 .doubleToLongBits(StrictMath.signum(0.0))); 462 .doubleToLongBits(StrictMath.signum(+0.0))); 464 .doubleToLongBits(StrictMath.signum(-0.0))); 466 assertEquals(1.0, StrictMath.signum(253681.2187962), 0D); 467 assertEquals(-1.0, StrictMath.signum(-125874693.56), 0D); 468 assertEquals(1.0, StrictMath.signum(1.2587E-308), 0D); 469 assertEquals(-1.0, StrictMath.signum(-1.2587E-308), 0D); 471 assertEquals(1.0, StrictMath.signum(Double.MAX_VALUE), 0D); 472 assertEquals(1.0, StrictMath.signum(Double.MIN_VALUE), 0D) [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
UVProjectionGenerator.java | 143 float sgn1 = Math.signum(triangle.get1().x-cx); 144 float sgn2 = Math.signum(triangle.get2().x-cx); 145 float sgn3 = Math.signum(triangle.get3().x-cx); 147 float ySideFactor = Math.signum(triangle.get1().y-cy)+ 148 Math.signum(triangle.get2().y-cy)+ 149 Math.signum(triangle.get3().y-cy); 204 float sgn1 = Math.signum(triangle.get1().x-cx); 205 float sgn2 = Math.signum(triangle.get2().x-cx); 206 float sgn3 = Math.signum(triangle.get3().x-cx); 208 float ySideFactor = Math.signum(triangle.get1().y-cy) [all...] |
/libcore/luni/src/main/java/java/math/ |
BigInteger.java | 86 private int signum; field in class:BigInteger 261 * @param signum sign of the new {@code BigInteger} (-1 for negative, 0 for 269 public BigInteger(int signum, byte[] magnitude) { 273 if (signum < -1 || signum > 1) { 274 throw new NumberFormatException("Invalid signum: " + signum); 276 if (signum == 0) { 279 throw new NumberFormatException("signum-magnitude mismatch"); 284 bigInt.putBigEndian(magnitude, signum < 0) 446 public int signum() { method in class:BigInteger [all...] |
BigDecimal.java | 811 largerSignum = larger.signum(); 812 if (largerSignum == smaller.signum()) { 1743 public int signum() { method in class:BigDecimal [all...] |
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
signal.c | 175 sigaction (int signum, const struct sigaction *act, struct sigaction *oldact)
|
/external/compiler-rt/lib/tsan/lit_tests/ |
sigsuspend.cc | 10 void do_nothing_signal_handler(int signum) {
|
/external/valgrind/main/memcheck/tests/amd64-linux/ |
int3-amd64.c | 11 static void int_handler(int signum, siginfo_t *si, void *uc_arg)
|
/external/valgrind/main/memcheck/tests/x86-linux/ |
int3-x86.c | 11 static void int_handler(int signum, siginfo_t *si, void *uc_arg)
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
SHA1withDSA_SignatureImpl.java | 98 if (q.signum() != 1 && q.bitLength() != 160) { 101 if (x.signum() != 1 || x.compareTo(q) != -1) { 141 if (q.signum() != 1 || q.bitLength() != 160) { 144 if (y.signum() != 1) { 230 if (r.signum() == 0) { 237 if (s.signum() != 0) { 365 if (r.signum() != 1 || r.compareTo(q) != -1 || s.signum() != 1
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Scroller.java | 382 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && 383 Math.signum(velocityY) == Math.signum(oldVelocityY)) { 504 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && 505 Math.signum(yvel) == Math.signum(mFinalY - mStartY);
|
/libcore/harmony-tests/src/test/java/tests/api/java/math/ |
BigIntegerTest.java | 330 * @tests java.math.BigInteger#signum() 333 assertTrue("Wrong positive signum", two.signum() == 1); 334 assertTrue("Wrong zero signum", zero.signum() == 0); 335 assertTrue("Wrong neg zero signum", zero.negate().signum() == 0); 336 assertTrue("Wrong neg signum", two.negate().signum() == -1); 450 assertTrue("a non-neg", a.signum() >= 0) [all...] |
/frameworks/base/core/java/android/widget/ |
Scroller.java | 446 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && 447 Math.signum(velocityY) == Math.signum(oldVelocityY)) { 468 mDistance = (int) (totalDistance * Math.signum(velocity)); 583 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && 584 Math.signum(yvel) == Math.signum(mFinalY - mStartY);
|
/external/compiler-rt/lib/asan/ |
asan_linux.cc | 102 bool AsanInterceptsSignal(int signum) { 103 return signum == SIGSEGV && flags()->handle_segv;
|