/external/strace/tests/ |
signal_receive.c | 15 handler(int sig) 22 int sig, pid = getpid(), uid = getuid(); local 27 for (sig = 1; sig <= 31; sig++) { 28 if( sig != SIGKILL && sig != SIGSTOP) { 29 sigaction(sig, &act, NULL); 30 sigaddset(&mask, sig); 35 for (sig = 1; sig <= 31; sig++) [all...] |
/external/strace/tests-m32/ |
signal_receive.c | 15 handler(int sig) 22 int sig, pid = getpid(), uid = getuid(); local 27 for (sig = 1; sig <= 31; sig++) { 28 if( sig != SIGKILL && sig != SIGSTOP) { 29 sigaction(sig, &act, NULL); 30 sigaddset(&mask, sig); 35 for (sig = 1; sig <= 31; sig++) [all...] |
/external/strace/tests-mx32/ |
signal_receive.c | 15 handler(int sig) 22 int sig, pid = getpid(), uid = getuid(); local 27 for (sig = 1; sig <= 31; sig++) { 28 if( sig != SIGKILL && sig != SIGSTOP) { 29 sigaction(sig, &act, NULL); 30 sigaddset(&mask, sig); 35 for (sig = 1; sig <= 31; sig++) [all...] |
/external/syslinux/com32/gplinclude/disk/ |
swsusp.h | 15 char sig[10]; member in struct:swsusp_header
|
/external/vboot_reference/tests/ |
rsa_padding_test.c | 23 test_message_sha1_hash), 1, "RSA Padding Test valid sig"); 41 uint8_t sig[RSA1024NUMBYTES]; local 46 test_message_sha1_hash), 0, "RSAVerify() sig len"); 53 Memcpy(sig, signatures[0], RSA1024NUMBYTES); 54 sig[3] ^= 0x42; 55 TEST_EQ(RSAVerify(key, sig, RSA1024NUMBYTES, 0, test_message_sha1_hash), 0, 56 "RSAVerify() bad sig"); 58 Memcpy(sig, signatures[0], RSA1024NUMBYTES); 59 sig[RSA1024NUMBYTES - 3] ^= 0x56; 60 TEST_EQ(RSAVerify(key, sig, RSA1024NUMBYTES, 0, test_message_sha1_hash), 0 [all...] |
/external/c-ares/ |
ares_expand_name.c | 72 ssize_t sig; member in union:__anon13383 76 nlen.sig = name_length(encoded, abuf, alen); 77 if (nlen.sig < 0)
|
/external/compiler-rt/lib/asan/ |
asan_posix.cc | 42 SignalContext sig = SignalContext::Create(siginfo, context); local 51 bool IsStackAccess = sig.addr >= (sig.sp & ~0xFFF) && 52 sig.addr < sig.sp + 0xFFFF; 54 bool IsStackAccess = sig.addr + 512 > sig.sp && sig.addr < sig.sp + 0xFFFF; 64 if (!IsStackAccess && IsAccessibleMemoryRange(sig.pc, 4)) [all...] |
/external/libdaemon/libdaemon/ |
dsignal.c | 102 int sig, r = 0; local 110 sig = s; 111 while (sig > 0) { 112 if ((r = daemon_signal_install(sig)) < 0) 115 sig = va_arg(ap, int);
|
/external/ltp/lib/ |
tst_sig.c | 94 int sig; local 117 for (sig = 1; sig < NSIG; sig++) { 126 if (sig >= sigrtmin && sig <= sigrtmax) 130 switch (sig) { 213 if (tst_setup_signal(sig, handler) == SIG_ERR) 215 "signal failed for signal %d", sig); 226 static void def_handler(int sig) [all...] |
/external/ltp/testcases/kernel/mem/shmt/ |
shmt04.c | 149 int sig; local 151 sigwait(&set, &sig);
|
shmt06.c | 148 int sig; local 150 sigwait(&set, &sig);
|
/external/ltp/testcases/kernel/syscalls/exit/ |
exit01.c | 40 int pid, npid, sig, nsig, exno, nexno, status; local 52 sig = 0; 85 if (nsig != sig) {
|
/external/ltp/testcases/kernel/syscalls/prctl/ |
prctl01.c | 96 int status, sig; local 118 sig = SIGUSR2; 119 TEST(prctl(option[i], sig)); 121 TEST(prctl(option[i], &sig));
|
/external/ltp/testcases/kernel/syscalls/waitpid/ |
waitpid01.c | 64 int pid, npid, sig, nsig; local 77 sig = 14; 107 if (nsig != sig) {
|
waitpid02.c | 70 int pid, npid, sig, nsig; local 83 sig = SIGFPE; 98 kill(pid, sig); 119 if (nsig != sig) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/ |
4-1.c | 48 int sig; local 107 if (sigwait(&set, &sig) == -1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
16-1.c | 78 int sig; local 86 sigwait(&mask, &sig);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
1-1.c | 26 int sig; local 36 if (sigwait(&sigset, &sig) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwait/ |
6-1.c | 93 int sig; local 98 ret = sigwait(&setusr, &sig);
|
6-2.c | 93 int sig; local 98 ret = sigwait(&setusr, &sig);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
6-1.c | 39 int sig, i, delta, timeelapsed; local 98 if (sigwait(&set, &sig) == -1) { 124 if (sigwait(&set, &sig) == -1) {
|
/external/ltp/testcases/open_posix_testsuite/functional/timers/timers/ |
twoptimers.c | 41 int sig; local 72 if (sigwait(&set, &sig) == -1) { 86 int sig; local 118 if (sigwait(&set, &sig) == -1) {
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
d3d11_misc.h | 55 dxbc_chunk_signature* sig = dxbc_find_signature(shader_bytecode, bytecode_length, DXBC_FIND_INPUT_SIGNATURE); local 56 if(!sig) 59 return dxbc_assemble_as_blob((dxbc_chunk_header**)&sig, 1, signature_blob); 68 dxbc_chunk_signature* sig = dxbc_find_signature(shader_bytecode, bytecode_length, DXBC_FIND_OUTPUT_SIGNATURE); local 69 if(!sig) 72 return dxbc_assemble_as_blob((dxbc_chunk_header**)&sig, 1, signature_blob);
|
/external/openssh/ |
ssh-dss.c | 53 DSA_SIG *sig = NULL; local 74 if ((sig = DSA_do_sign(digest, dlen, key->dsa)) == NULL) { 79 rlen = BN_num_bytes(sig->r); 80 slen = BN_num_bytes(sig->s); 86 BN_bn2bin(sig->r, sigblob + SIGBLOB_LEN - INTBLOB_LEN - rlen); 87 BN_bn2bin(sig->s, sigblob + SIGBLOB_LEN - slen); 123 if (sig != NULL) 124 DSA_SIG_free(sig); 135 DSA_SIG *sig = NULL; local 179 if ((sig = DSA_SIG_new()) == NULL | [all...] |
ssh-ecdsa.c | 51 ECDSA_SIG *sig = NULL; local 74 if ((sig = ECDSA_do_sign(digest, dlen, key->ecdsa)) == NULL) { 83 if ((ret = sshbuf_put_bignum2(bb, sig->r)) != 0 || 84 (ret = sshbuf_put_bignum2(bb, sig->s)) != 0) 106 if (sig != NULL) 107 ECDSA_SIG_free(sig); 117 ECDSA_SIG *sig = NULL; local 151 if ((sig = ECDSA_SIG_new()) == NULL) { 155 if (sshbuf_get_bignum2(sigbuf, sig->r) != 0 || 156 sshbuf_get_bignum2(sigbuf, sig->s) != 0) [all...] |