Home
last modified time | relevance | path

Searched refs:pid (Results 1826 - 1850 of 7696) sorted by relevance

1...<<71727374757677787980>>...308

/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-context-chk-vmx.c36 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
104 pid_t pid = getpid(); in tm_signal_context_chk() local
125 rc = tm_signal_self_context_load(pid, NULL, NULL, vms, NULL); in tm_signal_context_chk()
126 FAIL_IF(rc != pid); in tm_signal_context_chk()
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/
H A Dshm_test_009.cpp89 int pid; in Testcase() local
139 pid = waitpid(childPid, NULL, 0); in Testcase()
140 ICUNIT_ASSERT_EQUAL(pid, childPid, pid); in Testcase()
/kernel/liteos_m/kal/posix/src/
H A Dsignal.c156 int pthread_kill(pthread_t pid, int sig) in pthread_kill() argument
158 unsigned int ret = LOS_SignalSend((unsigned int)pid, sig); in pthread_kill()
167 int kill(pid_t pid, int sig) in kill() argument
169 unsigned int ret = LOS_SignalSend((unsigned int)pid, sig); in kill()
/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_net_container_002.cpp126 auto pid = clone(ChildFunc, stackTop, SIGCHLD, NULL); in ItNetContainer002() local
127 ASSERT_NE(pid, -1); in ItNetContainer002()
130 ret = waitpid(pid, &status, 0); in ItNetContainer002()
131 ASSERT_EQ(ret, pid); in ItNetContainer002()
H A DIt_net_container_001.cpp117 auto pid = clone(ChildFunc, stackTop, SIGCHLD | CLONE_NEWNET, NULL); in ItNetContainer001() local
118 ASSERT_NE(pid, -1); in ItNetContainer001()
121 ret = waitpid(pid, &status, 0); in ItNetContainer001()
122 ASSERT_EQ(ret, pid); in ItNetContainer001()
/kernel/liteos_a/testsuites/unittest/extended/signal/full/
H A Dsignal_test_001.cpp71 int pid = fork(); in TestCase() local
72 if (pid == 0) { in TestCase()
83 int ret = kill(10, 0); // 10, kill process pid. in TestCase()
88 ret = kill(99999, 0); // 99999, kill process pid. in TestCase()
93 ret = kill(10, 31); // 10, kill process pid; 31, signal. in TestCase()
98 ret = kill(10, 32); // 10, kill process pid; 32, signal. in TestCase()
104 ret = kill(2, 32); // 2, kill process pid; 32, signal. in TestCase()
111 ret = kill(2, 5); // 2, kill process pid; 5, signal. in TestCase()
117 ret = kill(3, 5); // 3, kill process pid; 5, signal. in TestCase()
181 int retValue = waitpid(pid, in TestCase()
[all...]
/kernel/liteos_a/testsuites/unittest/security/vid/smoke/
H A Dvid_test_001.cpp130 int pid; in TestCase() local
132 pid = fork(); in TestCase()
133 if (pid == 0) { in TestCase()
137 waitpid(pid, &status, 0); in TestCase()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dmntentndk.cpp52 int pid = PARAM_0; in DoPlainTests() local
53 pid = fork(); in DoPlainTests()
54 if (pid == FAIL) { in DoPlainTests()
57 if (pid == PARAM_0) { in DoPlainTests()
H A Dmountndk.cpp40 int pid = PARAM_0; in DoPlainTests() local
41 pid = fork(); in DoPlainTests()
42 if (pid == FAIL) { in DoPlainTests()
45 if (pid == PARAM_0) { in DoPlainTests()
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/
H A Dsignalndk32.cpp52 pid_t pid = fork(); in SigTimedWait_time641() local
54 if (pid && pid != MINUSONE) { in SigTimedWait_time641()
62 if (pid == PARAM_0) { in SigTimedWait_time641()
/test/xts/hats/kernel/syscalls/fileio/capset/
H A DCapsetApiTest.cpp71 hdr.pid = g_pid; in HWTEST_F()
100 hdr.pid = g_pid; in HWTEST_F()
121 hdr.pid = INVALID_PID; in HWTEST_F()
142 hdr.pid = UNUSED_PID; in HWTEST_F()
/test/xts/hats/kernel/syscalls/security/capget/
H A DCapGetApiTest.cpp71 hdr.pid = g_pid; in HWTEST_F()
102 hdr.pid = g_pid; in HWTEST_F()
123 hdr.pid = INVALID_PID; in HWTEST_F()
144 hdr.pid = UNUSED_PID; in HWTEST_F()
/third_party/alsa-utils/alsaloop/
H A Dtest.sh79 pid=$(ps ax | grep alsaloop | grep -v grep | colrm 7 255)
80 if test -n "$pid"; then
81 echo "Killing alsaloop $pid..."
82 kill -SIGUSR1 $pid
/third_party/googletest/googletest/src/hwext/
H A Dgtest-multithread.cpp32 auto pid = rand() % 100 + i; in run() local
33 appendTaskToList(pid, val.m_func, val.m_testsuite, val.m_testcase); in run()
73 auto pid = rand() % 100 + i; in runTask() local
74 appendTaskToList(pid, val.m_func, val.m_testsuite, val.m_testcase); in runTask()
/third_party/mesa3d/.gitlab-ci/common/
H A Dinit-stage2.sh13 for pid in $BACKGROUND_PIDS
15 kill "$pid" 2>/dev/null || true
21 for pid in $BACKGROUND_PIDS
23 kill -9 "$pid" 2>/dev/null || true
/third_party/node/tools/
H A Dpseudo-tty.py65 pid = os.fork() variable
66 if not pid:
95 if pid == os.waitpid(pid, os.WNOHANG)[0]:
/third_party/ltp/testcases/kernel/syscalls/access/
H A Daccess02.c146 pid_t pid; in verify_access() local
152 pid = SAFE_FORK(); in verify_access()
153 if (pid) { in verify_access()
154 SAFE_WAITPID(pid, NULL, 0); in verify_access()
/third_party/ltp/testcases/kernel/syscalls/fork/
H A Dfork09.c67 int pid, status, nf; in main() local
115 pid = fork(); in main()
116 if (pid == -1) in main()
119 if (pid == 0) { /* child */ in main()
/third_party/ltp/testcases/kernel/syscalls/mbind/
H A Dmbind04.c49 pid_t pid; in verify_policy() local
72 pid = SAFE_FORK(); in verify_policy()
73 if (pid) { in verify_policy()
109 if (!pid) in verify_policy()
/third_party/ltp/testcases/kernel/syscalls/select/
H A Dselect03.c72 int pid, status; in run() local
74 pid = SAFE_FORK(); in run()
75 if (!pid) in run()
78 SAFE_WAITPID(pid, &status, 0); in run()
/third_party/ltp/testcases/kernel/uevents/
H A Duevent03.c54 int pid, fd; in verify_uevent() local
224 pid = SAFE_FORK(); in verify_uevent()
225 if (!pid) { in verify_uevent()
231 wait_for_pid(pid); in verify_uevent()
/third_party/ltp/testcases/kernel/input/
H A Dinput06.c49 int pid; in main() local
56 pid = tst_fork(); in main()
58 switch (pid) { in main()
73 SAFE_WAITPID(NULL, pid, NULL, 0); in main()
/third_party/ltp/testcases/kernel/security/umip/
H A Dumip_basic_test.c85 pid_t pid; in verify_umip_instruction() local
87 pid = SAFE_FORK(); in verify_umip_instruction()
88 if (pid == 0) { in verify_umip_instruction()
113 SAFE_WAITPID(pid, &status, 0); in verify_umip_instruction()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmat/
H A Dshmat01.c84 pid_t pid; in verify_shmat() local
115 pid = SAFE_FORK(); in verify_shmat()
116 if (!pid) in verify_shmat()
119 SAFE_WAITPID(pid, &status, 0); in verify_shmat()
/third_party/ltp/testcases/kernel/syscalls/setitimer/
H A Dsetitimer01.c61 pid_t pid; in verify_setitimer() local
75 pid = SAFE_FORK(); in verify_setitimer()
77 if (pid == 0) { in verify_setitimer()
125 SAFE_WAITPID(pid, &status, 0); in verify_setitimer()

Completed in 11 milliseconds

1...<<71727374757677787980>>...308