/bionic/libc/unistd/ |
strsignal.c | 32 strsignal(int sig) 34 if ((unsigned)sig < NSIG) 35 return (char*) sys_siglist[sig];
|
killpg.c | 38 killpg(pid_t pgid, int sig) 44 return (kill(-pgid, sig));
|
siginterrupt.c | 32 int siginterrupt(int sig, int flag) 36 (void) sigaction(sig, NULL, &act); 43 return sigaction(sig, &act, NULL);
|
/external/valgrind/main/memcheck/tests/ |
signal2.stdout.exp | 1 installing sig handler 3 caught sig segv
|
/external/chromium/third_party/libevent/ |
signal.c | 68 static void evsignal_handler(int sig); 106 AF_UNIX, SOCK_STREAM, 0, base->sig.ev_signal_pair) == -1) { 117 FD_CLOSEONEXEC(base->sig.ev_signal_pair[0]); 118 FD_CLOSEONEXEC(base->sig.ev_signal_pair[1]); 119 base->sig.sh_old = NULL; 120 base->sig.sh_old_max = 0; 121 base->sig.evsignal_caught = 0; 122 memset(&base->sig.evsigcaught, 0, sizeof(sig_atomic_t)*NSIG); 125 TAILQ_INIT(&base->sig.evsigevents[i]); 127 evutil_make_socket_nonblocking(base->sig.ev_signal_pair[0]) 148 struct evsignal_info *sig = &base->sig; local 208 struct evsignal_info *sig = &ev->ev_base->sig; local 240 struct evsignal_info *sig = &base->sig; local 270 struct evsignal_info *sig = &base->sig; local 313 struct evsignal_info *sig = &base->sig; local [all...] |
/external/kernel-headers/original/linux/ |
taskstats_kern.h | 24 static inline void taskstats_tgid_init(struct signal_struct *sig) 26 spin_lock_init(&sig->stats_lock); 27 sig->stats = NULL; 30 static inline void taskstats_tgid_alloc(struct signal_struct *sig) 39 spin_lock_irqsave(&sig->stats_lock, flags); 40 if (!sig->stats) { 41 sig->stats = stats; 44 spin_unlock_irqrestore(&sig->stats_lock, flags); 50 static inline void taskstats_tgid_free(struct signal_struct *sig) 55 spin_lock_irqsave(&sig->stats_lock, flags) [all...] |
signal.h | 41 unsigned long sig = _sig - 1; local 43 set->sig[0] |= 1UL << sig; 45 set->sig[sig / _NSIG_BPW] |= 1UL << (sig % _NSIG_BPW); 50 unsigned long sig = _sig - 1; local 52 set->sig[0] &= ~(1UL << sig); 54 set->sig[sig / _NSIG_BPW] &= ~(1UL << (sig % _NSIG_BPW)) 59 unsigned long sig = _sig - 1; local [all...] |
/external/linux-tools-perf/util/ |
sigchain.h | 6 int sigchain_pop(int sig);
|
sigchain.c | 13 static void check_signum(int sig) 15 if (sig < 1 || sig >= SIGCHAIN_MAX_SIGNALS) 16 die("BUG: signal out of range: %d", sig); 19 static int sigchain_push(int sig, sigchain_fun f) 21 struct sigchain_signal *s = signals + sig; 22 check_signum(sig); 25 s->old[s->n] = signal(sig, f); 32 int sigchain_pop(int sig) 34 struct sigchain_signal *s = signals + sig; [all...] |
/external/openssl/crypto/dsa/ |
dsa_sign.c | 94 DSA_SIG *sig; local 95 sig = OPENSSL_malloc(sizeof(DSA_SIG)); 96 if (!sig) 98 sig->r = NULL; 99 sig->s = NULL; 100 return sig; 103 void DSA_SIG_free(DSA_SIG *sig) 105 if (sig) 107 if (sig->r) 108 BN_free(sig->r) [all...] |
dsa_vrf.c | 64 int DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, 75 return dsa->meth->dsa_do_verify(dgst, dgst_len, sig, dsa);
|
/external/tcpdump/ |
setsignal.c | 74 (*setsignal (int sig, RETSIGTYPE (*func)(int)))(int) 81 if (sigaction(sig, &new, &old) < 0) 87 return (sigset(sig, func)); 89 return (signal(sig, func));
|
/external/valgrind/main/include/ |
pub_tool_signals.h | 41 extern void VG_(set_fault_catcher)(void (*catcher)(Int sig, Addr addr));
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
Signature2Test.java | 89 Signature sig = Signature.getInstance("DSA"); local 91 sig.getParameters(); 101 Signature sig = Signature.getInstance("DSA"); local 104 sig.getParameter("r"); 105 sig.getParameter("s"); 137 Signature sig = Signature.getInstance("DSA"); local 140 sig.setParameter("r", BigInteger.ONE); 141 sig.setParameter("s", BigInteger.ONE); 153 Signature sig = Signature.getInstance("DSA"); local 158 sig.setParameter(spec) 170 Signature sig = Signature.getInstance("DSA"); local 188 Signature sig = Signature.getInstance("DSA"); local 199 Signature sig = Signature.getInstance("DSA"); local 210 Signature sig = Signature.getInstance("DSA"); local 220 Signature sig = Signature.getInstance("DSA"); local [all...] |
/external/dhcpcd/ |
signals.c | 52 signal_handler(int sig) 56 if (write(signal_pipe[1], &sig, sizeof(sig)) != sizeof(sig)) 57 syslog(LOG_ERR, "failed to write signal %d: %m", sig); 68 int sig = -1; local 74 if (bytes >= 0 && (size_t)bytes >= sizeof(sig)) 75 memcpy(&sig, buf, sizeof(sig)); 76 return sig; [all...] |
/external/openssl/crypto/rsa/ |
rsa_saos.c | 70 ASN1_OCTET_STRING sig; local 74 sig.type=V_ASN1_OCTET_STRING; 75 sig.length=m_len; 76 sig.data=(unsigned char *)m; 78 i=i2d_ASN1_OCTET_STRING(&sig,NULL); 92 i2d_ASN1_OCTET_STRING(&sig,&p); 112 ASN1_OCTET_STRING *sig=NULL; local 131 sig=d2i_ASN1_OCTET_STRING(NULL,&p,(long)i); 132 if (sig == NULL) goto err; 134 if ( ((unsigned int)sig->length != m_len) | [all...] |
/external/kernel-headers/original/asm-x86/ |
signal.h | 31 unsigned long sig[_NSIG_WORDS]; member in struct:__anon7804 188 #define sigaddset(set,sig) \ 189 (__builtin_constantp(sig) ? \ 190 __const_sigaddset((set),(sig)) : \ 191 __gen_sigaddset((set),(sig))) 200 unsigned long sig = _sig - 1; local 201 set->sig[sig / _NSIG_BPW] |= 1 << (sig % _NSIG_BPW); 204 #define sigdelset(set,sig) \ 217 unsigned long sig = _sig - 1; local 223 unsigned long sig = _sig - 1; local [all...] |
/external/junit/src/org/junit/experimental/theories/ |
ParameterSupplier.java | 7 public abstract List<PotentialAssignment> getValueSources(ParameterSignature sig);
|
/external/dbus/dbus/ |
dbus-signature.c | 384 const char *sig; local 389 sig = ""; 390 _dbus_assert (dbus_signature_validate (sig, NULL)); 391 _dbus_assert (!dbus_signature_validate_single (sig, NULL)); 392 dbus_signature_iter_init (&iter, sig); 395 sig = DBUS_TYPE_STRING_AS_STRING; 396 _dbus_assert (dbus_signature_validate (sig, NULL)); 397 _dbus_assert (dbus_signature_validate_single (sig, NULL)); 398 dbus_signature_iter_init (&iter, sig); 401 sig = DBUS_TYPE_STRING_AS_STRING DBUS_TYPE_BYTE_AS_STRING [all...] |
/dalvik/vm/arch/x86/ |
Hints386ABI.cpp | 63 const char* sig = dexProtoGetShorty(proto); local 69 sigByte = *(sig++);
|
/dalvik/vm/arch/x86-atom/ |
Hints386ABI.cpp | 53 const char* sig = dexProtoGetShorty(proto); local 63 sigByte = *(++sig);
|
/external/chromium/base/mac/ |
os_crash_dumps.cc | 17 void ExitSignalHandler(int sig) { 21 _exit(128 + sig);
|
/external/openssh/openbsd-compat/ |
sigact.c | 49 sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact) 51 return sigvec(sig, sigact ? &sigact->sv : NULL, 101 sigdelset (sigset_t *mask, int sig) 107 *mask &= ~sigmask(sig); 112 sigaddset (sigset_t *mask, int sig) 118 *mask |= sigmask(sig); 123 sigismember (sigset_t *mask, int sig) 129 return (*mask & sigmask(sig)) != 0;
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
Signature2Test.java | 180 Signature sig = Signature.getInstance("DSA"); local 182 sig.getParameters(); 203 Signature sig = Signature.getInstance("DSA"); local 206 sig.getParameter("r"); 207 sig.getParameter("s"); 235 Signature sig = Signature.getInstance("DSA"); local 236 sig.initSign(getDsaKeys().getPrivate(), new SecureRandom()); 242 Signature sig = Signature.getInstance("DSA"); local 243 sig.initSign(getRsaKeys().getPrivate(), new SecureRandom()); 295 Signature sig = Signature.getInstance("DSA") local 312 Signature sig = Signature.getInstance("DSA"); local 329 Signature sig = Signature.getInstance("DSA"); local 347 Signature sig = Signature.getInstance("DSA"); local 365 Signature sig = Signature.getInstance("DSA"); local 398 Signature sig = Signature.getInstance("DSA"); local 409 Signature sig = Signature.getInstance("DSA"); local 427 Signature sig = Signature.getInstance("DSA"); local 448 Signature sig = Signature.getInstance("DSA"); local [all...] |
/external/javassist/src/main/javassist/bytecode/ |
SignatureAttribute.java | 68 * @param sig new signature. 71 public void setSignature(String sig) { 72 int index = getConstPool().addUtf8Info(sig); 89 String sig = renameClass(getSignature(), oldname, newname); local 90 setSignature(sig); 94 String sig = renameClass(getSignature(), classnames); local 95 setSignature(sig); 294 TypeParameter(String sig, int nb, int ne, ObjectType sc, ObjectType[] si) { 295 name = sig.substring(nb, ne); 587 TypeVariable(String sig, int begin, int end) [all...] |