/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
H A D | kill.c | 8 int kill(pid_t pid, int sig) { argument 9 return ki_kill(pid, sig);
|
H A D | killpg.c | 8 int killpg(pid_t pid, int sig) { argument 9 return ki_killpg(pid, sig);
|
/external/ltrace/testsuite/ltrace.minor/ |
H A D | 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);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
H A D | BindingManager.java | 33 * @param pid handle of the service process 35 void addNewConnection(int pid, ChildProcessConnection connection); argument 39 * @param pid handle of the service process 42 void setInForeground(int pid, boolean inForeground); argument 68 boolean isOomProtected(int pid); argument 75 void clearConnection(int pid); argument
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | 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) { argument 20 ShadowProcess.pid = pid; 24 ShadowProcess.pid = null;
|
/external/valgrind/main/none/tests/ |
H A D | 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);
|
/external/valgrind/main/gdbserver_tests/ |
H A D | 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) {
|
H A D | clean_after_fork.c | 8 int mem = 0, pid; local 9 pid = fork(); 10 if (pid == -1) { 16 if (pid == 0) { 26 while((ret = waitpid(pid, &status, 0)) != pid) {
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | sched_getscheduler.c | 42 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 D | sched_setscheduler.c | 42 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 D | fork.cc | 16 pid_t pid = fork(); local 17 assert(pid >= 0); 18 if (pid > 0) { 19 waitpid(pid, &status, 0);
|
/external/dhcpcd/dhcpcd-hooks/ |
H A D | 50-yp.conf | 6 [ -s /var/run/ypbind.pid ] && cat /var/run/ypbind.pid 12 local cf=/etc/yp.conf."$interface" prefix= x= pid= 31 pid="$(ypbind_pid)" 32 if [ -n "$pid" ]; then 33 kill -HUP "$pid" 41 local pid="$(ypbind_pid)" 42 if [ -n "$pid" ]; then 43 kill -HUP "$pid"
|
/external/lldb/tools/debugserver/source/ |
H A D | DNB.h | 46 nub_process_t DNBProcessAttach (nub_process_t pid, struct timespec *timeout, char *err_str, size_t err_len) DNB_EXPORT; 57 nub_bool_t DNBProcessResume (nub_process_t pid, const DNBThreadResumeAction *actions, size_t num_actions) DNB_EXPORT; 58 nub_bool_t DNBProcessHalt (nub_process_t pid) DNB_EXPORT; 59 nub_bool_t DNBProcessDetach (nub_process_t pid) DNB_EXPORT; 60 nub_bool_t DNBProcessSignal (nub_process_t pid, int signal) DNB_EXPORT; 61 nub_bool_t DNBProcessKill (nub_process_t pid) DNB_EXPORT; 62 nub_size_t DNBProcessMemoryRead (nub_process_t pid, nub_addr_t addr, nub_size_t size, void *buf) DNB_EXPORT; 63 nub_size_t DNBProcessMemoryWrite (nub_process_t pid, nub_addr_t addr, nub_size_t size, const void *buf) DNB_EXPORT; 64 nub_addr_t DNBProcessMemoryAllocate (nub_process_t pid, nub_size_t size, uint32_t permissions) DNB_EXPORT; 65 nub_bool_t DNBProcessMemoryDeallocate (nub_process_t pid, nub_addr_ [all...] |
/external/chromium_org/base/process/ |
H A D | process_handle_posix.cc | 19 bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle) { argument 22 *handle = pid; 26 bool OpenPrivilegedProcessHandle(ProcessId pid, ProcessHandle* handle) { argument 29 return OpenProcessHandle(pid, handle); 32 bool OpenProcessHandleWithAccess(ProcessId pid, argument 37 return OpenProcessHandle(pid, handle);
|
H A D | process_handle_linux.cc | 13 ProcessId pid = local 15 if (pid) 16 return pid;
|
/external/lldb/tools/debugserver/scripts/ |
H A D | diagnose-termination.d | 3 printf("pid %d got an exception of type %d\n", pid, arg1); 10 printf("pid %d called kill(%d, %d)\n", pid, arg0, arg1); 16 printf("pid %d called pthread_kill(%p, %d)\n", pid, arg0, arg1);
|
/external/bison/lib/ |
H A D | waitpid.c | 27 waitpid (pid_t pid, int *statusp, int options) argument 29 return _cwait (statusp, pid, WAIT_CHILD);
|
/external/dnsmasq/contrib/dnsmasq_MacOSX/ |
H A D | DNSmasq | 11 pid=`GetPID dnsmasq` 13 kill $pid
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/perl/bin/ |
H A D | rw-by-pid-report | 3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-pid.pl
|
/external/strace/test/ |
H A D | sigkill_rain.c | 15 int pid; local 34 pid = fork(); 36 if (pid < 0) 39 if (!pid) { 45 pid = fork(); 47 if (pid < 0) 50 if (!pid) { 73 kill(pid, SIGKILL);
|
/external/fio/ |
H A D | 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/ |
H A D | _UPT_create.c | 31 _UPT_create (pid_t pid) argument 39 ui->pid = pid;
|
/external/strace/ |
H A D | strace-graph | 42 my ($pid, $call, $args, $result, $time); 46 $pid = $1; 60 $unfinished{$pid} = $_; 65 unless (exists $unfinished{$pid}) { 69 $_ = $unfinished{$pid} . $_; 70 delete $unfinished{$pid}; 74 # $pid received signal $1 80 # $pid received signal $1 81 handle_killed($pid, $time); 91 handle_trace($pid, [all...] |
/external/chromium_org/tools/ |
H A D | multi_process_rss.py | 10 # ./multi-process-rss.py <pid>|<pid>r [...] 12 # If <pid> has 'r' at the end, all descendants of the process are accounted. 44 def _recursive_get_children(pid): 46 children = psutil.Process(pid).get_children() 51 descendant.append(child.pid) 52 descendant.extend(_recursive_get_children(child.pid)) 62 pid = int(arg[:-1]) 65 pid = int(arg) 69 pids.append(pid) [all...] |
/external/elfutils/0.153/src/ |
H A D | Makefile.am | 153 bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \ 161 $(DESTDIR)$(bindir)/$$f $$opt > c$${pid}_.out 2> c$${pid}_.err \ 162 && test -n "`cat c$${pid}_.out`" \ 163 && test -z "`cat c$${pid}_.err`"; then :; \ 166 done; rm -f c$${pid}_.???; exit $$bad
|