Home
last modified time | relevance | path

Searched refs:pid2 (Results 1 – 25 of 812) sorted by relevance

12345678910>>...33

/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dstress-kcmp.c221 int fd2, status, pid2; in stress_kcmp() local
224 pid2 = getpid(); in stress_kcmp()
235 KCMP(pid2, pid2, SHIM_KCMP_FILE, fd1, fd1); in stress_kcmp()
236 KCMP(pid2, pid2, SHIM_KCMP_FILE, fd2, fd2); in stress_kcmp()
240 KCMP(pid2, pid2, SHIM_KCMP_FILES, 0, 0); in stress_kcmp()
244 KCMP(pid2, pid2, SHIM_KCMP_FS, 0, 0); in stress_kcmp()
248 KCMP(pid2, pid2, SHIM_KCMP_IO, 0, 0); in stress_kcmp()
252 KCMP(pid2, pid2, SHIM_KCMP_SIGHAND, 0, 0); in stress_kcmp()
256 KCMP(pid2, pid2, SHIM_KCMP_SYSVSEM, 0, 0); in stress_kcmp()
260 KCMP(pid2, pid2, SHIM_KCMP_VM, 0, 0); in stress_kcmp()
[all …]
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/none/tests/x86-solaris/
H A Dsyscalls.c23 if (pid == pid2) in check_pid()
31 int pid, pid2, dummy; in main() local
37 SYSCALL("syscall", SYS_getpid, pid2); in main()
38 check_pid(pid, pid2, "syscall"); in main()
41 SYSCALL("sysenter", SYS_getpid, pid2); in main()
42 check_pid(pid, pid2, "sysenter"); in main()
45 SYSCALL("int $0x80", SYS_getpid, pid2); in main()
46 check_pid(pid, pid2, "int $0x80"); in main()
48 SYSCALL("int $0x81", SYS_getpid, pid2); in main()
49 check_pid(pid, pid2, "int $0x81"); in main()
[all …]
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/none/tests/x86-solaris/
H A Dsyscalls.c23 if (pid == pid2) in check_pid()
31 int pid, pid2, dummy; in main() local
37 SYSCALL("syscall", SYS_getpid, pid2); in main()
38 check_pid(pid, pid2, "syscall"); in main()
41 SYSCALL("sysenter", SYS_getpid, pid2); in main()
42 check_pid(pid, pid2, "sysenter"); in main()
45 SYSCALL("int $0x80", SYS_getpid, pid2); in main()
46 check_pid(pid, pid2, "int $0x80"); in main()
48 SYSCALL("int $0x81", SYS_getpid, pid2); in main()
49 check_pid(pid, pid2, "int $0x81"); in main()
[all …]
/dports/devel/cook/cook-2.30/cook/os/
H A Dwait.c90 int pid2; in os_wait4() local
123 pid2 = wait(status); in os_wait4()
128 return pid2; in os_wait4()
145 pid2 = cp->pid; in os_wait4()
156 return pid2; in os_wait4()
182 pid2 = wait(&status2); in os_wait4()
189 if (pid2 <= 0) in os_wait4()
193 return pid2; in os_wait4()
199 if (pid2 == pid) in os_wait4()
208 return pid2; in os_wait4()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/kcmp/
H A Dkcmp_test.c35 int pid1, pid2; in main() local
81 pid2 = fork(); in main()
82 if (pid2 < 0) { in main()
87 if (!pid2) { in main()
88 int pid2 = getpid(); in main() local
101 pid1, pid2, in main()
103 sys_kcmp(pid1, pid2, KCMP_FILES, 0, 0), in main()
104 sys_kcmp(pid1, pid2, KCMP_VM, 0, 0), in main()
105 sys_kcmp(pid1, pid2, KCMP_FS, 0, 0), in main()
107 sys_kcmp(pid1, pid2, KCMP_IO, 0, 0), in main()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/kcmp/
H A Dkcmp_test.c35 int pid1, pid2; in main() local
81 pid2 = fork(); in main()
82 if (pid2 < 0) { in main()
87 if (!pid2) { in main()
88 int pid2 = getpid(); in main() local
101 pid1, pid2, in main()
103 sys_kcmp(pid1, pid2, KCMP_FILES, 0, 0), in main()
104 sys_kcmp(pid1, pid2, KCMP_VM, 0, 0), in main()
105 sys_kcmp(pid1, pid2, KCMP_FS, 0, 0), in main()
107 sys_kcmp(pid1, pid2, KCMP_IO, 0, 0), in main()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/kcmp/
H A Dkcmp_test.c35 int pid1, pid2; in main() local
81 pid2 = fork(); in main()
82 if (pid2 < 0) { in main()
87 if (!pid2) { in main()
88 int pid2 = getpid(); in main() local
101 pid1, pid2, in main()
103 sys_kcmp(pid1, pid2, KCMP_FILES, 0, 0), in main()
104 sys_kcmp(pid1, pid2, KCMP_VM, 0, 0), in main()
105 sys_kcmp(pid1, pid2, KCMP_FS, 0, 0), in main()
107 sys_kcmp(pid1, pid2, KCMP_IO, 0, 0), in main()
[all …]
/dports/devel/R-cran-future/future/tests/
H A Dnested_futures,mc.cores.R44 list(pid = Sys.getpid(), cores = availableCores(), pid1 = b1, pid2 = b2) nameattr
49 stopifnot((mc2 <= 1 && a$pid2 == pid) || (a$pid2 != pid))
50 stopifnot(((mc2 <= 1 || a$cores <= 2) && a$pid2 == a$pid1) || (a$pid2 != a$pid1))
63 stopifnot((mc2 <= 1 && a$pid2 == pid) || (a$pid2 != pid))
64 stopifnot((mc2 <= 1 && a$pid2 == a$pid1) || (a$pid2 != a$pid1))
77 stopifnot((mc2 <= 1 && a$pid2 == pid) || (a$pid2 != pid))
78 stopifnot(a$pid2 == a$pid1)
90 stopifnot((mc2 <= 1 && a$pid2 == pid) || (a$pid2 != pid))
91 stopifnot(a$pid2 == a$pid1)
104 stopifnot(a$pid2 != pid)
[all …]
H A Dcluster,worker-termination.R68 pid2 <- Sys.getpid() globalVar
70 message("Main PID: ", pid2)
71 stopifnot(pid2 == pid)
79 pid2 <- Sys.getpid() globalVar
81 message("Main PID: ", pid2)
82 stopifnot(pid2 == pid)
90 pid2 <- Sys.getpid() globalVar
92 message("Main PID: ", pid2)
93 stopifnot(pid2 == pid)
H A Dcluster.R216 pid2 <- Sys.getpid() globalVar
219 stopifnot(pid2 == pid)
249 pid2 <- Sys.getpid() globalVar
252 stopifnot(pid2 == pid)
297 pid2 <- Sys.getpid() globalVar
300 stopifnot(pid2 == pid)
312 pid2 <- Sys.getpid() globalVar
314 message("Main PID: ", pid2)
315 stopifnot(pid2 == pid)
337 pid2 <- Sys.getpid() globalVar
[all …]
/dports/math/ignition-math/ignitionrobotics-ign-math-46f3dd24499c/src/
H A DPID_TEST.cc62 EXPECT_DOUBLE_EQ(10.5, pid2.IMax()); in TEST()
63 EXPECT_DOUBLE_EQ(1.4, pid2.IMin()); in TEST()
67 EXPECT_DOUBLE_EQ(0.0, pid2.Cmd()); in TEST()
73 pid.SetPGain(pid2.PGain()); in TEST()
74 pid.SetIGain(pid2.IGain()); in TEST()
75 pid.SetDGain(pid2.DGain()); in TEST()
76 pid.SetIMax(pid2.IMax()); in TEST()
77 pid.SetIMin(pid2.IMin()); in TEST()
78 pid.SetCmdMax(pid2.CmdMax()); in TEST()
79 pid.SetCmdMin(pid2.CmdMin()); in TEST()
[all …]
/dports/devel/pecl-swoole/swoole-4.8.5/core-tests/src/os/
H A Dwait.cpp17 pid_t pid2 = swoole_coroutine_waitpid(pid, &status, 0); in TEST() local
19 ASSERT_EQ(pid, pid2); in TEST()
34 pid_t pid2 = swoole_coroutine_waitpid(pid, &status, 0); in TEST() local
36 ASSERT_EQ(pid, pid2); in TEST()
51 pid_t pid2 = -1; in TEST() local
54 pid2 = swoole_coroutine_wait(&status); in TEST()
55 if (pid2 == pid) { in TEST()
75 pid_t pid2 = -1; in TEST() local
78 pid2 = swoole_coroutine_wait(&status); in TEST()
79 if (pid2 == pid) { in TEST()
/dports/devel/libzvbi/zvbi-0.2.35/test/
H A Dtest-vps.cc102 test_pid pid2; in assert_decode_vps_pdc() local
107 pid2 = *pid; in assert_decode_vps_pdc()
131 test_pid pid2; in assert_encode_vps_pdc() local
134 pid2 = *pid; in assert_encode_vps_pdc()
149 assert (pid2 == *pid); in assert_encode_vps_pdc()
160 test_pid pid2; in assert_decode_dvb_pdc_descriptor() local
164 pid2 = *pid; in assert_decode_dvb_pdc_descriptor()
186 test_pid pid2; in assert_encode_dvb_pdc_descriptor() local
188 pid2 = *pid; in assert_encode_dvb_pdc_descriptor()
203 assert (pid2 == *pid); in assert_encode_dvb_pdc_descriptor()
[all …]
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/curl-sys-0.4.51+curl-7.80.0/curl/tests/
H A Druntests.pl491 my $pid2 = 0;
536 if(($pid2 > 0) && pidexists($pid2)) {
543 $pid2 = 0;
1638 $pid2 = $pid3;
1708 my $pid2;
1879 $pid2 = $pid3;
1974 my $pid2;
2077 $pid2 = $pid3;
2159 $pid2 = $pid3;
2217 my $pid2;
[all …]
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/curl-sys-0.4.48+curl-7.79.1/curl/tests/
H A Druntests.pl490 my $pid2 = 0;
535 if(($pid2 > 0) && pidexists($pid2)) {
542 $pid2 = 0;
1637 $pid2 = $pid3;
1707 my $pid2;
1878 $pid2 = $pid3;
1973 my $pid2;
2076 $pid2 = $pid3;
2158 $pid2 = $pid3;
2216 my $pid2;
[all …]
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/curl-sys-0.4.41+curl-7.75.0/curl/tests/
H A Druntests.pl481 my $pid2 = 0;
523 if(($pid2 > 0) && pidexists($pid2)) {
530 $pid2 = 0;
1593 $pid2 = $pid3;
1663 my $pid2;
1836 $pid2 = $pid3;
1931 my $pid2;
2035 $pid2 = $pid3;
2117 $pid2 = $pid3;
2175 my $pid2;
[all …]
/dports/lang/rust/rustc-1.58.1-src/vendor/curl-sys/curl/tests/
H A Druntests.pl491 my $pid2 = 0;
536 if(($pid2 > 0) && pidexists($pid2)) {
543 $pid2 = 0;
1638 $pid2 = $pid3;
1708 my $pid2;
1879 $pid2 = $pid3;
1974 my $pid2;
2077 $pid2 = $pid3;
2159 $pid2 = $pid3;
2217 my $pid2;
[all …]
/dports/audio/lewton/lewton-0.10.2/cargo-crates/curl-sys-0.4.25/curl/tests/
H A Druntests.pl444 my $pid2 = 0;
486 if(($pid2 > 0) && pidexists($pid2)) {
1527 $pid2 = $pid3;
1689 $pid2 = $pid3;
1785 $pid2 = $pid3;
1948 $pid2 = $pid3;
2029 $pid2 = $pid3;
2111 $pid2 = $pid3;
2263 $pid2 = $pid3;
2340 $pid2 = $pid3;
[all …]
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/curl/tests/
H A Druntests.pl433 my $pid2 = 0;
475 if(($pid2 > 0) && pidexists($pid2)) {
1495 $pid2 = $pid3;
1657 $pid2 = $pid3;
1753 $pid2 = $pid3;
1916 $pid2 = $pid3;
1997 $pid2 = $pid3;
2079 $pid2 = $pid3;
2231 $pid2 = $pid3;
2308 $pid2 = $pid3;
[all …]
/dports/www/p5-CGI-SpeedyCGI/CGI-SpeedyCGI-2.22/speedy/t/
H A Dgroup.t11 sub check_pids { my($same, $pid1, $pid2) = @_;
13 my $ok = $pid1 ne '' && $pid2 ne '' && $pid1 > 0 && $pid2 > 0 &&
14 ($same ? ($pid1 == $pid2) : ($pid1 != $pid2));
30 my $pid2 = `$ENV{SPEEDY} -- -g$grp2 t/scripts/group2`;
32 &check_pids($same, $pid1, $pid2);
42 my $pid2 = `$ENV{SPEEDY} -- -g t/scripts/group3`;
43 my $ok = $pid1 ne '' && $pid2 ne '' && $pid1 > 0 && $pid1 == $pid2;
55 $pid2 = `$ENV{SPEEDY} -- t/scripts/group1`;
57 &check_pids(0, $pid1, $pid2);
/dports/www/newsboat/newsboat-2.22.1/cargo-crates/curl-sys-0.4.39+curl-7.74.0/curl/tests/
H A Druntests.pl478 my $pid2 = 0;
520 if(($pid2 > 0) && pidexists($pid2)) {
527 $pid2 = 0;
1590 $pid2 = $pid3;
1658 my $pid2;
1831 $pid2 = $pid3;
1926 my $pid2;
2030 $pid2 = $pid3;
2112 $pid2 = $pid3;
2170 my $pid2;
[all …]
/dports/net/proby/proby-1.0.2/cargo-crates/curl-sys-0.4.34+curl-7.71.1/curl/tests/
H A Druntests.pl478 my $pid2 = 0;
520 if(($pid2 > 0) && pidexists($pid2)) {
1580 $pid2 = $pid3;
1648 my $pid2;
1760 $pid2 = $pid3;
1839 $pid2 = $pid3;
1934 my $pid2;
2046 $pid2 = $pid3;
2128 $pid2 = $pid3;
2186 my $pid2;
[all …]
/dports/math/reduce/Reduce-svn5758-src/csl/cslbase/
H A Dforktest.cpp61 { pid_t pid1, pid2, pidx, pidy; in main() local
76 pid2 = fork(); in main()
77 if (pid2 < 0) in main()
83 else if (pid2 == 0) in main()
91 { std::printf("Task 2 has pid %d\n", pid2); in main()
97 kill(pid2, SIGKILL); in main()
99 waitpid(pid2, &status, 0); in main()
102 pidy = pidx == pid1 ? pid2 : pid1; in main()
/dports/mail/spamassassin-devel/spamassassin-1ea352210/t/
H A Dspamd_hup.t16 my($pid1, $pid2);
45 ok ($pid2 = read_from_pidfile($pid_file));
46 dbgprint "Looking for new spamd at pid $pid2...\n";
48 ok ($pid2 != 0 and kill (0, $pid2));
61 $pid1 = $pid2;
/dports/mail/spamassassin/Mail-SpamAssassin-3.4.5/t/
H A Dspamd_hup.t16 my($pid1, $pid2);
45 ok ($pid2 = read_from_pidfile($pid_file));
46 dbgprint "Looking for new spamd at pid $pid2...\n";
48 ok ($pid2 != 0 and kill (0, $pid2));
61 $pid1 = $pid2;

12345678910>>...33