/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
SimpleBigDecimal.java | 200 if (bigInt.signum() == -1) 205 if ((floorBigInt.signum() == -1) && (!(fract.equals(ECConstants.ZERO))))
|
ECPoint.java | 141 if (k.signum() < 0) 151 if (k.signum() == 0) 288 if (this.y.toBigInteger().signum() == 0) 548 if (this.x.toBigInteger().signum() == 0)
|
WNafMultiplier.java | 43 while (k.signum() > 0)
|
/external/chromium_org/base/process/ |
launch_posix.cc | 145 for (int signum = 1; ; ++signum) { 147 int sigaction_get_ret = sys_rt_sigaction(signum, NULL, &act); 154 RAW_CHECK(signum == kNumberOfSignals + 1); 164 if (signum != SIGSTOP && signum != SIGKILL) { 167 if (sys_rt_sigaction(signum, &act, NULL)) { 173 if (sys_rt_sigaction(signum, NULL, &act) || act.k_sa_restorer) {
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
UnsignedBytesTest.java | 92 Math.signum(UnsignedBytes.compare(x, y)), 93 Math.signum(Ints.compare(i, j)));
|
UnsignedIntsTest.java | 56 assertEquals(Integer.signum(cmpAsLongs), Integer.signum(cmpAsUInt));
|
/libcore/luni/src/main/java/java/lang/ |
StrictMath.java | 691 * Returns the signum function of the argument. If the argument is less than 698 * <li>{@code signum(+0.0) = +0.0}</li> 699 * <li>{@code signum(-0.0) = -0.0}</li> 700 * <li>{@code signum(+infinity) = +1.0}</li> 701 * <li>{@code signum(-infinity) = -1.0}</li> 702 * <li>{@code signum(NaN) = NaN}</li> 706 * the value whose signum has to be computed. 707 * @return the value of the signum function. 709 public static double signum(double d){ method in class:StrictMath 710 return Math.signum(d) 732 public static float signum(float f){ method in class:StrictMath [all...] |
HexStringParser.java | 206 int expSign = Long.signum(exponent); 207 if (expSign * Long.signum(offset) > 0 && expSign * Long.signum(result) < 0) {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
MathTest.java | [all...] |
/external/compiler-rt/lib/asan/ |
asan_interceptors.cc | 169 INTERCEPTOR(void*, signal, int signum, void *handler) { 170 if (!AsanInterceptsSignal(signum) || flags()->allow_user_segv_handler) { 171 return REAL(signal)(signum, handler); 176 INTERCEPTOR(int, sigaction, int signum, const struct sigaction *act, 178 if (!AsanInterceptsSignal(signum) || flags()->allow_user_segv_handler) { 179 return REAL(sigaction)(signum, act, oldact); 185 DEFINE_REAL(int, sigaction, int signum, const struct sigaction *act,
|
asan_mac.cc | 241 bool AsanInterceptsSignal(int signum) { 242 return (signum == SIGSEGV || signum == SIGBUS) && flags()->handle_segv;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
linuxthreads.cc | 196 static void SignalHandler(int signum, siginfo_t *si, void *data) { 198 if (signum == SIGABRT) { 218 sys__exit(signum == SIGABRT ? 1 : 2);
|
linux_syscall_support.h | [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
linuxthreads.cc | 196 static void SignalHandler(int signum, siginfo_t *si, void *data) { 198 if (signum == SIGABRT) { 218 sys__exit(signum == SIGABRT ? 1 : 2);
|
linux_syscall_support.h | [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stoptheworld_linux_libcdep.cc | 195 void TracerThreadSignalHandler(int signum, siginfo_t *siginfo, void *) { 197 if (signum == SIGABRT) 202 internal__exit((signum == SIGABRT) ? 1 : 2);
|
/external/guava/guava/src/com/google/common/math/ |
LongMath.java | 310 * signum is 1 if p and q are both nonnegative or both negative, and -1 otherwise. 312 int signum = 1 | (int) ((p ^ q) >> (Long.SIZE - 1)); local 325 increment = signum > 0; 328 increment = signum < 0; 346 return increment ? div + signum : div;
|
/external/jpeg/ |
cdjpeg.c | 35 signal_catcher (int signum)
|
/external/qemu/distrib/jpeg-6b/ |
cdjpeg.c | 35 signal_catcher (int signum)
|
/libcore/luni/src/test/java/libcore/java/math/ |
BigDecimalTest.java | 88 assertEquals(0, a.subtract(b).signum());
|
/external/chromium_org/remoting/tools/ |
me2me_virtual_host.py | 428 def sigusr1_handler(signum, frame): 429 _ = signum, frame 614 def sigint_handler(signum, frame): 615 _ = signum, frame 624 def sigalrm_handler(signum, frame): 625 _ = signum, frame 741 def __call__(self, signum, _stackframe): 742 if signum == signal.SIGHUP: [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
macsocketserver.cc | 47 bool MacBaseSocketServer::SetPosixSignalHandler(int signum, 50 if (!PhysicalSocketServer::SetPosixSignalHandler(signum, handler)) {
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
AlbumDataAdapter.java | 139 return (int) Math.signum(typeA - typeB); 156 return (int) Math.signum(b.updated - a.updated);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalCompareTest.java | 33 * max, min, negate, signum 475 * signum() for a positive BigDecimal 481 assertEquals("incorrect value", 1, aNumber.signum()); 485 * signum() for a negative BigDecimal 491 assertEquals("incorrect value", -1, aNumber.signum()); 495 * signum() for zero 501 assertEquals("incorrect value", 0, aNumber.signum());
|
/external/guava/guava/src/com/google/common/primitives/ |
UnsignedInteger.java | 79 checkArgument(value.signum() >= 0 && value.bitLength() <= Integer.SIZE,
|