HomeSort by relevance Sort by last modified time
    Searched refs:sig (Results 1 - 25 of 1043) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
kill.c 8 int kill(pid_t pid, int sig) {
9 return ki_kill(pid, sig);
killpg.c 8 int killpg(pid_t pid, int sig) {
9 return ki_killpg(pid, sig);
  /external/libppp/src/
sig.c 26 * $FreeBSD: src/usr.sbin/ppp/sig.c,v 1.18.40.1 2010/12/21 17:10:29 kensmith Exp $
34 #include "sig.h"
50 signal_recorder(int sig)
52 caused[sig - 1]++;
58 * Set up signal_recorder to handle the given sig and record ``fn'' as
64 sig_signal(int sig, sig_type fn)
68 if (sig <= 0 || sig > NSIG) {
72 return signal(sig, fn);
74 Result = handler[sig - 1]
97 int sig; local
    [all...]
  /external/bison/lib/
sigprocmask.c 67 signal_nothrow (int sig, handler_t handler)
73 result = signal (sig, handler);
95 ext_signal (int sig, handler_t handler)
97 switch (sig)
106 return signal (sig, handler);
114 sigismember (const sigset_t *set, int sig)
116 if (sig >= 0 && sig < NSIG)
119 if (sig == SIGABRT_COMPAT)
120 sig = SIGABRT
208 int sig; local
253 int sig; local
267 int sig; local
    [all...]
sigaction.c 84 sigaction_handler (int sig)
90 if (sig < 0 || NSIG <= sig || !action_array[sig].sa_handler)
93 if (sig == SIGABRT)
106 handler = action_array[sig].sa_handler;
107 if ((action_array[sig].sa_flags & SA_RESETHAND) == 0)
108 signal (sig, sigaction_handler);
110 action_array[sig].sa_handler = NULL;
113 mask = action_array[sig].sa_mask
    [all...]
raise.c 36 raise_nothrow (int sig)
42 result = raise (sig);
67 rpl_raise (int sig)
70 if (sig == SIGPIPE)
75 return raise_nothrow (sig);
77 return kill (getpid (), sig);
  /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/chromium_org/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...]
  /bionic/libc/bionic/
raise.cpp 31 int raise(int sig) {
32 int rc = pthread_kill(pthread_self(), sig);
siginterrupt.c 32 int siginterrupt(int sig, int flag)
36 (void) sigaction(sig, NULL, &act);
43 return sigaction(sig, &act, NULL);
pthread_kill.cpp 35 extern "C" int tgkill(int tgid, int tid, int sig);
37 int pthread_kill(pthread_t t, int sig) {
49 int rc = tgkill(getpid(), tid, sig);
  /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/chromium_org/third_party/openssl/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...]
  /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...]
  /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/chromium_org/third_party/openssl/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/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:__anon22563
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...]

Completed in 472 milliseconds

1 2 3 4 5 6 7 8 91011>>