HomeSort by relevance Sort by last modified time
    Searched defs:pid (Results 26 - 50 of 1842) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/strace/tests/
rt_sigqueueinfo.c 44 pid_t pid = getpid(); local
47 if (sigqueue(pid, SIGUSR1, value))
52 pid, pid, getuid(), value.sival_int, value.sival_ptr);
run_expect_termsig.c 44 pid_t pid = fork(); local
45 if (pid < 0)
48 if (!pid) {
54 if (waitpid(pid, &status, 0) != pid)
waitpid.c 42 unsigned long pid = local
44 long rc = syscall(__NR_waitpid, pid, 0L, (unsigned long) WNOHANG);
46 (int) pid, rc, errno2name());
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);
xetpriority.c 13 const int pid = getpid(); local
15 F8ILL_KULONG_MASK | pid);
16 printf("getpriority(PRIO_PROCESS, %d) = %ld\n", pid, rc);
19 F8ILL_KULONG_MASK | pid, F8ILL_KULONG_MASK);
20 printf("setpriority(PRIO_PROCESS, %d, 0) = %s\n", pid, sprintrc(rc));
  /external/strace/tests-m32/
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());
rt_sigqueueinfo.c 44 pid_t pid = getpid(); local
47 if (sigqueue(pid, SIGUSR1, value))
52 pid, pid, getuid(), value.sival_int, value.sival_ptr);
run_expect_termsig.c 44 pid_t pid = fork(); local
45 if (pid < 0)
48 if (!pid) {
54 if (waitpid(pid, &status, 0) != pid)
waitpid.c 42 unsigned long pid = local
44 long rc = syscall(__NR_waitpid, pid, 0L, (unsigned long) WNOHANG);
46 (int) pid, rc, errno2name());
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);
xetpriority.c 13 const int pid = getpid(); local
15 F8ILL_KULONG_MASK | pid);
16 printf("getpriority(PRIO_PROCESS, %d) = %ld\n", pid, rc);
19 F8ILL_KULONG_MASK | pid, F8ILL_KULONG_MASK);
20 printf("setpriority(PRIO_PROCESS, %d, 0) = %s\n", pid, sprintrc(rc));
  /external/strace/tests-mx32/
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());
rt_sigqueueinfo.c 44 pid_t pid = getpid(); local
47 if (sigqueue(pid, SIGUSR1, value))
52 pid, pid, getuid(), value.sival_int, value.sival_ptr);
run_expect_termsig.c 44 pid_t pid = fork(); local
45 if (pid < 0)
48 if (!pid) {
54 if (waitpid(pid, &status, 0) != pid)
waitpid.c 42 unsigned long pid = local
44 long rc = syscall(__NR_waitpid, pid, 0L, (unsigned long) WNOHANG);
46 (int) pid, rc, errno2name());
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);
xetpriority.c 13 const int pid = getpid(); local
15 F8ILL_KULONG_MASK | pid);
16 printf("getpriority(PRIO_PROCESS, %d) = %ld\n", pid, rc);
19 F8ILL_KULONG_MASK | pid, F8ILL_KULONG_MASK);
20 printf("setpriority(PRIO_PROCESS, %d, 0) = %s\n", pid, sprintrc(rc));
  /system/extras/tests/cpueater/
cpueater.c 16 * Simple cpu eater busy loop. Runs as a daemon. prints the child PID to
30 pid_t pid; local
45 switch(pid = fork()) {
69 printf("%d\n", pid);
  /external/autotest/client/site_tests/security_ptraceRestrictions/src/
sleeper.c 31 long pid; local
42 pid = strtol(argv[1], NULL, 10);
43 if (pid != -2) {
44 if (prctl(PR_SET_PTRACER, pid, 0, 0, 0)) {
  /external/compiler-rt/test/asan/TestCases/Posix/
wait.cc 13 pid_t pid = fork(); local
14 if (pid) { // parent
21 res = waitpid(pid, status, WNOHANG);
  /external/compiler-rt/test/tsan/
fork_atexit.cc 20 int pid = fork(); local
21 if (pid == 0) {
27 if (waitpid(pid, 0, 0) == -1) {
  /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/jemalloc/test/unit/
fork.c 11 pid_t pid; local
16 pid = fork();
24 if (pid == -1) {
27 } else if (pid == 0) {
35 if (waitpid(pid, &status, 0) == -1)

Completed in 420 milliseconds

12 3 4 5 6 7 8 91011>>