Home
last modified time | relevance | path

Searched refs:hChildWorkTCP (Results 1 – 5 of 5) sorted by relevance

/developtools/hdc/src/host/
Dserver.cpp581 Base::TryCloseHandle((uv_handle_t *)&hChannel->hChildWorkTCP); // detch client channel in FetchCommand()
856 uv_tcp_init(&hSession->childLoop, &hChannel->hChildWorkTCP); in AttachChannel()
857 hChannel->hChildWorkTCP.data = hChannel; in AttachChannel()
859 if ((ret = uv_tcp_open((uv_tcp_t *)&hChannel->hChildWorkTCP, hChannel->fdChildWorkTCP)) < 0) { in AttachChannel()
865 Base::TryCloseHandle((uv_handle_t *)&hChannel->hChildWorkTCP); in AttachChannel()
869 Base::SetTcpOptions((uv_tcp_t *)&hChannel->hChildWorkTCP); in AttachChannel()
870 uv_read_start((uv_stream_t *)&hChannel->hChildWorkTCP, hSfc->AllocCallback, hSfc->ReadStream); in AttachChannel()
890 if (uv_is_closing((const uv_handle_t *)&hChannel->hChildWorkTCP)) { in DeatchChannel()
897 … Base::TryCloseHandle((uv_handle_t *)&hChannel->hChildWorkTCP, [](uv_handle_t *handle) -> void { in DeatchChannel()
Dserver_for_client.cpp680 if (!hChannel->hChildWorkTCP.loop || formatCommand->cmdFlag == CMD_FORWARD_REMOVE) { in DoCommand()
/developtools/hdc/src/common/
Dchannel.cpp329 sendStream = (uv_stream_t *)&hChannel->hChildWorkTCP; in SendChannel()
399 (void)memset_s(&hChannel->hChildWorkTCP, sizeof(hChannel->hChildWorkTCP), 0, sizeof(uv_tcp_t)); in MallocChannel()
461 if (hChannel->hChildWorkTCP.loop) { in FreeChannelOpeate()
557 sendStream = (uv_stream_t *)&hChannel->hChildWorkTCP; in EchoToClient()
Dsession.cpp785 ret = pTCP->WriteUvTcpFd(&hSession->hChildWorkTCP, bufPtr, bufLen); in SendByProtocol()
790 ret = pTCP->WriteUvTcpFd(&hSession->hChildWorkTCP, bufPtr, bufLen); in SendByProtocol()
1052 hSession->hChildWorkTCP.data = hSession; in WorkThreadStartSession()
1053 if (uv_tcp_init(&hSession->childLoop, &hSession->hChildWorkTCP) < 0) { in WorkThreadStartSession()
1057 if ((childRet = uv_tcp_open(&hSession->hChildWorkTCP, hSession->fdChildWorkTCP)) < 0) { in WorkThreadStartSession()
1064 Base::SetTcpOptions((uv_tcp_t *)&hSession->hChildWorkTCP); in WorkThreadStartSession()
1065 uv_read_start((uv_stream_t *)&hSession->hChildWorkTCP, AllocCallback, pTCPBase->ReadStream); in WorkThreadStartSession()
1148 … if (hSession->connType == CONN_TCP && hSession->hChildWorkTCP.loop) { // maybe not use it in DispatchMainThreadCommand()
1150 …Base::TryCloseHandle((uv_handle_t *)&hSession->hChildWorkTCP, true, closeSessionChildThreadTCPHand… in DispatchMainThreadCommand()
Ddefine_plus.h413 uv_tcp_t hChildWorkTCP; // work channel,separate thread for server/daemon member
505 uv_tcp_t hChildWorkTCP; // work channel for server, no use in client member