/bionic/libc/bionic/ |
sigprocmask.cpp | 54 SigSetConverter old_set; local 55 if (sigprocmask64(how, new_set_ptr, &old_set.sigset64) == -1) { 60 *bionic_old_set = old_set.sigset; 68 sigset64_t* old_set) __attribute__((__noinline__)) { 81 return __rt_sigprocmask(how, mutable_new_set_ptr, old_set, sizeof(*new_set));
|
signal.cpp | 48 int pthread_sigmask(int how, const sigset_t* new_set, sigset_t* old_set) { 50 return (sigprocmask(how, new_set, old_set) == -1) ? errno : 0; 53 int pthread_sigmask64(int how, const sigset64_t* new_set, sigset64_t* old_set) { 55 return (sigprocmask64(how, new_set, old_set) == -1) ? errno : 0;
|
/external/strace/tests/ |
sigprocmask.c | 45 const kernel_ulong_t old_set) 47 const long rc = syscall(__NR_sigprocmask, how, new_set, old_set); 67 TAIL_ALLOC_OBJECT_CONST_PTR(kernel_ulong_t, old_set); 75 (uintptr_t) (new_set - 1), (uintptr_t) old_set); 83 k_sigprocmask(sig_unblock, 0, f8ill_ptr_to_kulong(old_set)); 85 (uintmax_t) f8ill_ptr_to_kulong(old_set), errstr); 92 k_sigprocmask(sig_block, (uintptr_t) new_set, (uintptr_t) old_set); 99 k_sigprocmask(sig_unblock, (uintptr_t) new_set, (uintptr_t) old_set); 105 k_sigprocmask(sig_unblock, (uintptr_t) new_set, (uintptr_t) old_set); 116 k_sigprocmask(sig_block, (uintptr_t) new_set, (uintptr_t) old_set); [all...] |
rt_sigprocmask.c | 44 void *const old_set, const unsigned long size) 46 return syscall(__NR_rt_sigprocmask, how, new_set, old_set, size); 94 void *const old_set = tail_alloc(set_size); local 102 if (k_sigprocmask(SIG_UNBLOCK, k_set - set_size, old_set, set_size)) 107 old_set, set_size << 1) == -1); 109 k_set - set_size, old_set, set_size << 1); 111 iterate("~[]", k_set - set_size, old_set, set_size >> 1); 117 if (k_sigprocmask(SIG_BLOCK, k_set, old_set, set_size)) 125 if (k_sigprocmask(SIG_UNBLOCK, k_set, old_set, set_size)) 133 if (k_sigprocmask(SIG_UNBLOCK, k_set, old_set, set_size) [all...] |
/external/strace/tests-m32/ |
sigprocmask.c | 45 const kernel_ulong_t old_set) 47 const long rc = syscall(__NR_sigprocmask, how, new_set, old_set); 67 TAIL_ALLOC_OBJECT_CONST_PTR(kernel_ulong_t, old_set); 75 (uintptr_t) (new_set - 1), (uintptr_t) old_set); 83 k_sigprocmask(sig_unblock, 0, f8ill_ptr_to_kulong(old_set)); 85 (uintmax_t) f8ill_ptr_to_kulong(old_set), errstr); 92 k_sigprocmask(sig_block, (uintptr_t) new_set, (uintptr_t) old_set); 99 k_sigprocmask(sig_unblock, (uintptr_t) new_set, (uintptr_t) old_set); 105 k_sigprocmask(sig_unblock, (uintptr_t) new_set, (uintptr_t) old_set); 116 k_sigprocmask(sig_block, (uintptr_t) new_set, (uintptr_t) old_set); [all...] |
rt_sigprocmask.c | 44 void *const old_set, const unsigned long size) 46 return syscall(__NR_rt_sigprocmask, how, new_set, old_set, size); 94 void *const old_set = tail_alloc(set_size); local 102 if (k_sigprocmask(SIG_UNBLOCK, k_set - set_size, old_set, set_size)) 107 old_set, set_size << 1) == -1); 109 k_set - set_size, old_set, set_size << 1); 111 iterate("~[]", k_set - set_size, old_set, set_size >> 1); 117 if (k_sigprocmask(SIG_BLOCK, k_set, old_set, set_size)) 125 if (k_sigprocmask(SIG_UNBLOCK, k_set, old_set, set_size)) 133 if (k_sigprocmask(SIG_UNBLOCK, k_set, old_set, set_size) [all...] |
/external/strace/tests-mx32/ |
sigprocmask.c | 45 const kernel_ulong_t old_set) 47 const long rc = syscall(__NR_sigprocmask, how, new_set, old_set); 67 TAIL_ALLOC_OBJECT_CONST_PTR(kernel_ulong_t, old_set); 75 (uintptr_t) (new_set - 1), (uintptr_t) old_set); 83 k_sigprocmask(sig_unblock, 0, f8ill_ptr_to_kulong(old_set)); 85 (uintmax_t) f8ill_ptr_to_kulong(old_set), errstr); 92 k_sigprocmask(sig_block, (uintptr_t) new_set, (uintptr_t) old_set); 99 k_sigprocmask(sig_unblock, (uintptr_t) new_set, (uintptr_t) old_set); 105 k_sigprocmask(sig_unblock, (uintptr_t) new_set, (uintptr_t) old_set); 116 k_sigprocmask(sig_block, (uintptr_t) new_set, (uintptr_t) old_set); [all...] |
rt_sigprocmask.c | 44 void *const old_set, const unsigned long size) 46 return syscall(__NR_rt_sigprocmask, how, new_set, old_set, size); 94 void *const old_set = tail_alloc(set_size); local 102 if (k_sigprocmask(SIG_UNBLOCK, k_set - set_size, old_set, set_size)) 107 old_set, set_size << 1) == -1); 109 k_set - set_size, old_set, set_size << 1); 111 iterate("~[]", k_set - set_size, old_set, set_size >> 1); 117 if (k_sigprocmask(SIG_BLOCK, k_set, old_set, set_size)) 125 if (k_sigprocmask(SIG_UNBLOCK, k_set, old_set, set_size)) 133 if (k_sigprocmask(SIG_UNBLOCK, k_set, old_set, set_size) [all...] |
/external/compiler-rt/test/tsan/ |
sigsuspend.cc | 28 sigset_t old_set; local 29 assert(0 == sigprocmask(SIG_BLOCK, &one_signal, &old_set)); 39 assert(0 == sigprocmask(SIG_SETMASK, &old_set, NULL));
|
/external/ltp/testcases/kernel/timers/timer_settime/ |
timer_settime02.c | 81 static struct itimerspec new_set, old_set, *old_temp; variable in typeref:struct: 140 /* get the old_setting in old_set 145 old_temp = &old_set;
|
timer_settime03.c | 90 static struct itimerspec new_set, old_set, *old_temp, *new_temp; variable in typeref:struct: 138 old_temp = &old_set;
|
/external/libchrome/base/task/sequence_manager/ |
work_queue_sets.cc | 46 size_t old_set = work_queue->work_queue_set_index(); local 47 DCHECK_LT(old_set, work_queue_heaps_.size()); 48 DCHECK_NE(old_set, set_index); 52 work_queue_heaps_[old_set].erase(work_queue->heap_handle());
|
/art/sigchainlib/ |
sigchain.cc | 422 int __sigprocmask(int how, const SigsetType* new_set, SigsetType* old_set, 426 return linked(how, new_set, old_set); 446 return linked(how, new_set_ptr, old_set); 450 sigset_t* old_set) { 452 return __sigprocmask(how, new_set, old_set, linked_sigprocmask); 457 sigset64_t* old_set) { 459 return __sigprocmask(how, new_set, old_set, linked_sigprocmask64);
|