Home
last modified time | relevance | path

Searched refs:pid (Results 951 - 975 of 1736) sorted by relevance

1...<<31323334353637383940>>...70

/third_party/skia/third_party/externals/tint/src/ast/
H A Dvariable.cc26 Variable::Variable(ProgramID pid, in Variable() argument
35 : Base(pid, src), in Variable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DCallGraphSCCPass.h36 explicit CallGraphSCCPass(char &pid) : Pass(PT_CallGraphSCC, pid) {} in CallGraphSCCPass() argument
H A DRegionPass.h35 explicit RegionPass(char &pid) : Pass(PT_Region, pid) {} in RegionPass() argument
/third_party/rust/crates/rustix/src/process/
H A Dwait.rs80 /// `waitpid(pid, waitopts)`—Wait for a specific process to change state.
82 /// If the pid is `None`, the call will wait for any child process whose
85 /// If the pid is equal to `RawPid::MAX`, the call will wait for any child
88 /// Otherwise if the `wrapping_neg` of pid is less than pid, the call will wait
89 /// for any child process with a group ID equal to the `wrapping_neg` of `pid`.
91 /// Otherwise, the call will wait for the child process with the given pid.
106 pub fn waitpid(pid: Option<Pid>, waitopts: WaitOptions) -> io::Result<Option<WaitStatus>> { in waitpid()
107 Ok(backend::process::syscalls::waitpid(pid, waitopts)?.map(|(_, status)| status)) in waitpid()
113 /// On success, returns the pid o
[all...]
/third_party/alsa-utils/seq/aconnect/
H A Daconnect.c201 int card = -1, pid = -1; in print_port() local
229 pid = snd_seq_client_info_get_pid(cinfo); in print_port()
231 if (pid != -1) in print_port()
232 printf(",pid=%d", pid); in print_port()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-smd/
H A Dmulti.c336 pid_t pid; in smd_ss_multi_test() local
342 pid = fork(); in smd_ss_multi_test()
343 if (!pid) /* forked child */ { in smd_ss_multi_test()
346 lwsl_notice("%s: forked test process %u\n", __func__, pid); in smd_ss_multi_test()
/third_party/ltp/testcases/kernel/fs/ftest/
H A Dftest05.c161 int child, count, i, nwait, pid, status; in runtest() local
213 pid = fork(); in runtest()
215 if (pid < 0) { in runtest()
220 if (pid == 0) { in runtest()
H A Dftest01.c152 pid_t pid; in runtest() local
213 pid = fork(); in runtest()
215 if (pid < 0) { in runtest()
220 if (pid == 0) { in runtest()
/third_party/ltp/libs/libltpsigwait/
H A Dsigwait.c320 pid_t pid; in test_bad_address2() local
323 pid = SAFE_FORK(); in test_bad_address2()
324 if (pid == 0) { in test_bad_address2()
340 SAFE_WAITPID(pid, &status, 0); in test_bad_address2()
/third_party/mesa3d/src/intel/tools/
H A Daubinator.c257 pid_t pid; in setup_pager() local
265 pid = fork(); in setup_pager()
266 if (pid == -1) in setup_pager()
269 if (pid == 0) { in setup_pager()
/third_party/ltp/testcases/kernel/security/filecaps/
H A Dverify_caps_exec.c157 int pid; in fork_drop_and_exec() local
164 pid = fork(); in fork_drop_and_exec()
165 if (pid < 0) in fork_drop_and_exec()
167 if (pid == 0) { in fork_drop_and_exec()
/third_party/ltp/testcases/misc/crash/
H A Dcrash01.c212 printf("time limit reached on pid. using kill.\n"); in monitor_fcn()
223 int status, pid; in badboy_fork() local
239 printf("badboy pid = %d\n", badboy_pid); in badboy_fork()
245 pid = wait(&status); in badboy_fork()
246 if (pid <= 0) { in badboy_fork()
250 printf("pid %d exited with status %d\n", pid, in badboy_fork()
/third_party/ltp/testcases/kernel/syscalls/ppoll/
H A Dppoll01.c236 pid_t pid = 0; in do_test() local
254 pid = create_sig_proc(SIGINT, tc->sigint_count, in do_test()
269 if (pid > 0) { in do_test()
270 kill(pid, SIGTERM); in do_test()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
H A D1-2.c296 pid_t pid; in main() local
582 pid = waitpid(p_child[ch], &status, 0); in main()
583 if (pid != p_child[ch]) { in main()
587 p_child[ch], pid); in main()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dfread.c129 pid_t pid = fork(); in fread_0500() local
130 if (pid == -1) { in fread_0500()
136 if (pid == 0) { in fread_0500()
143 sprintf(buf, "/proc/%d/status", pid); in fread_0500()
/third_party/protobuf/conformance/
H A Dconformance_test_runner.cc163 GOOGLE_LOG(INFO) << "Trying to reap child, pid=" << child_pid_; in RunTest()
269 pid_t pid = fork(); in SpawnTestProgram() local
270 if (pid < 0) { in SpawnTestProgram()
275 if (pid) { in SpawnTestProgram()
281 child_pid_ = pid; in SpawnTestProgram()
/third_party/toybox/toys/pending/
H A Dgetty.c267 pid_t pid = getpid(); in utmp_entry() local
273 if (utp_ptr->ut_pid == pid && utp_ptr->ut_type >= INIT_PROCESS) break; in utmp_entry()
298 pid_t pid = getpid(); in getty_main() local
306 tcsetpgrp(STDIN_FILENO, pid); in getty_main()
/third_party/python/Modules/
H A Dresource.c269 pid: pid_t
279 resource_prlimit_impl(PyObject *module, pid_t pid, int resource, in resource_prlimit_impl() argument
292 if (PySys_Audit("resource.prlimit", "iiO", pid, resource, in resource_prlimit_impl()
301 retval = prlimit(pid, resource, &new_limit, &old_limit); in resource_prlimit_impl()
304 retval = prlimit(pid, resource, NULL, &old_limit); in resource_prlimit_impl()
H A Dposixmodule.c6288 pid_t pid; in py_posix_spawn() local
6360 err_code = posix_spawnp(&pid, path->narrow, in py_posix_spawn()
6366 err_code = posix_spawn(&pid, path->narrow, in py_posix_spawn()
6377 __msan_unpoison(&pid, sizeof(pid)); in py_posix_spawn()
6379 result = PyLong_FromPid(pid); in py_posix_spawn()
6826 pid_t pid; in os_fork1_impl() local
6833 pid = fork1(); in os_fork1_impl()
6834 if (pid == 0) { in os_fork1_impl()
6841 if (pid in os_fork1_impl()
6861 pid_t pid; os_fork_impl() local
6942 os_sched_getscheduler_impl(PyObject *module, pid_t pid) os_sched_getscheduler_impl() argument
7034 os_sched_setscheduler_impl(PyObject *module, pid_t pid, int policy, PyObject *param_obj) os_sched_setscheduler_impl() argument
7068 os_sched_getparam_impl(PyObject *module, pid_t pid) os_sched_getparam_impl() argument
7104 os_sched_setparam_impl(PyObject *module, pid_t pid, PyObject *param_obj) os_sched_setparam_impl() argument
7131 os_sched_rr_get_interval_impl(PyObject *module, pid_t pid) os_sched_rr_get_interval_impl() argument
7183 os_sched_setaffinity_impl(PyObject *module, pid_t pid, PyObject *mask) os_sched_setaffinity_impl() argument
7282 os_sched_getaffinity_impl(PyObject *module, pid_t pid) os_sched_getaffinity_impl() argument
7532 pid_t pid; os_forkpty_impl() local
7864 os_getpgid_impl(PyObject *module, pid_t pid) os_getpgid_impl() argument
8058 os_kill_impl(PyObject *module, pid_t pid, Py_ssize_t signal) os_kill_impl() argument
8361 wait_helper(PyObject *module, pid_t pid, int status, struct rusage *ru) wait_helper() argument
8440 pid_t pid; os_wait3_impl() local
8448 pid = wait3(&status, options, &ru); os_wait3_impl() local
8474 os_wait4_impl(PyObject *module, pid_t pid, int options) os_wait4_impl() argument
8572 os_waitpid_impl(PyObject *module, pid_t pid, int options) os_waitpid_impl() argument
8607 os_waitpid_impl(PyObject *module, intptr_t pid, int options) os_waitpid_impl() argument
8646 pid_t pid; os_wait_impl() local
8653 pid = wait(&status); os_wait_impl() local
8676 os_pidfd_open_impl(PyObject *module, pid_t pid, unsigned int flags) os_pidfd_open_impl() argument
9159 os_getsid_impl(PyObject *module, pid_t pid) os_getsid_impl() argument
9201 os_setpgid_impl(PyObject *module, pid_t pid, pid_t pgrp) os_setpgid_impl() argument
[all...]
/third_party/selinux/libselinux/include/selinux/
H A Dselinux.h29 /* Wrappers for the /proc/pid/attr API. */
47 /* Get context of process identified by pid, and
49 extern int getpidcon(pid_t pid, char ** con);
50 extern int getpidcon_raw(pid_t pid, char ** con);
57 /* Get previous context (prior to last exec) of process identified by pid, and
59 extern int getpidprevcon(pid_t pid, char ** con);
60 extern int getpidprevcon_raw(pid_t pid, char ** con);
/third_party/rust/crates/nix/src/
H A Dtime.rs30 /// Returns `ClockId` of a `pid` CPU-time clock
39 pub fn pid_cpu_clock_id(pid: Pid) -> Result<Self> { in pid_cpu_clock_id()
40 clock_getcpuclockid(pid) in pid_cpu_clock_id()
273 pub fn clock_getcpuclockid(pid: Pid) -> Result<ClockId> { in clock_getcpuclockid()
276 unsafe { libc::clock_getcpuclockid(pid.into(), clk_id.as_mut_ptr()) }; in clock_getcpuclockid()
/third_party/libunwind/libunwind/tests/
H A Dtest-ptrace.c173 int status, pid, pending_sig, optind = 1, state = 1; in main() local
249 pid = wait4 (-1, &status, 0, NULL); in main()
250 if (pid == -1) in main()
/third_party/libuv/src/unix/
H A Dnetbsd.c142 pid_t pid; in uv_resident_set_memory() local
148 pid = getpid(); in uv_resident_set_memory()
154 kinfo = kvm_getproc2(kd, KERN_PROC_PID, pid, max_size, &nprocs); in uv_resident_set_memory()
/third_party/ltp/testcases/kernel/mce-test/hwpoison/
H A Dthugetlb.c129 pid_t pid = 0; in main() local
258 pid = fork(); in main()
259 if (!pid) { in main()
/third_party/ltp/testcases/network/stress/multicast/grp-operation/
H A Dmcast-lib.sh117 local cnt define_src_addr filter params pid pids ret
144 for pid in $pids; do wait $pid; done

Completed in 23 milliseconds

1...<<31323334353637383940>>...70