Searched refs:hChildWorkTCP (Results 1 – 5 of 5) sorted by relevance
| /developtools/hdc/src/host/ |
| D | server.cpp | 591 Base::TryCloseHandle((uv_handle_t *)&hChannel->hChildWorkTCP); // detch client channel in FetchCommand() 870 uv_tcp_init(&hSession->childLoop, &hChannel->hChildWorkTCP); in AttachChannel() 871 hChannel->hChildWorkTCP.data = hChannel; in AttachChannel() 873 if ((ret = uv_tcp_open((uv_tcp_t *)&hChannel->hChildWorkTCP, hChannel->fdChildWorkTCP)) < 0) { in AttachChannel() 879 Base::TryCloseHandle((uv_handle_t *)&hChannel->hChildWorkTCP); in AttachChannel() 883 Base::SetTcpOptions((uv_tcp_t *)&hChannel->hChildWorkTCP); in AttachChannel() 884 uv_read_start((uv_stream_t *)&hChannel->hChildWorkTCP, hSfc->AllocCallback, hSfc->ReadStream); in AttachChannel() 904 if (uv_is_closing((const uv_handle_t *)&hChannel->hChildWorkTCP)) { in DeatchChannel() 911 … Base::TryCloseHandle((uv_handle_t *)&hChannel->hChildWorkTCP, [](uv_handle_t *handle) -> void { in DeatchChannel()
|
| D | server_for_client.cpp | 672 if (!hChannel->hChildWorkTCP.loop || formatCommand->cmdFlag == CMD_FORWARD_REMOVE) { in DoCommand()
|
| /developtools/hdc/src/common/ |
| D | channel.cpp | 319 sendStream = (uv_stream_t *)&hChannel->hChildWorkTCP; in SendChannel() 382 (void)memset_s(&hChannel->hChildWorkTCP, sizeof(hChannel->hChildWorkTCP), 0, sizeof(uv_tcp_t)); in MallocChannel() 442 if (hChannel->hChildWorkTCP.loop) { in FreeChannelOpeate() 534 sendStream = (uv_stream_t *)&hChannel->hChildWorkTCP; in EchoToClient()
|
| D | session.cpp | 768 ret = pTCP->WriteUvTcpFd(&hSession->hChildWorkTCP, bufPtr, bufLen); in SendByProtocol() 773 ret = pTCP->WriteUvTcpFd(&hSession->hChildWorkTCP, bufPtr, bufLen); in SendByProtocol() 1031 hSession->hChildWorkTCP.data = hSession; in WorkThreadStartSession() 1032 if (uv_tcp_init(&hSession->childLoop, &hSession->hChildWorkTCP) < 0) { in WorkThreadStartSession() 1036 if ((childRet = uv_tcp_open(&hSession->hChildWorkTCP, hSession->fdChildWorkTCP)) < 0) { in WorkThreadStartSession() 1043 Base::SetTcpOptions((uv_tcp_t *)&hSession->hChildWorkTCP); in WorkThreadStartSession() 1044 uv_read_start((uv_stream_t *)&hSession->hChildWorkTCP, AllocCallback, pTCPBase->ReadStream); in WorkThreadStartSession() 1126 … if (hSession->connType == CONN_TCP && hSession->hChildWorkTCP.loop) { // maybe not use it in DispatchMainThreadCommand() 1128 …Base::TryCloseHandle((uv_handle_t *)&hSession->hChildWorkTCP, true, closeSessionChildThreadTCPHand… in DispatchMainThreadCommand()
|
| D | define_plus.h | 410 uv_tcp_t hChildWorkTCP; // work channel,separate thread for server/daemon member 502 uv_tcp_t hChildWorkTCP; // work channel for server, no use in client member
|