Home
last modified time | relevance | path

Searched refs:pid (Results 601 - 625 of 1736) sorted by relevance

1...<<21222324252627282930>>...70

/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()
/third_party/ltp/testcases/kernel/syscalls/swapon/
H A Dswapon03.c103 pid_t pid; in setup_swap() local
145 pid = SAFE_FORK(); in setup_swap()
146 if (pid == 0) { in setup_swap()
174 waitpid(pid, &status, 0); in setup_swap()
/third_party/ltp/include/lapi/
H A Dsched.h36 static inline int sched_setattr(pid_t pid, const struct sched_attr *attr, in sched_setattr() argument
39 return syscall(__NR_sched_setattr, pid, attr, flags); in sched_setattr()
42 static inline int sched_getattr(pid_t pid, struct sched_attr *attr, in sched_getattr() argument
45 return syscall(__NR_sched_getattr, pid, attr, size, flags); in sched_getattr()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
H A D16-1.c44 int pid, succeeded = 0; in main() local
80 pid = fork(); in main()
81 if (pid == 0) { in main()
108 kill(pid, SIGUSR1); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_getpshared/
H A D2-1.c56 int pid; in main() local
125 pid = fork(); in main()
126 if (pid == -1) { in main()
131 if (pid > 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/
H A D2-2.c61 int pid; in main() local
105 pid = fork(); in main()
106 if (pid == -1) { in main()
111 if (pid > 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/
H A D8-1.c50 pid_t pid; in main() local
63 pid = fork(); in main()
64 if (pid != 0) { in main()
94 kill(pid, SIGABRT); in main()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dgetprocpid.c27 * @tc.desc : Get the pid by parsing the proc information
41 * @tc.desc : Get the pid by parsing the proc information
72 pid_t pid = getprocpid(); in child_func() local
73 if (pid == parent) { in child_func()
81 * @tc.desc : Get the pid by parsing the proc information
167 pid_t pid = getproctid(); in child_func_tid() local
168 if (pid == parent) { in child_func_tid()
/third_party/skia/third_party/externals/tint/src/ast/
H A Dmodule.cc27 Module::Module(ProgramID pid, const Source& src) : Base(pid, src) {} in Module() argument
29 Module::Module(ProgramID pid, in Module() argument
32 : Base(pid, src), global_declarations_(std::move(global_decls)) { in Module()
/third_party/rust/crates/rustix/src/process/
H A Dprocctl.rs31 /// `None` represents the current process. `Some((IdType::Pid, pid))` represents the process
32 /// with pid `pid`. `Some((IdType::Pgid, pgid))` represents the control processes belonging to
158 /// The process is being traced by the process whose pid is stored in the first
175 pid => { in trace_status()
176 let pid = unsafe { Pid::from_raw(pid as RawPid) }.ok_or(io::Errno::RANGE)?; in trace_status()
177 Ok(TracingStatus::BeingTraced(pid)) in trace_status()
/third_party/libunwind/libunwind/src/
H A Dos-linux.c34 tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip, in tdep_get_elf_image() argument
46 if (maps_init (&mi, pid) < 0) in tdep_get_elf_image()
66 cp = unw_ltoa (root + 6, pid); in tdep_get_elf_image()
/third_party/ltp/testcases/kernel/crypto/
H A Daf_alg04.c25 pid_t pid; in test_with_symm_enc_algs() local
39 pid = SAFE_FORK(); in test_with_symm_enc_algs()
48 if (pid != 0) { in test_with_symm_enc_algs()
/third_party/node/deps/v8/tools/testrunner/objects/
H A Doutput.py38 pid=None, duration=None):
43 self.pid = pid
/third_party/node/test/parallel/
H A Dtest-util-sigint-watchdog.js23 process.kill(process.pid, 'SIGINT');
34 process.kill(process.pid, 'SIGINT');
48 process.kill(process.pid, 'SIGINT');
/third_party/node/test/async-hooks/
H A Dtest-graph.signal.js20 exec(`kill -USR2 ${process.pid}`);
27 exec(`kill -USR2 ${process.pid}`);
33 exec(`kill -USR2 ${process.pid}`);
/third_party/musl/src/linux/
H A Dwait4.c8 pid_t wait4(pid_t pid, int *status, int options, struct rusage *ru) in wait4() argument
14 r = __syscall(SYS_wait4_time64, pid, status, options, kru64); in wait4()
29 r = __sys_wait4(pid, status, options, dest); in wait4()
/third_party/musl/src/process/
H A Dsystem.c14 pid_t pid; in system() local
37 ret = posix_spawn(&pid, "/bin/sh", 0, &attr, in system()
41 if (!ret) while (waitpid(pid, &status, 0)<0 && errno == EINTR); in system()

Completed in 8 milliseconds

1...<<21222324252627282930>>...70