/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/ |
signal.h | 60 static __inline__ int sigismember(sigset_t *set, int signum) 63 signum--; 64 return (int)((local_set[signum/LONG_BIT] >> (signum%LONG_BIT)) & 1); 68 static __inline__ int sigaddset(sigset_t *set, int signum) 71 signum--; 72 local_set[signum/LONG_BIT] |= 1UL << (signum%LONG_BIT); 77 static __inline__ int sigdelset(sigset_t *set, int signum) 80 signum-- [all...] |
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/ |
signal.h | 60 static __inline__ int sigismember(sigset_t *set, int signum) 63 signum--; 64 return (int)((local_set[signum/LONG_BIT] >> (signum%LONG_BIT)) & 1); 68 static __inline__ int sigaddset(sigset_t *set, int signum) 71 signum--; 72 local_set[signum/LONG_BIT] |= 1UL << (signum%LONG_BIT); 77 static __inline__ int sigdelset(sigset_t *set, int signum) 80 signum-- [all...] |
/external/chromium_org/content/plugin/ |
plugin_main_linux.cc | 21 void SignalHandler(int signum, siginfo_t* info, void* void_context) { 30 if (signum != SIGILL || instruction != kLAHFInstruction) { 37 sigaction(signum, &sa, NULL); 42 sigaddset(&block_set, signum); 46 syscall(SYS_tkill, syscall(SYS_gettid), signum);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
LongTest.java | 36 assertEquals(0, Long.signum(0)); 37 assertEquals(1, Long.signum(1)); 38 assertEquals(-1, Long.signum(-1)); 39 assertEquals(1, Long.signum(Long.MAX_VALUE)); 40 assertEquals(-1, Long.signum(Long.MIN_VALUE));
|
/development/ndk/sources/android/libportable/common/include/ |
signal_portable.h | 67 static __inline__ int WRAP(sigismember)(sigset_portable_t *set, int signum) 70 signum--; 71 return (int)((local_set[signum/LONG_BIT] >> (signum%LONG_BIT)) & 1); 75 static __inline__ int WRAP(sigaddset)(sigset_portable_t *set, int signum) 78 signum--; 79 local_set[signum/LONG_BIT] |= 1UL << (signum%LONG_BIT); 84 static __inline__ int WRAP(sigdelset)(sigset_portable_t *set, int signum) 87 signum-- [all...] |
/external/valgrind/main/coregrind/ |
pub_core_libcsignal.h | 54 extern Int VG_(sigaddset) ( vki_sigset_t* set, Int signum ); 55 extern Int VG_(sigdelset) ( vki_sigset_t* set, Int signum ); 56 extern Int VG_(sigismember) ( const vki_sigset_t* set, Int signum ); 66 extern Int VG_(sigaction) ( Int signum,
|
m_libcsignal.c | 100 Int VG_(sigaddset)( vki_sigset_t* set, Int signum ) 104 if (signum < 1 || signum > _VKI_NSIG) 106 signum--; 107 set->sig[signum / _VKI_NSIG_BPW] |= (1ULL << (signum % _VKI_NSIG_BPW)); 111 Int VG_(sigdelset)( vki_sigset_t* set, Int signum ) 115 if (signum < 1 || signum > _VKI_NSIG) 117 signum-- [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerConstructorsTest.java | 59 assertEquals("incorrect sign", 1, aNumber.signum()); 75 assertEquals("incorrect sign", 1, aNumber.signum()); 91 assertEquals("incorrect sign", 1, aNumber.signum()); 107 assertEquals("incorrect sign", 1, aNumber.signum()); 123 assertEquals("incorrect sign", -1, aNumber.signum()); 139 assertEquals("incorrect sign", -1, aNumber.signum()); 155 assertEquals("incorrect sign", -1, aNumber.signum()); 171 assertEquals("incorrect sign", -1, aNumber.signum()); 186 assertEquals("incorrect sign", 0, aNumber.signum()); 214 assertEquals("Improper exception message", "signum-magnitude mismatch", e.getMessage()) [all...] |
BigIntegerAddTest.java | 48 assertEquals("incorrect sign", 1, result.signum()); 68 assertEquals("incorrect sign", -1, result.signum()); 90 assertEquals("incorrect sign", 1, result.signum()); 112 assertEquals("incorrect sign", -1, result.signum()); 134 assertEquals("incorrect sign", -1, result.signum()); 156 assertEquals("incorrect sign", 1, result.signum()); 177 assertEquals("incorrect sign", 1, result.signum()); 196 assertEquals("incorrect sign", 1, result.signum()); 217 assertEquals("incorrect sign", -1, result.signum()); 238 assertEquals("incorrect sign", -1, result.signum()); [all...] |
BigIntegerAndTest.java | 48 assertEquals("incorrect sign", 0, result.signum()); 68 assertEquals("incorrect sign", 0, result.signum()); 88 assertEquals("incorrect sign", 0, result.signum()); 108 assertEquals("incorrect sign", 0, result.signum()); 128 assertEquals("incorrect sign", 0, result.signum()); 139 assertEquals("incorrect sign", 0, result.signum()); 150 assertEquals("incorrect sign", 1, result.signum()); 170 assertEquals("incorrect sign", 1, result.signum()); 190 assertEquals("incorrect sign", 1, result.signum()); 210 assertEquals("incorrect sign", 1, result.signum()); [all...] |
BigIntegerDivideTest.java | 80 assertEquals("incorrect sign", 1, result.signum()); 100 assertEquals("incorrect sign", -1, result.signum()); 121 assertEquals("incorrect sign", 0, result.signum()); 142 assertEquals("incorrect sign", 0, result.signum()); 162 assertEquals("incorrect sign", 1, result.signum()); 182 assertEquals("incorrect sign", -1, result.signum()); 202 assertEquals("incorrect sign", -1, result.signum()); 222 assertEquals("incorrect sign", 1, result.signum()); 242 assertEquals("incorrect sign", 0, result.signum()); 260 assertEquals("incorrect sign", 0, result.signum()); [all...] |
BigIntegerOperateBitsTest.java | 154 assertEquals("incorrect sign", 0, result.signum()); 172 assertEquals("incorrect sign", 0, result.signum()); 190 assertEquals("incorrect sign", -1, result.signum()); 208 assertEquals("incorrect sign", -1, result.signum()); 265 assertEquals("incorrect sign", -1, result.signum()); 283 assertEquals("incorrect sign", -1, result.signum()); 301 assertEquals("incorrect sign", 1, result.signum()); 319 assertEquals("incorrect sign", 1, result.signum()); 337 assertEquals("incorrect sign", 1, result.signum()); 355 assertEquals("incorrect sign", 1, result.signum()); [all...] |
BigIntegerOrTest.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()); 128 assertEquals("incorrect sign", 0, result.signum()); 148 assertEquals("incorrect sign", 1, result.signum()); 168 assertEquals("incorrect sign", 1, result.signum()); 188 assertEquals("incorrect sign", 1, result.signum()); 208 assertEquals("incorrect sign", 1, result.signum()); 228 assertEquals("incorrect sign", 1, result.signum()); [all...] |
BigIntegerSubtractTest.java | 49 assertEquals(1, result.signum()); 70 assertEquals(-1, result.signum()); 92 assertEquals(1, result.signum()); 114 assertEquals(1, result.signum()); 135 assertEquals(-1, result.signum()); 156 assertEquals(1, result.signum()); 178 assertEquals(-1, result.signum()); 200 assertEquals(-1, result.signum()); 221 assertEquals(1, result.signum()); 242 assertEquals(-1, result.signum()); [all...] |
BigIntegerMultiplyTest.java | 48 assertEquals("incorrect sign", 1, result.signum()); 69 assertEquals("incorrect sign", -1, result.signum()); 91 assertEquals("incorrect sign", 1, result.signum()); 113 assertEquals("incorrect sign", 1, result.signum()); 136 assertEquals("incorrect sign", -1, result.signum()); 159 assertEquals("incorrect sign", -1, result.signum()); 179 assertEquals("incorrect sign", 0, result.signum()); 197 assertEquals("incorrect sign", 0, result.signum()); 215 assertEquals("incorrect sign", 1, result.signum()); 233 assertEquals("incorrect sign", -1, result.signum()); [all...] |
BigIntegerModPowTest.java | 78 assertEquals("incorrect sign", 1, result.signum()); 101 assertEquals("incorrect sign", 1, result.signum()); 178 assertEquals("incorrect sign", 1, result.signum()); 198 assertEquals("incorrect sign", 1, result.signum()); 218 assertEquals("incorrect sign", 1, result.signum()); 236 assertEquals("incorrect sign", 1, result.signum()); 256 assertEquals("incorrect sign", 1, result.signum()); 276 assertEquals("incorrect sign", 1, result.signum()); 294 assertEquals("incorrect sign", 1, result.signum()); 309 assertEquals("incorrect sign", 0, result.signum()); [all...] |
/bionic/libc/include/ |
signal.h | 60 static __inline__ int sigismember(const sigset_t* set, int signum) { 61 int bit = signum - 1; // Signal numbers start at 1, but bit positions start at 0. 70 static __inline__ int sigaddset(sigset_t* set, int signum) { 71 int bit = signum - 1; // Signal numbers start at 1, but bit positions start at 0. 81 static __inline__ int sigdelset(sigset_t* set, int signum) { 82 int bit = signum - 1; // Signal numbers start at 1, but bit positions start at 0.
|
/external/mdnsresponder/mDNSPosix/ |
mDNSPosix.h | 80 extern mStatus mDNSPosixListenForSignalInEventLoop( int signum); 81 extern mStatus mDNSPosixIgnoreSignalInEventLoop( int signum);
|
/external/compiler-rt/lib/asan/ |
asan_posix.cc | 37 static void MaybeInstallSigaction(int signum, 39 if (!AsanInterceptsSignal(signum)) 46 CHECK_EQ(0, REAL(sigaction)(signum, &sigact, 0)); 48 Report("Installed the sigaction for signal %d\n", signum);
|
asan_interceptors.h | 29 DECLARE_REAL(int, sigaction, int signum, const struct sigaction *act,
|
/libcore/luni/src/main/java/java/security/spec/ |
ECFieldFp.java | 45 if (this.p.signum() != 1) {
|
/bionic/linker/ |
debugger.cpp | 113 static void log_signal_summary(int signum, const siginfo_t* info) { 115 switch (signum) { 141 signum, signal_name, reinterpret_cast<uintptr_t>(info->si_addr), 146 signum, signal_name, gettid(), thread_name); 151 * Returns true if the handler for signal "signum" has SA_SIGINFO set. 153 static bool have_siginfo(int signum) { 161 if (sigaction(signum, &new_action, &old_action) < 0) { 168 if (sigaction(signum, &old_action, NULL) == -1) {
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/ |
signals.py | 14 def __call__(self, signum, frame): 19 self.default_handler(signum, frame) 22 self.default_handler(signum, frame)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/ |
signals.py | 28 def __call__(self, signum, frame): 33 self.default_handler(signum, frame) 36 self.default_handler(signum, frame)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/ |
signals.py | 28 def __call__(self, signum, frame): 33 self.default_handler(signum, frame) 36 self.default_handler(signum, frame)
|