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

1 2 3 4 5 6 7 8 91011>>

  /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);
res_search.c 27 pthread_t pid; local
42 if(0 != pthread_create(&pid, 0, fn, (void*)argv[1]))
48 pthread_join(pid, 0);
  /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/elfutils/src/tests/
deleted.c 35 pid_t pid = fork (); local
36 assert (pid != -1);
37 if (pid == 0)
48 printf ("%d\n", pid);
  /external/fio/
debug.c 10 pid_t pid; local
14 pid = getpid();
16 && pid != *fio_debug_jobp)
20 log_info("%-5u ", (int) pid);
  /external/libunwind/src/ptrace/
_UPT_internal.h 53 pid_t pid; /* the process-id of the child we're unwinding */ member in struct:UPT_info
_UPT_access_fpreg.c 36 pid_t pid = ui->pid; local
50 ptrace (PTRACE_POKEUSER, pid, (void*) (_UPT_reg_offset[reg] + i * sizeof(wp[i])),
64 wp[i] = ptrace (PTRACE_PEEKUSER, pid,
79 pid_t pid = ui->pid; local
85 if (ptrace(PT_GETFPREGS, pid, (caddr_t)&fpreg, 0) == -1)
95 if (ptrace(PT_SETFPREGS, pid, (caddr_t)&fpreg, 0) == -1)
  /external/ltrace/testsuite/ltrace.minor/
trace-fork.c 20 pid_t pid; local
21 pid = fork ();
23 if (pid == -1)
25 else if (pid == 0)
29 printf("My child pid is %d\n",pid);
trace-clone.c 25 pid_t pid; local
29 pid = __clone2((myfunc)&child, stack, STACK_SIZE, CLONE_FS, NULL);
31 pid = clone((myfunc)&child, stack + STACK_SIZE, CLONE_FS, NULL);
33 if (pid < 0)
  /external/selinux/libselinux/utils/
getpidcon.c 8 pid_t pid; local
13 fprintf(stderr, "usage: %s pid\n", argv[0]);
17 if (sscanf(argv[1], "%d", &pid) != 1) {
18 fprintf(stderr, "%s: invalid pid %s\n", argv[0], argv[1]);
22 rc = getpidcon(pid, &buf);
  /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/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/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) {
  /system/core/toolbox/
ionice.c 15 int pid; local
18 fprintf(stderr, "usage: ionice <pid> [none|rt|be|idle] [prio]\n");
22 if (!(pid = atoi(argv[1]))) {
23 fprintf(stderr, "Invalid pid specified\n");
28 if (android_get_ioprio(pid, &clazz, &ioprio)) {
32 fprintf(stdout, "Pid %d, class %s (%d), prio %d\n", pid, classes[clazz], clazz, ioprio);
51 printf("Setting pid %d i/o class to %d, prio %d\n", pid, clazz, ioprio);
52 if (android_set_ioprio(pid, clazz, ioprio))
    [all...]
  /device/moto/shamu/dataservices/rmnetctl/inc/
librmnetctl_hndl.h 50 * @var pid process id to be used for the netlink message
58 uint32_t pid; member in struct:rmnetctl_hndl_s
  /external/compiler-rt/test/asan/TestCases/Linux/
ptrace.cc 17 pid_t pid; local
18 pid = fork();
19 if (pid == 0) { // child
30 res = ptrace(PTRACE_GETREGS, pid, NULL, pregs);
41 res = ptrace(PTRACE_GETFPREGS, pid, NULL, &fpregs);
47 res = ptrace(PTRACE_GETFPXREGS, pid, NULL, &fpxregs);
52 ptrace(PTRACE_CONT, pid, NULL, NULL);
signal_during_stop_the_world.cc 26 pid_t pid = fork(); local
27 if (pid < 0) {
31 if (pid == 0) {
46 kill(pid, SIGTERM);
47 waitpid(pid, 0, 0);
  /external/compiler-rt/test/asan/TestCases/Posix/
wait.cc 19 pid_t pid = fork(); local
20 if (pid) { // parent
27 res = waitpid(pid, status, WNOHANG);
waitid.cc 10 pid_t pid = fork(); local
11 if (pid) { // parent
  /external/compiler-rt/test/sanitizer_common/TestCases/Linux/
getpass.cc 12 int pid = forkpty(&master, NULL, NULL, NULL); local
14 if(pid == -1) {
17 } else if (pid > 0) {
ptrace.cc 17 pid_t pid; local
18 pid = fork();
19 if (pid == 0) { // child
28 res = ptrace(PTRACE_GETREGS, pid, NULL, &regs);
34 res = ptrace(PTRACE_GETFPREGS, pid, NULL, &fpregs);
42 res = ptrace((enum __ptrace_request)PTRACE_GETREGS, pid, NULL, &regs);
52 res = ptrace((enum __ptrace_request)PTRACE_GETFPREGS, pid, NULL, &fpregs);
59 res = ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo);
61 assert(siginfo.si_pid == pid);
63 ptrace(PTRACE_CONT, pid, NULL, NULL)
    [all...]
  /external/google-breakpad/src/client/linux/crash_generation/
client_info.h 39 ClientInfo(pid_t pid, CrashGenerationServer* crash_server)
41 pid_(pid) {}
44 pid_t pid() const { return pid_; } function in class:google_breakpad::ClientInfo
  /external/google-breakpad/src/common/mac/
launch_reporter.cc 41 pid_t pid = fork(); local
43 if (pid == -1) {
51 if (pid == 0) {
69 pid_t result = waitpid(pid, &status, WNOHANG);
  /external/strace/tests/
net-accept-connect.c 46 pid_t pid = fork(); local
47 assert(pid >= 0);
49 if (pid) {
52 assert(kill(pid, SIGUSR1) == 0);
54 assert(waitpid(pid, &status, 0) == pid);

Completed in 608 milliseconds

1 2 3 4 5 6 7 8 91011>>