/cts/tests/tests/os/jni/ |
android_os_cts_TaggedPointer.cpp | 31 static void sigsegv_handler(int signum) {
|
android_os_cts_CpuInstructions.cpp | 25 static void sigill_handler(int signum __attribute__((unused)))
|
/external/qemu/ |
log-rotate-android.c | 35 static void rotate_qemu_logs_handler(int signum) {
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_intercept.h | 139 int ki_sigaction(int signum, 145 sighandler_t ki_signal(int signum, sighandler_t handler); 146 sighandler_t ki_sigset(int signum, sighandler_t handler);
|
kernel_intercept.cc | 457 int ki_sigaction(int signum, 461 return s_state.kp->sigaction(signum, action, oaction); 479 sighandler_t ki_signal(int signum, sighandler_t handler) { 480 return ki_sigset(signum, handler); 483 sighandler_t ki_sigset(int signum, sighandler_t handler) { 491 int rtn = s_state.kp->sigaction(signum, &action, &oaction);
|
/external/compiler-rt/lib/asan/ |
asan_interceptors.cc | 196 INTERCEPTOR(void*, bsd_signal, int signum, void *handler) { 197 if (!AsanInterceptsSignal(signum) || 199 return REAL(bsd_signal)(signum, handler); 204 INTERCEPTOR(void*, signal, int signum, void *handler) { 205 if (!AsanInterceptsSignal(signum) || 207 return REAL(signal)(signum, handler); 213 INTERCEPTOR(int, sigaction, int signum, const struct sigaction *act, 215 if (!AsanInterceptsSignal(signum) || 217 return REAL(sigaction)(signum, act, oldact); 223 int real_sigaction(int signum, const void *act, void *oldact) [all...] |
/libcore/luni/src/main/java/java/math/ |
BigDecimal.java | 811 largerSignum = larger.signum(); 812 if (largerSignum == smaller.signum()) { 1751 public int signum() { method in class:BigDecimal [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StrictMathTest.java | [all...] |
/bionic/libc/bionic/ |
ndk_cruft.cpp | 234 extern "C" sighandler_t bsd_signal(int signum, sighandler_t handler) { 235 return signal(signum, handler); 239 extern sighandler_t _signal(int signum, sighandler_t handler, int flags); 240 extern "C" sighandler_t sysv_signal(int signum, sighandler_t handler) { 241 return _signal(signum, handler, SA_RESETHAND);
|
/external/ltrace/sysdeps/linux-gnu/ |
events.c | 236 event.e_un.signum = WTERMSIG(status); 237 debug(DEBUG_EVENT, "event: EXIT_SIGNAL: pid=%d, signum=%d", pid, event.e_un.signum); 327 event.e_un.signum = stop_signal; 328 debug(DEBUG_EVENT, "event: SIGNAL: pid=%d, signum=%d", pid, stop_signal);
|
/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...] |
Math.java | 709 * Returns the signum function of the argument. If the argument is less than 716 * <li>{@code signum(+0.0) = +0.0}</li> 717 * <li>{@code signum(-0.0) = -0.0}</li> 718 * <li>{@code signum(+infinity) = +1.0}</li> 719 * <li>{@code signum(-infinity) = -1.0}</li> 720 * <li>{@code signum(NaN) = NaN}</li> 724 * the value whose signum has to be computed. 725 * @return the value of the signum function. 727 public static double signum(double d) { method in class:Math 741 * Returns the signum function of the argument. If the argument is less tha 759 public static float signum(float f) { method in class:Math [all...] |
HexStringParser.java | 206 int expSign = Long.signum(exponent); 207 if (expSign * Long.signum(offset) > 0 && expSign * Long.signum(result) < 0) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_signal.py | 54 def handlerA(self, signum, frame): 58 signum, self.format_frame(frame, limit=1)) 60 def handlerB(self, signum, frame): 64 signum, self.format_frame(frame, limit=1)) 65 raise HandlerBCalled(signum, self.format_frame(frame)) 291 self.signum = signal.SIGUSR1 292 oldhandler = signal.signal(self.signum, lambda x,y: None) 293 self.addCleanup(signal.signal, self.signum, oldhandler) 321 os.kill(ppid, self.signum) 365 signal.siginterrupt(self.signum, 1 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_signal.py | 54 def handlerA(self, signum, frame): 58 signum, self.format_frame(frame, limit=1)) 60 def handlerB(self, signum, frame): 64 signum, self.format_frame(frame, limit=1)) 65 raise HandlerBCalled(signum, self.format_frame(frame)) 291 self.signum = signal.SIGUSR1 292 oldhandler = signal.signal(self.signum, lambda x,y: None) 293 self.addCleanup(signal.signal, self.signum, oldhandler) 321 os.kill(ppid, self.signum) 365 signal.siginterrupt(self.signum, 1 [all...] |
/external/ltrace/etc/ |
libc.so.conf | 189 typedef signum = enum(SIGHUP=1, SIGINT=2, SIGQUIT=3, SIGILL=4, SIGTRAP=5, SIGABRT=6, SIGBUS=7, SIGFPE=8, SIGKILL=9, SIGUSR1=10, SIGSEGV=11, SIGUSR2=12, SIGPIPE=13, SIGALRM=14, SIGTERM=15, SIGSTKFLT=16, SIGCHLD=17, SIGCONT=18, SIGSTOP=19, SIGTSTP=20, SIGTTIN=21, SIGTTOU=22, SIGURG=23, SIGXCPU=24, SIGXFSZ=25, SIGVTALRM=26, SIGPROF=27, SIGWINCH=28, SIGIO=29, SIGPWR=30, SIGSYS=31, SIGRTMIN_0=32, SIGRTMIN_1=33, SIGRTMIN_2=34, SIGRTMIN_3=35, SIGRTMIN_4=36, SIGRTMIN_5=37, SIGRTMIN_6=38, SIGRTMIN_7=39, SIGRTMIN_8=40, SIGRTMIN_9=41, SIGRTMIN_10=42, SIGRTMIN_11=43, SIGRTMIN_12=44, SIGRTMIN_13=45, SIGRTMIN_14=46, SIGRTMIN_15=47, SIGRTMIN_16=48, SIGRTMIN_17=49, SIGRTMIN_18=50, SIGRTMIN_19=51, SIGRTMIN_20=52, SIGRTMIN_21=53, SIGRTMIN_22=54, SIGRTMIN_23=55, SIGRTMIN_24=56, SIGRTMIN_25=57, SIGRTMIN_26=58, SIGRTMIN_27=59, SIGRTMIN_28=60, SIGRTMIN_29=61, SIGRTMIN_30=62, SIGRTMIN_31=63); 193 int kill(int, signum); 195 int sigaddset(+sigset_t*, signum); 196 int sigdelset(+sigset_t*, signum); 198 int sigismember(sigset_t*, signum); 199 addr signal(signum,addr); 200 int sigaction(signum, sigaction*, +sigaction*);
|
/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/compiler-rt/lib/sanitizer_common/ |
sanitizer_linux.cc | 536 int internal_sigaction_norestorer(int signum, const void *act, void *oldact) { 559 uptr result = internal_syscall(SYSCALL(rt_sigaction), (uptr)signum, 594 void internal_sigdelset(__sanitizer_sigset_t *set, int signum) { 595 signum -= 1; 596 CHECK_GE(signum, 0); 597 CHECK_LT(signum, sizeof(*set) * 8); 599 const uptr idx = signum / (sizeof(k_set->sig[0]) * 8); 600 const uptr bit = signum % (sizeof(k_set->sig[0]) * 8); 864 bool IsDeadlySignal(int signum) { 865 return (signum == SIGSEGV) && common_flags()->handle_segv [all...] |
/external/deqp/framework/qphelper/ |
qpCrashHandler.c | 429 static const SignalInfo* getSignalInfo (int sigNum) 434 if (s_signals[ndx].signalNum == sigNum) 440 static void signalHandler (int sigNum) 442 const SignalInfo* info = getSignalInfo(sigNum);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
bp_signal_overflow.c | 36 static void sig_handler(int signum __maybe_unused,
|
/frameworks/base/core/java/android/widget/ |
Scroller.java | 435 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && 436 Math.signum(velocityY) == Math.signum(oldVelocityY)) { 457 mDistance = (int) (totalDistance * Math.signum(velocity)); 558 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) && 559 Math.signum(yvel) == Math.signum(mFinalY - mStartY);
|
OverScroller.java | 440 if (Math.signum(velocityX) == Math.signum(oldVelocityX) && 441 Math.signum(velocityY) == Math.signum(oldVelocityY)) { 537 return !isFinished() && Math.signum(xvel) == Math.signum(dx) && 538 Math.signum(yvel) == Math.signum(dy); 768 mSplineDistance = (int) (totalDistance * Math.signum(velocity)); [all...] |
/libcore/luni/src/main/java/java/security/spec/ |
ECFieldFp.java | 45 if (this.p.signum() != 1) {
|
/ndk/tests/device/test-cpufeatures/jni/ |
test_arm_idiv.c | 28 static void my_signal_handler(int signum) {
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
excpt.h | 67 int SigNum;
|