Lines Matching refs:pid
22 | hello I'm in process <pid> |
35 equivalent to "adb forward tcp:<hostport> jdwp:<pid>"
37 "jdwp:<pid>" is a new forward destination format used to target
92 /** JDWP PID List Support Code
93 ** for each JDWP process, we record its pid and its connected socket
107 int pid;
111 char in_buff[4]; /* input character to read PID */
131 if (proc->pid < 0)
134 len = snprintf(p, end-p, "%d\n", proc->pid);
176 proc->pid = -1;
204 proc->pid = -1;
226 /* start by waiting for the PID */
239 if (proc->pid < 0) {
240 /* read the PID as a 4-hexchar string */
265 /* we have read 4 characters, now decode the pid */
269 if (sscanf( temp, "%04x", &proc->pid ) != 1) {
270 D("could not decode JDWP %p PID number: '%s'\n", proc, temp);
275 D("Adding pid %d to jdwp process list\n", proc->pid);
280 /* the pid was read, if we get there it's probably because the connection
293 D("terminating JDWP %d connection: %s\n", proc->pid,
300 proc->pid, len );
305 if (proc->pid >= 0)
306 D( "remove pid %d to jdwp process list\n", proc->pid );
313 D("trying to write to JDWP pid controli (count=%d first=%d) %d\n",
314 proc->pid, proc->out_count, proc->out_fds[0]);
347 proc->pid, strerror(errno));
352 fd, proc->pid);
365 create_jdwp_connection_fd(int pid)
369 D("looking for pid %d in JDWP process list\n", pid);
371 if (proc->pid == pid) {
383 D("%s: too many pending JDWP connection for pid %d\n",
384 __FUNCTION__, pid);