/external/ltp/testcases/kernel/fs/doio/ |
growfiles.c | 159 int Pid = 0; 174 #define PATTERN_PID 2 /* <pid><words byte offset><pid> */ 180 * < pid >< offset in file of this word >< pid > 184 /* (STATIC_NUM) instead of pid. */ 192 #define STATIC_NUM 221849 /* used instead of pid when PATTERN_OFFSET */ 240 int Opid = 0; /* original pid */ 393 extern int Forker_npids; /* num of forked pid, defined in forker.c */ 978 Pid = Opid [all...] |
/prebuilts/go/darwin-x86/src/os/ |
exec_unix.go | 17 if p.Pid == -1 { 38 pid1, e := syscall.Wait4(p.Pid, &status, 0, &rusage) 46 pid: pid1, 56 if p.Pid == -1 { 59 if p.Pid == 0 { 71 if e := syscall.Kill(p.Pid, s); e != nil { 82 p.Pid = -1 88 func findProcess(pid int) (p *Process, err error) { 90 return newProcess(pid, 0), nil
|
exec_plan9.go | 33 pid, h, e := syscall.StartProcess(name, argv, sysattr) 38 return newProcess(pid, h), nil 42 f, e := OpenFile("/proc/"+itoa(p.Pid)+"/"+file, O_WRONLY, 0) 68 if p.Pid == -1 { 71 err = syscall.WaitProcess(p.Pid, &waitmsg) 78 pid: waitmsg.Pid, 86 p.Pid = -1 92 func findProcess(pid int) (p *Process, err error) { 94 return newProcess(pid, 0), ni [all...] |
wait_wait6.go | 25 _, _, errno = syscall.Syscall9(syscall.SYS_WAIT6, _P_PID, uintptr(p.Pid), 0, 0, syscall.WEXITED|syscall.WNOWAIT, 0, 0, 0, 0) 27 _, _, errno = syscall.Syscall9(syscall.SYS_WAIT6, _P_PID, 0, uintptr(p.Pid), 0, 0, syscall.WEXITED|syscall.WNOWAIT, 0, 0, 0) 29 _, _, errno = syscall.Syscall6(syscall.SYS_WAIT6, _P_PID, uintptr(p.Pid), 0, syscall.WEXITED|syscall.WNOWAIT, 0, 0)
|
wait_waitid.go | 28 _, _, e := syscall.Syscall6(syscall.SYS_WAITID, _P_PID, uintptr(p.Pid), uintptr(unsafe.Pointer(psig)), syscall.WEXITED|syscall.WNOWAIT, 0, 0)
|
exec_posix.go | 45 pid, h, e := syscall.StartProcess(name, argv, sysattr) 49 return newProcess(pid, h), nil 58 pid int // The process's id. 63 // Pid returns the process id of the exited process. 64 func (p *ProcessState) Pid() int { 65 return p.pid
|
/prebuilts/go/linux-x86/src/os/ |
exec_unix.go | 17 if p.Pid == -1 { 38 pid1, e := syscall.Wait4(p.Pid, &status, 0, &rusage) 46 pid: pid1, 56 if p.Pid == -1 { 59 if p.Pid == 0 { 71 if e := syscall.Kill(p.Pid, s); e != nil { 82 p.Pid = -1 88 func findProcess(pid int) (p *Process, err error) { 90 return newProcess(pid, 0), nil
|
exec_plan9.go | 33 pid, h, e := syscall.StartProcess(name, argv, sysattr) 38 return newProcess(pid, h), nil 42 f, e := OpenFile("/proc/"+itoa(p.Pid)+"/"+file, O_WRONLY, 0) 68 if p.Pid == -1 { 71 err = syscall.WaitProcess(p.Pid, &waitmsg) 78 pid: waitmsg.Pid, 86 p.Pid = -1 92 func findProcess(pid int) (p *Process, err error) { 94 return newProcess(pid, 0), ni [all...] |
wait_wait6.go | 25 _, _, errno = syscall.Syscall9(syscall.SYS_WAIT6, _P_PID, uintptr(p.Pid), 0, 0, syscall.WEXITED|syscall.WNOWAIT, 0, 0, 0, 0) 27 _, _, errno = syscall.Syscall9(syscall.SYS_WAIT6, _P_PID, 0, uintptr(p.Pid), 0, 0, syscall.WEXITED|syscall.WNOWAIT, 0, 0, 0) 29 _, _, errno = syscall.Syscall6(syscall.SYS_WAIT6, _P_PID, uintptr(p.Pid), 0, syscall.WEXITED|syscall.WNOWAIT, 0, 0)
|
wait_waitid.go | 28 _, _, e := syscall.Syscall6(syscall.SYS_WAITID, _P_PID, uintptr(p.Pid), uintptr(unsafe.Pointer(psig)), syscall.WEXITED|syscall.WNOWAIT, 0, 0)
|
exec_posix.go | 45 pid, h, e := syscall.StartProcess(name, argv, sysattr) 49 return newProcess(pid, h), nil 58 pid int // The process's id. 63 // Pid returns the process id of the exited process. 64 func (p *ProcessState) Pid() int { 65 return p.pid
|
/external/libchrome/base/process/ |
process.h | 47 // Returns a Process for the given |pid|. 48 static Process Open(ProcessId pid); 50 // Returns a Process for the given |pid|. On Windows the handle is opened 53 static Process OpenWithExtraPrivileges(ProcessId pid); 56 // Returns a Process for the given |pid|, using some |desired_access|. 58 static Process OpenWithAccess(ProcessId pid, DWORD desired_access); 80 // Get the PID for this process. 81 ProcessId Pid() const; 124 // Get the PID in its PID namespace [all...] |
kill_posix.cc | 212 if (IsChildDead(process.Pid())) 216 BackgroundReaper* reaper = new BackgroundReaper(process.Pid(), timeout); 220 void EnsureProcessGetsReaped(ProcessId pid) { 222 if (IsChildDead(pid)) 225 BackgroundReaper* reaper = new BackgroundReaper(pid, 0);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/ |
EhciDebug.c | 95 if (QtdHw->Pid == QTD_PID_SETUP) {
96 DEBUG ((EFI_D_VERBOSE, "PID : Setup\n"));
98 } else if (QtdHw->Pid == QTD_PID_INPUT) {
99 DEBUG ((EFI_D_VERBOSE, "PID : IN\n"));
101 } else if (QtdHw->Pid == QTD_PID_OUTPUT) {
102 DEBUG ((EFI_D_VERBOSE, "PID : OUT\n"));
172 if (QhHw->Pid == QTD_PID_SETUP) {
173 DEBUG ((EFI_D_VERBOSE, "PID : Setup\n"));
175 } else if (QhHw->Pid == QTD_PID_INPUT) {
176 DEBUG ((EFI_D_VERBOSE, "PID : IN\n")); [all...] |
EhciUrb.c | 69 QtdHw->Pid = PktId;
380 UINT8 Pid;
422 Pid = QTD_PID_OUTPUT;
424 Pid = QTD_PID_INPUT;
427 StatusQtd = EhcCreateQtd (Ehc, NULL, NULL, 0, Pid, 1, Ep->MaxPacket);
445 Pid = QTD_PID_INPUT;
447 Pid = QTD_PID_OUTPUT;
459 Pid,
|
/external/llvm/unittests/Support/ |
ProgramTest.cpp | 226 ASSERT_NE(PI1.Pid, ProcessInfo::InvalidPid) << "Invalid process id"; 236 if (WaitResult.Pid == PI1.Pid) 245 ASSERT_NE(PI2.Pid, ProcessInfo::InvalidPid) << "Invalid process id"; 253 if (WaitResult.Pid == PI2.Pid) 307 ASSERT_EQ(PI.Pid, ProcessInfo::InvalidPid)
|
/system/core/libbacktrace/ |
BacktraceCurrent.cpp | 117 BACK_LOGE("pid %d, tid %d: Received a spurious signal %d\n", getpid(), gettid(), THREAD_SIGNAL); 125 BACK_LOGE("pid %d, tid %d entry not found", getpid(), gettid()); 153 ThreadEntry* entry = ThreadEntry::Get(Pid(), Tid()); 169 if (tgkill(Pid(), Tid(), THREAD_SIGNAL) != 0) { 219 if (tgkill(Pid(), Tid(), 0) == -1 && errno == ESRCH) {
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbHostDxe/ |
DwUsbHostDxe.c | 154 IN OUT UINT32 *Pid, 196 (*Pid << DWC2_HCTSIZ_PID_OFFSET)); 210 Ret = Wait4Chhltd (DwHc, &Sub, Pid, IgnoreAck); 550 UINT32 Pid; 589 Pid = DWC2_HC_PID_SETUP; 591 Status = DwHcTransfer (DwHc, DeviceAddress, MaximumPacketLength, &Pid, 0, Request, &Length, 600 Pid = DWC2_HC_PID_DATA1; 607 Status = DwHcTransfer (DwHc, DeviceAddress, MaximumPacketLength, &Pid, Direction, 621 Pid = DWC2_HC_PID_DATA1; 623 Status = DwHcTransfer (DwHc, DeviceAddress, MaximumPacketLength, &Pid, StatusDirection, DwHc->StatusBuffer [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/ |
EhciUrb.c | 68 QtdHw->Pid = PktId;
356 UINT8 Pid;
396 Pid = QTD_PID_OUTPUT;
398 Pid = QTD_PID_INPUT;
401 StatusQtd = EhcCreateQtd (Ehc, NULL, 0, Pid, 1, Ep->MaxPacket);
418 Pid = QTD_PID_INPUT;
420 Pid = QTD_PID_OUTPUT;
431 Pid,
|
/prebuilts/go/darwin-x86/src/cmd/trace/ |
trace.go | 306 Pid uint64 `json:"pid"` 470 ctx.emit(&ViewerEvent{Name: "process_name", Phase: "M", Pid: 0, Arg: &NameArg{"PROCS"}}) 471 ctx.emit(&ViewerEvent{Name: "process_sort_index", Phase: "M", Pid: 0, Arg: &SortIndexArg{1}}) 473 ctx.emit(&ViewerEvent{Name: "process_name", Phase: "M", Pid: 1, Arg: &NameArg{"STATS"}}) 474 ctx.emit(&ViewerEvent{Name: "process_sort_index", Phase: "M", Pid: 1, Arg: &SortIndexArg{0}}) 476 ctx.emit(&ViewerEvent{Name: "thread_name", Phase: "M", Pid: 0, Tid: trace.GCP, Arg: &NameArg{"GC"}}) 477 ctx.emit(&ViewerEvent{Name: "thread_sort_index", Phase: "M", Pid: 0, Tid: trace.GCP, Arg: &SortIndexArg{-6}}) 479 ctx.emit(&ViewerEvent{Name: "thread_name", Phase: "M", Pid: 0, Tid: trace.NetpollP, Arg: &NameArg{"Network"}}) 480 ctx.emit(&ViewerEvent{Name: "thread_sort_index", Phase: "M", Pid: 0, Tid: trace.NetpollP, Arg: &SortIndexArg{-5}} [all...] |
/prebuilts/go/linux-x86/src/cmd/trace/ |
trace.go | 306 Pid uint64 `json:"pid"` 470 ctx.emit(&ViewerEvent{Name: "process_name", Phase: "M", Pid: 0, Arg: &NameArg{"PROCS"}}) 471 ctx.emit(&ViewerEvent{Name: "process_sort_index", Phase: "M", Pid: 0, Arg: &SortIndexArg{1}}) 473 ctx.emit(&ViewerEvent{Name: "process_name", Phase: "M", Pid: 1, Arg: &NameArg{"STATS"}}) 474 ctx.emit(&ViewerEvent{Name: "process_sort_index", Phase: "M", Pid: 1, Arg: &SortIndexArg{0}}) 476 ctx.emit(&ViewerEvent{Name: "thread_name", Phase: "M", Pid: 0, Tid: trace.GCP, Arg: &NameArg{"GC"}}) 477 ctx.emit(&ViewerEvent{Name: "thread_sort_index", Phase: "M", Pid: 0, Tid: trace.GCP, Arg: &SortIndexArg{-6}}) 479 ctx.emit(&ViewerEvent{Name: "thread_name", Phase: "M", Pid: 0, Tid: trace.NetpollP, Arg: &NameArg{"Network"}}) 480 ctx.emit(&ViewerEvent{Name: "thread_sort_index", Phase: "M", Pid: 0, Tid: trace.NetpollP, Arg: &SortIndexArg{-5}} [all...] |
/external/llvm/include/llvm/Support/ |
Program.h | 50 ProcessId Pid; 172 /// \returns A \see ProcessInfo struct with Pid set to:
|
/build/soong/ui/tracer/ |
tracer.go | 71 Pid uint64 `json:"pid"` 190 Pid: 0, 218 Pid: 0, 228 Pid: 0, 241 Pid: 0,
|
/prebuilts/go/darwin-x86/src/syscall/ |
netlink_linux.go | 35 *(*uint32)(unsafe.Pointer(&b[12:16][0])) = rr.Header.Pid 91 if m.Header.Seq != 1 || m.Header.Pid != v.Pid {
|
/prebuilts/go/linux-x86/src/syscall/ |
netlink_linux.go | 35 *(*uint32)(unsafe.Pointer(&b[12:16][0])) = rr.Header.Pid 91 if m.Header.Seq != 1 || m.Header.Pid != v.Pid {
|