Home
last modified time | relevance | path

Searched refs:Pid (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilDarwin.cpp100 pid_t Pid; in ExecuteCommand() local
111 ErrorCode = posix_spawn(&Pid, "/bin/sh", NULL, &SpawnAttributes, in ExecuteCommand()
115 pid_t SavedPid = Pid; in ExecuteCommand()
118 Pid = waitpid(SavedPid, &ProcessStatus, /*options=*/0); in ExecuteCommand()
119 } while (Pid == -1 && errno == EINTR); in ExecuteCommand()
120 if (Pid == -1) { in ExecuteCommand()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp82 sys::Process::Pid Pid; member in __anon2110d7bd0111::PerfJITEventListener
124 uint32_t Pid; member
139 uint32_t Pid; member
179 : Pid(sys::Process::getProcessId()) { in PerfJITEventListener()
193 FilenameBuf << JitPath << "/jit-" << Pid << ".dump"; in PerfJITEventListener()
220 Header.Pid = Pid; in PerfJITEventListener()
422 rec.Pid = Pid; in NotifyCode()
[all...]
/freebsd/usr.sbin/cron/crontab/
H A Dcrontab.c46 static PID_T Pid; variable
77 Pid = getpid(); in main()
90 log_it(RealUser, Pid, "AUTH", "crontab command not allowed"); in main()
254 log_it(RealUser, Pid, "LIST", User); in list_cmd()
284 log_it(RealUser, Pid, "DELETE", User); in delete_cmd()
317 log_it(RealUser, Pid, "BEGIN EDIT", User);
482 log_it(RealUser, Pid, "END EDIT", User);
505 (void) snprintf(n, sizeof(n), "tmp.%d", Pid);
609 log_it(RealUser, Pid, "REPLACE", User);
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DTimeProfiler.cpp111 ProcName(ProcName), Pid(sys::Process::getProcessId()), in TimeTraceProfiler()
194 J.attribute("pid", Pid); in write()
220 J.attribute("pid", Pid); in write()
275 J.attribute("pid", Pid); in write()
294 J.attribute("pid", Pid); in write()
330 const sys::Process::Pid Pid; member
H A DCodeGenCoverage.cpp86 std::string Pid = llvm::to_string(sys::Process::getProcessId()); in emit() local
88 std::string CoverageFilename = (CoveragePrefix + Pid).str(); in emit()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DProcess.h45 using Pid = int32_t;
48 static Pid getProcessId();
H A DProgram.h49 procid_t Pid; /// The process identifier. member
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/
H A DProgram.inc69 ProcessInfo::ProcessInfo() : Pid(0), ReturnCode(0) {}
270 PI.Pid = PID;
346 PI.Pid = child;
404 assert(PI.Pid && "invalid pid to wait on, process not started?");
407 pid_t ChildPid = PI.Pid;
435 WaitResult.Pid = sys::wait4(ChildPid, &status, WaitPidOptions, &Info);
436 } while (WaitUntilTerminates && WaitResult.Pid == -1 && errno == EINTR);
439 if (WaitResult.Pid != PI.Pid) {
440 if (WaitResult.Pid == 0) {
446 kill(PI.Pid, SIGKILL);
H A DProcess.inc72 Process::Pid Process::getProcessId() {
73 static_assert(sizeof(Pid) >= sizeof(pid_t),
74 "Process::Pid should be big enough to store pid_t");
75 return Pid(::getpid());
/freebsd/bin/sh/tests/expansion/
H A Dcmdsubst8.015 *) echo Pid missing; exit 3 ;;
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_fdr_log_records.h38 Pid, enumerator
H A Dxray_fdr_controller.h100 createMetadataRecord<MetadataRecord::RecordKinds::Pid>( in setupNewBuffer()
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProcess.inc47 Process::Pid Process::getProcessId() {
48 static_assert(sizeof(Pid) >= sizeof(DWORD),
49 "Process::Pid should be big enough to store DWORD");
50 return Pid(::GetCurrentProcessId());
448 DWORD Pid = GetCurrentProcessId();
449 return hash_combine(Time.dwHighDateTime, Time.dwLowDateTime, Pid);
H A DProgram.inc36 ProcessInfo::ProcessInfo() : Pid(0), Process(0), ReturnCode(0) {}
312 PI.Pid = pi.dwProcessId;
419 assert(PI.Pid && "invalid pid to wait on, process not started?");
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DOptionsBase.td82 // Example: def foo : Option<"foo", "f">, OptionalArg<"Pid">;
86 // Example: def foo : Option<"foo", "f">, Arg<"Pid">;
H A DOptions.td617 def platform_process_list_pid : Option<"pid", "p">, Group<1>, Arg<"Pid">,
636 Arg<"Pid">, Desc<"Find processes that have a matching parent process ID.">;
665 def platform_process_attach_pid : Option<"pid", "p">, Group<1>, Arg<"Pid">,
722 def process_attach_pid : Option<"pid", "p">, Group<1>, Arg<"Pid">,