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

1 2 3 4 5 6 7 8 91011>>

  /external/autotest/client/site_tests/security_Minijail0/src/
test-pid-file 9 read pid < pidfile
10 [ "$$" -eq "$pid" ]
  /external/strace/tests/
getsid.c 8 pid_t pid = getpid(); local
9 printf("getsid(%d) = %d\n", pid, getsid(pid));
xetpgid.c 42 const int pid = getpid(); local
43 long rc = syscall(__NR_getpgid, F8ILL_KULONG_MASK | pid);
44 printf("getpgid(%d) = %ld\n", pid, rc);
46 rc = syscall(__NR_setpgid, F8ILL_KULONG_MASK, F8ILL_KULONG_MASK | pid);
47 printf("setpgid(0, %d) = %ld\n", pid, rc);
attach-f-p-cmd.c 41 pid_t pid = getpid(); local
46 pid, dir, sprintrc(rc), pid);
migrate_pages.c 41 const long pid = (long) 0xfacefeedffffffffULL; local
42 long rc = syscall(__NR_migrate_pages, pid, 0, 0, 0);
44 (int) pid, rc, errno2name());
  /external/strace/tests-m32/
getsid.c 8 pid_t pid = getpid(); local
9 printf("getsid(%d) = %d\n", pid, getsid(pid));
xetpgid.c 42 const int pid = getpid(); local
43 long rc = syscall(__NR_getpgid, F8ILL_KULONG_MASK | pid);
44 printf("getpgid(%d) = %ld\n", pid, rc);
46 rc = syscall(__NR_setpgid, F8ILL_KULONG_MASK, F8ILL_KULONG_MASK | pid);
47 printf("setpgid(0, %d) = %ld\n", pid, rc);
attach-f-p-cmd.c 41 pid_t pid = getpid(); local
46 pid, dir, sprintrc(rc), pid);
migrate_pages.c 41 const long pid = (long) 0xfacefeedffffffffULL; local
42 long rc = syscall(__NR_migrate_pages, pid, 0, 0, 0);
44 (int) pid, rc, errno2name());
  /external/strace/tests-mx32/
getsid.c 8 pid_t pid = getpid(); local
9 printf("getsid(%d) = %d\n", pid, getsid(pid));
xetpgid.c 42 const int pid = getpid(); local
43 long rc = syscall(__NR_getpgid, F8ILL_KULONG_MASK | pid);
44 printf("getpgid(%d) = %ld\n", pid, rc);
46 rc = syscall(__NR_setpgid, F8ILL_KULONG_MASK, F8ILL_KULONG_MASK | pid);
47 printf("setpgid(0, %d) = %ld\n", pid, rc);
attach-f-p-cmd.c 41 pid_t pid = getpid(); local
46 pid, dir, sprintrc(rc), pid);
migrate_pages.c 41 const long pid = (long) 0xfacefeedffffffffULL; local
42 long rc = syscall(__NR_migrate_pages, pid, 0, 0, 0);
44 (int) pid, rc, errno2name());
  /external/curl/tests/
ftp.pm 33 # pidfromfile returns the pid stored in the given pidfile. The value
34 # of the returned pid will never be a negative value. It will be zero
35 # on any file related error or if a pid can not be extracted from the
40 my $pid = 0;
43 $pid = 0 + <PIDFH>;
45 $pid = 0 unless($pid > 0);
47 return $pid;
51 # pidexists checks if a process with a given pid exists and is alive.
52 # This will return the positive pid if the process exists and is alive
    [all...]
  /external/ltp/lib/tests/
tst_record_childstatus.c 31 int pid; local
33 pid = tst_fork();
35 switch (pid) {
45 tst_record_childstatus(NULL, pid);
  /libcore/luni/src/main/java/android/system/
StructCapUserHeader.java 34 /** Pid of the header. The pid a call applies to. */
35 public final int pid; field in class:StructCapUserHeader
40 public StructCapUserHeader(int version, int pid) {
42 this.pid = pid;
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowProcess.java 9 private static Integer pid; field in class:ShadowProcess
13 if (pid != null) {
14 return pid;
19 public static void setPid(int pid) {
20 ShadowProcess.pid = pid;
24 ShadowProcess.pid = null;
  /bionic/libc/bionic/
termios.cpp 39 pid_t pid; local
40 return (ioctl(fd, TIOCGPGRP, &pid) == -1) ? -1 : pid;
44 int tcsetpgrp(int fd, pid_t pid) {
45 return ioctl(fd, TIOCSPGRP, &pid);
  /external/valgrind/none/tests/
fork.c 9 pid_t pid; local
11 pid = fork ();
18 printf("%s", pid==0 ? "X" : "XX");
20 if (pid != 0)
21 waitpid(pid, NULL, 0);
  /frameworks/base/core/java/android/net/
Credentials.java 24 /** pid of process. root peers may lie. */
25 private final int pid; field in class:Credentials
31 public Credentials (int pid, int uid, int gid) {
32 this.pid = pid;
38 return pid;
  /external/google-breakpad/src/client/mac/crash_generation/
client_info.h 37 explicit ClientInfo(pid_t pid) : pid_(pid) {}
39 pid_t pid() const { return pid_; } function in class:google_breakpad::ClientInfo
  /external/ltp/include/
tst_process_state.h 26 These functions helps you wait till a process with given pid changes state.
50 #define TST_PROCESS_STATE_WAIT(pid, state) \
52 (pid), (state))
61 int tst_process_state_wait2(pid_t pid, const char state);
63 # define TST_PROCESS_STATE_WAIT(cleanup_fn, pid, state) \
65 (pid), (state))
70 pid_t pid, const char state);
  /external/robolectric-shadows/
java-timeout 25 # empty string as the pid, but it is possible.
29 local pid="${1-}"
30 shift || fatal '[on_timeout] missing argument: pid'
33 if [ "$pid" != '' ]; then
36 kill -TERM -- "-$pid" # Kill the entire process group.
45 local pid # Set below after we run the process.
46 trap 'on_timeout $pid' SIGTERM
53 setsid java "$@" & pid="$!"; wait "$pid"
  /external/valgrind/gdbserver_tests/
fork_chain.c 8 int pid; local
12 pid = fork();
13 if (pid == -1) {
18 if (pid == 0) {
25 while((ret = waitpid(pid, &status, 0)) != pid) {
  /prebuilts/misc/common/robolectric/3.1.1/
java-timeout 25 # empty string as the pid, but it is possible.
29 local pid="${1-}"
30 shift || fatal '[on_timeout] missing argument: pid'
33 if [ "$pid" != '' ]; then
36 kill -TERM -- "-$pid" # Kill the entire process group.
45 local pid # Set below after we run the process.
46 trap 'on_timeout $pid' SIGTERM
53 setsid java "$@" & pid="$!"; wait "$pid"

Completed in 203 milliseconds

1 2 3 4 5 6 7 8 91011>>