HomeSort by relevance Sort by last modified time
    Searched refs:Pid (Results 1 - 25 of 133) sorted by null

1 2 3 4 5 6

  /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...]
  /cts/hostsidetests/security/src/android/cts/security/
ProcessMustUseSeccompTest.java 31 private static final String PS_CMD = "toybox ps -A -o name,pid";
51 * Get the PID of process "Name" using "Cmd". If prefix == True only do
82 * Return true if the "Seccomp" field of /proc/<pid>/status is "2" which
85 private boolean pidHasSeccompBpf(String Pid) throws DeviceNotAvailableException {
87 mDevice.executeShellCommand("toybox cat /proc/" + Pid + "/status", Out);
104 String Pid = getPidFromCmd(Name, Cmd, prefix);
105 assertFalse(Name + " process not found.", Pid.equals(""));
108 + "/proc/" + Pid + "/status file should be set to \"2\"",
109 pidHasSeccompBpf(Pid));
  /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)
  /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)
  /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...]
  /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_ASYNC_SAFE_LOGE("pid %d, tid %d: Received a spurious signal %d\n", getpid(), gettid(),
126 BACK_ASYNC_SAFE_LOGE("pid %d, tid %d entry not found", getpid(), gettid());
154 ThreadEntry* entry = ThreadEntry::Get(Pid(), Tid());
170 if (tgkill(Pid(), Tid(), THREAD_SIGNAL) != 0) {
220 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:
  /external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Program.h 50 ProcessId Pid;
172 /// \returns A \see ProcessInfo struct with Pid set to:
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
Program.h 50 ProcessId Pid;
172 /// \returns A \see ProcessInfo struct with Pid set to:
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
Program.h 50 ProcessId Pid;
172 /// \returns A \see ProcessInfo struct with Pid set to:
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/
Program.h 50 ProcessId Pid;
172 /// \returns A \see ProcessInfo struct with Pid set to:
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
Program.h 50 ProcessId Pid;
172 /// \returns A \see ProcessInfo struct with Pid set to:
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
Program.h 50 ProcessId Pid;
172 /// \returns A \see ProcessInfo struct with Pid set to:
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
Program.h 50 ProcessId Pid;
172 /// \returns A \see ProcessInfo struct with Pid set to:

Completed in 1167 milliseconds

1 2 3 4 5 6