Lines Matching defs:pid
23 | hello I'm in process <pid> |
36 equivalent to "adb forward tcp:<hostport> jdwp:<pid>"
38 "jdwp:<pid>" is a new forward destination format used to target
94 ** for each JDWP process, we record its pid and its connected socket
108 int pid;
132 if (proc->pid < 0)
135 len = snprintf(p, end-p, "%d\n", proc->pid);
177 proc->pid = -1;
205 proc->pid = -1;
240 if (proc->pid < 0) {
266 /* we have read 4 characters, now decode the pid */
270 if (sscanf( temp, "%04x", &proc->pid ) != 1) {
276 D("Adding pid %d to jdwp process list\n", proc->pid);
281 /* the pid was read, if we get there it's probably because the connection
294 D("terminating JDWP %d connection: %s\n", proc->pid,
301 proc->pid, len );
306 if (proc->pid >= 0)
307 D( "remove pid %d to jdwp process list\n", proc->pid );
314 D("trying to write to JDWP pid controli (count=%d first=%d) %d\n",
315 proc->pid, proc->out_count, proc->out_fds[0]);
346 proc->pid, strerror(errno));
353 proc->pid, strerror(errno));
366 proc->pid, strerror(errno));
371 fd, proc->pid);
378 proc->pid, strerror(errno));
390 create_jdwp_connection_fd(int pid)
394 D("looking for pid %d in JDWP process list\n", pid);
396 if (proc->pid == pid) {
408 D("%s: too many pending JDWP connection for pid %d\n",
409 __FUNCTION__, pid);