• Home
  • Raw
  • Download

Lines Matching refs:ctxJdwp

122     HCtxJdwp ctxJdwp = static_cast<HCtxJdwp>(pipe->data);  in ReadStream()  local
123 HdcJdwp *thisClass = static_cast<HdcJdwp *>(ctxJdwp->thisClass); in ReadStream()
126 char *p = ctxJdwp->buf; in ReadStream()
135 ctxJdwp->pkgName = pkgName; in ReadStream()
143 ctxJdwp->pid = pid; in ReadStream()
145 WRITE_LOG(LOG_DEBUG, "JDWP accept pid:%d-pkg:%s", pid, ctxJdwp->pkgName.c_str()); in ReadStream()
149 thisClass->AdminContext(OP_ADD, pid, ctxJdwp); in ReadStream()
152 if (uv_fileno(reinterpret_cast<uv_handle_t *>(&(ctxJdwp->pipe)), &fd) < 0) { in ReadStream()
162 Base::ZeroArray(ctxJdwp->buf); in ReadStream()
164 WRITE_LOG(LOG_INFO, "ReadStream proc:%d err, free it.", ctxJdwp->pid); in ReadStream()
166 thisClass->FreeContext(ctxJdwp); in ReadStream()
189 HCtxJdwp ctxJdwp = (HCtxJdwp)thisClass->MallocContext(); in AcceptClient() local
190 if (!ctxJdwp) { in AcceptClient()
193 uv_pipe_init(thisClass->loop, &ctxJdwp->pipe, 1); in AcceptClient()
194 if (uv_accept(server, (uv_stream_t *)&ctxJdwp->pipe) < 0) { in AcceptClient()
197 thisClass->FreeContext(ctxJdwp); in AcceptClient()
202 HCtxJdwp ctxJdwp = (HCtxJdwp)handle->data; in AcceptClient() local
203 buf->base = (char *)ctxJdwp->buf; in AcceptClient()
204 buf->len = sizeof(ctxJdwp->buf); in AcceptClient()
206 uv_read_start((uv_stream_t *)&ctxJdwp->pipe, funAlloc, ReadStream); in AcceptClient()
287 void *HdcJdwp::AdminContext(const uint8_t op, const uint32_t pid, HCtxJdwp ctxJdwp) in AdminContext() argument
295 mapCtxJdwp[pid] = ctxJdwp; in AdminContext()