Lines Matching refs:ctxJdwp
136 HCtxJdwp ctxJdwp = static_cast<HCtxJdwp>(pipe->data);
137 HdcJdwp *thisClass = static_cast<HdcJdwp *>(ctxJdwp->thisClass);
140 char *p = ctxJdwp->buf;
150 ctxJdwp->pkgName = pkgName;
151 ctxJdwp->isDebug = jsMsg->isDebug;
159 ctxJdwp->pid = pid;
162 pid, ctxJdwp->pkgName.c_str(), ctxJdwp->isDebug);
166 thisClass->AdminContext(OP_ADD, pid, ctxJdwp);
169 if (uv_fileno(reinterpret_cast<uv_handle_t *>(&(ctxJdwp->pipe)), &fd) < 0) {
179 Base::ZeroArray(ctxJdwp->buf);
181 WRITE_LOG(LOG_INFO, "ReadStream proc:%d err, free it.", ctxJdwp->pid);
183 thisClass->FreeContext(ctxJdwp);
228 HCtxJdwp ctxJdwp = (HCtxJdwp)thisClass->MallocContext();
229 if (!ctxJdwp) {
232 uv_pipe_init(thisClass->loop, &ctxJdwp->pipe, 1);
233 if (uv_accept(server, (uv_stream_t *)&ctxJdwp->pipe) < 0) {
236 thisClass->FreeContext(ctxJdwp);
241 HCtxJdwp ctxJdwp = (HCtxJdwp)handle->data;
242 buf->base = (char *)ctxJdwp->buf;
243 buf->len = sizeof(ctxJdwp->buf);
245 uv_read_start((uv_stream_t *)&ctxJdwp->pipe, funAlloc, ReadStream);
327 void *HdcJdwp::AdminContext(const uint8_t op, const uint32_t pid, HCtxJdwp ctxJdwp)
335 mapCtxJdwp[pid] = ctxJdwp;