/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/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 | signalfd4.c | 47 const char *const sigs = SIGUSR2 < SIGCHLD ? "USR2 CHLD" : "CHLD USR2"; in main() local 57 sigs, size, sprintrc(fd)); in main()
|
D | sigreturn.c | 79 static const char *const sigs = in main() local 82 printf("sigreturn({mask=[%s %s]}) = 0\n", sigs, rt_sigs); in main()
|
/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 | signalfd4.c | 47 const char *const sigs = SIGUSR2 < SIGCHLD ? "USR2 CHLD" : "CHLD USR2"; in main() local 57 sigs, size, sprintrc(fd)); in main()
|
D | sigreturn.c | 79 static const char *const sigs = in main() local 82 printf("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 | 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/sigrelse/ |
D | 3-1.c | 26 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 32 for (i = 0; i < sizeof(sigs) / sizeof(int); i++) { in main() 33 ret = sigrelse(sigs[i]); in main() 38 sigs[i], ret, errno); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sighold/ |
D | 3-1.c | 23 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 29 for (i = 0; i < sizeof(sigs) / sizeof(int); i++) { in main() 30 ret = sighold(sigs[i]); in main() 35 sigs[i], ret, errno); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigignore/ |
D | 5-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 = sigignore(sigs[i]); in main() 34 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/valgrind/none/tests/mips32/ |
D | SignalException.c | 78 static const int sigs[] = { SIGFPE }; in main() local 84 for(i = 0; i < sizeof(sigs)/sizeof(*sigs); i++) in main() 85 sigaction(sigs[i], &sa, NULL); in main()
|
/external/valgrind/none/tests/x86/ |
D | faultstatus.c | 111 static const int sigs[] = { SIGSEGV, SIGILL, SIGBUS, SIGFPE, SIGTRAP }; in main() local 118 for(i = 0; i < sizeof(sigs)/sizeof(*sigs); i++) in main() 119 sigaction(sigs[i], &sa, NULL); in main()
|
/external/valgrind/none/tests/amd64/ |
D | faultstatus.c | 93 static const int sigs[] = { SIGSEGV, SIGILL, SIGBUS, SIGFPE, SIGTRAP }; in main() local 100 for(i = 0; i < sizeof(sigs)/sizeof(*sigs); i++) in main() 101 sigaction(sigs[i], &sa, NULL); 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/valgrind/none/tests/ |
D | faultstatus.c | 142 static const int sigs[] = { SIGSEGV, SIGILL, SIGBUS, SIGFPE, SIGTRAP }; local 149 for(i = 0; i < sizeof(sigs)/sizeof(*sigs); i++) 150 sigaction(sigs[i], &sa, NULL);
|
/external/libmojo/mojo/public/cpp/system/tests/ |
D | core_unittest.cc | 115 std::vector<MojoHandleSignals> sigs; in TEST() local 116 sigs.push_back(~MOJO_HANDLE_SIGNAL_NONE); in TEST() 118 WaitMany(wh, sigs, MOJO_DEADLINE_INDEFINITE, nullptr); in TEST() 125 wait_many_result = WaitMany(wh, sigs, MOJO_DEADLINE_INDEFINITE, NULL); in TEST() 200 std::vector<MojoHandleSignals> sigs; in TEST() local 201 sigs.push_back(MOJO_HANDLE_SIGNAL_READABLE); in TEST() 202 sigs.push_back(MOJO_HANDLE_SIGNAL_WRITABLE); in TEST() 203 std::vector<MojoHandleSignalsState> states(sigs.size()); in TEST() 204 WaitManyResult wait_many_result = WaitMany(wh, sigs, 1000, &states); 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
D | 16-1.c | 54 static struct sig_info sigs[] = { variable 93 struct sig_info *s = &sigs[0]; in lookup() 214 struct sig_info *s = &sigs[0]; in main()
|