Searched refs:pid (Results 1 - 25 of 1000) sorted by relevance

1234567891011>>

/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/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);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DBindingManager.java33 * @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 DShadowProcess.java9 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 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/valgrind/main/gdbserver_tests/
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) {
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) {
/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/dhcpcd/dhcpcd-hooks/
H A D50-yp.conf6 [ -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 DDNB.h46 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 Dprocess_handle_posix.cc19 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 Dprocess_handle_linux.cc13 ProcessId pid = local
15 if (pid)
16 return pid;
/external/lldb/tools/debugserver/scripts/
H A Ddiagnose-termination.d3 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 Dwaitpid.c27 waitpid (pid_t pid, int *statusp, int options) argument
29 return _cwait (statusp, pid, WAIT_CHILD);
/external/dnsmasq/contrib/dnsmasq_MacOSX/
H A DDNSmasq11 pid=`GetPID dnsmasq`
13 kill $pid
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/perl/bin/
H A Drw-by-pid-report3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-pid.pl
/external/strace/test/
H A Dsigkill_rain.c15 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 Ddebug.c10 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.c31 _UPT_create (pid_t pid) argument
39 ui->pid = pid;
/external/strace/
H A Dstrace-graph42 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 Dmulti_process_rss.py10 # ./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 DMakefile.am153 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

Completed in 477 milliseconds

1234567891011>>