/third_party/ltp/libs/libltpsigwait/ |
D | sigwait.c | 15 sigset_t sigs; in test_empty_set() local 19 SAFE_SIGEMPTYSET(&sigs); in test_empty_set() 24 TEST(sigwaitinfo(&sigs, &si, NULL)); in test_empty_set() 40 sigset_t sigs; in test_timeout() local 49 SAFE_SIGEMPTYSET(&sigs); in test_timeout() 54 TEST(sigwaitinfo(&sigs, &si, tst_ts_get(&ts))); in test_timeout() 74 sigset_t sigs; in test_unmasked_matching() local 78 SAFE_SIGEMPTYSET(&sigs); in test_unmasked_matching() 79 SAFE_SIGADDSET(&sigs, signo); in test_unmasked_matching() 84 TEST(sigwaitinfo(&sigs, &si, NULL)); in test_unmasked_matching() [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/ |
D | 1-3.c | 23 static const int sigs[] = { variable 42 for (i = 0; i < sizeof(sigs)/sizeof(int); i++) { in main() 43 if (sigaddset(&signalset, sigs[i]) == 0) { in main() 44 if (sigismember(&signalset, sigs[i]) != 1) { in main() 46 printf("Signal %d wasn't added \n", sigs[i]); in main() 50 printf("Failed to add sinal %d\n", sigs[i]); in main()
|
D | 4-1.c | 23 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 36 for (i = 0; i < ARRAY_SIZE(sigs); i++) { in main() 37 ret = sigaddset(&signalset, sigs[i]); in main() 42 sigs[i], ret, errno); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/ |
D | 3-1.c | 25 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 27 #define NUMSIGNALS (sizeof(sigs) / sizeof(sigs[0])) 34 ret = sigrelse(sigs[i]); in main() 39 sigs[i], ret, errno); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigignore/ |
D | 5-1.c | 21 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 23 #define NUMSIGNALS (sizeof(sigs) / sizeof(sigs[0])) 30 ret = sigignore(sigs[i]); in main() 35 sigs[i], ret, errno); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sighold/ |
D | 3-1.c | 22 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 24 #define NUMSIGNALS (sizeof(sigs) / sizeof(sigs[0])) 31 ret = sighold(sigs[i]); in main() 36 sigs[i], ret, errno); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigdelset/ |
D | 4-1.c | 25 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 27 #define NUMSIGNALS (sizeof(sigs) / sizeof(sigs[0])) 40 ret = sigdelset(&signalset, sigs[i]); in main() 44 sigs[i], ret, errno); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigismember/ |
D | 5-1.c | 24 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 26 #define NUMSIGNALS (sizeof(sigs) / sizeof(sigs[0])) 39 ret = sigismember(&signalset, sigs[i]); in main() 44 sigs[i], ret, errno); in main()
|
/third_party/musl/src/linux/ |
D | signalfd.c | 7 int signalfd(int fd, const sigset_t *sigs, int flags) in signalfd() argument 9 int ret = __syscall(SYS_signalfd4, fd, sigs, _NSIG/8, flags); in signalfd() 12 ret = __syscall(SYS_signalfd, fd, sigs, _NSIG/8); in signalfd()
|
D | epoll.c | 25 int epoll_pwait(int fd, struct epoll_event *ev, int cnt, int to, const sigset_t *sigs) in epoll_pwait() argument 27 int r = __syscall_cp(SYS_epoll_pwait, fd, ev, cnt, to, sigs, _NSIG/8); in epoll_pwait() 29 if (r==-ENOSYS && !sigs) r = __syscall_cp(SYS_epoll_wait, fd, ev, cnt, to); in epoll_pwait()
|
/third_party/ltp/lib/ |
D | tst_safe_macros.c | 210 sigset_t *sigs, int signo) in safe_sigaddset() argument 214 rval = sigaddset(sigs, signo); in safe_sigaddset() 230 sigset_t *sigs, int signo) in safe_sigdelset() argument 234 rval = sigdelset(sigs, signo); in safe_sigdelset() 250 sigset_t *sigs) in safe_sigemptyset() argument 254 rval = sigemptyset(sigs); in safe_sigemptyset() 267 sigset_t *sigs) in safe_sigfillset() argument 271 rval = sigfillset(sigs); in safe_sigfillset()
|
/third_party/rust/crates/signal-hook/signal-hook-mio/tests/ |
D | mio_0_7.rs | 72 let sigs: Vec<c_int> = signals.pending().collect(); in mio_multiple_signals() localVariable 73 assert_eq!(2, sigs.len()); in mio_multiple_signals() 74 assert!(sigs.contains(&SIGUSR1)); in mio_multiple_signals() 75 assert!(sigs.contains(&SIGUSR2)); in mio_multiple_signals()
|
D | mio_0_8.rs | 72 let sigs: Vec<c_int> = signals.pending().collect(); in mio_multiple_signals() localVariable 73 assert_eq!(2, sigs.len()); in mio_multiple_signals() 74 assert!(sigs.contains(&SIGUSR1)); in mio_multiple_signals() 75 assert!(sigs.contains(&SIGUSR2)); in mio_multiple_signals()
|
D | mio_0_6.rs | 67 let sigs: Vec<c_int> = signals.pending().collect(); in mio_multiple_signals() localVariable 68 assert_eq!(2, sigs.len()); in mio_multiple_signals() 69 assert!(sigs.contains(&SIGUSR1)); in mio_multiple_signals() 70 assert!(sigs.contains(&SIGUSR2)); in mio_multiple_signals()
|
/third_party/ltp/include/ |
D | tst_safe_macros.h | 477 sigset_t *sigs, int signo); 478 #define SAFE_SIGADDSET(sigs, signo) \ argument 479 safe_sigaddset(__FILE__, __LINE__, (sigs), (signo)) 482 sigset_t *sigs, int signo); 483 #define SAFE_SIGDELSET(sigs, signo) \ argument 484 safe_sigdelset(__FILE__, __LINE__, (sigs), (signo)) 487 sigset_t *sigs); 488 #define SAFE_SIGEMPTYSET(sigs) \ argument 489 safe_sigemptyset(__FILE__, __LINE__, (sigs)) 492 sigset_t *sigs); [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
D | 16-1.c | 51 static struct sig_info sigs[] = { variable 90 struct sig_info *s = &sigs[0]; in lookup() 211 struct sig_info *s = &sigs[0]; in main()
|
/third_party/toybox/toys/other/ |
D | reboot.c | 34 sigs[] = {SIGTERM, SIGUSR1, SIGUSR2}, idx; local 45 else toys.exitval = kill(1, sigs[idx]);
|
/third_party/rust/crates/signal-hook/examples/ |
D | print.rs | 18 let mut sigs = Signals::new(SIGNALS)?; in main() localVariable 19 for signal in &mut sigs { in main()
|
/third_party/ltp/testcases/kernel/syscalls/signal/ |
D | signal02.c | 70 int sigs[] = { _NSIG + 1, SIGKILL, SIGSTOP }; variable 93 Tret = signal(sigs[i], SIG_IGN); in main()
|
/third_party/openssl/test/recipes/ |
D | 70-test_sslsigalgs.t | 429 my $sigs; 432 $sigs = pack "C26", 0x00, 0x18, 440 $sigs = pack "C10", 0x00, 0x08, 444 $sigs = pack "C4", 0x00, 0x02, 448 $message->set_extension(TLSProxy::Message::EXT_SIG_ALGS_CERT, $sigs);
|
D | 70-test_renegotiation.t | 143 my $sigs = pack "C10", 0x00, 0x08, 146 $message->set_extension(TLSProxy::Message::EXT_SIG_ALGS_CERT, $sigs);
|
/third_party/python/Lib/test/ |
D | test_signal.py | 1192 sigs = [] 1203 sigs.append(signum) 1219 while len(sigs) < expected_sigs and time.monotonic() < deadline: 1224 while len(sigs) < expected_sigs and time.monotonic() < deadline: 1229 self.assertEqual(len(sigs), N, "Some signals were lost") 1238 sigs = [] 1241 sigs.append(signum) 1257 while len(sigs) < expected_sigs and time.monotonic() < deadline: 1262 self.assertEqual(len(sigs), N, "Some signals were lost")
|
/third_party/nghttp2/src/ |
D | shrpx_signal.cc | 97 int signal_set_handler(void (*handler)(int), Signals &&sigs) { in signal_set_handler() argument 102 for (auto sig : sigs) { in signal_set_handler()
|
/third_party/toybox/porting/liteos_a/toys/other/ |
D | reboot.c | 23 sigs[] = {SIGTERM, SIGUSR1, SIGUSR2}, idx; in reboot_main() local
|
/third_party/skia/ |
D | go.mod | 64 sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e // indirect 65 sigs.k8s.io/structured-merge-diff/v3 v3.0.0 // indirect
|