/openbsd/gnu/llvm/compiler-rt/lib/gwp_asan/tests/ |
H A D | enable_disable.cpp | 15 pid_t Pid = fork(); in TEST_F() local 16 EXPECT_GE(Pid, 0); in TEST_F() 17 if (Pid == 0) { in TEST_F() 24 waitpid(Pid, nullptr, 0); in TEST_F() 35 Pid = fork(); in TEST_F() 36 EXPECT_GE(Pid, 0); in TEST_F() 75 pid_t Pid = fork(); in TEST_F() local 76 EXPECT_GE(Pid, 0); in TEST_F() 77 if (Pid == 0) { in TEST_F() 83 waitpid(Pid, nullptr, 0); in TEST_F()
|
/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/ |
H A D | FuzzerUtilDarwin.cpp | 100 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()
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/PerfJITEvents/ |
H A D | PerfJITEventListener.cpp | 82 sys::Process::Pid Pid; member in __anone8ee2c0a0111::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()
|
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
H A D | wrappers_cpp_test.cpp | 172 pid_t Pid; in TEST() local 173 if ((Pid = fork()) == 0) { in TEST() 186 EXPECT_NE(-1, Pid); in TEST() 188 EXPECT_EQ(Pid, waitpid(Pid, &Status, 0)); in TEST()
|
H A D | wrappers_c_test.cpp | 397 pid_t Pid = fork(); in TEST() local 398 EXPECT_GE(Pid, 0) << strerror(errno); in TEST() 399 if (Pid == 0) { in TEST() 406 waitpid(Pid, nullptr, 0); in TEST() 417 Pid = fork(); in TEST() 418 EXPECT_GE(Pid, 0); in TEST() 460 pid_t Pid = fork(); in TEST() local 461 EXPECT_GE(Pid, 0); in TEST() 462 if (Pid == 0) { in TEST() 469 waitpid(Pid, nullptr, 0); in TEST()
|
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | TimeProfiler.cpp | 100 ProcName(ProcName), Pid(sys::Process::getProcessId()), in TimeTraceProfiler() 169 J.attribute("pid", Pid); in write() 225 J.attribute("pid", Pid); in write() 244 J.attribute("pid", Pid); in write() 280 const sys::Process::Pid Pid; member
|
H A D | CodeGenCoverage.cpp | 86 std::string Pid = llvm::to_string(sys::Process::getProcessId()); in emit() local 88 std::string CoverageFilename = (CoveragePrefix + Pid).str(); in emit()
|
/openbsd/gnu/llvm/llvm/include/llvm/Support/ |
H A D | Process.h | 45 using Pid = int32_t; 48 static Pid getProcessId();
|
H A D | Program.h | 49 procid_t Pid; /// The process identifier. member
|
/openbsd/gnu/llvm/llvm/lib/Support/Unix/ |
H A D | Program.inc | 67 ProcessInfo::ProcessInfo() : Pid(0), ReturnCode(0) {} 266 PI.Pid = PID; 334 PI.Pid = child; 392 assert(PI.Pid && "invalid pid to wait on, process not started?"); 395 pid_t ChildPid = PI.Pid; 422 WaitResult.Pid = sys::wait4(ChildPid, &status, WaitPidOptions, &Info); 423 } while (WaitUntilTerminates && WaitResult.Pid == -1 && errno == EINTR); 425 if (WaitResult.Pid != PI.Pid) { 426 if (WaitResult.Pid == 0) { 432 kill(PI.Pid, SIGKILL);
|
H A D | Process.inc | 70 Process::Pid Process::getProcessId() { 71 static_assert(sizeof(Pid) >= sizeof(pid_t), 72 "Process::Pid should be big enough to store pid_t"); 73 return Pid(::getpid());
|
/openbsd/gnu/llvm/compiler-rt/lib/xray/tests/unit/ |
H A D | fdr_log_writer_test.cpp | 50 createMetadataRecord<MetadataRecord::RecordKinds::Pid>(int32_t{1}), in TEST() 88 createMetadataRecord<MetadataRecord::RecordKinds::Pid>(int32_t{1}), in TEST() 138 createMetadataRecord<MetadataRecord::RecordKinds::Pid>(int32_t{1}), in TEST()
|
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/ |
H A D | PerfHelper.cpp | 99 const pid_t Pid = 0; // measure current process/thread. in Counter() local 104 FileDescriptor = perf_event_open(&AttrCopy, Pid, Cpu, GroupFd, Flags); in Counter()
|
/openbsd/usr.bin/fstat/ |
H A D | fstat.c | 355 pid_t Pid; variable 358 printf("%-8.8s %-10s %5ld", Uname, Comm, (long)Pid); \ 388 Pid = kf->p_pid; in fstat_dofile() 393 if (filter[i].arg == Pid) in fstat_dofile() 420 kf->f_type, kf->fd_fd, (long)Pid); in fstat_dofile()
|
/openbsd/gnu/llvm/compiler-rt/lib/xray/ |
H A D | xray_fdr_log_records.h | 38 Pid, enumerator
|
H A D | xray_fdr_controller.h | 100 createMetadataRecord<MetadataRecord::RecordKinds::Pid>( in setupNewBuffer()
|
/openbsd/gnu/llvm/llvm/lib/Support/Windows/ |
H A D | Process.inc | 47 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 D | Program.inc | 36 ProcessInfo::ProcessInfo() : Pid(0), Process(0), ReturnCode(0) {} 309 PI.Pid = pi.dwProcessId; 416 assert(PI.Pid && "invalid pid to wait on, process not started?");
|
/openbsd/regress/lib/libcrypto/x509/bettertls/certificates/ |
H A D | 3204.key | 17 wt2r9wB0s5FhlJu6J4vg0irXy1uFXooTdvYQpW1Qc38lL+NE/Pid/m/GpPBmBT2o
|
/openbsd/gnu/llvm/lldb/source/Host/linux/ |
H A D | Host.cpp | 58 static bool GetStatusInfo(::pid_t Pid, ProcessInstanceInfo &ProcessInfo, in GetStatusInfo() argument 63 auto BufferOrError = getProcFile(Pid, "status"); in GetStatusInfo()
|
/openbsd/gnu/llvm/lldb/source/Commands/ |
H A D | OptionsBase.td | 82 // Example: def foo : Option<"foo", "f">, OptionalArg<"Pid">; 86 // Example: def foo : Option<"foo", "f">, Arg<"Pid">;
|
H A D | Options.td | 605 def platform_process_list_pid : Option<"pid", "p">, Group<1>, Arg<"Pid">, 624 Arg<"Pid">, Desc<"Find processes that have a matching parent process ID.">; 653 def platform_process_attach_pid : Option<"pid", "p">, Group<1>, Arg<"Pid">, 706 def process_attach_pid : Option<"pid", "p">, Group<1>, Arg<"Pid">,
|
/openbsd/gnu/usr.bin/perl/pod/ |
H A D | perlipc.pod | 846 print $child_wtr "Parent Pid $$ is sending this\n"; 848 print "Parent Pid $$ just read this: '$line'\n"; 856 print "Child Pid $$ just read this: '$line'\n"; 857 print $parent_wtr "Child Pid $$ is sending this\n"; 885 print $child "Parent Pid $$ is sending this\n"; 887 print "Parent Pid $$ just read this: '$line'\n"; 894 print "Child Pid $$ just read this: '$line'\n"; 895 print $parent "Child Pid $$ is sending this\n";
|
/openbsd/gnu/usr.bin/gcc/gcc/f/ |
H A D | intrin.def | 3311 DEFIMP (KILL_func, "KILL_func", KILL,,, "I1:-:Pid=I*,Signal=I*") 3312 DEFIMP (KILL_subr, "KILL_subr", KILL,,, "--:-:Pid=I*,Signal=I*,Status=?I1w")
|
/openbsd/gnu/usr.bin/perl/ext/Pod-Html/corpus/ |
H A D | perlvar-copy.pod | 902 you may use the CPAN module C<Linux::Pid>.
|