/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-m32/ |
D | qual_signal.test | 34 local sigs 35 sigs="$1"; shift 38 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 | 65 const char *const sigs = SIGUSR2 < SIGCHLD ? "USR2 CHLD" : "CHLD USR2"; in main() local 75 sigs, size, sprintrc(fd)); in main()
|
/external/strace/tests/ |
D | qual_signal.test | 34 local sigs 35 sigs="$1"; shift 38 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 | 65 const char *const sigs = SIGUSR2 < SIGCHLD ? "USR2 CHLD" : "CHLD USR2"; in main() local 75 sigs, size, sprintrc(fd)); in main()
|
/external/strace/tests-mx32/ |
D | qual_signal.test | 34 local sigs 35 sigs="$1"; shift 38 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 | 65 const char *const sigs = SIGUSR2 < SIGCHLD ? "USR2 CHLD" : "CHLD USR2"; in main() local 75 sigs, size, sprintrc(fd)); in main()
|
D | ptrace.c | 103 siginfo_t *sigs = tail_alloc(sizeof(*sigs) * nsigs); in test_peeksiginfo() local 138 (unsigned long) psi, (unsigned long) sigs); in test_peeksiginfo() 142 (unsigned) pid, psi->off, psi->nr, sigs, in test_peeksiginfo()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11_misc.h | 81 dxbc_chunk_signature* sigs[2]; in D3D10GetInputAndOutputSignatureBlob() local 82 sigs[0] = dxbc_find_signature(shader_bytecode, bytecode_length, DXBC_FIND_INPUT_SIGNATURE); in D3D10GetInputAndOutputSignatureBlob() 83 if(!sigs[0]) in D3D10GetInputAndOutputSignatureBlob() 85 sigs[1] = dxbc_find_signature(shader_bytecode, bytecode_length, DXBC_FIND_OUTPUT_SIGNATURE); in D3D10GetInputAndOutputSignatureBlob() 86 if(!sigs[1]) in D3D10GetInputAndOutputSignatureBlob() 89 return dxbc_assemble_as_blob((dxbc_chunk_header**)&sigs, 2, signature_blob); in D3D10GetInputAndOutputSignatureBlob()
|
/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/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/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/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/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()
|
/external/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()
|
/external/junit/src/main/java/org/junit/experimental/theories/ |
D | ParameterSignature.java | 49 ArrayList<ParameterSignature> sigs = new ArrayList<ParameterSignature>(); in signatures() local 51 sigs.add(new ParameterSignature(parameterTypes[i], in signatures() 54 return sigs; in signatures()
|