Home
last modified time | relevance | path

Searched refs:libc_set (Results 1 – 21 of 21) sorted by relevance

/external/strace/tests-mx32/
Dsigprocmask.c68 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
88 sigemptyset(libc_set); in main()
89 sigaddset(libc_set, SIGHUP); in main()
90 memcpy(new_set, libc_set, sizeof(*new_set)); in main()
95 memset(libc_set, -1, sizeof(*libc_set)); in main()
96 sigdelset(libc_set, SIGHUP); in main()
97 memcpy(new_set, libc_set, sizeof(*new_set)); in main()
102 sigdelset(libc_set, SIGKILL); in main()
103 memcpy(new_set, libc_set, sizeof(*new_set)); in main()
108 sigemptyset(libc_set); in main()
[all …]
Drt_sigsuspend.c92 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
93 sigemptyset(libc_set); in main()
94 sigaddset(libc_set, SIGUSR1); in main()
95 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
118 sigemptyset(libc_set); in main()
119 sigaddset(libc_set, SIGUSR2); in main()
120 memcpy(k_set, libc_set, set_size); in main()
127 sigaddset(libc_set, SIGHUP); in main()
128 memcpy(k_set, libc_set, set_size); in main()
135 sigaddset(libc_set, SIGINT); in main()
[all …]
Drt_sigprocmask.c95 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
113 sigemptyset(libc_set); in main()
114 sigaddset(libc_set, SIGHUP); in main()
115 memcpy(k_set, libc_set, set_size); in main()
121 memset(libc_set, -1, sizeof(sigset_t)); in main()
122 sigdelset(libc_set, SIGHUP); in main()
123 memcpy(k_set, libc_set, set_size); in main()
130 sigdelset(libc_set, SIGKILL); in main()
131 memcpy(k_set, libc_set, set_size); in main()
138 sigemptyset(libc_set); in main()
[all …]
Dsigpending.c55 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
57 sigemptyset(libc_set); in main()
58 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
61 if (k_sigpending((uintptr_t) libc_set)) in main()
76 sigaddset(libc_set, SIGHUP); in main()
77 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
84 sigaddset(libc_set, SIGINT); in main()
85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Drt_sigtimedwait.c137 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
138 sigemptyset(libc_set); in main()
139 sigaddset(libc_set, SIGHUP); in main()
140 memcpy(k_set, libc_set, set_size); in main()
149 sigaddset(libc_set, SIGINT); in main()
150 memcpy(k_set, libc_set, set_size); in main()
159 sigaddset(libc_set, SIGQUIT); in main()
160 sigaddset(libc_set, SIGALRM); in main()
161 sigaddset(libc_set, SIGTERM); in main()
162 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigpending.c82 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
84 sigemptyset(libc_set); in main()
85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
107 sigaddset(libc_set, SIGHUP); in main()
108 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
114 sigaddset(libc_set, SIGINT); in main()
115 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Dptrace.c237 sigset_t libc_set; in main() local
238 sigemptyset(&libc_set); in main()
239 sigaddset(&libc_set, SIGUSR1); in main()
240 memcpy(k_set, &libc_set, sigset_size); in main()
/external/strace/tests/
Dsigprocmask.c68 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
88 sigemptyset(libc_set); in main()
89 sigaddset(libc_set, SIGHUP); in main()
90 memcpy(new_set, libc_set, sizeof(*new_set)); in main()
95 memset(libc_set, -1, sizeof(*libc_set)); in main()
96 sigdelset(libc_set, SIGHUP); in main()
97 memcpy(new_set, libc_set, sizeof(*new_set)); in main()
102 sigdelset(libc_set, SIGKILL); in main()
103 memcpy(new_set, libc_set, sizeof(*new_set)); in main()
108 sigemptyset(libc_set); in main()
[all …]
Drt_sigsuspend.c92 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
93 sigemptyset(libc_set); in main()
94 sigaddset(libc_set, SIGUSR1); in main()
95 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
118 sigemptyset(libc_set); in main()
119 sigaddset(libc_set, SIGUSR2); in main()
120 memcpy(k_set, libc_set, set_size); in main()
127 sigaddset(libc_set, SIGHUP); in main()
128 memcpy(k_set, libc_set, set_size); in main()
135 sigaddset(libc_set, SIGINT); in main()
[all …]
Drt_sigprocmask.c95 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
113 sigemptyset(libc_set); in main()
114 sigaddset(libc_set, SIGHUP); in main()
115 memcpy(k_set, libc_set, set_size); in main()
121 memset(libc_set, -1, sizeof(sigset_t)); in main()
122 sigdelset(libc_set, SIGHUP); in main()
123 memcpy(k_set, libc_set, set_size); in main()
130 sigdelset(libc_set, SIGKILL); in main()
131 memcpy(k_set, libc_set, set_size); in main()
138 sigemptyset(libc_set); in main()
[all …]
Dsigpending.c55 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
57 sigemptyset(libc_set); in main()
58 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
61 if (k_sigpending((uintptr_t) libc_set)) in main()
76 sigaddset(libc_set, SIGHUP); in main()
77 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
84 sigaddset(libc_set, SIGINT); in main()
85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Drt_sigtimedwait.c137 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
138 sigemptyset(libc_set); in main()
139 sigaddset(libc_set, SIGHUP); in main()
140 memcpy(k_set, libc_set, set_size); in main()
149 sigaddset(libc_set, SIGINT); in main()
150 memcpy(k_set, libc_set, set_size); in main()
159 sigaddset(libc_set, SIGQUIT); in main()
160 sigaddset(libc_set, SIGALRM); in main()
161 sigaddset(libc_set, SIGTERM); in main()
162 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigpending.c82 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
84 sigemptyset(libc_set); in main()
85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
107 sigaddset(libc_set, SIGHUP); in main()
108 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
114 sigaddset(libc_set, SIGINT); in main()
115 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Dptrace.c237 sigset_t libc_set; in main() local
238 sigemptyset(&libc_set); in main()
239 sigaddset(&libc_set, SIGUSR1); in main()
240 memcpy(k_set, &libc_set, sigset_size); in main()
/external/strace/tests-m32/
Dsigprocmask.c68 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
88 sigemptyset(libc_set); in main()
89 sigaddset(libc_set, SIGHUP); in main()
90 memcpy(new_set, libc_set, sizeof(*new_set)); in main()
95 memset(libc_set, -1, sizeof(*libc_set)); in main()
96 sigdelset(libc_set, SIGHUP); in main()
97 memcpy(new_set, libc_set, sizeof(*new_set)); in main()
102 sigdelset(libc_set, SIGKILL); in main()
103 memcpy(new_set, libc_set, sizeof(*new_set)); in main()
108 sigemptyset(libc_set); in main()
[all …]
Drt_sigsuspend.c92 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
93 sigemptyset(libc_set); in main()
94 sigaddset(libc_set, SIGUSR1); in main()
95 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
118 sigemptyset(libc_set); in main()
119 sigaddset(libc_set, SIGUSR2); in main()
120 memcpy(k_set, libc_set, set_size); in main()
127 sigaddset(libc_set, SIGHUP); in main()
128 memcpy(k_set, libc_set, set_size); in main()
135 sigaddset(libc_set, SIGINT); in main()
[all …]
Drt_sigprocmask.c95 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
113 sigemptyset(libc_set); in main()
114 sigaddset(libc_set, SIGHUP); in main()
115 memcpy(k_set, libc_set, set_size); in main()
121 memset(libc_set, -1, sizeof(sigset_t)); in main()
122 sigdelset(libc_set, SIGHUP); in main()
123 memcpy(k_set, libc_set, set_size); in main()
130 sigdelset(libc_set, SIGKILL); in main()
131 memcpy(k_set, libc_set, set_size); in main()
138 sigemptyset(libc_set); in main()
[all …]
Dsigpending.c55 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
57 sigemptyset(libc_set); in main()
58 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
61 if (k_sigpending((uintptr_t) libc_set)) in main()
76 sigaddset(libc_set, SIGHUP); in main()
77 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
84 sigaddset(libc_set, SIGINT); in main()
85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Drt_sigtimedwait.c137 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
138 sigemptyset(libc_set); in main()
139 sigaddset(libc_set, SIGHUP); in main()
140 memcpy(k_set, libc_set, set_size); in main()
149 sigaddset(libc_set, SIGINT); in main()
150 memcpy(k_set, libc_set, set_size); in main()
159 sigaddset(libc_set, SIGQUIT); in main()
160 sigaddset(libc_set, SIGALRM); in main()
161 sigaddset(libc_set, SIGTERM); in main()
162 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigpending.c82 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, libc_set); in main()
84 sigemptyset(libc_set); in main()
85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
107 sigaddset(libc_set, SIGHUP); in main()
108 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
114 sigaddset(libc_set, SIGINT); in main()
115 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Dptrace.c237 sigset_t libc_set; in main() local
238 sigemptyset(&libc_set); in main()
239 sigaddset(&libc_set, SIGUSR1); in main()
240 memcpy(k_set, &libc_set, sigset_size); in main()