/external/ltp/testcases/kernel/syscalls/sigwaitinfo/ |
D | sigwaitinfo01.c | 139 sigset_t sigs; in test_empty_set() local 143 SUCCEED_OR_DIE(sigemptyset, "sigemptyset failed", &sigs); in test_empty_set() 147 TEST(sigwaitinfo(&sigs, &si, NULL)); in test_empty_set() 155 sigset_t sigs; in test_timeout() local 160 SUCCEED_OR_DIE(sigemptyset, "sigemptyset failed", &sigs); in test_timeout() 165 TEST(sigwaitinfo(&sigs, &si, &ts)); in test_timeout() 176 sigset_t sigs; in test_unmasked_matching() local 180 SUCCEED_OR_DIE(sigemptyset, "sigemptyset failed", &sigs); in test_unmasked_matching() 181 SUCCEED_OR_DIE(sigaddset, "sigaddset failed", &sigs, signo); in test_unmasked_matching() 186 TEST(sigwaitinfo(&sigs, &si, NULL)); in test_unmasked_matching() [all …]
|
/external/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()
|
/external/v8/src/trap-handler/ |
D | handler-inside-linux.cc | 45 explicit SigUnmaskStack(sigset_t sigs) { in SigUnmaskStack() argument 48 pthread_sigmask(SIG_UNBLOCK, &sigs, &old_mask_); in SigUnmaskStack() 87 sigset_t sigs; in TryHandleSignal() local 90 sigemptyset(&sigs); in TryHandleSignal() 91 sigaddset(&sigs, SIGSEGV); in TryHandleSignal() 92 SigUnmaskStack unmask(sigs); in TryHandleSignal()
|
/external/strace/tests-m32/ |
D | qual_signal.test | 35 local sigs 36 sigs="$1"; shift 39 run_strace -e trace=none -e signal="$sigs" "../$NAME" "$@" > "$EXP" 45 local first second sigs 49 for sigs; do 50 test_one_sig "$sigs" 2 "$first" 15 "$second"
|
D | aio_pgetevents.c | 118 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, sigs); in main() 148 ss->sigmask = sigs + 1; in main() 155 (long) bogus_nr, sigs + 1, bogus_sigsetsize, errstr); in main() 159 ss->sigmask = sigs; in main() 169 sigemptyset(sigs); in main() 170 sigaddset(sigs, SIGSYS); in main()
|
D | signalfd4.c | 47 const char *const sigs = SIGUSR2 < SIGCHLD ? "USR2 CHLD" : "CHLD USR2"; in main() local 57 sigs, size, sprintrc(fd)); in main()
|
/external/strace/tests-mx32/ |
D | qual_signal.test | 35 local sigs 36 sigs="$1"; shift 39 run_strace -e trace=none -e signal="$sigs" "../$NAME" "$@" > "$EXP" 45 local first second sigs 49 for sigs; do 50 test_one_sig "$sigs" 2 "$first" 15 "$second"
|
D | aio_pgetevents.c | 118 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, sigs); in main() 148 ss->sigmask = sigs + 1; in main() 155 (long) bogus_nr, sigs + 1, bogus_sigsetsize, errstr); in main() 159 ss->sigmask = sigs; in main() 169 sigemptyset(sigs); in main() 170 sigaddset(sigs, SIGSYS); in main()
|
D | signalfd4.c | 47 const char *const sigs = SIGUSR2 < SIGCHLD ? "USR2 CHLD" : "CHLD USR2"; in main() local 57 sigs, size, sprintrc(fd)); in main()
|
D | rt_sigreturn.c | 72 static const char *const sigs = in main() local 75 printf("rt_sigreturn({mask=[%s %s]}) = 0\n", sigs, rt_sigs); in main()
|
/external/strace/tests/ |
D | qual_signal.test | 35 local sigs 36 sigs="$1"; shift 39 run_strace -e trace=none -e signal="$sigs" "../$NAME" "$@" > "$EXP" 45 local first second sigs 49 for sigs; do 50 test_one_sig "$sigs" 2 "$first" 15 "$second"
|
D | aio_pgetevents.c | 118 TAIL_ALLOC_OBJECT_CONST_PTR(sigset_t, sigs); in main() 148 ss->sigmask = sigs + 1; in main() 155 (long) bogus_nr, sigs + 1, bogus_sigsetsize, errstr); in main() 159 ss->sigmask = sigs; in main() 169 sigemptyset(sigs); in main() 170 sigaddset(sigs, SIGSYS); in main()
|
D | signalfd4.c | 47 const char *const sigs = SIGUSR2 < SIGCHLD ? "USR2 CHLD" : "CHLD USR2"; in main() local 57 sigs, size, sprintrc(fd)); in main()
|
D | rt_sigreturn.c | 72 static const char *const sigs = in main() local 75 printf("rt_sigreturn({mask=[%s %s]}) = 0\n", sigs, rt_sigs); in main()
|
/external/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 28 for (i = 0; i < sizeof(sigs) / sizeof(int); i++) { in main() 29 ret = sighold(sigs[i]); in main() 34 sigs[i], ret, errno); in main()
|
/external/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 27 for (i = 0; i < sizeof(sigs) / sizeof(int); i++) { in main() 28 ret = sigignore(sigs[i]); in main() 33 sigs[i], ret, errno); in main()
|
/external/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 31 for (i = 0; i < sizeof(sigs) / sizeof(int); i++) { in main() 32 ret = sigrelse(sigs[i]); in main() 37 sigs[i], ret, errno); in main()
|
/external/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 36 for (i = 0; i < sizeof(sigs) / sizeof(int); i++) { in main() 37 ret = sigismember(&signalset, sigs[i]); in main() 42 sigs[i], ret, errno); in main()
|
/external/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 37 for (i = 0; i < sizeof(sigs) / sizeof(int); i++) { in main() 38 ret = sigdelset(&signalset, sigs[i]); in main() 43 sigs[i], ret, errno); in main()
|
/external/scapy/scapy/modules/ |
D | nmap.py | 180 def nmap_search(sigs): argument 185 if test in sigs: 186 score += nmap_match_one_sig(sigs[test], values) 187 score /= len(sigs) 200 sigs = nmap_sig(target, oport, cport) 201 return nmap_search(sigs)
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | core_unittest.cc | 117 std::vector<MojoHandleSignals> sigs; in TEST() local 118 sigs.push_back(~MOJO_HANDLE_SIGNAL_NONE); in TEST() 120 MojoResult rv = WaitMany(wh.data(), sigs.data(), wh.size(), &result_index); in TEST() 172 std::vector<MojoHandleSignals> sigs; in TEST() local 173 sigs.push_back(MOJO_HANDLE_SIGNAL_READABLE); in TEST() 174 sigs.push_back(MOJO_HANDLE_SIGNAL_WRITABLE); in TEST() 175 std::vector<MojoHandleSignalsState> states(sigs.size()); in TEST() 178 MojoResult rv = WaitMany(wh.data(), sigs.data(), wh.size(), &result_index, in TEST()
|
/external/toybox/toys/other/ |
D | reboot.c | 28 sigs[] = {SIGTERM, SIGUSR1, SIGUSR2}, idx; in reboot_main() local 34 else toys.exitval = kill(1, sigs[idx]); in reboot_main()
|
/external/python/cpython3/Lib/test/ |
D | test_signal.py | 1104 sigs = [] 1115 sigs.append(signum) 1131 while len(sigs) < expected_sigs and time.monotonic() < deadline: 1136 while len(sigs) < expected_sigs and time.monotonic() < deadline: 1141 self.assertEqual(len(sigs), N, "Some signals were lost") 1150 sigs = [] 1153 sigs.append(signum) 1169 while len(sigs) < expected_sigs and time.monotonic() < deadline: 1174 self.assertEqual(len(sigs), N, "Some signals were lost")
|
/external/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()
|