Home
last modified time | relevance | path

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

/external/strace/tests/
Drt_sigsuspend.c91 sigset_t *const libc_set = tail_alloc(sizeof(sigset_t)); in main() local
92 sigemptyset(libc_set); in main()
93 sigaddset(libc_set, SIGUSR1); in main()
94 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
117 sigemptyset(libc_set); in main()
118 sigaddset(libc_set, SIGUSR2); in main()
119 memcpy(k_set, libc_set, set_size); in main()
126 sigaddset(libc_set, SIGHUP); in main()
127 memcpy(k_set, libc_set, set_size); in main()
134 sigaddset(libc_set, SIGINT); in main()
[all …]
Drt_sigprocmask.c94 sigset_t *const libc_set = tail_alloc(sizeof(sigset_t)); in main() local
112 sigemptyset(libc_set); in main()
113 sigaddset(libc_set, SIGHUP); in main()
114 memcpy(k_set, libc_set, set_size); in main()
120 memset(libc_set, -1, sizeof(sigset_t)); in main()
121 sigdelset(libc_set, SIGHUP); in main()
122 memcpy(k_set, libc_set, set_size); in main()
129 sigdelset(libc_set, SIGKILL); in main()
130 memcpy(k_set, libc_set, set_size); in main()
137 sigemptyset(libc_set); in main()
[all …]
Drt_sigtimedwait.c114 sigset_t *const libc_set = tail_alloc(sizeof(sigset_t)); in main() local
115 sigemptyset(libc_set); in main()
116 sigaddset(libc_set, SIGHUP); in main()
117 memcpy(k_set, libc_set, set_size); in main()
125 sigaddset(libc_set, SIGINT); in main()
126 memcpy(k_set, libc_set, set_size); in main()
135 sigaddset(libc_set, SIGQUIT); in main()
136 sigaddset(libc_set, SIGALRM); in main()
137 sigaddset(libc_set, SIGTERM); in main()
138 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigpending.c81 sigset_t *const libc_set = tail_alloc(sizeof(sigset_t)); in main() local
83 sigemptyset(libc_set); in main()
84 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
106 sigaddset(libc_set, SIGHUP); in main()
107 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
113 sigaddset(libc_set, SIGINT); in main()
114 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Dptrace.c241 sigset_t libc_set; in main() local
242 sigemptyset(&libc_set); in main()
243 sigaddset(&libc_set, SIGUSR1); in main()
244 memcpy(k_set, &libc_set, sigset_size); in main()
/external/strace/tests-m32/
Drt_sigsuspend.c91 sigset_t *const libc_set = tail_alloc(sizeof(sigset_t)); in main() local
92 sigemptyset(libc_set); in main()
93 sigaddset(libc_set, SIGUSR1); in main()
94 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
117 sigemptyset(libc_set); in main()
118 sigaddset(libc_set, SIGUSR2); in main()
119 memcpy(k_set, libc_set, set_size); in main()
126 sigaddset(libc_set, SIGHUP); in main()
127 memcpy(k_set, libc_set, set_size); in main()
134 sigaddset(libc_set, SIGINT); in main()
[all …]
Drt_sigprocmask.c94 sigset_t *const libc_set = tail_alloc(sizeof(sigset_t)); in main() local
112 sigemptyset(libc_set); in main()
113 sigaddset(libc_set, SIGHUP); in main()
114 memcpy(k_set, libc_set, set_size); in main()
120 memset(libc_set, -1, sizeof(sigset_t)); in main()
121 sigdelset(libc_set, SIGHUP); in main()
122 memcpy(k_set, libc_set, set_size); in main()
129 sigdelset(libc_set, SIGKILL); in main()
130 memcpy(k_set, libc_set, set_size); in main()
137 sigemptyset(libc_set); in main()
[all …]
Drt_sigtimedwait.c114 sigset_t *const libc_set = tail_alloc(sizeof(sigset_t)); in main() local
115 sigemptyset(libc_set); in main()
116 sigaddset(libc_set, SIGHUP); in main()
117 memcpy(k_set, libc_set, set_size); in main()
125 sigaddset(libc_set, SIGINT); in main()
126 memcpy(k_set, libc_set, set_size); in main()
135 sigaddset(libc_set, SIGQUIT); in main()
136 sigaddset(libc_set, SIGALRM); in main()
137 sigaddset(libc_set, SIGTERM); in main()
138 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigpending.c81 sigset_t *const libc_set = tail_alloc(sizeof(sigset_t)); in main() local
83 sigemptyset(libc_set); in main()
84 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
106 sigaddset(libc_set, SIGHUP); in main()
107 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
113 sigaddset(libc_set, SIGINT); in main()
114 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Dptrace.c241 sigset_t libc_set; in main() local
242 sigemptyset(&libc_set); in main()
243 sigaddset(&libc_set, SIGUSR1); in main()
244 memcpy(k_set, &libc_set, sigset_size); in main()
/external/strace/tests-mx32/
Drt_sigsuspend.c91 sigset_t *const libc_set = tail_alloc(sizeof(sigset_t)); in main() local
92 sigemptyset(libc_set); in main()
93 sigaddset(libc_set, SIGUSR1); in main()
94 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
117 sigemptyset(libc_set); in main()
118 sigaddset(libc_set, SIGUSR2); in main()
119 memcpy(k_set, libc_set, set_size); in main()
126 sigaddset(libc_set, SIGHUP); in main()
127 memcpy(k_set, libc_set, set_size); in main()
134 sigaddset(libc_set, SIGINT); in main()
[all …]
Drt_sigprocmask.c94 sigset_t *const libc_set = tail_alloc(sizeof(sigset_t)); in main() local
112 sigemptyset(libc_set); in main()
113 sigaddset(libc_set, SIGHUP); in main()
114 memcpy(k_set, libc_set, set_size); in main()
120 memset(libc_set, -1, sizeof(sigset_t)); in main()
121 sigdelset(libc_set, SIGHUP); in main()
122 memcpy(k_set, libc_set, set_size); in main()
129 sigdelset(libc_set, SIGKILL); in main()
130 memcpy(k_set, libc_set, set_size); in main()
137 sigemptyset(libc_set); in main()
[all …]
Drt_sigtimedwait.c114 sigset_t *const libc_set = tail_alloc(sizeof(sigset_t)); in main() local
115 sigemptyset(libc_set); in main()
116 sigaddset(libc_set, SIGHUP); in main()
117 memcpy(k_set, libc_set, set_size); in main()
125 sigaddset(libc_set, SIGINT); in main()
126 memcpy(k_set, libc_set, set_size); in main()
135 sigaddset(libc_set, SIGQUIT); in main()
136 sigaddset(libc_set, SIGALRM); in main()
137 sigaddset(libc_set, SIGTERM); in main()
138 memcpy(k_set, libc_set, set_size); in main()
[all …]
Drt_sigpending.c81 sigset_t *const libc_set = tail_alloc(sizeof(sigset_t)); in main() local
83 sigemptyset(libc_set); in main()
84 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
106 sigaddset(libc_set, SIGHUP); in main()
107 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
113 sigaddset(libc_set, SIGINT); in main()
114 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Dptrace.c241 sigset_t libc_set; in main() local
242 sigemptyset(&libc_set); in main()
243 sigaddset(&libc_set, SIGUSR1); in main()
244 memcpy(k_set, &libc_set, sigset_size); in main()