/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/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...] |
rsa_sign.c | 73 X509_SIG sig; local 94 sig.algor= &algor; 95 sig.algor->algorithm=OBJ_nid2obj(type); 96 if (sig.algor->algorithm == NULL) 101 if (sig.algor->algorithm->length == 0) 108 sig.algor->parameter= ¶meter; 110 sig.digest= &digest; 111 sig.digest->data=(unsigned char *)m; /* TMP UGLY CAST */ 112 sig.digest->length=m_len; 114 i=i2d_X509_SIG(&sig,NULL) 154 X509_SIG *sig=NULL; local [all...] |
/external/kernel-headers/original/asm-x86/ |
signal.h | 31 unsigned long sig[_NSIG_WORDS]; member in struct:__anon6840 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/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);
|
/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...] |
/dalvik/vm/arch/arm/ |
HintsEABI.cpp | 59 const char* sig = dexProtoGetShorty(proto); local 68 sig++; 71 sigByte = *(sig++);
|
/system/core/toolbox/ |
kill.c | 10 int sig = SIGTERM; local 17 sig = atoi(argv[0] + 1); 24 int err = kill(pid, sig);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/pulse/ |
mainloop-signal.h | 52 pa_signal_event* pa_signal_new(int sig, void (*callback) (pa_mainloop_api *api, pa_signal_event*e, int sig, void *userdata), void *userdata);
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
DSABase.java | 65 BigInteger[] sig = signer.generateSignature(hash); local 67 return encoder.encode(sig[0], sig[1]); 83 BigInteger[] sig; local 87 sig = encoder.decode(sigBytes); 94 return signer.verifySignature(hash, sig[0], sig[1]);
|
/external/openssl/crypto/ecdsa/ |
ecdsa.h | 90 * \param sig pointer to the ECDSA_SIG structure 92 void ECDSA_SIG_free(ECDSA_SIG *sig); 96 * \param sig pointer to the ECDSA_SIG object 100 int i2d_ECDSA_SIG(const ECDSA_SIG *sig, unsigned char **pp); 104 * \param sig pointer to ECDSA_SIG pointer (may be NULL) 109 ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **sig, const unsigned char **pp, long len); 121 * private key (note: sig must point to ECDSA_size(eckey) bytes of memory). 137 * \param sig ECDSA_SIG structure 143 const ECDSA_SIG *sig, EC_KEY* eckey); 181 * private key (note: sig must point to ECDSA_size(eckey) bytes of memory) [all...] |