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

1 2 3 4 5 6 7 8 91011>>

  /external/strace/tests/
getsid.c 8 pid_t pid = getpid(); local
9 printf("getsid(%d) = %d\n", pid, getsid(pid));
stack-fcall-3.c 8 static int pid; local
12 return kill(pid, SIGURG);
15 return (pid = getpid()) + i;
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));
stack-fcall-3.c 8 static int pid; local
12 return kill(pid, SIGURG);
15 return (pid = getpid()) + i;
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));
stack-fcall-3.c 8 static int pid; local
12 return kill(pid, SIGURG);
15 return (pid = getpid()) + i;
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);
  /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/openssh/openbsd-compat/
bsd-waitpid.c 33 waitpid(int pid, int *stat_loc, int options)
38 if (pid <= 0) {
39 if (pid != -1) {
43 /* wait4() wants pid=0 for indiscriminate wait. */
44 pid = 0;
46 wait_pid = wait4(pid, &statusp, options, NULL);
  /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);
  /frameworks/av/media/libstagefright/include/media/stagefright/
ProcessInfoInterface.h 25 virtual bool getPriority(int pid, int* priority) = 0;
26 virtual bool isValidPid(int pid) = 0;
  /development/tools/bugreport/src/com/android/bugreport/bugreport/
ProcessInfo.java 28 public int pid; field in class:ProcessInfo
43 public ProcessInfo(int pid, String cmdLine) {
44 this.pid = pid;
  /external/compiler-rt/test/lsan/TestCases/
fork.cc 16 pid_t pid = fork(); local
17 assert(pid >= 0);
18 if (pid > 0) {
19 waitpid(pid, &status, 0);
  /external/libchrome/mojo/public/cpp/base/
process_id_unittest.cc 14 base::ProcessId pid = base::GetCurrentProcId(); local
16 ASSERT_NE(pid, out_pid);
17 EXPECT_TRUE(mojom::ProcessId::Deserialize(mojom::ProcessId::Serialize(&pid),
19 EXPECT_EQ(pid, out_pid);

Completed in 990 milliseconds

1 2 3 4 5 6 7 8 91011>>