Searched defs:pid (Results 1 - 25 of 517) sorted by relevance

1234567891011>>

/external/valgrind/main/none/tests/
H A Dfork.c9 pid_t pid; local
11 pid = fork ();
18 printf("%s", pid==0 ? "X" : "XX");
20 if (pid != 0)
21 waitpid(pid, NULL, 0);
/external/bison/lib/
H A Dwaitpid.c27 waitpid (pid_t pid, int *statusp, int options) argument
29 return _cwait (statusp, pid, WAIT_CHILD);
H A Dspawnp.c27 posix_spawnp (pid_t *pid, const char *file, argument
32 return __spawni (pid, file, file_actions, attrp, argv, envp, 1);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
H A Dkill.c8 int kill(pid_t pid, int sig) { argument
9 return ki_kill(pid, sig);
H A Dkillpg.c8 int killpg(pid_t pid, int sig) { argument
9 return ki_killpg(pid, sig);
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dsched_getscheduler.c42 sched_getscheduler (pid_t pid) argument
49 if (0 != pid)
53 if (pid != selfPid)
56 OpenProcess (PROCESS_QUERY_INFORMATION, PTW32_FALSE, (DWORD) pid);
H A Dsched_setscheduler.c42 sched_setscheduler (pid_t pid, int policy) argument
51 if (0 != pid)
55 if (pid != selfPid)
58 OpenProcess (PROCESS_SET_INFORMATION, PTW32_FALSE, (DWORD) pid);
/external/compiler-rt/test/lsan/TestCases/
H A Dfork.cc16 pid_t pid = fork(); local
17 assert(pid >= 0);
18 if (pid > 0) {
19 waitpid(pid, &status, 0);
/external/libunwind/src/ptrace/
H A D_UPT_create.c31 _UPT_create (pid_t pid) argument
39 ui->pid = pid;
H A D_UPT_internal.h53 pid_t pid; /* the process-id of the child we're unwinding */ member in struct:UPT_info
/external/ltrace/testsuite/ltrace.minor/
H A Dtrace-fork.c20 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);
H A Dtrace-clone.c25 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/fio/
H A Ddebug.c10 pid_t pid; local
14 pid = getpid();
16 && pid != *fio_debug_jobp)
20 log_info("%-5u ", (int) pid);
/external/chromium_org/base/process/
H A Dprocess_handle_linux.cc13 ProcessId pid = local
15 if (pid)
16 return pid;
H A Dprocess_info_linux.cc17 ProcessHandle pid = GetCurrentProcessHandle(); local
19 internal::ReadProcStatsAndGetFieldAsInt64(pid, internal::VM_STARTTIME);
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dptrace.cc17 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);
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Dptrace.cc14 pid_t pid; local
15 pid = fork();
16 if (pid == 0) { // child
23 res = ptrace(PTRACE_GETREGS, pid, NULL, &regs);
29 res = ptrace(PTRACE_GETFPREGS, pid, NULL, &fpregs);
35 res = ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo);
37 assert(siginfo.si_pid == pid);
39 ptrace(PTRACE_CONT, pid, NULL, NULL);
/external/compiler-rt/test/tsan/
H A Dfork_atexit.cc20 int pid = fork(); local
21 if (pid == 0) {
27 if (waitpid(pid, 0, 0) == -1) {
/external/oprofile/libutil/
H A Dop_lockfile.c47 pid_t pid = op_read_lock_file(file); local
50 if (kill(pid, 0)) {
/external/qemu/include/hw/android/goldfish/
H A Dnand.h22 int pid; member in struct:__anon29710
/external/strace/test/
H A Dprocpollable.c10 int pid; local
15 pid = fork();
16 if (pid == 0) {
21 sprintf(proc, "/proc/%d", pid);
39 kill(pid, SIGKILL);
42 kill(pid, SIGKILL);
/external/strace/tests/
H A Dnet-accept-connect.c29 pid_t pid = fork(); local
30 assert(pid >= 0);
32 if (pid) {
36 assert(waitpid(pid, &status, 0) == pid);
/external/valgrind/main/coregrind/
H A Dvgdb-invoker-none.c47 Bool invoker_invoke_gdbserver(pid_t pid) argument
/external/valgrind/main/gdbserver_tests/
H A Dclean_after_fork.c8 int mem = 0, pid; local
9 pid = fork();
10 if (pid == -1) {
16 if (pid == 0) {
26 while((ret = waitpid(pid, &status, 0)) != pid) {
H A Dfork_chain.c8 int pid; local
12 pid = fork();
13 if (pid == -1) {
18 if (pid == 0) {
25 while((ret = waitpid(pid, &status, 0)) != pid) {

Completed in 427 milliseconds

1234567891011>>